powerpc: Fix float128 IFUNC relocations [BZ #21707]
[glibc.git] / ChangeLog
blobbaf85432cb168a8f513ab858e478f68dd86a4a6a
1 2017-07-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3         [BZ #21707]
4         * csu/libc-start.c (LIBC_START_MAIN): Perform IREL{,A}
5         relocations before or after initializing the TCB on statically
6         linked executables.  That's a per-architecture definition.
7         * elf/rtld.c (dl_main): Add a comment about thread-local
8         variables initialization.
9         * sysdeps/generic/libc-start.h: New file.  Define
10         ARCH_APPLY_IREL and ARCH_SETUP_IREL.
11         * sysdeps/powerpc/Makefile:
12         [$(subdir) = elf && $(multi-arch) != no] (tests-static-internal): Add
13         tst-tlsifunc-static.
14         [$(subdir) = elf && $(multi-arch) != no && $(build-shared) == yes]
15         (tests-internal): Add tst-tlsifunc.
16         * sysdeps/powerpc/tst-tlsifunc.c: New file.
17         * sysdeps/powerpc/tst-tlsifunc-static.c: Likewise.
18         * sysdeps/powerpc/powerpc64le/Makefile (f128-loader-link): New
19         variable.
20         [$(subdir) = math] (test-float128% test-ifloat128%): Force
21         linking to the loader after linking to libgcc.
22         [$(subdir) = wcsmbs || $(subdir) = stdlib] (bug-strtod bug-strtod2)
23         (bug-strtod2 tst-strtod-round tst-wcstod-round tst-strtod6 tst-strrom)
24         (tst-strfrom-locale strfrom-skeleton): Likewise.
25         * sysdeps/unix/sysv/linux/powerpc/libc-start.h: New file.  Define
26         ARCH_APPLY_IREL and ARCH_SETUP_IREL.
28 2017-07-17  DJ Delorie  <dj@redhat.com>
30         * nss/nss_test.h: New.
31         * nss/nss_test1.h: Rewrite to use test-provided data.  Add group
32         tests.  Parameterize to allow multiple instances.
33         * nss/nss_test2.h: New.  Second instance.
34         * nss/nss_test.ver: New.
35         * nss/nss_test1.c: Update to use new framework.
36         * nss/nss_test2.c: New.
37         * nss/nss_test3.c: New.
38         * nss/nss_test4.c: New.
39         * nss/nss_test5.c: New.
40         * nss/Makefile: Build new tests.
41         * shlib-versions: Add libnss_test2.
43 2017-07-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
45         [BZ #21512]
46         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Fix argument
47         passing to syscall exit.
49 2017-07-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
51         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_FCMA): New macro.
52         (HWCAP_JSCVT, HWCAP_LRCPC): Likewise.
54 2017-07-16  John David Anglin  <danglin@gcc.gnu.org>
56         * sysdeps/hppa/dl-trampoline.S (_dl_runtime_resolve): Return to caller
57         if _dl_fixup fails.
59         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Add .cfi annotation.
60         * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Likewise.
61         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S (__vfork): Likewise.
62         * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
64         * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Fix stack
65         offset for r19 load.
67         * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Return 0.
69         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Fix CFA offset.
70         Use .cfi_def_cfa_offset instead of .cfi_offset.  Don't record stack
71         pointer offset.  Correct PIC register offset.  Don't mention frame
72         related instructions in epilogue.
73         (PUSHARGS_1): Correct offset.
74         (PUSHARGS_2): Likewise.
75         (PUSHARGS_3): Likewise.
76         (PUSHARGS_4): Likewise.
77         (PUSHARGS_5): Likewise.
78         (PUSHARGS_6): Likewise.
79         (POPARGS_1): Don't mention register restore.
80         (POPARGS_2): Likewise.
81         (POPARGS_3): Likewise.
82         (POPARGS_4): Likewise.
83         (POPARGS_5): Likewise.
84         (POPARGS_6): Likewise.
85         * sysdeps/unix/sysv/linux/hppa/sysdep.h (SAVE_PIC): Don't mention
86         copy of PIC register.
87         (LOAD_PIC): Likewise don't mention restore.
88         (DO_CALL): Fix CFA offset.  Use .cfi_def_cfa_offset instead of
89         .cfi_offset.  Don't record stack pointer offset.  Correct PIC register
90         offset.  Don't mention frame related instructions in epilogue.
92         * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove _exit entry.
94         * sysdeps/hppa/__longjmp.c (__longjmp): Remove extra braces.
96         [BZ 20098]
97         * sysdeps/hppa/dl-fptr.c (_dl_read_access_allowed): New.
98         (_dl_lookup_address): Return address if it is not consistent with
99         being a linker defined function pointer.  Likewise, return address
100         if address and function descriptor addresses are not accessible.
102 2017-07-16  Siddhesh Poyarekar  <siddhesh@sourceware.org>
104         * po/libc.pot: Regenerate.
106 2017-07-15  John David Anglin  <danglin@gcc.gnu.org>
108         [BZ locale/19838]
109         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHMLBA): Set to page size.
111         * nptl/allocatestack.c (allocate_stack): Align old and new guard
112         addresses to page boundaries when the stack grows up.
114         * sysdeps/hppa/math-tests.h: New.
116 2017-07-14  DJ Delorie  <dj@redhat.com>
118         [BZ #21654]
119         * grp/grp_merge.c (__copy_grp): Align char** to minimum pointer
120         alignment not char alignment.
121         (__merge_grp): Likewise.
123 2017-07-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
124             Florian Weimer  <fweimer@redhat.com>
126         * libio/memstream.c (__open_memstream): Set _IO_FLAGS2_NEED_LOCK.
127         * libio/wmemstream.c (open_wmemstream): Likewise.
128         * nptl/tst-memstream.c: New.
130 2017-07-12  Jiong Wang  <jiong.wang@arm.com>
132         * sysdeps/arm/dl-machine.h (elf_machine_load_address):  Also strip bit 0
133         of pcrel_address under Thumb mode.
135 2017-07-12  Akhilesh Kumar <akhilesh.k@samsung.com>
137         [BZ #21207]
138         * locale/iso-639.def: Add Fiji Hindi (hif).
140 2017-07-12  John David Anglin  <danglin@gcc.gnu.org>
142         * sysdeps/hppa/dl-machine.h (elf_machine_rela): Fix typo.
144 2017-07-12  H.J. Lu  <hongjiu.lu@intel.com>
146         * debug/Makefile (CFLAGS-tst-ssp-1.c): Set to
147         -fstack-protector-all.
149 2017-07-11  Chris Leonard <cjl@sugarlabs.org>
151         [BZ #20496]
152         * locale/iso-639.def: Add AwajĂșn / Aguaruna (agr).
154 2017-07-11  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
156         * sysdeps/powerpc/powerpc64le/Makefile: Use $(all-object-suffixes)
157         to iterate over all possible object suffixes.  Add a comment
158         explaining the use of sysdep-CFLAGS instead of CFLAGS.
160 2017-07-11  H.J. Lu  <hongjiu.lu@intel.com>
162         [BZ #12189]
163         * debug/Makefile (CFLAGS-tst-ssp-1.c): New.
164         (tests): Add tst-ssp-1 if -fstack-protector works.
165         * debug/fortify_fail.c: Include <stdbool.h>.
166         (_fortify_fail_abort): New function.
167         (__fortify_fail): Call _fortify_fail_abort.
168         (__fortify_fail_abort): Add a hidden definition.
169         * debug/stack_chk_fail.c: Include <stdbool.h>.
170         (__stack_chk_fail): Call __fortify_fail_abort, instead of
171         __fortify_fail.
172         * debug/tst-ssp-1.c: New file.
173         * include/stdio.h (__libc_message_action): New enum.
174         (__libc_message): Replace int with enum __libc_message_action.
175         (__fortify_fail_abort): New hidden prototype.
176         * malloc/malloc.c (malloc_printerr): Update __libc_message calls.
177         * sysdeps/posix/libc_fatal.c (__libc_message): Replace int
178         with enum __libc_message_action.  Call BEFORE_ABORT only if
179         action includes do_backtrace.
180         (__libc_fatal): Update __libc_message call.
182 2017-07-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
184         [BZ #21738]
185         * manual/llio.texi (RWF_NOWAIT): New item.
186         * misc/tst-preadvwritev2-common.c (do_test_with_invalid_flags):
187         Add RWF_NOWAIT check.
188         * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_NOWAIT): New flag.
190 2017-07-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
192         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
193         Support running on kernels without PTRACE_SINGLEBLOCK.
195 2017-07-10  H.J. Lu  <hongjiu.lu@intel.com>
197         [BZ #21742]
198         * elf/Makefile (dl-routines): Move dl-conflict to ...
199         (rtld-routines): Here.
201 2017-07-10  H.J. Lu  <hongjiu.lu@intel.com>
203         [BZ #21741]
204         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
205         (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
206         in libc.so.
208 2017-07-09  John David Anglin  <danglin@gcc.gnu.org>
210         * sysdeps/hppa/fpu/libm-test-ulps: Update.
212         [BZ #21016]
213         * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
214         Fix typo.
215         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include
216         bits/types/struct_timespec.h.
217         (PTHREAD_MUTEX_INITIALIZER): Revise define.
218         (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): Likewise.
219         (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Likewise.
220         (PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Likewise.
221         (PTHREAD_RWLOCK_INITIALIZER): Likewise.
222         (PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): Likewise.
223         (PTHREAD_COND_INITIALIZER): Likewise.
224         Remove old definitions.
225         * sysdeps/unix/sysv/linux/hppa/internaltypes.h: Delete.
226         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: Delete.
227         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: Delete.
228         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: Delete.
229         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: Delete.
230         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: Delete.
232 2017-07-09  H.J. Lu  <hongjiu.lu@intel.com>
234         * sysdeps/x86_64/multiarch/memcmp.c: Update comments.
235         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
236         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
237         * sysdeps/x86_64/multiarch/memset.c: Likewise.
238         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
239         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
240         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
241         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
242         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
243         * sysdeps/x86_64/multiarch/wcscpy.c: Likewise.
244         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
245         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
246         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
247         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
248         * sysdeps/x86_64/multiarch/wmemset.c: Likewise.
249         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
251 2017-07-09  H.J. Lu  <hongjiu.lu@intel.com>
253         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update comments.
255 2017-07-09  Helge Deller  <deller@gmx.de>
257         [BZ #21049]
258         * sysdeps/hppa/__longjmp.c (__longjmp): Move call to CHECK_SP
259         up to avoid clobbering r26.
261 2017-07-08  Andreas Schwab  <schwab@linux-m68k.org>
263         * scripts/build-many-glibcs.py (Glibc.build_glibc): Also build
264         profiled objects.
266 2017-07-06  DJ Delorie  <dj@redhat.com>
268         * manual/tunables.texi: Add missing @end deftp.
270 2017-07-06  Florian Weimer  <fw@deneb.enyo.de>
272         * resolv/tst-resolv-basic.c (test_bug_21295): New function.
273         (do_test): Call it.
275 2017-07-06  DJ Delorie  <dj@redhat.com>
277         * config.make.in: Enable experimental malloc option.
278         * configure.ac: Likewise.
279         * configure: Regenerate.
280         * manual/install.texi: Document it.
281         * INSTALL: Regenerate.
282         * malloc/Makefile: Likewise.
283         * malloc/malloc.c: Add per-thread cache (tcache).
284         (tcache_put): New.
285         (tcache_get): New.
286         (tcache_thread_freeres): New.
287         (tcache_init): New.
288         (__libc_malloc): Use cached chunks if available.
289         (__libc_free): Initialize tcache if needed.
290         (__libc_realloc): Likewise.
291         (__libc_calloc): Likewise.
292         (_int_malloc): Prefill tcache when appropriate.
293         (_int_free): Likewise.
294         (do_set_tcache_max): New.
295         (do_set_tcache_count): New.
296         (do_set_tcache_unsorted_limit): New.
297         * manual/probes.texi: Document new probes.
298         * malloc/arena.c: Add new tcache tunables.
299         * elf/dl-tunables.list: Likewise.
300         * manual/tunables.texi: Document them.
301         * NEWS: Mention the per-thread cache.
303 2017-07-06  Joseph Myers  <joseph@codesourcery.com>
305         * iconvdata/tst-loading.c (TIMEOUT): Define to 30.
306         * misc/tst-tsearch.c (TIMEOUT): Remove.
307         * nptl/tst-create-detached.c (TIMEOUT): Define to 100.
308         * nptl/tst-robust-fork.c (TIMEOUT): Likewise.
309         * nptl/tst-rwlock19.c (TIMEOUT): Likewise.
310         * string/tst-cmp.c (TIMEOUT): Define to 600.
312 2017-07-06  Matthew Krupcale  <mkrupcale@matthewkrupcale.com>
314         [BZ #21715]
315         * sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo
316         on definition.
318 2017-07-06  Florian Weimer  <fweimer@redhat.com>
319             H.J. Lu  <hongjiu.lu@intel.com>
321         [BZ #21609]
322         * sysdeps/x86_64/Makefile (sysdep-dl-routines): Add tls_get_addr.
323         (gen-as-const-headers): Add rtld-offsets.sym.
324         * sysdeps/x86_64/dl-tls.c: New file.
325         * sysdeps/x86_64/rtld-offsets.sym: Likwise.
326         * sysdeps/x86_64/tls_get_addr.S: Likewise.
327         * sysdeps/x86_64/dl-tls.h: Add multiple inclusion guards.
328         * sysdeps/x86_64/tlsdesc.sym (TI_MODULE_OFFSET): New.
329         (TI_OFFSET_OFFSET): Likwise.
331 2017-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
333         [BZ# 21697]
334         * sysdeps/posix/spawni.c (__spawni_child): Fix return value.
336 2017-07-05  Florian Weimer  <fweimer@redhat.com>
338         * resolv/Makefile (tests-internal): Add tst-resolv-threads.
339         (tst-resolv-threads): Link with -ldl, -lresolv, -lpthread.
340         * resolv/tst-resolv-threads.c: New file.
342 2017-07-05  Florian Weimer  <fweimer@redhat.com>
344         support: Add resolver testing mode which does not patch _res.
345         * support/resolv_test.h (struct resolv_redirect_config): Add
346         disable_redirect, server_address_overrides.
347         * support/resolv_test.c (make_server_sockets_for_address): New
348         function.
349         (resolv_test_start): Call it.
351 2017-07-05  Florian Weimer  <fweimer@redhat.com>
353         * support/namespace.h (struct support_chroot_configuration)
354         (struct support_chroot): Define.
355         (support_chroot_create, support_chroot_free): New functions.
356         * support/support_chroot.c: New file.
357         * support/Makefile (libsupport-routines): Add support_chroot.
358         * resolv/tst-resolv-res_init-skeleton.c (path_chroot)
359         (path_resolv_conf): Remove definitions.
360         (chroot_env): New variable.
361         (prepare): Call support_chroot_create.
362         (check_chroot_working, setup_nss_dns_and_chroot, run_res_init)
363         (special_test_callback, do_test): Likewise.
365 2017-07-05  Florian Weimer  <fweimer@redhat.com>
367         Add subtest to check isolation of multiple loopback addresses.
368         * support/tst-support-namespace.c (test_localhost_bind): New function.
369         (do_test): Call it.
371 2017-07-04  Szabolcs Nagy  <szabolcs.nagy@arm.com>
373         * libio/libio.h (_IO_FLAGS2_NEED_LOCK, _IO_need_lock): Define.
374         * libio/libioP.h (_IO_enable_locks): Declare.
375         * libio/Versions (_IO_enable_locks): New symbol.
376         * libio/genops.c (_IO_enable_locks): Define.
377         (_IO_old_init): Initialize flags2.
378         * libio/feof.c.c (_IO_feof): Avoid locking when not needed.
379         * libio/ferror.c (_IO_ferror): Likewise.
380         * libio/fputc.c (fputc): Likewise.
381         * libio/putc.c (_IO_putc): Likewise.
382         * libio/getc.c (_IO_getc): Likewise.
383         * libio/getchar.c (getchar): Likewise.
384         * libio/ioungetc.c (_IO_ungetc): Likewise.
385         * nptl/pthread_create.c (__pthread_create_2_1): Enable stdio locks.
386         * libio/iofopncook.c (_IO_fopencookie): Enable locking for the file.
387         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
389 2017-07-04  Florian Weimer  <fweimer@redhat.com>
391         [BZ #21542]
392         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to
393         two if no accurate information is available.
394         * posix/tst-sysconf-empty-chroot.c: New file.
395         * posix/Makefile (tests): Add it.
397 2017-07-04  Florian Weimer  <fweimer@redhat.com>
399         * resolv/resolv_conf.c (resolv_conf_matches): Tighten check for name
400         server and sort list counts.  Fix improper check for empty search
401         path (completely missing domain name) leading to assertion failure
402         in update_from_conf.
403         * resolv/tst-resolv-res_init-skeleton.c (struct test_case): Add
404         hostname member.
405         (run_res_init): Set host name if requested.
406         (test_cases): Update.
408 2017-07-04  Joseph Myers  <joseph@codesourcery.com>
410         * scripts/build-many-glibcs.py (Context.checkout): Default
411         binutils version to 2.29 branch, GMP version to 6.1.2 and Linux
412         kernel version to 4.12.
414 2017-07-04  Florian Weimer  <fweimer@redhat.com>
416         * resolv/resolv_conf.c (struct resolv_conf_global): Clarify free
417         list management and the role of free_list_start.
418         (decrement_at_index): Put zero at the end of the free list.
419         (__resolv_conf_attach): Fix bogus assert.
420         * resolv/Makefile (tests): Add tst-resolv-res_init-multi.
421         (tst-resolv-res_init-multi): Link with -lresolv, -lpthread.
423 2017-07-03  Florian Weimer  <fweimer@redhat.com>
425         resolv: Introduce free list for resolv_conf index slosts.
426         * resolv/resolv_conf.c (struct resolv_conf_array): Change element
427         type to uintptr_t.
428         (struct resolv_conf_global): Add free_list_start member.
429         (resolv_conf_get_1): Check for free list entry.
430         (decrement_at_index): Put freed slot on the free list.
431         (__resolv_conf_attach): Obtain new slot from the free list.
432         * resolv/tst-resolv-res_ninit.c: New file.
433         * resolv/Makefile (tests-internal): Add tst-resolv-res_ninit.
434         (tests-special): Add mtrace-tst-resolv-res_ninit.out.
435         (generated): Add mtrace-tst-resolv-res_ninit.out,
436         tst-resolv-res_ninit.mtrace.
437         (mtrace-tst-resolv-res_ninit.out): Add target.
439 2017-06-30  Florian Weimer  <fweimer@redhat.com>
441         [BZ #984]
442         Reload /etc/resolv.conf if has been changed on disk.
443         * resolv/resolv_conf.h (resolv_conf): Remove initstamp member.
444         (__resolv_conf_load, __resolv_conf_get_current): Declare.
445         * resolv/resolv_conf.c (struct resolv_conf_global): Add
446         conf_current, conf_mtime, conf_ctime, conf_size, conf_ino members.
447         (__resolv_conf_get_current): New function.
448         (__resolv_conf_allocate): Do not initialize initstamp.
449         (freeres): Deallocate global->conf_current.
450         * resolv/resolv.h (RES_NORELOAD): Define.
451         * resolv/res_debug.c (p_option): Add RES_NORELOAD.
452         * resolv/resolv-internal.h (__res_initstamp): Remove declaration.
453         * resolv/resolv_context.c (replicated_configuration_matches): New.
454         (maybe_init): Call it.  Use __resolv_conf_get_current to obtain
455         the current configration.
456         * resolv/res_init.c (__res_initstamp): Remove variable definition.
457         (has_preinit_values): New function.
458         (__resolv_conf_load): Renamed from __res_vinit.  Drop res_state
459         parameter and do not call __resolv_conf_attach.
460         (__res_vinit): Reimplement based __resolv_conf_load.
461         (res_options): Handle no-reload.
462         * resolv/res_libc.c (atomicinclock, atomicincunlock, atomicinc)
463         (lock): Remove.
464         (res_int): Do not update __res_initstamp.
465         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Handle
466         RES_NORELOAD.
467         (test_cases): Test no-reload.
468         (special_test_call_res_init): Remove.
469         (special_test_callback): Rely on automated reloading.  Add tests
470         for no-reload.
472 2017-06-30  Florian Weimer  <fweimer@redhat.com>
474         Mirror the entire resolver configuration in struct resolv_conf.
475         * resolv/resolv_context.h (__resolv_context_nameserver_count)
476         (__resolv_context_nameserver): New functions.
477         (__resolv_context_sort_count, __resolv_context_sort_entry):
478         Likewise.
479         * resolv/nss_dns/dns-host.c (getanswer_r): Add struct
480         resolv_context parameter.
481         (gethostbyname3_context, _nss_dns_gethostbyaddr2_r): Adjust.
482         (addrsort): Switch to struct resolv_context.
483         * resolv/resolv_conf.h (struct resolv_sortlist_entry): Define.
484         (struct resolv_conf): Add nameserver_list, nameserver_list_size,
485         sort_list, sort_list_size, options, retrans, retry, ndots members.
486         * resolv/resolv_conf.c (same_address_v4, same_address_v6)
487         (same_address): New functions.
488         (resolv_conf_matches): Compare the new array members.
489         (__resolv_conf_allocate): Allocate and copy the new array members.
490         (update_from_conf): Copy the entire configuration.
491         * resolv/res_init.c (struct nameserver_list, struct sort_list):
492         Define using dynarray.
493         (struct resolv_conf_parser): Add nameserver_list, sort_list,
494         template members.
495         (resolv_conf_parser_init): Add preinit argument.  Initialize the
496         new members.
497         (resolv_conf_parser_free): Deallocate the new arrays.
498         (allocate_address_v4): New function.
499         (res_setoptions): Switch to struct resolv_conf_parser * parameter.
500         (res_vinit_1): Drop res_state parameter.  Write all parsed date to
501         the parser object instead.  Use allocate_address_v4 to allocate
502         IPv4 addresses.
503         (__res_vinit): Adjust.
504         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print the
505         extended name server list.
506         (test_cases): Adjust.
508 2017-06-30  Florian Weimer  <fweimer@redhat.com>
510         [BZ #19569]
511         [BZ #21475]
512         Support an arbitrary number of search domains.
513         * resolv/resolv_context.h (__resolv_context_search_list): New.
514         * resolv/resolv_conf.h (struct resolv_conf): Add search_list,
515         search_list_size members.
516         * resolv/resolv_conf.c (resolv_conf_matches): Compare search list.
517         (__resolv_conf_allocate): Allocate and and copy search list.
518         (update_from_conf): Copy the search list.
519         * resolv/res_init.c (struct search_list): Define using dynarray.
520         (struct resolv_conf_parser): Define.
521         (resolv_conf_parser_init, resolv_conf_parser_free)
522         (domain_from_hostname): New functions.
523         (res_vinit_1): Add struct resolv_conf_parser * parameter.  Use
524         struct search_list to collect search list entries.  Call
525         domain_from_hostname to obtain the fallback domain name.
526         (__res_vinit): Create and destroy parser object.  Pass search list
527         to __resolv_conf_allocate.
528         * resolv/res_query.c (__res_context_search): Use
529         __resolv_context_search_list to obtain search list entries.
530         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print data
531         from extended resolver context.
532         (test_cases): Update.
534 2017-06-30  Florian Weimer  <fweimer@redhat.com>
536         Add extended resolver state/configuration (struct resolv_conf).
537         * resolv/resolv_conf.h, resolv/resolv_conf.c: New files.
538         * resolv/res-close.c (__res_iclose): Call __resolv_conf_detach.
539         * resolv/res_init.c (res_vinit_1): Do not initialize initstamp.
540         (__res_vinit): Call __resolv_conf_allocate and
541         __resolv_conf_attach.
542         * resolv/resolv_context.h (struct resolv_context): Add conf member
543         of type struct resolv_conf.
544         * resolv/resolv_context.c (maybe_init): Get initstamp from struct
545         resolv_conf.  Update conf member after initialization.
546         * resolv/Makefile (routines): Add resolv_conf.
547         * resolv/bits/types/res_state.h [_LIBC] (struct __res_state):
548         Rename _u._ext.initstamp to _u._ext.__glibc_extension_index.
549         [!_LIBC] (struct __res_state): Rename _u._ext._initstamp to
550         _u._ext.__glibc_reserved.
552 2017-06-30  Florian Weimer  <fweimer@redhat.com>
554         [BZ #21668]
555         Introduce temporary resolver contexts (struct resolv_conf).
556         * resolv/resolv-internal.h (__res_context_mkquery)
557         (__res_context_searchl __res_context_query, __res_context_send)
558         (__res_context_hostalias): Declare.
559         (__res_nopt): Switch to struct resolv_context.
560         * resolv/res_use_inet6.h: New file.
561         * resolv/resolv_context.h: Likewise.
562         * resolv/resolv_context.c: Likewise.
563         * resolv/compat-gethnamaddr.c (res_gethostbyname2_context):
564         Renamed from res_gethostbyname2.  Use struct resolv_context.
565         (res_gethostbyname2): New function.  Implement using
566         res_gethostbyname2_context.
567         (res_gethostbyaddr_context): Renamed from res_gethostbyaddr.  Use
568         struct resolv_context.
569         (res_gethostbyaddr): New function.  Implement using
570         res_gethostbyaddr_context.
571         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use struct
572         resolv_context.
573         * resolv/nss_dns/dns-host.c (gethostbyname3_context): Renamed from
574         _nss_dns_gethostbyname3_r.  Use struct resolv_context.
575         (_nss_dns_gethostbyname3_r): Implement using gethostbyname3_context.
576         (_nss_dns_gethostbyname_r, _nss_dns_gethostbyname4_r): Likewise.
577         (_nss_dns_gethostbyaddr2_r): Use struct resolv_context.
578         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r)
579         (_nss_dns_getnetbyaddr_r): Likewise.
580         * resolv/res-close.c (res_thread_freeres): Call
581         __resolv_context_freeres.
582         * resolv/res_libc.c (__res_maybe_init): Remove function.  Moved to
583         maybe_init in resolv/resolv_context.c.
584         * resolv/res_mkquery.c (__res_context_mkquery): Rename from
585         res_nmkquery.  Use struct resolv_context.
586         (context_mkquery_common): New function.
587         (res_nmkquery, res_mkquery): Use it.
588         (res_nopt): Switch to struct resolv_context.
589         * resolv/res_query.c (__res_context_querydomain): Renamed from
590         __libc_res_nquerydomain.  Use struct resolv_context.
591         (__res_context_query): Renamed from __libc_res_nquery.  Use struct
592         resolv_context.
593         (context_query_common): New function.
594         (res_nquery, res_query): Use it.
595         (__res_context_search): Renamed from __libc_res_nsearch.  Use
596         struct resolv_context.
597         (context_search_common): New function.
598         (res_nsearch, res_search): Use it.
599         (__res_context_querydomain): Rename from __libc_res_nquerydomain.
600         Use struct resolv_context.
601         (context_querydomain_common): New function.
602         (res_nquerydomain, res_querydomain): Use it.
603         (__res_context_hostalias): Rename from res_hostalias.  Use struct
604         resolv_context.
605         (context_hostalias_common): New function.
606         (res_hostalias, hostalias): Use it.
607         * resolv/res_send.c (__res_context_send): Renamed from
608         __libc_res_nsend.  Use struct resolv_context.
609         (context_send_common): New function.
610         (res_nsend, res_send): Use it.
611         * resolv/Makefile (routines): Add resolv_context.
612         * resolv/Versions (libc): Export __resolv_context_get,
613         __resolv_context_get_preinit, __resolv_context_get_override,
614         __resolv_context_put.  Remove __res_maybe_init.
615         (libresolv): Export __res_context_query, __res_context_search,
616         __res_context_hostalias.  Remove __libc_res_nquery,
617         __libc_res_nsearch.
618         * include/resolv.h (__res_maybe_init, __libc_res_nquery)
619         (__libc_res_nsearch, __libc_res_nsend): Remove declaration.
620         (__hostalias, __res_nmkquery, __res_nquery, __res_nquerydomain)
621         (__res_hostalias, __res_nsearch, __res_nsend): Remove hidden
622         prototypes.
623         * nss/nsswitch.h (__nss_hostname_digits_dots_context): Declare.
624         * nss/digits_dots.c (__nss_hostname_digits_dots_context): Renamed
625         from __nss_hostname_digits_dots.  Use struct resolv_context.
626         (__nss_hostname_digits_dots): New function.
627         * nss/getXXbyYY.c [HANDLE_DIGITS_DOTS] (FUNCTION_NAME): Acquire
628         struct resolv_context object.  Call new function
629         __nss_hostname_digits_dots_context.
630         * nss/getXXbyYY_r.c (REENTRANT_NAME): Use struct resolv_context.
631         * nss/getnssent_r.c (__nss_setent): Likewise.
632         * nscd/aicache.c (addhstaiX): Use struct resolv_context,
633         __resolv_context_disable_inet6 and __resolv_context_enable_inet6
634         instead of direct _res manipulation.
635         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Likewise.
637 2017-07-03  Florian Weimer  <fweimer@redhat.com>
639         * resolv/tst-resolv-res_init-skeleton.c
640         (special_tests_count, special_test_call_res_init)
641         (special_test_callback, special_test_thread_func)
642         (run_special_test_on_thread, special_test): Define.
643         (do_test): call special_test.
644         (test_init_names): Fix typo.
646 2017-07-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
648         * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code.
649         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
651 2017-07-01  Florian Weimer  <fweimer@redhat.com>
652             H.J. Lu  <hongjiu.lu@intel.com>
654         [BZ #21696]
655         * posix/sched_cpucount.c: Don't include <limits.h>.
656         (__sched_cpucount): Use __builtin_popcount.
658 2017-07-01  Ramana Radhakrishnan  <ramana.gcc@googlemail.com>
660         * sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features):
661         Fix typo.
663 2017-06-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
665         * include/math.h (__signbitf128): Define as hidden.
666         * sysdeps/ieee754/float128/s_signbitf128.c (__signbitf128):
667         Reimplement without builtins.
668         * sysdeps/ia64/bits/floatn.h [!__GNUC_PREREQ (6, 0)]
669         (__builtin_signbitf128): Define to __signbitf128.
670         * sysdeps/powerpc/bits/floatn.h: Likewise.
671         * sysdeps/x86/bits/floatn.h: Likewise.
673 2017-06-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
675         * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file.
676         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
677         * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise.
678         * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
679         * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise.
680         * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise.
681         * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise.
682         * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise.
684         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise.
685         * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise.
686         * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise.
687         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to
688         fcntl_common and add check for F_GETOWN.
689         (__libc_fcntl): Use SYSCALL_CANCEL macro.
690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to
691         use default implementation.
693 2017-06-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
695         * elf/dl-tunables.h (tunable_is_name): Move from...
696         * elf/dl-tunables.c (is_name): ... here.
697         (parse_tunables, __tunables_init): Adjust.
698         * manual/tunables.texi: Document glibc.tune.cpu.
699         * sysdeps/aarch64/dl-tunables.list: New file.
700         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct
701         cpu_list): New type.
702         (cpu_list): New list of CPU names and their MIDR.
703         (get_midr_from_mcpu): New function.
704         (init_cpu_features): Override MIDR if necessary.
706         * sysdeps/aarch64/multiarch/ifunc-impl-list.c
707         (__libc_ifunc_impl_list): Unconditionally select thunderx
708         routine for testing.
710 2017-06-30  H.J. Lu  <hongjiu.lu@intel.com>
712         [BZ #21120]
713         * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
714         * sysdeps/generic/malloc-alignment.h: Here.  New file.
715         * sysdeps/i386/malloc-alignment.h: Likewise.
716         * sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
718 2017-06-30  Florian Weimer  <fweimer@redhat.com>
720         * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New
721         variable.
722         (test_file_contents): Use it.
724 2017-06-30  Florian Weimer  <fweimer@redhat.com>
726         * resolv/res_init.c (res_setoptions): Remove source argument.
727         (res_vinit_1): Adjust.
729 2017-06-30  Florian Weimer  <fweimer@redhat.com>
731         * resolv/res_query.c (DEBUG): Remove preprocessor conditional.
733 2017-06-30  Florian Weimer  <fweimer@redhat.com>
735         * resolv/res_data.c: Reformat to GNU style.
736         (res_close): Update comments.
738 2017-06-30  Florian Weimer  <fweimer@redhat.com>
740         * resolv/res_data.c (res_query, res_search, res_querydomain)
741         (hostalias): Move to ...
742         * resolv/res_Send.c (res_query, res_search, res_querydomain)
743         (hostalias): here.
745 2017-06-30  Florian Weimer  <fweimer@redhat.com>
747         * resolv/res_data.c (res_isourserver, res_send): Move to ...
748         * resolv/res_send.c (res_isourserver, res_send): here.
750 2017-06-30  Florian Weimer  <fweimer@redhat.com>
752         * resolv/res_debug.c (_res_opcodes): Rename ...
753         (res_opcodes): ... as compatibility symbol.
754         (fp_nquery): Use res_opcodes.
755         * include/resolv.h (_res_opcodes): Remove declaration.
757 2017-06-30  Florian Weimer  <fweimer@redhat.com>
759         * include/resolv.h (res_pquery): Remove declaration.
760         * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove
761         functions.
762         (_res_opcodes): Remove variable.
763         * resolv/res_debug.c (do_section): Receive pfcode instead of
764         statp.
765         (res_pquery): Rename ...
766         (fp_nquery): to this function.  Skip unnecessary _res
767         initialization.
768         (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c.
770 2017-06-30  Florian Weimer  <fweimer@redhat.com>
772         * resolv/res_debug.h: Remove file.
773         * resolv/README: Adjust.
775 2017-06-30  Florian Weimer  <fweimer@redhat.com>
777         * resolv/res_end.c (DEBUG): Remove macro and preprocessor
778         conditionals.
779         (Aerror, Perror): Remove function definitions.
781 2017-06-30  Florian Weimer  <fweimer@redhat.com>
783         * resolv/res_data.c (res_mkquery): Move ...
784         * resolv/res_mkquery.c (res_mkquery): to here.
786 2017-06-30  Florian Weimer  <fweimer@redhat.com>
788         * resolv/res_mkquery.c: Reformat to GNU style.
789         (T_OPT): Remove definition.  It is present in the header file.
791 2017-06-30  Florian Weimer  <fweimer@redhat.com>
793         * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor
794         conditionals.
796 2017-06-30  Florian Weimer  <fweimer@redhat.com>
798         * support/support_capture_subprocess_check.c
799         (support_capture_subprocess_check): Report actual exit status.
801 2017-06-30  Florian Weimer  <fweimer@redhat.com>
803         [BZ #19570]
804         * resolv/res_send.c (nameserver_offset): New function.
805         (__libc_res_nsend): Use it to implement RES_ROTATE.
806         (get_nsaddr): Add assert with name server
807         range check.
808         * resolv/Makefile (xtests): Add tst-resolv-rotate.
809         (tst-resolv-rotate): Link against libpthread.
810         * resolv/tst-resolv-rotate.c: New file.
812 2017-06-29  Joseph Myers  <joseph@codesourcery.com>
814         [BZ #21457]
815         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
816         [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
817         [__WORDSIZE == 64] (MC_PC): Likewise.
818         [__WORDSIZE == 64] (MC_NPC): Likewise.
819         [__WORDSIZE == 64] (MC_Y): Likewise.
820         [__WORDSIZE == 64] (MC_G1): Likewise.
821         [__WORDSIZE == 64] (MC_G2): Likewise.
822         [__WORDSIZE == 64] (MC_G3): Likewise.
823         [__WORDSIZE == 64] (MC_G4): Likewise.
824         [__WORDSIZE == 64] (MC_G5): Likewise.
825         [__WORDSIZE == 64] (MC_G6): Likewise.
826         [__WORDSIZE == 64] (MC_G7): Likewise.
827         [__WORDSIZE == 64] (MC_O0): Likewise.
828         [__WORDSIZE == 64] (MC_O1): Likewise.
829         [__WORDSIZE == 64] (MC_O2): Likewise.
830         [__WORDSIZE == 64] (MC_O3): Likewise.
831         [__WORDSIZE == 64] (MC_O4): Likewise.
832         [__WORDSIZE == 64] (MC_O5): Likewise.
833         [__WORDSIZE == 64] (MC_O6): Likewise.
834         [__WORDSIZE == 64] (MC_O7): Likewise.
835         [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
836         __MC_NGREG if [__USE_MISC].
837         [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
838         [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
839         [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
840         Define fields using __ctx.
841         [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag.  Define fields
842         using __ctx.
843         [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
844         (REG_PSR): Define only for [__USE_MISC].
845         (REG_PC): Likewise.
846         (REG_nPC): Likewise.
847         (REG_Y): Likewise.
848         (REG_G1): Likewise.
849         (REG_G2): Likewise.
850         (REG_G3): Likewise.
851         (REG_G4): Likewise.
852         (REG_G5): Likewise.
853         (REG_G6): Likewise.
854         (REG_G7): Likewise.
855         (REG_O0): Likewise.
856         (REG_O1): Likewise.
857         (REG_O2): Likewise.
858         (REG_O3): Likewise.
859         (REG_O4): Likewise.
860         (REG_O5): Likewise.
861         (REG_O6): Likewise.
862         (REG_O7): Likewise.
863         [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
864         [__WORDSIZE == 64] (REG_FPRS): Likewise.
865         (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
866         (gregset_t): Define using __NGREG.
867         (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
868         __SPARC_MAXREGWINDOW if [__USE_MISC].
869         (struct rwindow): Rename to struct __rwindow.  Define fields using
870         __ctx.
871         (rw_fp): Define only for [__USE_MISC].
872         (rw_rtn): Likewise.
873         (gwindows_t): Remove struct tag.  Define fields using __ctx and
874         __SPARC_MAXREGWINDOW.
875         (MAXFPQ): Define only for [__USE_MISC].
876         (struct fpq): Rename to struct __fpq.  Define fields using __ctx.
877         (struct fq): Rename to struct __fq.  Define fields using __ctx.
878         (FPU_REGS_TYPE): Define only for [__USE_MISC].
879         (FPU_DREGS_TYPE): Likewise.
880         (V7_FPU_FSR_TYPE): Likewise.
881         (V9_FPU_FSR_TYPE): Likewise.
882         (V9_FPU_FPRS_TYPE): Likewise.
883         [__WORDSIZE == 64] (fpregset_t): Remove struct tag.  Define fields
884         using __ctx.
885         [__WORDSIZE != 64] (fpregset_t): Likewise.
886         [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
887         [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
888         [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
889         Rename field filler to __glibc_reserved1.
890         * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
891         (MC_FILLER): Remove.
893 2017-06-29  Florian Weimer  <fweimer@redhat.com>
895         * stdio-common/tst-vfprintf-user-type.c (my_printf_function):
896         Adjust format string.
897         * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale
898         dependency.
900 2017-06-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
902         * sysdeps/posix/spawni.c (__spawni_child): New function.
903         (__spawni): Rename to __spawnix.
905 2017-06-29  Florian Weimer  <fweimer@redhat.com>
907         * stdio-common/vfprintf.c (group_number): Add front_ptr argument.
908         Use it to make the temporary copy at the start of the work buffer.
909         (process_arg): Adjust call to group_number.
911 2017-06-29  Florian Weimer  <fweimer@redhat.com>
913         * stdio-common/vfprintf.c (printf_positional): Use struct
914         scratch_buffer to allocate backing storage for the args_value,
915         args_size, args_type arrays.
917 2017-06-29  Florian Weimer  <fweimer@redhat.com>
919         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct
920         scratch_buffer.
922 2017-06-29  Florian Weimer  <fweimer@redhat.com>
924         * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
925         wchar_t builds.
927 2017-06-29  Florian Weimer  <fweimer@redhat.com>
929         * stdio-common/tst-vfprintf-mbs-prec.c: New file.
930         * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec.
932 2017-06-29  Florian Weimer  <fweimer@redhat.com>
934         * stdio-common/tst-vfprintf-user-type.c: New file.
935         * stdio-common/Makefile (tests): Add tst-vfprintf-user-type.
937 2017-06-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
939         * posix/tst-spawn2.c (do_test): Use libsupport.
940         * posix/tst-spawn3.c (do_test): Likewise.
942 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
944         * math/gen-tgmath-tests.py (Tests.__init__): Define
945         __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
947         * math/tgmath.h: Include <bits/libc-header-start.h> and
948         <bits/floatn.h>.
949         (__TGMATH_F128): New macro.
950         (__TGMATH_CF128): Likewise.
951         (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
952         (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
953         (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
954         (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
955         (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
956         (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
957         (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
958         (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
959         (__TGMATH_TERNARY_REAL_ONLY): Likewise.
960         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
961         (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
962         (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
963         (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
964         (__TGMATH_BINARY_REAL_IMAG): Likewise.
965         (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
966         [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
967         * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
968         _FloatNx types if the corresponding HUGE_VAL macros are defined.
970         * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
971         * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
972         complex arguments.
974         [BZ #21687]
975         * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
976         (totalorder): Use it.
977         (totalordermag): Likewise.
978         * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
979         totalorder and totalordermag.
980         * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
981         totalordermag in arguments of calls to those functions.
982         (NCALLS): Change to 134.
984         * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
985         cast to return type argument.
986         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
987         (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
988         (llrint): Likewise.
989         (lround): Likewise.
990         (llround): Likewise.
991         (ilogb): Likewise.
992         (llogb): Likewise.
993         (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
994         (ufromfp): Likewise.
995         (fromfpx): Likewise.
996         (ufromfpx): Likewise.
998         [BZ #21607]
999         * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
1000         [LDBL_MANT_DIG > DBL_MANT_DIG].
1001         * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
1002         * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
1003         * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
1004         * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
1005         * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
1006         * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
1007         * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
1008         * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
1009         * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
1010         * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
1011         * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
1012         * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
1013         * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
1014         * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
1015         * math/test-tgmath.c: Include <float.h>.
1016         [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
1017         DBL_MANT_DIG].
1018         * math/test-tgmath2.c: Include <float.h>.
1019         [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
1020         DBL_MANT_DIG].
1022         * math/gen-tgmath-tests.py: New file.
1023         * math/Makefile [PYTHON] (tests): Add test-tgmath3.
1024         [PYTHON] (generated): Add test-tgmath3.c.
1025         [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
1026         [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
1028         * configure.ac (AS): Require binutils 2.25 or later.
1029         (LD): Likewise.
1030         * configure: Regenerated.
1031         * sysdeps/s390/configure.ac (AS): Remove version check.
1032         * sysdeps/s390/configure: Regenerated.
1033         * sysdeps/x86_64/configure.ac (AS): Remove version check.
1034         * sysdeps/x86_64/configure: Regenerated.
1035         * manual/install.texi (Tools for Compilation): Document
1036         requirement for binutils 2.25 or later.
1037         * INSTALL: Regenerated.
1039 2017-06-28  H.J. Lu  <hongjiu.lu@intel.com>
1041         [BZ #14995]
1042         * configure.ac: Allow gold 1.14 or above to configire glibc
1043         * configure: Regenerated.
1045 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
1047         [BZ #21457]
1048         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
1049         struct tag.
1050         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
1051         Likewise.
1052         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
1053         Likewise.
1054         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
1055         Declare struct type with __ctx.
1056         [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
1057         tag.
1058         (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
1059         and regs field name.
1061 2017-06-27  Joseph Myers  <joseph@codesourcery.com>
1063         * elf/loadtest.c (OUT): Define using do { } while (0).
1065         * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
1066         (DO_NUMBER_SPACEPAD): Likewise.
1068 2017-06-27  Prakhar Bahuguna  <prakhar.bahuguna@arm.com>
1070         * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
1071         sysdep_routines.
1072         * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
1073         __memchr_neon.
1074         Add ifunc definitions for __memchr_neon and __memchr_noneon.
1075         * sysdeps/arm/armv7/multiarch/memchr.S: New file.
1076         * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
1077         * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
1079 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1081         * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
1082         Use vector and cu21 instruction.
1083         * sysdeps/s390/multiarch/utf8-utf16-z9.c:
1084         Add __to_utf8_loop_vx_cu in ifunc resolver.
1086 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1088         * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
1089         Use vector and cu24 instruction.
1091 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1093         * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
1094         Use vector and cu42 instruction.
1095         * sysdeps/s390/multiarch/utf16-utf32-z9.c:
1096         Add __to_utf16_loop_vx_cu in ifunc resolver.
1098 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1100         * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
1101         Use vector and cu41 instruction.
1102         * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
1103         in ifunc resolver.
1105 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1107         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1108         Add vxd, vxe, gs flag.
1109         * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
1110         HWCAP_S390_GS capability.
1111         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1112         (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
1114 2017-06-27  H.J. Lu  <hongjiu.lu@intel.com>
1116         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
1117         the first 32 bytes before checking size when size >= 32 bytes.
1118         Replace vpmovmskb/subl/jnz with vptest/jnc.
1120 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1122         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
1123         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
1125 2017-06-27  Florian Weimer  <fweimer@redhat.com>
1127         Work around test timeouts with ICMP rate limiting on localhost.
1128         * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
1129         function.
1130         (do_test): Call it.
1132 2017-06-27  Florian Weimer  <fweimer@redhat.com>
1134         Call _res_hconf_init from __res_vinit.
1135         * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1136         * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
1137         (NEED__RES): Define.
1138         * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
1139         (NEED__RES): Define.
1140         * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
1141         * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1142         * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
1143         (NEED__RES): Define.
1144         * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
1145         _res_hconf_init.
1146         * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
1147         * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
1148         * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
1149         _res_hconf_init.
1151 2017-06-26  Joseph Myers  <joseph@codesourcery.com>
1153         * sysdeps/ia64/Implies: Add ieee754/float128.
1154         * sysdeps/ia64/bits/floatn.h: New file.
1155         * sysdeps/ia64/float128-abi.h: Likewise.
1156         * manual/math.texi (Mathematics): Document support for _Float128
1157         on ia64.
1158         * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
1159         Makefile variable.
1160         * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
1161         * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
1162         * sysdeps/ia64/fpu/sfp-machine.h: New file.  Based on libgcc.
1163         * sysdeps/ia64/math-tests.h: New file.
1164         * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
1165         based on TEST_COND_binary128 for [__ia64__].
1166         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
1167         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
1169         [BZ #21457]
1170         * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
1171         ucontext_t.
1172         * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
1173         * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
1174         * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
1175         * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
1176         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
1177         ucontext): Likewise.
1178         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
1179         Likewise.
1180         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
1181         Likewise.
1182         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
1183         Likewise.
1184         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
1185         Likewise.
1186         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
1187         Likewise.
1188         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
1189         Likewise.
1190         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
1191         Likewise.
1192         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
1193         ucontext): Likewise.
1194         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
1195         Likewise.
1196         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
1197         Likewise.
1198         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
1199         Likewise.
1200         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
1201         Likewise.
1202         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
1203         Likewise.
1204         * sysdeps/powerpc/powerpc32/backtrace.c (struct
1205         rt_signal_frame_32): Likewise.
1206         * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
1207         Likewise.
1208         * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
1209         kernel_rt_sigframe): Likewise.
1210         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
1211         Likewise.
1212         * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
1213         Likewise.
1214         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
1215         Likewise.
1216         * sysdeps/unix/sysv/linux/hppa/profil-counter.h
1217         (__profil_counter): Likewise.
1218         * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
1219         (SIGCONTEXT): Likewise.
1220         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
1221         kernel_rt_sigframe): Likewise.
1222         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
1223         kernel_rt_sigframe): Likewise.
1224         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
1225         Likewise.
1226         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
1227         Likewise.
1228         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1229         (__start_context): Likewise.
1230         * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
1231         Likewise.
1232         * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
1233         Likewise.
1234         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
1235         Likewise.
1237         * sysdeps/i386/Implies: Add ieee754/float128.
1238         * sysdeps/x86_64/Implies: Likewise.
1239         * sysdeps/x86/bits/floatn.h: New file.
1240         * sysdeps/x86/float128-abi.h: Likewise.
1241         * manual/math.texi (Mathematics): Document support for _Float128
1242         on x86_64 and x86.
1243         * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
1244         (math_opt_barrier): Do not put _Float128 values in floating-point
1245         registers.
1246         (math_force_eval): Likewise.
1247         [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
1248         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
1249         to Makefile variable.
1250         * sysdeps/x86/fpu/e_sqrtf128.c: New file.
1251         * sysdeps/x86/fpu/sfp-machine.h: Likewise.  Based on libgcc.
1252         * sysdeps/x86/math-tests.h: New file.
1253         * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
1254         * math/libm-test-getpayload.inc (getpayload_test_data): Use
1255         XFAIL_FLOAT128_PAYLOAD.
1256         * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
1257         * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
1258         * math/libm-test-totalordermag.inc (totalordermag_test_data):
1259         Likewise.
1260         * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
1261         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1262         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1263         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1264         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1265         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1266         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1267         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1270 2017-06-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1272         [BZ #21512]
1273         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
1274         syscall instead of jump to _exit.
1275         (CLONE_VM_BIT): Remove unused define.
1276         (CLONE_VM): Likewise.
1277         (CLONE_THREAD_BIT): Likewise.
1278         (CLONE_THREAD): Likewise.
1279         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1280         (CLONE_VM): Remove unused define.
1281         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1282         (CLONE_VM): Remove unused define.
1283         (CLONE_THREAD): Likewise.
1284         * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
1285         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
1286         syscall instead of jump to _exit.
1287         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1288         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1289         (CLONE_VM): Remove unused define.
1290         (CLONE_THREAD): Likewise.
1291         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1292         (CLONE_VM): Remove unused define.
1293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1294         Likewise.
1295         (CLONE_VM): Remove unused define.
1296         (CLONE_THREAD): Likewise.
1297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1298         Likewise.
1299         (CLONE_VM): Remove unused define.
1300         (CLONE_THREAD): Likewise.
1301         * sysdeps/unix/sysv/linux/sh/clone.S  (__clone): Likewise.
1302         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1303         (CLONE_VM): Remove unused define.
1304         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1305         (CLONE_VM): Remove unused define.
1306         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1307         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1308         (CLONE_VM): Remove unused define.
1309         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
1310         * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
1312 2017-06-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1313             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1315         * manual/math.texi (Mathematics): Mention the enabling of float128
1316         for powerpc64le.
1317         * sysdeps/powerpc/bits/floatn.h: New file.
1318         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1319         * sysdeps/powerpc/fpu/math_private.h:
1320         (__ieee754_sqrtf128): New inline override.
1321         * sysdeps/powerpc/powerpc64le/Implies-before: New file.
1322         * sysdeps/powerpc/powerpc64le/Makefile: New file.
1323         * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
1324         * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
1325         * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
1326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1327         Updated.
1328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1329         Likewise.
1330         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
1331         New file.
1333 2017-06-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1335         * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
1336         * sysdeps/powerpc/powerpc64le/configure: Update.
1338 2017-06-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1339             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1341         * INSTALL: Regenerate.
1342         * manual/install.texi (Recommended Tools for Compilation): Mention
1343         the powerpc64le-specific requirement in the manual.
1344         * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
1345         for the compiler features required for building float128.
1346         * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
1348 2017-06-26  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1350         * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
1351         before comparing with another char.
1353 2017-06-25  Rical Jasan  <ricaljasan@pacific.net>
1355         * manual/math.texi: Fix a grammatical error.
1357 2017-06-24  Florian Weimer  <fweimer@redhat.com>
1359         [BZ #21295]
1360         * resolv/tst-resolv-basic.c (do_test): Add new test cases.
1362 2017-06-24  Dmitry Bilunov  <kmeaw@kmeaw.com>
1364         [BZ #21295]
1365         * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
1366         Append addresses at the end of the list.
1368 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
1370         [BZ #21666]
1371         * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
1372         (loc2): Likewise.
1373         (locs): Likewise.
1375 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1377         [BZ #16637]
1378         inet_pton: Reject invalid IPv6 addresses with many leading zeros.
1379         * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
1380         digits between colons.
1381         * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
1383 2017-05-23  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1384             Juan Manuel Torres Palma  <jmtorrespalma@gmail.com>
1386         * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
1387         (__sched_get_prioriry_min): Likewise.
1388         * include/sys/mman.h (__mmap): Likewise.
1389         (__mmap64): Likewise.
1390         (__munmap): Likewise.
1391         (__mprotect): Likewise.
1392         * include/termios.h (__tcsetattr): Likewise.
1393         * include/time.h (__nanosleep): Use hidden_proto instead of
1394         libc_hidden_proto.
1395         * posix/nanosleep.c (__nanosleep): Likewise.
1396         * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
1397         __sched_get_priority_min, and __sched_get_priority_max under
1398         GLIBC_PRIVATE.
1399         * nptl/allocatestack.c (__free_stacks): Use internal definition for
1400         libc symbols.
1401         (change_stack_perm): Likewise.
1402         (change_stack_perm): Likewise.
1403         (allocate_stack): Likewise.
1404         * sysdeps/posix/gethostname.c: Likewise.
1405         * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
1406         * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1407         * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1408         * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
1409         (__pthread_key_delete): Likewise.
1410         (__pthread_detach): Likewise.
1411         (__pthread_cancel): Likewise.
1412         (__pthread_mutex_trylock): Likewise.
1413         (__pthread_mutexattr_init): Likewise.
1414         (__pthread_mutexattr_settype): Likewise.
1415         * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
1416         create alias for exported one.
1417         * nptl/pthread_join.c (pthread_join): Likewise.
1418         * nptl/pthread_detach.c (pthread_detach): Likewise.
1419         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1420         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1421         * nptl/pthread_create.c: Change static requirements for pthread
1422         symbols.
1423         * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
1424         for internal definition.
1425         * nptl/pthread_exit.c (__pthread_exit): Likewise.
1426         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1427         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1428         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
1429         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1430         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1431         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1432         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
1433         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
1434         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1435         Likewise.
1436         * nptl/pthread_self.c (__pthread_self): Likewise.
1437         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1438         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1439         * misc/mmap.c (__mmap): Add internal symbol definition.
1440         * misc/mmap.c (__mmap64): Likewise.
1441         * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
1442         * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
1443         (__mmap64): Likewise.
1444         * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
1445         Add __uname.
1447 2017-06-23  Joseph Myers  <joseph@codesourcery.com>
1449         * sysdeps/i386/fpu/libm-test-ulps: Update.
1450         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1452         * libm-test-support.c (check_float_internal): Clear exceptions at
1453         end of function.
1454         (check_int): Likewise.
1455         (check_long): Likewise.
1456         (check_bool): Likewise.
1457         (check_longlong): Likewise.
1458         (check_intmax_t): Likewise.
1459         (check_uintmax_t): Likewise.
1461         * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
1462         Do not declare.
1463         * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
1464         __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
1465         redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
1467 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
1469         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1470         Replace movzbl and orl with movb.
1472 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1474         * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
1475         (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
1476         and HUGE_VAL_FNx.
1477         (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
1478         Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
1479         are in math.h, to avoid having to list the _FloatN and _FloatNx
1480         variants as well.  Likewise for the cabs functions.
1481         (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
1482         ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
1483         Mention that _FloatN and _FloatNx variants of scalbn and scalbln
1484         come from TS 18661-3, since this section explicitly states that
1485         these functions come from BSD.
1486         (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
1487         truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
1488         roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
1489         llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
1490         fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
1491         ufromfpxfN, ufromfpxfNx, modffN, modffNx.
1492         (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
1493         remainderfNx.
1494         (Setting and modifying single bits of FP values): Document
1495         copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
1496         nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
1497         canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
1498         setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
1499         (Floating-Point Comparison Functions): Document totalorderfN,
1500         totalorderfNx, totalordermagfN, totalordermagfNx.
1501         (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
1502         fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
1503         fdimfN, fdimfNx, fmafN, fmafNx.
1504         (Complex Numbers): Document the complex types: _FloatN complex and
1505         _FloatNx complex.
1506         (rojections, Conjugates, and Decomposing of Complex Numbers):
1507         Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
1508         cargfN, cargfNx, cprojfN, cprojfNx.
1509         * manual/math.texi (Mathematics): Mention that the _FloatN and
1510         _FloatNx variants of the math functions come from TS 18661-3,
1511         unless otherwise stated.
1512         (Predefined Mathematical Constants): Document the _FloatN and
1513         _FloatNx variants of the macros prefixed with M_.
1514         (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
1515         tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
1516         ccosfNx, ctanfN, ctanfNx.
1517         (Inverse Trigonometric Functions): Document asinfN, asinfNx,
1518         acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
1519         (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
1520         exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
1521         log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
1522         llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
1523         hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
1524         clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
1525         cpowfNx.
1526         (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
1527         tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
1528         asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
1529         casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
1530         (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
1531         lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
1532         j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
1533         ynfN, ynfNx.
1535 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1537         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
1539 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1541         * resolv/res_libc.c: Reformat to GNU style.
1543 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1545         * resolv/resolv-internal.h (__res_initstamp): Declare.
1546         * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
1547         It is implied by the declaration.
1548         * resolv/res_libc.c (__res_initstamp): Remove declaration.
1550 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1552         [BZ #21662]
1553         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1554         Use only 24 bits of the register before the subtraction.
1555         * string/test-memcmp.c (check1): Check with different lengths.
1557 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1559         * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
1560         $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
1562 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1564         * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
1565         Enable generation of float128 entries on the error table.
1567 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1569         * include/float.h: Include libc-header-start.h to get the
1570         definition of __GLIBC_USE.
1572 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
1574         * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
1575         rearranged code and doubles float types.
1577 2017-06-23  Rogerio A. Cardoso  <rcardoso@linux.vnet.ibm.com>
1579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
1580         s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
1582 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
1584         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
1585         to errno, and simplify remaining related code.
1587 2017-06-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1589         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
1590         PPC_FEATURE2_SCV.
1591         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
1592         and darn.
1594 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1596         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
1597         the implementation-specific function name and remove unneeded macros
1598         definition.
1599         * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
1600         function name if not defined and pass as parameter to macros
1601         accordingly.
1603 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1605         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1606         (libm-sysdep_routines): Add s_llroundf-ppc64.
1607         * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
1608         (__llroundf): Define as strong alias of __llround.
1609         (llroundf):  Define as weak alias of __llround.
1610         (__lroundf): Define as strong alias of __llround.
1611         (lroundf):  Define as weak alias of __llround.
1612         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S:  Likewise.
1613         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
1615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
1616         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1617         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1618         * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1620 2017-06-22  Joseph Myers  <joseph@codesourcery.com>
1622         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
1623         [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
1625         * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
1626         (MATH_TESTS_TG): New macro.
1627         (SNAN_TESTS_float128): Likewise.
1628         (ROUNDING_TESTS_float128): Likewise.
1629         (EXCEPTION_TESTS_float128): Likewise.
1630         (SNAN_TESTS): Define using MATH_TESTS_TG.
1631         (ROUNDING_TESTS): Likewise.
1632         (EXCEPTION_TESTS): Likewise.
1634         * sysdeps/ieee754/float128/float128_private.h
1635         [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
1636         pass it to SET_RESTORE_ROUNDF128.
1638         * sysdeps/ieee754/float128/float128_private.h: Include
1639         <ieee754.h>.
1641         * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
1642         typeof to argument passed to __builtin_types_compatible_p.
1643         (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
1645         * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
1646         <errno.h>.
1647         * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1648         * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1649         * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1650         * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1651         * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1652         * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1653         * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1654         * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1655         * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1656         * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1657         * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1658         * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1659         * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1660         * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1661         * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1662         * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1663         * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1664         * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1665         * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1666         * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1667         * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1668         * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1670         * sysdeps/ieee754/float128/strtof128_l.c: Include
1671         <bits/types/locale_t.h> instead of <xlocale.h>.
1672         * sysdeps/ieee754/float128/wcstof128.c: Likewise.
1673         * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
1675 2017-06-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1677         * benchtests/scripts/benchout_strings.schema.json: New file.
1678         * benchtests/scripts/compare_strings.py: New file.
1680         * benchtests/bench-memcpy-large.c: Include json-lib.h.
1681         (do_one_test): Print json.
1682         (do_test): Likewise.
1683         (test_main): Likewise.
1684         * benchtests/bench-memcpy-random.c: Include json-lib.h.
1685         (do_one_test): Print json.
1686         (do_test): Likewise.
1687         (test_main): Likewise.
1688         * benchtests/bench-memcpy.c: Include json-lib.h.
1689         (do_one_test): Print json.
1690         (do_test): Likewise.
1691         (test_main): Likewise.
1693         * benchtests/json-lib.h: Include inttypes.h.
1694         (json_attr_int, json_attr_int, json_element_string,
1695         json_element_int, json_element_uint): New functions.
1696         * benchtests/json-lib.c: (json_attr_int, json_attr_int,
1697         json_element_string, json_element_int, json_element_uint): New
1698         functions.
1700 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1702         * manual/arith.texi (Remainder Functions): Describe remainder as
1703         primary and drem as an alternative name.  Change the comment on
1704         remainder to ISO, since it is defined in ISO C99.
1706 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1708         * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
1709         macro expansion.
1710         (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
1712 2017-06-22  Mike FABIAN  <mfabian@redhat.com>
1714         [BZ #21533]
1715         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1716         201706L for Unicode 10.0.
1718 2017-06-21  Benjamin Cama  <b.cama@kerlink.fr>
1720         [BZ #21657]
1721         * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
1722         on node-local addresses.
1723         * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
1725 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1727         * intl/loadmsgcat.c: Remove alloca support.
1728         (_nl_load_domain): Use calloc instead of alloca.
1730 2017-04-21  Florian Weimer  <fweimer@redhat.com>
1732         * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
1733         (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
1734         alloc_buffer_copy_bytes, alloc_buffer_copy_string,
1735         alloc_buffer_create_failure.
1736         * malloc/Versions (__libc_alloc_buffer_alloc_array)
1737         (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
1738         (__libc_alloc_buffer_copy_string)
1739         (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
1740         * malloc/alloc_buffer_alloc_array.c: New file.
1741         * malloc/alloc_buffer_allocate.c: Likewise.
1742         * malloc/alloc_buffer_copy_bytes.c: Likewise.
1743         * malloc/alloc_buffer_copy_string.c: Likewise.
1744         * malloc/alloc_buffer_create_failure.c: Likewise.
1745         * malloc/tst-alloc_buffer.c: Likewise.
1747 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
1749         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1750         strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
1751         strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
1752         strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
1753         * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
1754         * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
1755         * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
1756         * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
1757         * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
1758         * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
1759         * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
1760         * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
1761         * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
1762         * sysdeps/x86_64/multiarch/strncase.c: Likewise.
1763         * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
1764         * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
1765         * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
1766         * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
1767         * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
1768         * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
1769         * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
1770         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
1771         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1772         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1773         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1774         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
1775         (STRCMP_SSE42): New.  Defined to __strcmp_sse42 if not defined.
1776         [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
1777         "locale-defines.h".
1778         (UPDATE_STRNCMP_COUNTER): New.
1779         (SECTION): Likewise.
1780         (GLABEL): Likewise.
1781         (LABEL): Likewise.
1782         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
1783         for libc.a.
1785 2017-06-21  Joseph Myers  <joseph@codesourcery.com>
1787         [BZ #21622]
1788         * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
1789         Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
1790         __USE_MISC].
1791         (SA_NODEFER): Likewise.
1792         (SA_RESETHAND): Likewise.
1794 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
1796         * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
1797         * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
1798         Remove security_level on all fields.
1799         * manual/tunables.texi: Replace ifunc with hwcaps.
1800         * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
1801         Renamed to ..
1802         (TUNABLE_CALLBACK (set_hwcaps)): This.
1803         (init_cpu_features): Updated.
1804         * sysdeps/x86/cpu-features.h (cpu_features): Change type of
1805         data_cache_size, data_cache_size and non_temporal_threshold to
1806         unsigned long int.
1807         * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
1808         (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
1809         (TUNABLE_CALLBACK (set_hwcaps)): This.  Update comments.  Don't
1810         use DEFAULT_STRLEN.
1812 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1814         * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
1815         asprintf to construct an absolute pathname.
1817 2017-06-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1819         * misc/tst-preadvwritev2-common.c: New file.
1820         * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
1821         * misc/tst-preadvwritev64v2.c (do_test): Likewise.
1823 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1825         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
1826         annotation.
1827         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1829 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1831         * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
1832         hidden __GI__dl_argv symbol.
1834 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1836         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
1837         to parse addresses with IPv6 scope IDs.
1839 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1841         Add the __inet_pton_length helper function.
1842         * resolv/resolv-internal.h (__inet_pton_length): Declare.
1843         * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
1844         Add length argument.
1845         (__inet_pton): New function.
1846         (inet_pton4): Add length argument.
1847         (hex_digit_value): New function.
1848         (inet_pton6): Add length argument.  Call hex_digit_value.  Use
1849         memmove and memset to fill :: gap.
1850         * resolv/Makefile (tests, tsts-static, tests-internal): Add
1851         tst-inet_pton.
1852         * resolv/tst-inet_pton.c: New file.
1853         * support/Makefile (libsupport-routines): Add xmprotect.
1854         * support/xunistd.h (xmprotect): Declare.
1855         * support/xmprotect.c: New file.
1857 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1859         Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
1860         * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
1861         (call_gai, check_ai): New functions.
1862         (expect_failure, expect_success): Use them.  Add logging.
1864 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1866         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1867         (sysdep_routines): Add memchr_power8.
1868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1869         (memchr): Add __memchr_power8 to list of memchr functions.
1870         * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
1871         * sysdeps/powerpc/powerpc64/multiarch/memchr.c
1872         (memchr): Add __memchr_power8 to ifunc list.
1873         * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
1875 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1877         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
1878         (__llrintf): Define as strong alias of __llrint.
1879         (llrintf):  Define as weak alias of __llrint.
1880         (__lrintf): Define as strong alias of __llrint.
1881         (lrintf):  Define as weak alias of __llrint.
1882         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S:  Likewise.
1883         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1884         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S:  Remove file content.
1885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
1887 2017-06-20  Zack Weinberg  <zackw@panix.com>
1889         * bits/signum-generic.h: Renamed from bits/signum.h.
1890         Add proper multiple include guard and misuse check.
1891         Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
1892         Move definition of SIGIO to "archaic names for compatibility" section.
1893         * bits/signum.h: New file which just includes bits/signum-generic.h.
1894         * sysdeps/unix/bsd/bits/signum.h
1895         * sysdeps/unix/sysv/linux/bits/signum.h
1896         * sysdeps/unix/sysv/linux/alpha/bits/signum.h
1897         * sysdeps/unix/sysv/linux/hppa/bits/signum.h
1898         * sysdeps/unix/sysv/linux/mips/bits/signum.h
1899         * sysdeps/unix/sysv/linux/sparc/bits/signum.h
1900         Just include <bits/signum-generic.h> and then add or adjust
1901         signal constants.  Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
1903         * signal/Makefile: Install bits/signum-generic.h.
1904         * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
1906         * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
1907         universal.  Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
1909         * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
1910         * sysdeps/unix/sysv/linux/Makefile: Run it.
1912 2017-06-20  Zack Weinberg  <zackw@panix.com>
1914         * locale/xlocale.h: Rename to...
1915         * locale/bits/types/__locale_t.h: ...here.  Adjust commentary.
1916         Only define struct __locale_struct and __locale_t, not locale_t.
1917         * locale/bits/types/locale_t.h: New file; define locale_t here.
1918         * locale/Makefile (headers): Update to match.
1920         * include/xlocale.h: Delete wrapper.
1921         * include/bits/types/__locale_t.h: New wrapper.
1922         * include/bits/types/locale_t.h: New wrapper.
1924         * ctype/ctype.h, include/printf.h, include/time.h
1925         * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
1926         * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
1927         * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
1928         Correct outdated comments regarding the standardization status of
1929         the functions that take locale_t arguments.
1931         * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
1932         * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1933         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1934         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1935         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1936         * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
1937         Don't include xlocale.h. If necessary, include locale.h instead.
1939         * stdlib/strtold_l.c: Unconditionally include wchar.h.
1941         * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
1942         * include/monetary.h, include/stdlib.h, include/time.h
1943         * include/wchar.h, locale/duplocale.c, locale/freelocale.c
1944         * locale/global-locale.c, locale/langinfo.h, locale/locale.h
1945         * locale/localeinfo.h, locale/newlocale.c
1946         * locale/nl_langinfo_l.c, locale/uselocale.c
1947         * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
1948         * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
1949         * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
1950         * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
1951         * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1952         * string/strcasecmp.c, string/strcoll_l.c, string/string.h
1953         * string/strings.h, string/strncase.c, string/strxfrm_l.c
1954         * sysdeps/ieee754/float128/strtof128_l.c
1955         * sysdeps/ieee754/float128/wcstof128.c
1956         * sysdeps/ieee754/float128/wcstof128_l.c
1957         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1958         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1959         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1960         * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
1961         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
1962         * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
1963         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
1964         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1965         * sysdeps/x86_64/strcasecmp_l-nonascii.c
1966         * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
1967         * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
1968         * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
1969         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1970         * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
1971         * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
1972         * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
1973         * wctype/towctrans_l.c, wctype/wcfuncs_l.c
1974         * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
1975         Change all uses of __locale_t to locale_t.
1977 2017-06-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1979         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
1980         for !__OFF_T_MATCHES_OFF64_T.
1981         * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
1982         implementation based on open64.
1983         * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
1984         * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
1986 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1988         * elf/dl-tunables.list: Move x86 specific tunables to ...
1989         * sysdeps/x86/dl-tunables.list: Here.  New file.
1991 2017-06-20  Joseph Myers  <joseph@codesourcery.com>
1993         [BZ #21635]
1994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1995         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1996         * conform/data/signal.h-data (uc_mcontext): XFAIL for
1997         powerpc32-linux.
1998         * conform/data/ucontext.h-data (uc_mcontext): Likewise.
2000         [BZ #21634]
2001         * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
2002         (conformtest-xfail-conds): New variable.
2003         * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
2004         * conform/data/ucontext.h-data (uc_sigmask): Likewise.
2006 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2008         * benchtests/powf-inputs: Add reduced trace from wrf.
2010 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2011             Erich Elsen  <eriche@google.com>
2013         * elf/dl-tunables.list (tune): Add ifunc,
2014         x86_non_temporal_threshold,
2015         x86_data_cache_size and x86_shared_cache_size.
2016         * manual/tunables.texi: Document glibc.tune.ifunc,
2017         glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
2018         and glibc.tune.x86_non_temporal_threshold.
2019         * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
2020         * sysdeps/x86/cpu-tunables.c: Likewise.
2021         * sysdeps/x86/cacheinfo.c
2022         (init_cacheinfo): Check and get data cache size, shared cache
2023         size and non temporal threshold from cpu_features.
2024         * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
2025         New.
2026         [HAVE_TUNABLES] Include <unistd.h>.
2027         [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
2028         [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
2029         [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
2030         IFUNC selection, data cache size, shared cache size and non
2031         temporal threshold.
2032         * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
2033         shared_cache_size and non_temporal_threshold.
2035 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2037         * benchtests/README: Describe workload feature.
2038         * benchtests/bench-skeleton.c (main): Add support for
2039         benchmarking traces from workloads.
2041 2017-06-20  Zack Weinberg  <zackw@panix.com>
2043         * string/string.h (__mempcpy_inline): Delete.
2044         * sysdeps/x86_64/multiarch/mempcpy.c
2045         * sysdeps/x86_64/multiarch/stpcpy.c:
2046         Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
2047         before including string.h.
2049 2017-06-20  Paul A. Clarke  <pc@us.ibm.com>
2051         * benchtests/Makefile (bench-math): Add powf.
2052         * benchtests/powf-inputs: New file.
2054 2017-06-20  Zack Weinberg  <zackw@panix.com>
2056         * bits/string.h, string/bits/string.h
2057         * sysdeps/aarch64/bits/string.h
2058         * sysdeps/m68k/m680x0/m68020/bits/string.h
2059         * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
2060         * sysdeps/x86/bits/string.h: Delete file.
2062         * string/string.h: Don't include bits/string.h.
2063         * string/bits/string3.h: Rename to bits/string_fortified.h.
2064         No need to undef various symbols that the removed headers
2065         might have defined as macros.
2066         * string/Makefile (headers): Remove bits/string.h, change
2067         bits/string3.h to bits/string_fortified.h.
2068         * string/string-inlines.c: Update commentary.  Remove definitions
2069         of various macros that nothing looks at anymore.  Don't directly
2070         include bits/string.h. Set _STRING_INLINE_unaligned here, based on
2071         compiler-predefined macros.
2072         * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
2073         _is_ defined, provide internal hidden alias __strncat.
2074         * include/string.h: Declare internal hidden alias __strncat.
2075         Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
2076         not defined.
2077         * include/bits/string3.h: Rename to bits/string_fortified.h,
2078         update to match above.
2080         * sysdeps/i386/string-inlines.c: Define compat symbols for
2081         everything formerly defined by sysdeps/x86/bits/string.h.
2082         Make existing definitions into compat symbols as well.
2083         Remove some no-longer-necessary messing around with macros.
2085         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2086         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2087         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2088         * sysdeps/s390/multiarch/mempcpy.c
2089         No need to define _HAVE_STRING_ARCH_mempcpy.
2090         Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
2092         * sysdeps/i386/i686/multiarch/strncat-c.c
2093         * sysdeps/s390/multiarch/strncat-c.c
2094         * sysdeps/x86_64/multiarch/strncat-c.c
2095         Define STRNCAT_PRIMARY.  Don't change definition of libc_hidden_def.
2097 2017-06-20  Rical Jasan  <ricaljasan@pacific.net>
2099         * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
2100         (LDBL_DIG): Likewise.
2101         (LDBL_MIN_EXP): Likewise.
2102         (LDBL_MIN_10_EXP): Likewise.
2103         (LDBL_MAX_EXP): Likewise.
2104         (LDBL_MAX_10_EXP): Likewise.
2105         (LDBL_MAX): Likewise.
2106         (LDBL_MIN): Likewise.
2107         (LDBL_EPSILON): Likewise.
2108         (FLT_ROUNDS): Change standard from ISO to C90.
2109         (FLT_RADIX): Likewise.
2110         (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
2111         (FLT_DIG, DBL_DIG): Likewise.
2112         (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
2113         (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
2114         (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
2115         (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
2116         (FLT_MAX, DBL_MAX): Likewise.
2117         (FLT_MIN, DBL_MIN): Likewise.
2118         (FLT_EPSILON, DBL_EPSILON): Likewise.
2120 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
2122         * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
2123         [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
2124         [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
2125         * sysdeps/mips/math-tests.h
2126         [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
2127         conditional code.
2129 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2131         * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
2132         It cannot change while __libc_setlocale_lock is acquired.
2134 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2136         * elf/rtld.c (audit_list_string): New variable.
2137         (audit_list): Update comment.
2138         (struct audit_list_iter): Define.
2139         (audit_list_iter_init, audit_list_iter_next): New function.
2140         (dl_main): Use struct audit_list_iter to process audit modules.
2141         (process_dl_audit): Call dso_name_valid_for_suid.
2142         (process_envvars): Set audit_list_string instead of calling
2143         process_dl_audit.
2145 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2147         * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
2148         (dso_name_valid_for_suid): New function.
2149         (handle_ld_preload): Likewise.
2150         (dl_main): Call it.  Remove alloca.
2152 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
2154         [BZ #21625]
2155         * posix/sys/wait.h (strust rusage forward declaration): Change
2156         [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
2157         !__USE_XOPEN2K].
2158         (wait3): Likewise.
2160         * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
2161         * configure: Regenerated.
2162         * manual/install.texi (Tools for Compilation): Document
2163         requirement for GCC 4.9 or later.
2164         * INSTALL: Regenerated.
2166 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2168         [BZ #21624]
2169         CVE-2017-1000366
2170         * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
2171         __libc_enable_secure.
2173 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2175         [BZ #21539]
2176         * NEWS: Mention s390 ptrace request changes.
2177         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2178         (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
2179         PTRACE_SETFPREGS): Remove enum constant.
2180         (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
2181         Remove defines.
2182         (PTRACE_SINGLEBLOCK): New enum constant.
2183         (PT_STEPBLOCK): New define.
2184         (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
2185         PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
2186         PTRACE_TE_ABORT_RAND): New enum constant and define.
2187         * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
2188         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
2189         New file.
2190         * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
2192 2017-06-16  Florian Weimer  <fweimer@redhat.com>
2194         * resolv/res_init.c (res_vinit_1): Use getline to read from the
2195         configuration file.
2196         (__res_vinit): Adjust.
2198 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2200         * resolv/res_init.c (res_vinit_1): New function.
2201         (__res_vinit): Call it.  Handle file open and memory allocation
2202         failures.
2203         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
2204         erno from __res_maybe_init failure.
2205         (_nss_dns_gethostbyname4_r): Likewise.
2206         (_nss_dns_gethostbyaddr2_r): Likewise.
2207         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
2208         (_nss_dns_getnetbyaddr_r): Likewise.
2210 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2212         * resolv/res_init.c: Reformat to GNU style.
2214 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2216         * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
2217         (is_sort_mask): New function.
2218         (__res_vinit): Use it.
2220 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2222         * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
2223         conditionals.
2225 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2227         * resolv/res-close.c: New file.
2228         * resolv/res_init.c (__res_iclose, res_nclose)
2229         (res_thread_freeres): Remove definitions.
2230         * resolv/Makefile (routines): Add res-close.
2232 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2234         * resolv/res_randomid.c: New file.
2235         * resolv/res_init.c (res_randomid): Remove definition.
2236         * resolv/Makefile (routines): Add res_randomid.
2238 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2240         * include/resolv.h (__res_vinit): Declare as hidden.
2241         * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
2242         * resolv/res_libc.c (res_init): Likewise.
2244 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
2246         [BZ #21457]
2247         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
2248         _libc_xmmreg): Use __ctx in defining field.
2250         [BZ #21597]
2251         * signal/signal.h (siginterrupt): Make declaration conditional on
2252         [__USE_XOPEN_EXTENDED || __USE_MISC].
2254         [BZ #21584]
2255         * signal/signal.h: Make includes of <bits/sigstack.h> and
2256         <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
2257         __USE_MISC].
2258         (sigaltstack): Make declaration conditional on
2259         [__USE_XOPEN_EXTENDED || __USE_MISC].
2261         [BZ #21575]
2262         * resource/bits/types/struct_rusage.h: New file.
2263         * include/bits/types/struct_rusage.h: Likewise.
2264         * bits/resource.h (struct rusage): Include
2265         <bits/types/struct_rusage.h> instead of defining here.
2266         * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
2267         Likewise.
2268         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
2269         Likewise.
2270         * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
2271         Likewise.
2272         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
2273         Likewise.
2274         * resource/Makefile (headers): Add bits/types/struct_rusage.h.
2275         * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
2276         Include <bits/types/struct_rusage.h>
2278 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2280         * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
2282 2017-06-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2284         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
2286 2017-06-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2288         * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
2290 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2292         [BZ #21537]
2293         * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2294         Check SHARED instead of PIC.
2295         (SYSCALL_PIC_SETUP): Add missing semicolons.
2296         * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2297         Check SHARED instead of PIC.
2298         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
2299         (__makecontext_ret): Adjust code to jump to exit.
2301 2017-06-19  Christian Borntraeger  <borntraeger@de.ibm.com>
2303         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
2304         Simplify code by always using SVC 0 instead of EX.
2305         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2307 2017-06-16  H.J. Lu  <hongjiu.lu@intel.com>
2309         * elf/Versions (ld): Remove _dl_out_of_memory.
2311 2017-06-16  Joseph Myers  <joseph@codesourcery.com>
2313         * timezone/private.h: Update from tzcode 2017b.
2314         * timezone/tzfile.h: Likewise.
2315         * timezone/tzselect.ksh: Likewise.
2316         * timezone/zdump.c: Likewise.
2317         * timezone/zic.c: Likewise.
2318         * timezone/Makefile (tz-cflags): Add -D_ISOMAC
2319         -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
2320         * time/tzset.c (SECSPERDAY): New macro.
2322 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
2324         * manual/string.texi (strdup): Complete header and standards
2325         annotation.
2326         (strncpy): Likewise.
2328 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
2330         * manual/arith.texi (FP_NAN): Add or complete header and standard
2331         annotations.
2332         (FP_INFINITE): Likewise.
2333         (FP_ZERO): Likewise.
2334         (FP_SUBNORMAL): Likewise.
2335         (FP_NORMAL): Likewise.
2336         (SNAN): Likewise.
2337         (SNANL): Likewise.
2338         (totalorderf): Likewise.
2339         (totalorderl): Likewise.
2340         (totalordermagf): Likewise.
2341         (totalordermagl): Likewise.
2342         (_Complex_I): Likewise.
2343         (I): Likewise.
2345 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
2347         * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
2348         standard annotation.
2349         (ARGP_HELP_SHORT_USAGE): Likewise.
2350         (ARGP_HELP_SEE): Likewise.
2351         (ARGP_HELP_LONG): Likewise.
2352         (ARGP_HELP_PRE_DOC): Likewise.
2353         (ARGP_HELP_POST_DOC): Likewise.
2354         (ARGP_HELP_DOC): Likewise.
2355         (ARGP_HELP_BUG_ADDR): Likewise.
2356         (ARGP_HELP_LONG_ONLY): Likewise.
2357         (ARGP_HELP_EXIT_ERR): Likewise.
2358         (ARGP_HELP_EXIT_OK): Likewise.
2359         (ARGP_HELP_STD_ERR): Likewise.
2360         (ARGP_HELP_STD_USAGE): Likewise.
2361         (ARGP_HELP_STD_HELP): Likewise.
2363 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
2365         * manual/Makefile: Generate summary.texi with summary.pl.  Force
2366         use of the C locale.  Update Perl dependency comment.
2367         * manual/header.texi: Update reference to summary.awk.
2368         * manual/macros.texi: Refer authors to `summary.pl --help'.
2369         * manual/summary.awk: Remove file.
2370         * manual/summary.pl: New file.  Generate summary.texi, and check
2371         for @standards-related syntax errors.
2372         * manual/argp.texi: Convert header and standards @comments to
2373         @standards.
2374         * manual/arith.texi: Likewise.
2375         * manual/charset.texi: Likewise.
2376         * manual/conf.texi: Likewise.
2377         * manual/creature.texi: Likewise.
2378         * manual/crypt.texi: Likewise.
2379         * manual/ctype.texi: Likewise.
2380         * manual/debug.texi: Likewise.
2381         * manual/errno.texi: Likewise.
2382         * manual/filesys.texi: Likewise.
2383         * manual/getopt.texi: Likewise.
2384         * manual/job.texi: Likewise.
2385         * manual/lang.texi: Likewise.
2386         * manual/llio.texi: Likewise.
2387         * manual/locale.texi: Likewise.
2388         * manual/math.texi: Likewise.
2389         * manual/memory.texi: Likewise.
2390         * manual/message.texi: Likewise.
2391         * manual/pattern.texi: Likewise.
2392         * manual/pipe.texi: Likewise.
2393         * manual/process.texi: Likewise.
2394         * manual/resource.texi: Likewise.
2395         * manual/search.texi: Likewise.
2396         * manual/setjmp.texi: Likewise.
2397         * manual/signal.texi: Likewise.
2398         * manual/socket.texi: Likewise.
2399         * manual/startup.texi: Likewise.
2400         * manual/stdio.texi: Likewise.
2401         * manual/string.texi: Likewise.
2402         * manual/sysinfo.texi: Likewise.
2403         * manual/syslog.texi: Likewise.
2404         * manual/terminal.texi: Likewise.
2405         * manual/threads.texi: Likewise.
2406         * manual/time.texi: Likewise.
2407         * manual/users.texi: Likewise.
2409 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
2411         * manual/macros.texi (@standards): New macro.  Provide placeholder
2412         for header and standards annotations.
2413         (@standardsx): New macro.  Likewise, for lists of @*x elements.
2415 2017-06-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2417         * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
2418         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
2419         rule.
2420         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
2421         sync_file_range.
2423          * support/support_test_main.c (support_test_main):  Use optstring
2424          member for option string in getopt_long.
2425          * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
2426          (CMDLINE_OPTSTRING): New define.
2427          * support/test-driver.h (test_config): Add optstring member.
2429 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2431         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2432         strcspn-sse2, strpbrk-sse2 and strspn-sse2.
2433         * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
2434         Check USE_AS_STRPBRK instead of STRPBRK_P.
2435         * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
2436         * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
2437         * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
2438         * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
2439         * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
2440         * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
2441         * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
2442         * sysdeps/x86_64/multiarch/strspn.c: Likewise.
2443         * sysdeps/x86_64/multiarch/strcspn.S: Removed.
2444         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2445         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2446         * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
2447         and "#endif".
2449 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2451         * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
2452         * sysdeps/x86_64/multiarch/wcscpy.c: New file.
2454 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2456         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2457         strcat-sse2.
2458         * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
2459         * sysdeps/x86_64/multiarch/strcat.c: Likewise.
2460         * sysdeps/x86_64/multiarch/strncat.c: Likewise.
2461         * sysdeps/x86_64/multiarch/strcat.S: Removed.
2462         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2464 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2465             Erich Elsen  <eriche@google.com>
2467         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2468         memcmp-sse2.
2469         * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
2470         * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
2471         * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
2472         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2473         * sysdeps/x86_64/multiarch/memcmp.S: Removed.
2474         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2476 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2477             Erich Elsen  <eriche@google.com>
2479         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2480         memset-sse2-unaligned-erms, and memset_chk-nonshared.
2481         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2482         (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
2483         Update comments.
2484         * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
2485         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
2486         * sysdeps/x86_64/multiarch/memset.c: Likewise.
2487         * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
2488         * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
2489         * sysdeps/x86_64/multiarch/memset.S: Removed.
2490         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2491         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2492         (__memset_chk_erms): New function.
2494 2017-06-15  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2496         * configure.ac(--enable-tunables): Enable by default.
2497         * configure: Regenerate.
2498         * NEWS: Mention change.
2499         * manual/install.texi (enable-tunables): Adjust documentation.
2500         * INSTALL: Regenerate.
2502 2017-06-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2504         [BZ #18988]
2505         * benchtests/thread_create-inputs: New file.
2506         * benchtests/thread_create-source.c: Likewise.
2507         * support/xpthread_attr_setguardsize.c: Likewise.
2508         * support/Makefile (libsupport-routines): Add
2509         xpthread_attr_setguardsize object.
2510         * support/xthread.h: Add xpthread_attr_setguardsize prototype.
2511         * benchtests/Makefile (bench-pthread): Add thread_create.
2512         * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
2513         then mprotect the required area.
2514         (guard_position): New function.
2515         (setup_stack_prot): Likewise.
2517 2017-06-14  H.J. Lu  <hongjiu.lu@intel.com>
2518             Erich Elsen  <eriche@google.com>
2519             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2521         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2522         memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
2523         mempcpy_chk-nonshared and memmove_chk-nonshared.
2524         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2525         (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
2526         __memcpy_chk_erms and __mempcpy_chk_erms.  Update comments.
2527         * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
2528         * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
2529         * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
2530         * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
2531         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
2532         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2533         * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
2534         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2535         * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
2536         * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
2537         * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
2538         * sysdeps/x86_64/multiarch/memcpy.S: Removed.
2539         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2540         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2541         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2542         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2543         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2544         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2545         (__mempcpy_chk_erms): New function.
2546         (__memmove_chk_erms): Likewise.
2547         (__memcpy_chk_erms): New alias.
2549 2017-06-14  Florian Weimer  <fweimer@redhat.com>
2551         * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
2552         * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
2554 2017-06-14  Zack Weinberg  <zackw@panix.com>
2556         * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
2557         Reorganize file.  Declare errno here.  When __ASSEMBLER__ is
2558         defined, don't declare anything other than the E-constants.
2560         * include/errno.h: Change conditional for exposing internal
2561         declarations to (not _ISOMAC and not __ASSEMBLER__).
2562         * bits/errno.h: Remove logic for __need_Emath.  Document
2563         requirements for a port-specific bits/errno.h.
2565         * sysdeps/unix/sysv/linux/bits/errno.h
2566         * sysdeps/unix/sysv/linux/alpha/bits/errno.h
2567         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
2568         * sysdeps/unix/sysv/linux/mips/bits/errno.h
2569         * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
2570         Add multiple-include guard and check against improper inclusion.
2571         Remove __need_Emath logic.  Don't declare errno here.  Ensure all
2572         constants are defined as simple integer literals.  Consistent
2573         formatting.
2574         * sysdeps/mach/hurd/errnos.awk: Likewise.  Only define error_t and
2575         enum __error_t_codes if __ASSEMBLER__ is not defined.
2576         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2578         * argp/argp.h, string/argz.h: Don't define __need_error_t before
2579         including errno.h.
2580         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
2581         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
2582         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
2583         * sysdeps/x86_64/fpu/s_cosf.S
2584         * sysdeps/x86_64/fpu/s_sincosf.S
2585         * sysdeps/x86_64/fpu/s_sinf.S:
2586         Just include errno.h; don't define __need_Emath or include
2587         bits/errno.h directly.
2589 2017-06-14  Zack Weinberg  <zackw@panix.com>
2591         * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
2592         * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
2593         * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
2595         * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
2596         for IOV_MAX.
2597         * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
2598         Don't install bits/uio.h.
2599         * misc/sys/uio.h: Don't include bits/uio.h.  Do include
2600         bits/types/struct_iovec.h and bits/uio_lim.h.  Set UIO_MAXIOV
2601         based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
2603         * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
2604         and __need_IOV_MAX.  Don't define IOV_MAX at all.
2605         * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
2607         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
2608         Include bits/types/struct_iovec.h, not bits/uio.h.
2609         Use __ssize_t, not ssize_t, in function prototypes.
2610         Don't use hard TAB for double space after period in comments.
2612 2017-06-14  Alan Modra  <amodra@gmail.com>
2614         * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
2615         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
2616         refsym and sym parameters.  Adjust callers.
2617         * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2618         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
2619         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
2620         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
2621         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
2622         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2623         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
2624         * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
2625         * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
2626         * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
2627         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
2628         Likewise.
2629         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2630         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2631         * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
2632         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2633         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2634         * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
2635         * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2636         * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
2637         (_dl_reloc_overflow): Increase buffser size.  Formatting.
2638         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2639         Delete reloc param, add refsym and sym.  Check optimized plt
2640         call stubs for localentry:0 functions.  Adjust callers.
2641         (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
2642         and sym parameters.  Adjust callers.
2643         (_dl_reloc_overflow): Move attribute.
2644         (_dl_error_localentry): Declare.
2645         * elf/dl-runtime.c (_dl_fixup): Save original sym.  Pass
2646         refsym and sym to elf_machine_fixup_plt.
2647         * elf/testobj6.c (preload): Call printf.
2649 2017-06-14  Alan Modra  <amodra@gmail.com>
2651         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2652         (NOPS, ENTRY_3): New macros.
2653         (ENTRY): Rewrite.
2654         (ENTRY_TOCLESS): Define.
2655         (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
2656         EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
2657         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
2658         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
2659         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2660         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2661         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2662         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2663         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2664         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2665         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2666         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2667         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2668         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2669         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2670         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2671         * sysdeps/powerpc/powerpc64/memset.S: Likewise.
2672         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2673         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2674         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2675         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
2676         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2677         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2678         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2679         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2680         * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
2681         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2682         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2683         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2684         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
2685         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2686         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2687         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2688         * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
2689         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2690         * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
2691         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2692         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2693         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2694         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2695         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2696         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2697         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2698         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2699         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2700         * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2701         * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2702         * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2703         * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2704         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2705         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2706         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2707         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2708         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2709         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2710         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2711         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2712         * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
2713         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2714         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2715         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2716         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2717         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2718         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2719         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2720         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2721         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
2722         Likewise.
2723         * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
2724         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2725         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2726         * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
2727         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2728         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
2729         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2730         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2731         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2732         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2733         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2734         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2735         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2736         * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2737         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2738         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2739         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2740         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2741         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2742         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2743         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2744         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2745         * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2746         * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2747         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2748         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2749         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2750         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2751         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2752         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2753         * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier.  Don't
2754         add nop when SHARED.
2755         * sysdeps/powerpc/powerpc64/start.S: Fix comment.
2756         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
2757         define.
2758         (ENTRY_TOCLESS): Define.
2759         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
2760         * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
2761         * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2763 2017-06-14  Alan Modra  <amodra@gmail.com>
2765         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
2766         MEMSET_is_local.
2767         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2768         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2769         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2770         Define MEMSET.
2771         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2772         STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
2773         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.  Don't add
2774         nop after local calls.
2775         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
2776         Don't add nop after local call.
2777         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.  Add missing
2778         CALL_MCOUNT.
2780 2017-06-14  Alan Modra  <amodra@gmail.com>
2782         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2783         (FUNC_LABEL): Rename from DOT_LABEL.
2784         (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
2785         Use .p2align rather than .align.
2786         (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
2787         (ABORT_TRANSACTION): Likewise.
2788         (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
2789         particularly at end.  Add semicolon at invocation as necessary.
2790         (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
2791         (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
2792         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
2793         END): Adjust to suit.
2795 2017-06-14  Alan Modra  <amodra@gmail.com>
2797         * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
2798         FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
2799         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2800         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2801         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
2802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
2803         uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
2805 2017-06-14  Alan Modra  <amodra@gmail.com>
2807         * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
2808         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
2810 2017-06-13  Gordana Cmiljanovic  <gordana.cmiljanovic@imgtec.com>
2812         [BZ #21548]
2813         * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
2814         8 and use it when copying general purpose registers.
2815         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
2816         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
2817         mips o32.
2818         * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
2819         new test for mips o32.
2820         * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
2821         8 and use it when copying general purpose registers.
2822         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
2824 2017-06-13  Florian Weimer  <fweimer@redhat.com>
2826         * configure.ac (find_cxx_header): Suppress compiler error message.
2828 2017-06-13  Florian Weimer  <fweimer@redhat.com>
2830         * malloc/dynarray-skeleton.c: List begin/end as defined functions.
2831         (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
2832         * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
2833         begin/end.
2834         * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
2835         dynarray_int_end.
2836         (test_str): Test dynarray_str_begin, dynarray_str_end.
2838 2017-06-13  H.J. Lu  <hongjiu.lu@intel.com>
2840         [BZ #21573]
2841         * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
2842         $(common-objpfx)bits/std_abs.h.
2843         [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
2844         New target.
2845         * config.make.in (c++-bits-std_abs-h): New.
2846         * configure.ac (find_cxx_header): Use "\,$1," with sed.
2847         (CXX_BITS_STD_ABS_H): New.
2848         (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
2849         * configure: Regenerated.
2851 2017-06-13  Zack Weinberg  <zackw@panix.com>
2853         * posix/bits/cpu-set.h: Correct indentation of preprocessor
2854         directives.
2856 2017-06-12  Zack Weinberg  <zackw@panix.com>
2858         * bits/sched.h: Remove __need_schedparam logic and replace with a
2859         normal multiple-include guard.  Change field name in struct
2860         sched_param from __sched_priority to sched_priority.  Delete
2861         everything under #ifndef __cpu_set_t_defined.
2862         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.  Also sync with
2863         kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
2865         * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
2866         For compatibility, #define sched_priority to itself, and #define
2867         __sched_priority as sched_priority.
2868         * posix/bits/cpu-set.h: New file containing, verbatim, the code
2869         that was under #ifndef __cpu_set_t_defined in
2870         sysdeps/unix/sysv/linux/bits/sched.h.
2871         * include/bits/cpu-set.h: New wrapper.
2872         * posix/Makefile: Install bits/cpu-set.h.
2874 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2875             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2876             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2878         * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
2879         (%all_floats_pfx): Add macro prefix for float128 (FLT128).
2880         * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
2881         * math/libm-test-isfinite.inc (finite_test): Likewise.
2882         * math/libm-test-lgamma.inc (gamma_test): Likewise.
2883         * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
2884         (nexttoward_test_data}: Likewise.
2885         * math/libm-test-remainder.inc (drem_test): Likewise.
2886         * math/libm-test-scalb.inc (scalb_test): Likewise.
2887         (scalb_test_data): Likewise.
2888         * math/libm-test-significand.inc (significand_test): Likewise.
2889         (significand_test_data): Likewise.
2890         * math/libm-test-support.c (check_complex): Replace __complex__
2891         FLOAT with CFLOAT to get the support for old compiler.
2892         * math/libm-test-support.h (check_complex): Likewise.
2893         * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
2894         * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
2895         * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
2896         * math/test-float128.h: New file.
2897         * math/test-math-floatn.h: New file.
2899 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2901         * include/float.h: Allow the definition of macros prefixed with
2902         FLT128 even if _ISOMAC is defined, but provided that
2903         __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
2905 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2907         * manual/math.texi (Mathematics): Add description for _FloatN and
2908         _FloatNx types and mentions that they are not support in glibc for
2909         any architecture, so far.
2910         * manual/arith.texi (wcstof, wcstold): Replace the mention to
2911         stdlib.h with wchar.h.
2912         (Parsing of Floats): Add descriptions for strtofN and wcstofN.
2913         (Printing of Floats): Add description for strfromfN.
2915 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2916             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2917             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2919         * include/gmp.h (__mpn_construct_float128): New declaration.
2920         * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
2921         (__strtof128_l): New declaration.
2922         (__strtof128_nan): Likewise.
2923         (__wcstof128_nan): Likewise.
2924         (__strtof128_internal): Likewise.
2925         (____strtof128_l_internal): Likewise.
2926         * include/wchar.h: Include bits/floatn.h for _Float128 tests.
2927         (__wcstof128_l): New declaration.
2928         (__wcstof128_internal): Likewise.
2930         * stdlib/Makefile (bug-strtod2): Link libm too.
2932         * stdlib/stdlib.h (strtof128): New declaration.
2933         (strtof128_l): Likewise.
2935         * stdlib/tst-strtod-nan-locale-main.c: Updated to use
2936         tst-strtod.h macros to ensure float128 gets tested too.
2938         * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
2940         * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
2941         tests.
2942         (IF_FLOAT128): New macro.
2943         (GEN_TEST_STRTOD): Update to optionally include _Float128 in
2944         the tests.
2945         (STRTOD_TEST_FOREACH): Likewise.
2947         * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
2948         wcstof128 functions into libc.
2950         * sysdeps/ieee754/float128/Versions: Add exports for the above
2951         new functions.
2953         * sysdeps/ieee754/float128/mpn2float128.c: New file.
2954         * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
2955         * sysdeps/ieee754/float128/strtof128.c: New file.
2956         * sysdeps/ieee754/float128/strtof128_l.c: New file.
2957         * sysdeps/ieee754/float128/strtof128_nan.c: New file.
2958         * sysdeps/ieee754/float128/wcstof128.c: New file.
2959         * sysdeps/ieee754/float128/wcstof128_l.c: New file.
2960         * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
2961         * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
2962         (CFLAGS-wcstof128_l): Likewise.
2964         * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
2965         (wcstof128): New declaration.
2966         (wcstof128_l): Likewise.
2968 2017-06-12  Joseph Myers  <joseph@codesourcery.com>
2970         [BZ #21552]
2971         * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
2972         not [__USE_XOPEN].
2973         * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
2975         [BZ #21550]
2976         * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
2978 2017-06-12  H.J. Lu  <hongjiu.lu@intel.com>
2980         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2981         strcpy-sse2 and stpcpy-sse2.
2982         * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
2983         * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
2984         * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
2985         * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
2986         * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
2987         * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
2988         * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
2989         * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
2990         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2991         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2992         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2993         * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
2994         (libc_hidden_def): Always defined as empty.
2995         * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
2996         Always Defined as empty.
2998 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
3000         * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
3002 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
3004         [BZ #15105]
3005         [BZ #19463]
3006         * include/string.h: Add internal redirect for __stpcpy.
3007         * string/Makefile: Remove bits/string2.h.
3008         * string/string.h: Update comment.
3009         * string/string-inlines.c: Remove bits/string2.h include and comment.
3010         * string/bits/string2.h: Remove file.
3012 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
3014         * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
3015         * sunrpc/clnt_gen.c (clnt_create): Likewise.
3016         * sunrpc/des_impl.c (_des_crypt): Likewise.
3017         * sunrpc/key_call.c (key_gendes): Likewise.
3018         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3019         * sunrpc/svc_simple.c (universal): Likewise.
3020         * sunrpc/svc_tcp.c (svctcp_create): Likewise.
3021         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
3022         * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
3024 2017-06-10  Zack Weinberg  <zackw@panix.com>
3026         * stdlib/errno.h: Correct an outdated comment.
3028 2017-06-09  Paul A. Clarke  <pc@us.ibm.com>
3030         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
3031         Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
3032         CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
3033         * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
3034         New file.  Invoke newly supported sysconf values for powerpc,
3035         and report results.  If none are supported, report so.
3036         * sysdeps/unix/sysv/linux/powerpc/Makefile (tests):  Add new test,
3037         tst-sysconf.
3039 2017-06-09  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3041         * include/sys/auxv.h (__getauxval): Add a prototype and its
3042         libc_hidden_proto.
3043         * misc/getauxval.c (__getauxval): Use libc_hidden_def.
3045 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
3047         [BZ #21561]
3048         * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
3049         [__USE_XOPEN_EXTENDED].
3050         (id_t): Likewise.
3051         (include of <bits/types/siginfo_t.h): Likewise.
3052         (waitid): Likewise.
3053         * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
3054         on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
3055         (WEXITED): Likewise.
3056         (WCONTINUED): Likewise.
3057         (WNOWAIT): Likewise.
3058         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
3059         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3060         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3062         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
3063         libc.so PLT entry optional.
3064         (__gtsf2): Likewise.
3065         (__unorddf2): Likewise.
3066         (__unordsf2): Likewise.
3067         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
3068         New optional libc.so PLT entry.
3070         [BZ #21554]
3071         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
3072         not [__USE_XOPEN].
3074         [BZ #21560]
3075         * posix/sys/wait.h: Condition include of <signal.h> on
3076         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
3077         unconditionally.
3078         [!__pid_t_defined] (pid_t): Define typedef.
3080 2017-06-09  Zack Weinberg  <zackw@panix.com>
3082         * include/errno.h (__errno_location): Use __attribute_const__
3083         instead of bare __attribute__.
3085 2017-06-09  Zack Weinberg  <zackw@panix.com>
3087         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
3088         (common-generated): Add libc-modules.h and libc-modules.stmp in a
3089         more appropriate location. Also add dl-tunable-list.h and
3090         dl-tunable-list.stmp.
3092 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3094         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
3096 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3098         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3099         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
3100         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3101         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
3102         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
3103         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
3104         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
3105         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
3106         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
3107         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
3108         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
3110 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3112         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3113         memrchr-sse2 and memrchr-avx2.
3114         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3115         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
3116         __memrchr_sse2.
3117         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
3118         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
3119         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
3121 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3123         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3124         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
3125         wcschr-sse2 and wcschr-avx2.
3126         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3127         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
3128         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
3129         __wcschr_sse2.
3130         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
3131         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
3132         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
3133         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
3134         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
3135         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
3136         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
3137         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
3138         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
3139         * sysdeps/x86_64/multiarch/strchr.S: Removed.
3141 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3143         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3144         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
3145         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
3146         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3147         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
3148         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
3149         __wcslen_sse2 and __wcsnlen_avx2.
3150         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
3151         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
3152         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
3153         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
3154         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
3155         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
3156         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
3157         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
3158         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
3159         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
3160         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
3161         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
3162         vzeroupper is preferred and AVX unaligned load is fast.
3164 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3166         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
3167         USE_AS_WMEMCHR is defined.
3168         (PCMPEQ): Likewise.
3169         (memchr): Renamed to ...
3170         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
3171         Replace pcmpeqb with PCMPEQ.
3172         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3173         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
3174         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
3175         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
3176         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3177         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
3178         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
3179         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
3180         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
3181         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
3182         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
3183         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
3184         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
3185         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3186         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
3187         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
3188         __wmemchr_sse2.
3190 2017-06-09  Florian Weimer  <fweimer@redhat.com>
3192         * malloc/Makefile (test-srcs): Remove tst-dynarray,
3193         tst-dynarray-fail.
3195 2017-06-09  Florian Weimer  <fweimer@redhat.com>
3197         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
3198         * support/support_test_verify_impl.c
3199         (support_test_verify_exit_impl): Split from
3200         support_test_verify_impl.
3201         * support/check.h (TEST_VERIFY): Drop status argument from
3202         support_test_verify_impl call.
3203         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
3204         (support_test_verify_impl): Remove status argument.
3205         (support_test_verify_exit_impl): Declare.
3207 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3209         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
3210         mention of magic numbers in comments.
3211         (_dl_procinfo): Fix undefined behavior
3213 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
3215         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
3216         [XPG4].
3217         (WEXITED): Likewise.
3218         (WSTOPPED): Likewise.
3219         (WCONTINUED): Likewise.
3220         (WNOHANG): Likewise.
3221         (WNOWAIT): Likewise.
3222         (idtype_t): Likewise.
3223         (P_ALL): Likewise.
3224         (P_PID): Likewise.
3225         (P_PGID): Likewise.
3226         (id_t): Likewise.
3227         (siginfo_t): Likewise.
3228         (wait3): Likewise.
3229         (waitid): Likewise.
3230         (signal.h): Do not allow header for [XPG4].
3231         (sys/resource.h): Likewise.
3232         (si_*): Do not allow for [XPG4].
3233         (W*): Likewise.
3234         (P_*): Likewise.
3235         (BUS_): Likewise.
3236         (CLD_): Likewise.
3237         (FPE_): Likewise.
3238         (ILL_): Likewise.
3239         (POLL_): Likewise.
3240         (SEGV_): Likewise.
3241         (SI_): Likewise.
3242         (TRAP_): Likewise.
3243         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
3244         variable.
3246 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3248         [BZ #21528]
3249         * elf/dl-minimal.c (__strtoul_internal): Removed.
3250         (strtoul): Likewise.
3251         * elf/dl-misc.c (_dl_strtoul): New function.
3252         * elf/dl-tunables.c (tunables_strtoul): Removed.
3253         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
3254         * elf/rtld.c (process_envvars): Likewise.
3255         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
3256         Likewise.
3257         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
3259 2017-06-08  Zack Weinberg  <zackw@panix.com>
3261         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
3262         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
3263         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
3264         * wctype/bits/wctype-wchar.h: New file holding declarations shared
3265         between wctype.h and wchar.h.
3267         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
3268         Install them.
3270         * include/bits/types/FILE.h, include/bits/types/__FILE.h
3271         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
3272         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
3273         New wrappers.
3274         * include/stdio.h, include/wchar.h, include/wctype.h:
3275         No need to handle __need macros.
3277         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
3278         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
3279         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
3280         * wcsmbs/wchar.h, wctype/wctype.h
3281         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
3282         Use the new files instead of __need macros.
3284 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3286         * string/test-memrchr.c (test_main): Add tests for len == 0
3287         and tests for positions close to the beginning, which are
3288         equivalent to positions close to the end for memchr.
3290 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3292         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
3293         comments.
3294         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
3295         instead of wmemset.h.
3296         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3297         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
3298         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
3300 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3302         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
3303         spec->info.is_binary128 to zero.
3304         * stdio-common/printf.h (printf_info): Add new member is_binary128
3305         to indicate that the number being converted to string is compatible
3306         with the IEC 60559 binary128 format.
3307         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
3308         _Float128 numbers.
3309         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
3310         ldbl-128/printf_fphex_macros.h
3311         (__printf_fphex): Add code to deal with _Float128 numbers.
3312         * stdio-common/printf_size.c (__printf_size): Likewise.
3313         * stdio-common/vfprintf.c (process_arg): Initialize member
3314         info.is_binary128 to zero.
3315         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
3316         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
3317         (strfromf128): New declaration.
3318         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
3319         to one.
3320         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
3321         * sysdeps/ieee754/float128/Versions: Likewise.
3322         * sysdeps/ieee754/float128/strfromf128.c: New file.
3324 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3326         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
3327         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
3328         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
3329         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
3330         (PRINT_FPHEX): New function-like macro that can be used for long
3331         double, as well as for _Float128
3333 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3335         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
3336         (__printf_fp_l): Use the new macro to avoid duplicating code.
3337         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
3338         (__printf_fphex): Use the new macro to avoid duplicating code.
3339         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
3340         (__printf_size): Use the new macro to avoid duplicating code.
3342 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3344         * include/gmp.h: Include bits/floatn.h
3345         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
3346         * stdlib/gmp-impl.h: Also check if alloca is not defined before
3347         including stack-alloc.h.  It could have been defined by other header
3348         which not necessarily defines HAVE_ALLOCA.
3349         * sysdeps/ieee754/float128/Makefile: New file.
3350         * sysdeps/ieee754/float128/float1282mpn.c: New file.
3351         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
3352         redefining __mpn_extract_long_double to __mpn_extract_float128, then
3353         redefine __mpn_extract_long_double to __mpn_extract_float128.
3354         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
3355         _Float128 to allow float128_private.h overrides.
3357 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3359         * stdlib/fpioconst.h: Include bits/floatn.h.
3360         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
3361         power of ten table should be.
3362         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
3363         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
3364         to include larger tables when _Float128 support is enabled.
3365         (_fpioconst_pow10): Likewise.
3367 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
3369         * include/bits/types/clock_t.h: Use #include <path> instead of
3370         #include "../../path".
3371         * include/bits/types/clockid_t.h: Likewise.
3372         * include/bits/types/struct_iovec.h: Likewise.
3373         * include/bits/types/struct_itimerspec.h: Likewise.
3374         * include/bits/types/struct_osockaddr.h: Likewise.
3375         * include/bits/types/struct_sigstack.h: Likewise.
3376         * include/bits/types/struct_timespec.h: Likewise.
3377         * include/bits/types/struct_timeval.h: Likewise.
3378         * include/bits/types/struct_tm.h: Likewise.
3379         * include/bits/types/time_t.h: Likewise.
3380         * include/bits/types/timer_t.h: Likewise.
3382         [BZ #14096]
3383         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
3384         America/New_York.
3386 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3388         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
3389         into ...
3390         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
3391         ifunc-sse4_1.h.
3393 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
3395         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
3396         Remove check for NULL 'buf'.
3397         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
3399 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
3401         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
3402         include test-skeleton.c.
3403         Include support/check.h and support/test-driver.c.
3405 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3407         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3408         (_dl_aarch64_cap_flags): New array.
3409         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
3410         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
3411         functions.
3413         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
3414         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
3415         Likewise.
3416         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
3417         up hwcap and hwcap_mask.
3419         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
3420         (init_cpu_features): Use glibc.tune.hwcap_mask.
3421         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
3423         * elf/dl-hwcaps.h: New file.
3424         * elf/dl-hwcaps.c: Include it.
3425         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
3426         glibc.tune.hwcap_mask.
3427         * elf/dl-cache.c: Include dl-hwcaps.h.
3428         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
3429         glibc.tune.hwcap_mask.
3430         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3431         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
3432         _dl_hwcap_mask.
3433         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
3434         _dl_hwcap_mask.
3435         (process_envvars)[HAVE_TUNABLES]: Likewise.
3436         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
3437         Likewise.
3438         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
3439         initialize dl_hwcap_mask when tunables are enabled.
3441         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
3442         guard.
3443         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3445         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
3446         * scripts/gen-tunables.awk: Include dl-procinfo.h.
3447         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
3449         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
3450         * elf/dl-tunables.c: Likewise.
3451         (do_tunable_update_val): New function.
3452         (__tunable_set_val): New function.
3453         (__tunable_get_val): Call CB only if the tunable was externally
3454         initialized.
3455         (tunables_strtoul): Replace strval with initialized.
3456         * elf/dl-tunables.h (strval): Replace with a bool initialized.
3457         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
3458         prevent collision.
3459         (__tunable_set_val): New function.
3460         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
3461         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
3462         (TUNABLE_SET_VAL): Remove.
3463         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
3464         * README.tunables: Document the new macros.
3465         * malloc/arena.c (ptmalloc_init): Adjust.
3467 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3469         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3470         wcsnlen-sse4_1 and wcsnlen-c.
3471         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3472         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
3473         __wcsnlen_sse2.
3474         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
3475         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
3476         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
3477         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
3478         * sysdeps/x86_64/wcsnlen.S: Removed.
3480 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3482         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
3483         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3484         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3485         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3487 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3489         * NEWS: Mention new spinlock implementation.
3490         * include/atomic.h:
3491         (__atomic_val_bysize): Cast type to omit volatile qualifier.
3492         (atomic_exchange_acq): Likewise.
3493         (atomic_load_relaxed): Likewise.
3494         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
3495         * nptl/pthread_spin_init.c (pthread_spin_init):
3496         Use atomic_store_relaxed.
3497         * nptl/pthread_spin_lock.c (pthread_spin_lock):
3498         Use C11-like atomic macros.
3499         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3500         Likewise.
3501         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3502         Use atomic_store_release.
3503         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
3504         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
3505         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
3506         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
3507         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
3508         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
3509         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
3510         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
3511         * sysdeps/alpha/atomic-machine.h: Likewise.
3512         * sysdeps/arm/atomic-machine.h: Likewise.
3513         * sysdeps/i386/atomic-machine.h: Likewise.
3514         * sysdeps/ia64/atomic-machine.h: Likewise.
3515         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
3516         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
3517         * sysdeps/microblaze/atomic-machine.h: Likewise.
3518         * sysdeps/mips/atomic-machine.h: Likewise.
3519         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
3520         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
3521         * sysdeps/s390/atomic-machine.h: Likewise.
3522         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
3523         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
3524         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
3525         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
3526         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
3527         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
3528         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
3529         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
3530         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
3531         * sysdeps/x86_64/atomic-machine.h: Likewise.
3533 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3535         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
3536         and use it instead of dl_x86_cpu_features.
3537         (handle_intel): Replace maxidx with cpu_features.  Pass
3538         cpu_features to intel_check_word.
3539         (__cache_sysconf): Pass cpu_features to handle_intel.
3540         (init_cacheinfo): Likewise.  Use cpu_features instead of
3541         dl_x86_cpu_features.
3543 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3545         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
3546         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3547         memcmp-avx2 and wmemcmp-avx2.
3548         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3549         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
3550         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
3551         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
3552         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
3553         2 machines if AVX unaligned load is fast and vzeroupper is
3554         preferred.
3555         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
3556         2 machines if AVX unaligned load is fast and vzeroupper is
3557         preferred.
3559 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3561         * include/wchar.h (__wmemset_chk): New.
3562         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
3563         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
3564         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3565         (WMEMSET_CHK_SYMBOL): Likewise.
3566         (WMEMSET_SYMBOL): Likewise.
3567         (__wmemset): Add hidden definition.
3568         (wmemset): Add weak hidden definition.
3569         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3570         wmemset_chk-nonshared.
3571         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3572         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
3573         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
3574         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
3575         and __wmemset_chk_avx512_unaligned.
3576         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
3577         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3578         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3579         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3580         (WMEMSET_SYMBOL): Likewise.
3581         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
3582         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3583         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3584         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3585         (WMEMSET_SYMBOL): Likewise.
3586         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
3587         (WMEMSET_CHK_SYMBOL): New.
3588         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
3589         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
3590         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
3591         (libc_hidden_builtin_def): Also define __GI_wmemset and
3592         __GI___wmemset.
3593         (weak_alias): New.
3594         * sysdeps/x86_64/multiarch/wmemset.c: New file.
3595         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
3596         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
3597         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3598         * sysdeps/x86_64/wmemset.c: Likewise.
3599         * sysdeps/x86_64/wmemset_chk.c: Likewise.
3601 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3602             H.J. Lu  <hongjiu.lu@intel.com>
3604         * sysdeps/x86/init-arch.h (PASTER1): New.
3605         (EVALUATOR1): Likewise.
3606         (PASTER2): Likewise.
3607         (EVALUATOR2): Likewise.
3608         (REDIRECT_NAME): Likewise.
3609         (OPTIMIZE): Likewise.
3610         (IFUNC_SELECTOR): Likewise.
3612 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3614         * sysdeps/x86_64/strlen.S (PMINU): New.
3615         (PCMPEQ): Likewise.
3616         (SHIFT_RETURN): Likewise.
3617         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
3618         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
3619         pminub with PCMPEQ and PMINU.
3620         * sysdeps/x86_64/wcsnlen.S: New file.
3622 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3624         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
3625         the lower 32 bits.  Remove redundant instructions.
3627 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3629         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
3630         0 as the high part of offset.
3631         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
3633 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
3635         [BZ #21538]
3636         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
3637         [__USE_UNIX98].
3638         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
3639         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
3640         Likewise.
3641         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
3642         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
3643         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
3644         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
3645         Likewise.
3647         [BZ #21517]
3648         * bits/types/stack_t.h (stack_t): Remove struct tag.
3649         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
3650         Likewise.
3651         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
3652         Likewise.
3653         * debug/segfault.c (install_handler): Use stack_t instead of
3654         struct sigaltstack.
3655         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
3656         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
3657         * include/signal.h (__sigaltstack): Likwise.
3658         * signal/sigaltstack.c (__sigaltstack): Likewise.
3659         * signal/signal.h (sigaltstack): Likewise.
3660         * sysdeps/mach/hurd/i386/signal-defines.sym
3661         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
3662         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
3663         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
3664         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3665         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
3666         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
3667         elf_prstatus): Likewise.
3668         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
3669         Likewise.
3670         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
3671         Likewise.
3672         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
3673         Likewise.
3674         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
3675         elf_prstatus): Likewise.
3676         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
3677         Likewise.
3678         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
3679         Likewise.
3681 2017-06-04  Zack Weinberg  <zackw@panix.com>
3683         * sysdeps/gnu/errlist.c: Regenerate.
3685 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
3687         * benchtests/bench-memchr.c (do_test): Print out both length
3688         and position.
3689         (test_main): Also test the position close to the beginning for
3690         memrchr.
3692 2017-06-04  Zack Weinberg  <zackw@panix.com>
3694         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
3695         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
3696         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
3697         * nis/nis_destroygroup.c, nis/nis_domain_of.c
3698         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
3699         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
3700         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
3701         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
3702         * nis/nis_print_group_entry.c, nis/nis_remove.c
3703         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
3704         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
3705         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
3706         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
3707         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
3708         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
3709         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
3710         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
3711         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
3712         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
3713         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
3714         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
3715         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
3716         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
3717         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
3718         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
3719         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
3720         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
3721         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
3722         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
3724         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
3725         abi-versions.h as well as shlib-compat.h.
3726         * sunrpc/get_myaddr.c: Remove obsolete comment.
3727         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
3728         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
3729         * resolv/res_libc.c: Include shlib-compat.h only once.
3731 2017-06-03  Florian Weimer  <fweimer@redhat.com>
3733         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
3734         of strdup.
3736 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
3738         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
3739         Set to the 3/4 of the total shared cache size.
3741 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
3743         * manual/errno.texi: Remove redundant error strings.
3744         * manual/macros.texi (@errno): Render the error string in every
3745         description.
3747 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
3749         [BZ #21543]
3750         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
3751         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
3752         [__USE_XOPEN_EXTENDED].
3754 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3756         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
3757         strdupa.
3758         (getcanonname): Use __strdup instead of strdup.
3760 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3762         * misc/Makefile (CFLAGS-preadv2.c): New rule.
3763         (CFLAGS-preadv64v2.c): Likewise.
3764         (CFLAGS-pwritev2.c): Likewise.
3765         (CFLAGS-pwritev64v2.c): Likewise.
3767 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3769         Test res_init with several configuration files.
3770         * resolv/Makefile [build-shared] (tests-internal): Add
3771         tst-resolv-res_init, tst-resolv-res_init-thread.
3772         (tst-resolv-res_init): Link against libdl, libresolv.
3773         (tst-resolv-res_init-thread): Link against libdl, libresolv,
3774         libpthread.
3775         * resolv/tst-resolv-res_init.c: New file.
3776         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
3777         * resolv/tst-resolv-res_init-thread.c: Likewise.
3778         * support/Makefile (libsupport-routines): Add support-xstat,
3779         support_can_chroot, support_capture_subprocess_check,
3780         support_isolate_in_subprocess, support_shared_allocate,
3781         support_write_file_string, xchroot, xmkdir, xopen.
3782         * support/capture_subprocess.h (enum support_capture_allow): Define.
3783         (support_capture_subprocess_check): Declare.
3784         * support/namespace.h (support_can_chroot)
3785         (support_isolate_in_subprocess): Declare.
3786         * support/support-xstat.c: New file.
3787         * support/support.h (support_shared_allocate, support_shared_free)
3788         (support_write_file_string): Declare.
3789         * support/support_can_chroot.c: New file.
3790         * support/support_capture_subprocess_check.c: Likewise.
3791         * support/support_isolate_in_subprocess.c: Likewise.
3792         * support/support_shared_allocate.c: Likewise.
3793         * support/support_write_file_string.c: Likewise.
3794         * support/xchroot.c: Likwise.
3795         * support/xmkdir.c: Likwise.
3796         * support/xopen.c: Likwise.
3797         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
3799 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3801         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
3802         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
3804 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3806         * malloc/Makefile (routines): Add dynarray_at_failure,
3807         dynarray_emplace_enlarge, dynarray_finalize.
3808         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
3809         tst-dynarray-at-fail.
3810         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
3811         (tests-special): Add tst-dynarray-mem.out,
3812         tst-dynarray-mem-fail.out.
3813         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
3814         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
3815         mtrace.
3816         * malloc/Versions (__libc_dynarray_at_failure)
3817         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
3818         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
3819         GLIBC_PRIVATE.
3820         * malloc/dynarray.h: New file.
3821         * malloc/dynarray-skeleton.c: Likewise.
3822         * malloc/dynarray_at_failure.c: Likewise.
3823         * malloc/dynarray_emplace_enlarge.c: Likewise.
3824         * malloc/dynarray_finalize.c: Likewise.
3825         * malloc/dynarray_resize.c: Likewise.
3826         * malloc/dynarray_resize_clear.c: Likewise.
3827         * malloc/tst-dynarray.c: Likewise.
3828         * malloc/tst-dynarray-fail.c: Likewise.
3829         * malloc/tst-dynarray-at-fail.c: Likewise.
3830         * malloc/tst-dynarray-shared.h: Likewise.
3831         * support/Makefile (libsupport-routines): Add
3832         support_capture_subprocess, xdup2, xpipe.
3833         (tests): Add tst-support_capture_subprocess.
3834         * support/capture_subprocess.h: New file.
3835         * support/support_capture_subprocess.c: Likewise.
3836         * support/tst-support_capture_subprocess.c: Likewise.
3837         * support/xdup2.c: Likewise.
3838         * support/xpipe.c: Likewise.
3839         * support/xunistd.h (xdup2, xpipe): Declare.
3841 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3843         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
3844         macros MAX and MIN.
3846 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
3848         * conform/data/signal.h-data (sa_sigaction): Do not expect for
3849         [XPG4].
3850         (SA_SIGINFO): Likewise.
3851         (SA_ONSTACK): Likewise.
3852         (SA_RESETHAND): Likewise.
3853         (SA_RESTART): Likewise.
3854         (SA_NOCLDWAIT): Likewise.
3855         (SA_NODEFER): Likewise.
3856         (SS_ONSTACK): Likewise.
3857         (SS_DISABLE): Likewise.
3858         (MINSIGSTKSZ): Likewise.
3859         (SIGSTKSZ): Likewise.
3860         (ucontext_t): Likewise.
3861         (stack_t): Likewise.
3862         (struct sigstack): Likewise.
3863         (SI_USER): Do not expect for [XPG4 || XPG42].
3864         (SI_QUEUE): Likewise.
3865         (SI_TIMER): Likewise.
3866         (SI_ASYNCIO): Likewise.
3867         (SI_MESGQ): Likewise.
3868         (bsd_signal): Do not expect for [XPG4].
3869         (killpg): Likewise.
3870         (sigaltstack): Likewise.
3871         (sighold): Likewise.
3872         (sigignore): Likewise.
3873         (siginterrupt): Likewise.
3874         (sigpause): Likewise.
3875         (sigrelse): Likewise.
3876         (sigset): Likewise.
3877         (sigwait): Do not expect for [XPG4 || XPG42].
3879 2017-06-01  Zack Weinberg  <zackw@panix.com>
3881         [BZ #21514]
3882         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
3883         pointing to the generated file in <builddir>/misc/bits/syscall.h.
3885 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
3887         [BZ #21457]
3888         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
3889         NGREG to __NGREG if [__USE_MISC].
3890         (gregset_t): Define using __NGREG.
3891         (__ctx): New macro.
3892         (mcontext_t): Use __ctx in defining fields.
3893         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
3894         define NGREG to __NGREG if [__USE_MISC].
3895         (gregset_t): Define using __NGREG.
3896         (__ctx): New macro.
3897         (__ctxt): Likewise.
3898         (fpregset_t): Use __ctx and __ctxt in defining fields.
3899         (mcontext_t): Likewise.
3900         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
3901         define NGREG to __NGREG if [__USE_MISC].
3902         (gregset_t): Define using __NGREG.
3903         (__ctx): New macro.
3904         (mcontext_t): Use __ctx in defining fields.
3905         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
3906         define NGREG to __NGREG if [__USE_MISC].
3907         (gregset_t): Define using __NGREG.
3908         (__ctx): New macro.
3909         (fpregset_t): Use __ctx in defining fields.
3910         (mcontext_t): Likewise.
3911         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
3912         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3913         (gregset_t): Define using __NGREG.
3914         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3915         [__USE_MISC].
3916         (fpregset_t): Define using __NFPREG.
3917         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
3918         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3919         (gregset_t): Define using __NGREG.
3920         (__ctx): New macro.
3921         (fpregset_t): Use __ctx in defining fields.
3922         (mcontext_t): Likewise.
3923         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
3924         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3925         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3926         [__USE_MISC].
3927         (gregset_t): Define using __NGREG.
3928         (__ctx): New macro.
3929         (fpregset_t): Use __ctx in defining fields.
3930         (mcontext_t): Likewise.
3931         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
3932         (mcontext_t): Use __ctx in defining fields.
3933         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
3934         macro.
3935         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
3936         __NGREG if [__USE_MISC].
3937         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
3938         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
3939         (mcontext_t): Likewise.
3940         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
3941         __NGREG if [__USE_MISC].
3942         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
3943         to __NFPREG if [__USE_MISC].
3944         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
3945         to __NVRREG if [__USE_MISC].
3946         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
3947         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
3948         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
3949         [__WORDSIZE != 32] (vrregset_t): Likewise.
3950         [__WORDSIZE != 32] (mcontext_t): Likewise.
3951         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
3952         (__psw_t): Use __ctx in defining fields.
3953         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
3954         [__USE_MISC].
3955         (gregset_t): Define using __NGREG.
3956         (fpreg_t): Use __ctx in defining fields.
3957         (fpregset_t): Likewise.
3958         (mcontext_t): Likewise.
3959         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
3960         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3961         (gregset_t): Define using __NGREG.
3962         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3963         [__USE_MISC].
3964         (fpregset_t): Define using __NFPREG.
3965         (__ctx): New macro.
3966         (mcontext_t): Use __ctx in defining fields.
3967         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
3968         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3969         __NGREG if [__USE_MISC].
3970         [__x86_64__] (gregset_t): Define using __NGREG.
3971         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
3972         [__x86_64__] (struct _libc_fpstate): Likewise.
3973         [__x86_64__] (mcontext_t): Likewise.
3974         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3975         __NGREG if [__USE_MISC].
3976         [!__x86_64__] (gregset_t): Define using __NGREG.
3977         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
3978         [!__x86_64__] (struct _libc_fpstate): Likewise.
3979         [!__x86_64__] (mcontext_t): Likewise.
3981 2017-06-01  Zack Weinberg  <zackw@panix.com>
3983         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
3984         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
3985         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
3986         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
3987         libpthread.so no longer references __errno_location.
3989 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3991         * NEWS: Add note about pwritev2 and preadv2 inclusion.
3992         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
3993         pwritev64v2.
3994         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
3995         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
3996         pwritev64v2.
3997         * misc/preadv2.c: New file.
3998         * misc/preadv64v2.c: Likewise.
3999         * misc/pwritev2.c: Likewise.
4000         * misc/pwritev64v2.c: Likewise.
4001         * misc/tst-preadvwritev2.c: Likewise.
4002         * misc/tst-preadvwritev64v2.c: Likewise.
4003         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
4004         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
4005         prototype.
4006         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
4007         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
4008         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
4009         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
4010         (PWRITEV): Likewise.
4011         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
4012         ENOSYS.
4013         * nptl/tst-cancel4.c (tf_pwritev2): New test.
4014         (tf_preadv2): Likewise.
4015         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
4016         * sysdeps/posix/preadv2.c: Likewise.
4017         * sysdeps/posix/preadv64v2.c: Likewise.
4018         * sysdeps/posix/pwritev2.c: Likewise.
4019         * sysdeps/posix/pwritev64v2.c: Likewise.
4020         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
4021         support in kernel.
4022         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
4023         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
4024         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
4025         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
4026         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
4027         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4028         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4029         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4030         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
4031         support flags on Linux.
4032         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
4033         preadv2, preadv64v2, pwritev2, pwritev64v2.
4034         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
4035         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
4036         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
4037         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
4038         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
4039         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
4040         Likewise.
4041         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
4042         Likewise.
4043         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
4044         Likewise.
4045         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
4046         Likewise.
4047         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
4048         Likewise.
4049         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
4050         Likewise.
4051         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
4052         Likewise.
4053         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
4054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4055         (GLIBC_2.26): Likewise.
4056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4057         (GLIBC_2.26): Likewise.
4058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
4059         Likewise.
4060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4061         (GLIBC_2.26): Likewise.
4062         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
4063         Likewise.
4064         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
4065         Likewise.
4066         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
4067         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
4068         Likewise.
4069         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
4070         Likewise.
4071         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
4072         Likewise.
4073         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
4074         Likewise.
4075         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
4076         Likewise.
4077         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
4078         Likewise.
4079         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
4080         Likewise.
4082 2017-05-31  Andreas Schwab  <schwab@suse.de>
4084         * nptl/tst-fork3.c: Include <support/test-driver.c>.
4085         (main): Rename to do_test and make static.
4087 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4089         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
4090         ARCH_INIT_CPU_FEATURES.
4091         (LIBC_START_MAIN): Call it.
4092         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
4093         (__libc_start_main): Remove.
4094         (ARCH_INIT_CPU_FEATURES): New macro.
4095         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
4096         (ARCH_INIT_CPU_FEATURES): New macro.
4098 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
4099             RĂŒdiger Sonderfeld  <ruediger@c-plusplus.de>
4101         * include/stdlib.h (__libc_reallocarray): New declaration.
4102         * malloc/Makefile (routines): Add reallocarray.
4103         (tests): Add tst-reallocarray.c.
4104         * malloc/Versions: Add reallocarray and __libc_reallocarray.
4105         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
4106         function.
4107         * malloc/malloc.h (reallocarray): New declaration.
4108         * stdlib/stdlib.h (reallocarray): Likewise.
4109         * malloc/reallocarray.c: New file.
4110         * malloc/tst-reallocarray.c: New test file.
4111         * manual/memory.texi: Document reallocarray.
4112         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
4113         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4114         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4115         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4116         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4117         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4118         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4119         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4120         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4121         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4122         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4123         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4124         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4125         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4127         Likewise.
4128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4129         Likewise.
4130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4132         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4133         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4134         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4135         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4136         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4139         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
4140         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4141         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4143 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
4145         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
4146         the lower 32 bits.
4148 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
4150         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
4151         $(build-pie-default) = yes]: Define.
4153 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
4155         * string/test-memchr.c (test_main): Add tests for n == 0.
4157 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4159         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
4160         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
4161         (tests-internal): ... here.
4163 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
4164              H.J. Lu  <hongjiu.lu@intel.com>
4166         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
4167         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
4168         (__tunable_set_val): Likewise.
4170 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
4172         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
4173         dl-tunables.list in subdirectories.
4175 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4176             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4177             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4179         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4180         (SNANF128): New macro.
4181         * math/e_sqrtf128.c: New file.
4182         * math/s_fmaxmag_template.c: Include math_private.h in order to
4183         make inline expansion of fabs128().
4184         * math/s_fminmag_template.c: Likewise.
4186         * sysdeps/ieee754/float128/e_acosf128.c: New file.
4187         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
4188         * sysdeps/ieee754/float128/e_asinf128.c: New file.
4189         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
4190         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
4191         * sysdeps/ieee754/float128/e_coshf128.c: New file.
4192         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
4193         * sysdeps/ieee754/float128/e_expf128.c: New file.
4194         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
4195         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
4196         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
4197         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
4198         * sysdeps/ieee754/float128/e_j0f128.c: New file.
4199         * sysdeps/ieee754/float128/e_j1f128.c: New file.
4200         * sysdeps/ieee754/float128/e_jnf128.c: New file.
4201         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
4202         * sysdeps/ieee754/float128/e_log10f128.c: New file.
4203         * sysdeps/ieee754/float128/e_log2f128.c: New file.
4204         * sysdeps/ieee754/float128/e_logf128.c: New file.
4205         * sysdeps/ieee754/float128/e_powf128.c: New file.
4206         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
4207         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
4208         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
4209         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
4210         * sysdeps/ieee754/float128/float128_private.h: New file.
4211         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
4212         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
4213         * sysdeps/ieee754/float128/k_cosf128.c: New file.
4214         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
4215         * sysdeps/ieee754/float128/k_sinf128.c: New file.
4216         * sysdeps/ieee754/float128/k_tanf128.c: New file.
4217         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
4218         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
4219         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
4220         * sysdeps/ieee754/float128/s_atanf128.c: New file.
4221         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
4222         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
4223         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
4224         * sysdeps/ieee754/float128/s_cosf128.c: New file.
4225         * sysdeps/ieee754/float128/s_erff128.c: New file.
4226         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
4227         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
4228         * sysdeps/ieee754/float128/s_finitef128.c: New file.
4229         * sysdeps/ieee754/float128/s_floorf128.c: New file.
4230         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
4231         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
4232         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
4233         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
4234         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
4235         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
4236         * sysdeps/ieee754/float128/s_isinff128.c: New file.
4237         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
4238         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
4239         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
4240         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
4241         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
4242         * sysdeps/ieee754/float128/s_logbf128.c: New file.
4243         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
4244         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
4245         * sysdeps/ieee754/float128/s_modff128.c: New file.
4246         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
4247         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
4248         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
4249         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
4250         * sysdeps/ieee754/float128/s_remquof128.c: New file.
4251         * sysdeps/ieee754/float128/s_rintf128.c: New file.
4252         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
4253         * sysdeps/ieee754/float128/s_roundf128.c: New file.
4254         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
4255         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
4256         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
4257         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
4258         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
4259         * sysdeps/ieee754/float128/s_significandf128.c: New file.
4260         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
4261         * sysdeps/ieee754/float128/s_sinf128.c: New file.
4262         * sysdeps/ieee754/float128/s_tanf128.c: New file.
4263         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
4264         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
4265         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
4266         * sysdeps/ieee754/float128/s_truncf128.c: New file.
4267         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
4268         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
4269         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
4270         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
4272         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
4273         (__iscanonicalf128): Define as a macro.
4275 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
4277         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
4278         (memmove): Use MEMMOVE for name.
4279         (memcpy): Use MEMCPY for name.  Change internal labels
4280         to external labels.
4281         * sysdeps/aarch64/multiarch/Makefile: New file.
4282         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
4283         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
4284         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
4285         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
4286         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
4287         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
4289 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4291         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4292         (_dl_arm_cap_flags): Fix array subscript.
4293         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4294         Fix count.
4296 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4298         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
4300 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4302         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
4303         (is_amd): Likewise.
4304         (max_cpuid): Likewise.
4305         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
4306         (init_cacheinfo): Likewise.
4308 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
4310         [BZ #21511]
4311         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
4312         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
4313         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
4314         !__USE_XOPEN2K) || __USE_MISC].
4315         * conform/data/signal.h-data (struct sigstack): Expect type only
4316         if [!XOPEN2K8 && !POSIX2008].
4317         (sigstack): Expect function only if [XPG42 || UNIX98].
4319         [BZ #21457]
4320         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
4321         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4322         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4323         <bits/types/__sigset_t.h>.
4324         (ucontext_t): Use sigset_t instead of __sigset_t.
4325         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
4326         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4327         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4328         <bits/types/__sigset_t.h>.
4329         (ucontext_t): Use sigset_t instead of __sigset_t.
4330         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
4331         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4332         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4333         <bits/types/__sigset_t.h>.
4334         (ucontext_t): Use sigset_t instead of __sigset_t.
4335         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
4336         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4337         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4338         <bits/types/__sigset_t.h>.
4339         (ucontext_t): Use sigset_t instead of __sigset_t.
4340         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
4341         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4342         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4343         <bits/types/__sigset_t.h>.
4344         (ucontext_t): Use sigset_t instead of __sigset_t.
4345         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
4346         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4347         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4348         <bits/types/__sigset_t.h>.
4349         (ucontext_t): Use sigset_t instead of __sigset_t.
4350         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
4351         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4352         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4353         <bits/types/__sigset_t.h>.
4354         (ucontext_t): Use sigset_t instead of __sigset_t.
4355         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
4356         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4357         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4358         <bits/types/__sigset_t.h>.
4359         (ucontext_t): Use sigset_t instead of __sigset_t.
4360         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
4361         <signal.h>, <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/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4366         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4367         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
4368         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
4369         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4370         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4371         <bits/types/__sigset_t.h>.
4372         (ucontext_t): Use sigset_t instead of __sigset_t.
4373         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
4374         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4375         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4376         <bits/types/__sigset_t.h>.
4377         (ucontext_t): Use sigset_t instead of __sigset_t.
4378         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
4379         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4380         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4381         <bits/types/__sigset_t.h>.
4382         (ucontext_t): Use sigset_t instead of __sigset_t.
4383         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
4384         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4385         <bits/ss_flags.h>.
4386         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
4387         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4388         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4389         <bits/types/__sigset_t.h>.
4390         (ucontext_t): Use sigset_t instead of __sigset_t.
4391         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
4392         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4393         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4394         <bits/types/__sigset_t.h>.
4395         (ucontext_t): Use sigset_t instead of __sigset_t.
4396         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
4397         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4398         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4399         <bits/types/__sigset_t.h>.
4400         (ucontext_t): Use sigset_t instead of __sigset_t.
4401         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
4402         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4403         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4404         <bits/types/__sigset_t.h>.
4405         (ucontext_t): Use sigset_t instead of __sigset_t.
4406         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
4407         <bits/types.h>.
4408         * sysdeps/unix/sysv/linux/x86/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.
4414 2017-05-22  Zack Weinberg  <zackw@panix.com>
4416         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4417         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
4418         bits/siginfo-arch.h, only if not already defined.
4419         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4420         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
4421         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
4422         Likewise.
4424         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4425         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4426         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4427         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4428         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4429         Unconditionally define __SI_* macros.
4431 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4433         [BZ #21393]
4434         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
4435         and add a check for dup3 failure.
4436         * libio/freopen64.c (freopen64): Likewise.
4437         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
4438         libsupport.
4439         (do_test_bz21398): New test.
4440         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
4442 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4444         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
4445         Remove invalid comment.
4447 2017-05-21  Zack Weinberg  <zackw@panix.com>
4449         * signal/Makefile (headers): Add bits/types/sigval_t.h.
4451 2017-05-20  Zack Weinberg  <zackw@panix.com>
4453         * bits/sigevent-consts.h
4454         * bits/siginfo-consts.h
4455         * bits/types/__sigset_t.h
4456         * bits/types/sigevent_t.h
4457         * bits/types/siginfo_t.h
4458         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
4459         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4460         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
4461         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
4462         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
4463         New system-dependent bits headers.
4465         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
4466         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
4467         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4468         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
4469         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4470         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4471         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4472         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
4473         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4474         New Linux-only system-dependent bits headers.
4476         * signal/bits/types/sig_atomic_t.h
4477         * signal/bits/types/sigset_t.h
4478         * signal/bits/types/sigval_t.h:
4479         New non-system-dependent bits headers.
4481         * sysdeps/generic/sigsetops.h
4482         * sysdeps/unix/sysv/linux/sigsetops.h:
4483         New internal headers.
4485         * include/bits/types/sig_atomic_t.h
4486         * include/bits/types/sigset_t.h
4487         * include/bits/types/sigval_t.h:
4488         New wrappers.
4490         * signal/sigsetops.h
4491         * bits/siginfo.h
4492         * bits/sigset.h
4493         * sysdeps/unix/sysv/linux/bits/siginfo.h
4494         * sysdeps/unix/sysv/linux/bits/sigset.h
4495         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
4496         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
4497         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
4498         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
4499         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
4500         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
4501         Deleted.
4503         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
4504         Update lists of installed headers.
4506         * posix/bits/types.h: Define __sig_atomic_t here.
4507         * signal/signal.h: Use the new bits headers; no need to handle
4508         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
4509         to define sigmask.
4510         * include/signal.h: No need to handle __need_sig_atomic_t
4511         nor __need_sigset_t.  Don't define __sigemptyset.
4513         * io/sys/poll.h, setjmp/setjmp.h
4514         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
4515         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
4516         * sysdeps/mach/hurd/i386/bits/sigcontext.h
4517         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
4518         * sysdeps/pthread/bits/sigthread.h
4519         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
4520         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
4521         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4522         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
4523         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4524         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
4525         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
4526         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
4527         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
4528         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
4529         Use bits/types/__sigset_t.h.
4531         * misc/sys/select.h, posix/spawn.h
4532         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4533         * sysdeps/unix/sysv/linux/sys/epoll.h
4534         * sysdeps/unix/sysv/linux/sys/signalfd.h:
4535         Use bits/types/sigset_t.h.
4537         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
4538         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
4539         * socket/sys/socket.h: Don't include bits/sigset.h.
4541         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
4542         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
4543         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
4544         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
4545         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
4546         * sysdeps/unix/sysv/linux/nptl-signals.h:
4547         Include sigsetops.h.
4549         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
4550         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
4551         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
4552         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
4553         now return no value.
4555         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
4556         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
4557         "sigsetops.h".
4559         * signal/sigsetops.c: Explicitly define __sigismember,
4560         __sigaddset, and __sigdelset as compatibility symbols.
4562         * signal/Versions: Correct commentary on __sigpause,
4563         __sigaddset, __sigdelset, __sigismember.
4565         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
4566         __sigblock/__sigsetmask to use __sigprocmask and friends.
4568         * resolv/resolv.h: Remove __need_res_state logic.
4569         Move definition of res_state and related constants to ...
4570         * resolv/bits/types/res_state.h: ...this new file.
4571         * resolv/Makefile: Install bits/types/res_state.h.
4572         * include/bits/types/res_state.h: New wrapper.
4573         * include/list.h: Remove __need_list_t logic.
4574         Move definition of list_t to ...
4575         * include/list_t.h: ...this new file.
4577         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4578         instead of list.h and resolv.h.
4580         * resolv/resolv.h: Remove __need_res_state logic.
4581         Move definition of res_state and related constants to ...
4582         * resolv/bits/types/res_state.h: ...this new file.
4583         * resolv/Makefile: Install bits/types/res_state.h.
4584         * include/bits/types/res_state.h: New wrapper.
4585         * include/list.h: Remove __need_list_t logic.
4586         Move definition of list_t to ...
4587         * include/list_t.h: ...this new file.
4589         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4590         instead of list.h and resolv.h.
4592 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
4594         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
4596 2017-05-20  Zack Weinberg  <zackw@panix.com>
4598         * sysdeps/arm/sysdep.h
4599         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
4601         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
4602         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
4603         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
4604         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
4605         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
4606         * sysdeps/arm/armv6t2/strlen.S
4607         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
4608         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
4609         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
4610         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
4611         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
4612         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
4614 2017-05-20  Zack Weinberg  <zackw@panix.com>
4616         Remove the NaCl port.
4617         * sysdeps/arm/nacl: Remove directory and contents.
4618         * sysdeps/nacl: Remove directory and contents.
4619         * abi-tags: Remove .*-.*-nacl.* entry.
4621 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
4623         * manual/errno.texi: Convert @comment-based errno documentation to
4624         @errno.
4625         * manual/macros.texi (@errno): New macro.  Consolidate errors,
4626         their values, and messages, adding the error string to the Concept
4627         Index.  Provide a warning in the comment about external (to the
4628         manual) dependencies.
4629         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
4630         * sysdeps/mach/hurd/errnos.awk: Likewise.
4632 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
4634         * bits/ss_flags.h: New file.
4635         * bits/types/stack_t.h: Likewise.
4636         * include/bits/types/struct_sigstack.h: Likewise.
4637         * signal/bits/types/struct_sigstack.h: Likewise.
4638         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
4639         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
4640         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
4641         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
4642         bits/types/stack_t.h and bits/ss_flags.h.
4643         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
4644         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4645         <bits/ss_flags.h>.
4646         * bits/sigstack.h (struct sigstack): Remove.
4647         (stack_t): Likewise.
4648         (SS_ONSTACK): Likewise.
4649         (SS_DISABLE): Likewise.
4650         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4651         (struct sigstack): Likewise.
4652         (stack_t): Likewise.
4653         (SS_ONSTACK): Likewise.
4654         (SS_DISABLE): Likewise.
4655         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
4656         Likewise.
4657         (stack_t): Likewise.
4658         (SS_ONSTACK): Likewise.
4659         (SS_DISABLE): Likewise.
4660         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
4661         Likewise.
4662         (stack_t): Likewise.
4663         (SS_ONSTACK): Likewise.
4664         (SS_DISABLE): Likewise.
4665         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
4666         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
4667         Likewise.
4668         (stack_t): Likewise.
4669         (SS_ONSTACK): Likewise.
4670         (SS_DISABLE): Likewise.
4671         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4672         (struct sigstack): Likewise.
4673         (stack_t): Likewise.
4674         (SS_ONSTACK): Likewise.
4675         (SS_DISABLE): Likewise.
4676         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
4677         Likewise.
4678         (stack_t): Likewise.
4679         (SS_ONSTACK): Likewise.
4680         (SS_DISABLE): Likewise.
4681         * sysdeps/arm/sys/ucontext.h: Include
4682         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4683         <bits/ss_flags.h>.
4684         * sysdeps/generic/sys/ucontext.h: Likewise.
4685         * sysdeps/i386/sys/ucontext.h: Likewise.
4686         * sysdeps/m68k/sys/ucontext.h: Likewise.
4687         * sysdeps/mips/sys/ucontext.h: Likewise.
4688         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
4689         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
4690         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
4691         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
4692         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
4693         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
4694         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
4695         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
4696         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
4697         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4698         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
4699         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
4700         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
4701         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
4702         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
4704 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4706         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
4707         "edx + ecx - 16" to avoid possible addition overflow.
4708         * sysdeps/x86_64/memchr.S (memchr): Likewise.
4710 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4712         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
4713         (CFLAGS-splice.c): Likewise.
4714         (CFLAGS-open_by_handle_at.c): Likewise.
4715         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
4716         (CFLAGS-splice.c): Likewise.
4717         (CFLAGS-open_by_handle_at.c): Likewise.
4719 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
4721         * scripts/versions.awk: Generate ldbl-compat-choose.h.
4722         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
4723         <ldbl-compat-choose.h>.
4724         (maybe_long_double_symbol): New macro.
4725         [!declare_mgen_alias] (declare_mgen_alias): Use
4726         maybe_long_double_symbol.
4727         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
4728         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4729         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4730         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
4731         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4732         * Makerules [$(build-shared) = yes && !avoid-generated]
4733         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
4734         [$(build-shared) = yes && !avoid-generated]
4735         ($(common-objpfx)ldbl-compat-choose.h): New target.
4737         * scripts/versions.awk: Generate first-versions.h.
4738         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
4739         <first-versions.h>.
4740         (LDOUBLE_cabsl_libm_version): Remove macro.
4741         (LDOUBLE_cargl_libm_version): Likewise.
4742         (LDOUBLE_cimagl_libm_version): Likewise.
4743         (LDOUBLE_conjl_libm_version): Likewise.
4744         (LDOUBLE_creall_libm_version): Likewise.
4745         (LDOUBLE_cacosl_libm_version): Likewise.
4746         (LDOUBLE_cacoshl_libm_version): Likewise.
4747         (LDOUBLE_ccosl_libm_version): Likewise.
4748         (LDOUBLE_ccoshl_libm_version): Likewise.
4749         (LDOUBLE_casinl_libm_version): Likewise.
4750         (LDOUBLE_csinl_libm_version): Likewise.
4751         (LDOUBLE_casinhl_libm_version): Likewise.
4752         (LDOUBLE_csinhl_libm_version): Likewise.
4753         (LDOUBLE_catanl_libm_version): Likewise.
4754         (LDOUBLE_catanhl_libm_version): Likewise.
4755         (LDOUBLE_ctanl_libm_version): Likewise.
4756         (LDOUBLE_ctanhl_libm_version): Likewise.
4757         (LDOUBLE_cexpl_libm_version): Likewise.
4758         (LDOUBLE_clogl_libm_version): Likewise.
4759         (LDOUBLE_cprojl_libm_version): Likewise.
4760         (LDOUBLE_csqrtl_libm_version): Likewise.
4761         (LDOUBLE_cpowl_libm_version): Likewise.
4762         (LDOUBLE_clog10l_libm_version): Likewise.
4763         (LDOUBLE___clog10l_libm_version): Likewise.
4764         (LDOUBLE_fdiml_libm_version): Likewise.
4765         (LDOUBLE_fmaxl_libm_version): Likewise.
4766         (LDOUBLE_fminl_libm_version): Likewise.
4767         (LDOUBLE_ilogbl_libm_version): Likewise.
4768         (LDOUBLE_nanl_libm_version): Likewise.
4769         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
4770         FIRST_VERSION_libm_* macros.
4771         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
4772         * Makerules [$(build-shared) = yes && !avoid-generated]
4773         (before-compile): Add $(common-objpfx)first-versions.h.
4774         [$(build-shared) = yes && !avoid-generated]
4775         ($(common-objpfx)first-versions.h): New target.
4776         ($(common-objpfx)sysd-versions): Depend on and change to rule for
4777         building $(common-objpfx)versions.stmp.
4779 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4781         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
4782         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
4783         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
4784         auto-generation list.
4786         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
4787         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
4788         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
4789         from auto-generation list.
4791         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4792         open_by_handle_at.
4793         (CFLAGS-open_by_handle_at.c): New flag.
4794         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
4795         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
4796         file.
4797         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
4799         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
4800         (CFLAGS-splice.c): New flag.
4801         * sysdeps/unix/sysv/linux/splice.c: New file.
4802         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
4803         auto-generation syscall list.
4804         * misc/Makefile (CFLAGS-splice.c): New rule.
4806         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
4807         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
4808         auto-generation syscall list.
4809         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
4810         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
4812         * misc/Makefile (CFLAGS-fsync.c): New flag.
4813         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
4814         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
4815         syscall list.
4816         * sysdeps/unix/sysv/linux/fsync.c: New file.
4817         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
4818         (__errno_location): Remove.
4820         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
4821         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
4822         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
4823         list.
4824         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
4826         * misc/Makefile (CFLAGS-msync.c): New rule.
4827         * nptl/Makefile (CFLAGS-msync.c): Likewise.
4828         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
4829         * sysdeps/unix/sysv/linux/msync.c: New file.
4831         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
4832         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
4833         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
4834         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4835         (CFLAGS-sigsuspend.c): Remove rule.
4837         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
4838         (CFLAGS-tee.c): New rule.
4839         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
4840         auto-generated list.
4841         * sysdeps/unix/sysv/linux/tee.c: New file.
4843         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
4844         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
4845         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
4846         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
4847         auto-generated list.
4849         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
4850         auto-generated list.
4851         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
4852         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4853         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
4854         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4855         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4857         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
4858         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
4859         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
4860         (__NR_pause): Undefine.
4861         * sysdeps/unix/sysv/linux/pause.c: New file.
4862         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
4863         auto-generation list.
4864         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
4865         Remove rule.
4866         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
4868 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4870         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
4871         comments.
4873 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4875         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
4876         LD_HWCAP_MASK.
4878 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
4880         * manual/conf.texi: Convert @tables of annotated @items to
4881         @vtables.
4882         * manual/lang.texi: Likewise.
4883         * manual/pattern.texi: Likewise.
4884         * manual/resource.texi: Likewise.
4885         * manual/socket.texi: Likewise.
4887 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
4889         * manual/crypt.texi: Move a comment out of an @*x list.
4890         * manual/filesys.texi: Refactor some comments, one of which looks
4891         like a standard.  Fix incorrectly separated standards.
4892         * manual/locale.texi: Invert an annotation.
4893         * manual/resource.texi: Fix incorrectly separated standards.
4894         * manual/time.texi: Refactor a @vtable that obscures an
4895         annotation.
4896         * manual/users.texi: Refactor multiple headers to occupy a single
4897         @comment.
4899 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4901         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4902         (sysdep_routines): Add memcmp-power8.
4903         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4904         (memcmp): Add __memcmp_power8 to list of memcmp functions.
4905         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
4906         (memcmp): Add __memcmp_power8 to ifunc list.
4907         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
4908         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
4910 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4911             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4913         * math/math.h (__MATH_TG): Extend the conditions to add
4914         _Float128 support.
4915         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
4917 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
4919         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4920         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
4921         s_cosf-ppc64.
4922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
4923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
4924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
4925         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
4927 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4929         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
4930         (gen-libm-calls): Add e_exp2F to use the template.
4931         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
4932         * math/e_exp2_template.c: New file, renamed from
4933         math/e_exp2l.c, and made into a template.
4934         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
4936 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4938         * elf/dl-tunable-types.h (tunable_type_code_t): New type
4939         TUNABLE_TYPE_UINT_64.
4940         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
4941         Simplify computation of overflow.
4942         (tunable_set_val_if_valid_range_signed,
4943         tunable_set_val_if_valid_range_unsigned): Remove and replace
4944         with this...
4945         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
4946         (tunable_initialize): Adjust.  Add uint64_t support.
4947         (__tunable_set_val): Add uint64_t support.
4948         * README.tunables: Document it.
4950         * scripts/gen-tunables.awk: Recognize 'default' keyword in
4951         dl-tunables.list.
4952         * README.tunables: Document it.
4954 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4956         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
4957         * sysdeps/posix/preadv64.c: Likewise.
4958         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4959         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
4960         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
4961         * sysdeps/posix/pwritev64.c: Likewise.
4962         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4963         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
4964         * sysdeps/posix/preadv_common.c: New file.
4965         * sysdeps/posix/pwritev_common.c: Likewise.
4967 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4969         * sysdeps/generic/math-type-macros-float128.h
4970         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
4971         wrapper templates.
4973 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4974             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4976         * include/complex.h (__kernel_casinhf128): New declaration.
4977         * include/float.h: New file.
4978         * include/math.h (__finitef128): Add a hidden def.
4979         (__isinff128): Likewise.
4980         (__isnanf128): Likewise.
4981         (__fpclassify): Likewise.
4982         (__issignalling): Likewise.
4983         (__expf128): Likewise.
4984         (__expm1f128): Likewise.
4986         * sysdeps/generic/fix-fp-int-convert-overflow.h:
4987         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
4988         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
4990         * sysdeps/generic/math-type-macros-float128.h: New file.
4992         * sysdeps/generic/math_private.h: Include bits/floatn.h and
4993         math_private_calls.h for _Float128.
4994         (__isinff128): New inline implementation used when GCC < 7.0,
4995         since in this case __builtin_isinf_sign is broken.
4996         (fabsf128): New inline implementation that calls the builtin.
4997         (__EXPR_FLT128): New macro.
4998         (min_of_type): Optionally include _Float128 types too.
5000         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
5001         Declare for _Float128.
5002         (__kernel_rem_pio2): Likewise.
5004         * sysdeps/ieee754/ldbl-opt/s_sin.c:
5005         (__DECL_SIMD_sincos_disablef128): New macro.
5007 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5009         * math/math.h: Include bits/math-finite.h for float128.
5010         (__MATH_DECLARING_FLOATN): Define to control declaration of
5011         float128 functions.
5012         * math/bits/math-finite.h (pow10): Do not declare for float128.
5013         (gamma): Likewise.
5014         (scalb): Likewise.
5016 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5017             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5019         * bits/floatn.h: New file.
5020         * bits/huge_val_flt128.h: Likewise.
5022         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
5023         (__DECL_SIMD_sinf128): Likewise.
5024         (__DECL_SIMD_sincosf128): Likewise.
5025         (__DECL_SIMD_logf128): Likewise.
5026         (__DECL_SIMD_expf128): Likewise.
5027         (__DECL_SIMD_powf128): Likewise.
5029         * math/Makefile (headers): Install bits/floatn.h and
5030         bits/huge_val_flt128.h.
5032         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
5033         defined.
5035         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
5036         (isnan, gamma, nexttoward, scalb): Only define if not
5037         __MATH_DECLARING_FLOATN.
5038         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
5039         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
5040         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
5041         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
5043         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
5044         Include bits/cmathcalls.h to get the declarations of _Float128
5045         versions of complex functions.
5046         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
5047         Define macro.
5049         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
5050         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
5051         get the declarations of _Float128 versions of math functions.
5052         (__MATH_DECLARING_FLOATN): New macro to control declaration of
5053         _FloatN types.
5054         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
5055         is type-generic, so use it without __MATH_TG.
5056         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
5057         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
5058         _Float128 type and GCC < 7.0, otherwise use the builtin.
5059         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
5060         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
5061         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
5062         New _GNU_SOURCE enabled macros.
5064 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
5066         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
5067         (signbitf): Likewise.
5068         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
5069         Likewise.
5070         (signbitl): Likewise.
5071         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
5072         Likewise.
5073         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
5074         (signbitl): Likewise.
5075         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
5077 2017-05-12  Florian Weimer  <fweimer@redhat.com>
5079         [BZ #21386]
5080         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
5081         parent PID.  The assertion in the child is incorrect with PID
5082         namespaces.
5084 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
5086         * sysdeps/unix/sysv/linux/kernel-features.h
5087         (__ASSUME_STATFS_F_FLAGS): Remove macro.
5088         * sysdeps/unix/sysv/linux/internal_statvfs.c
5089         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
5091 2017-05-11  Zack Weinberg  <zackw@panix.com>
5093         * Makerules: New subdir configuration variables 'tests-internal'
5094         and 'test-internal-extras'.  Test files in these categories will
5095         still be compiled with MODULE_NAME=nonlib.  Test files in the
5096         existing categories (tests, xtests, test-srcs, test-extras) are
5097         now compiled with MODULE_NAME=testsuite.
5098         New subdir configuration variable 'modules-names-tests'.  Files
5099         which are in both 'modules-names' and 'modules-names-tests' will
5100         be compiled with MODULE_NAME=testsuite instead of
5101         MODULE_NAME=extramodules.
5102         (gen-as-const-headers): Move to tests-internal.
5103         (do-tests-clean, common-mostlyclean): Support tests-internal.
5104         * Makeconfig (built-modules): Add testsuite.
5105         * Makefile: Change libof-check-installed-headers-c and
5106         libof-check-installed-headers-cxx to 'testsuite'.
5107         * Rules: Likewise.  Support tests-internal.
5108         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
5109         Remove extra-modules.mk.
5111         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
5112         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
5113         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
5114         very top of the file and rationalize their order.
5115         If MODULE_NAME is not defined at all, define IS_IN to always be
5116         false, and don't define _ISOMAC.
5117         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
5118         true, define _ISOMAC and suppress everything else in this file,
5119         starting with the inclusion of config.h.
5120         Do check for inappropriate definitions of __OPTIMIZE__ and
5121         __FAST_MATH__ here, but only if _ISOMAC is not defined.
5122         Correct some out-of-date commentary.
5124         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
5125         and _Mlong_double_ before including math.h.
5126         * include/string.h: If _ISOMAC is defined, don't expose
5127         _STRING_ARCH_unaligned. Move a comment to a more appropriate
5128         location.
5130         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
5131         * include/time.h, include/unistd.h, include/wchar.h: No need to
5132         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
5134         * misc/sys/cdefs.h (__NTHNL): New macro.
5135         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
5136         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
5138         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
5139         defined, for HAVE_TUNABLES.
5140         * inet/tst-checks-posix.c: No need to define _ISOMAC.
5141         * intl/tst-gettext2.c: Provide own definition of N_.
5142         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
5143         * math/test-signgam-main.c: No need to define _ISOMAC.
5144         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
5145         * stdlib/tst-strtod1i.c: ...this new file.
5146         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
5147         Split tests of __strtod_internal to...
5148         * stdlib/tst-strtod5i.c: ...this new file.
5149         * string/test-string.h: Include stdint.h. Duplicate definition of
5150         inhibit_loop_to_libcall here (from libc-symbols.h).
5151         * string/test-strstr.c: Provide dummy definition of
5152         libc_hidden_builtin_def when including strstr.c.
5153         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
5154         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
5155         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5156         Don't include init-arch.h.
5157         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5158         Don't include init-arch.h.
5160         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
5161         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
5162         unload, unload2, circleload1, neededtest, neededtest2,
5163         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
5164         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
5165         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
5166         ifunc tests to tests-internal.
5167         Don't add $(modules-names) to test-extras.
5168         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
5169         Add tst-deadline to tests-static-internal.
5170         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
5171         tests-internal.
5172         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
5173         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
5174         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
5175         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
5176         tst-sem12-static, and tst-stackguard1-static to tests-internal.
5177         Link tests-internal with libpthread also.
5178         Don't add $(modules-names) to test-extras.
5179         * nss/Makefile: Move tst-field to tests-internal.
5180         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
5181         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
5182         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
5183         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
5184         tests-internal.
5185         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
5186         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
5187         test-get_hwcap-static to tests-internal.
5188         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
5189         tests-internal.
5190         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
5191         modules-names-tests.
5193 2017-05-11  Zack Weinberg  <zackw@panix.com>
5195         * libio/libio.h: Condition dummy definition of _IO_lock_t on
5196         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
5197         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
5198         _IO_funlockfile, and _IO_ftrylockfile.  Only define
5199         _IO_cleanup_region_start and _IO_cleanup_region_end if not
5200         already defined.
5201         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
5202         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
5203         appropriately.
5204         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
5205         Define _IO_lock_t_defined after defining _IO_lock_t.
5207 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5209         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
5210         void* for argument type and use VDSO_SYMBOL macro.
5211         (is_sigtramp_address_rt): Likewise.
5212         (__backtrace): Setup expected frame pointer address for signal
5213         handling.
5214         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
5215         void* for argumetn type and use VSDO_SYMBOL macro.
5216         (__backtrace): Setup expected frame pointer address for signal
5217         handling.
5219         * sysdeps/unix/sysv/linux/writev.c: New file.
5221         * sysdeps/unix/sysv/linux/readv.c: New file.
5223         * include/unistd.h (write): Add hidden proto.
5224         * io/Makefile (CFLAGS-write.c): New define.
5225         * nptl/Makefile (CFLAGS-write.c): Likewise.
5226         * sysdeps/unix/sysv/linux/write.c: New file.
5228         [BZ #21428]
5229         * include/unistd.h (read): Add hidden proto.
5230         * io/Makefile (CFLAGS-read.c): New define.
5231         * nptl/Makefile (CFLAGS-read.c): Likewise.
5232         * sysdeps/unix/sysv/linux/read.c: New file.
5234         * io/Makefile (CFLAGS-creat.c): New rule.
5235         (CFLAGS-creat64.c): Likewise.
5236         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
5237         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
5238         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
5239         * sysdeps/unix/sysv/linux/creat.c: New file.
5240         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
5241         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
5242         auto-generated list.
5243         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5245         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
5246         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
5247         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
5248         * sysdeps/unix/sysv/linux/open.c: New file.
5249         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
5250         iff __WORDSIZE != 64 and use __NR_openat when available.
5251         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
5252         from auto-generated list.
5254         * nptl/Makefile (CFLAGS-close.c): New flag.
5255         * sysdeps/unix/sysv/linux/close.c: New file.
5257 2017-05-11  DJ Delorie  <dj@redhat.com>
5259         * MAINTAINERS: New.  Points to wiki.
5261 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5263         * scripts/gen-tunables.awk: Add attribute_relro to
5264         tunable_list.
5266 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
5268         [BZ #21457]
5269         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
5270         (R1): Likewise.
5271         (R2): Likewise.
5272         (R3): Likewise.
5273         (R4): Likewise.
5274         (R5): Likewise.
5275         (R6): Likewise.
5276         (R7): Likewise.
5277         (R8): Likewise.
5278         (R9): Likewise.
5279         (R10): Likewise.
5280         (R11): Likewise.
5281         (R12): Likewise.
5282         (R13): Likewise.
5283         (R14): Likewise.
5284         (R15): Likewise.
5285         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
5286         (REG_FS): Likewise.
5287         (REG_ES): Likewise.
5288         (REG_DS): Likewise.
5289         (REG_EDI): Likewise.
5290         (REG_ESI): Likewise.
5291         (REG_EBP): Likewise.
5292         (REG_ESP): Likewise.
5293         (REG_EBX): Likewise.
5294         (REG_EDX): Likewise.
5295         (REG_ECX): Likewise.
5296         (REG_EAX): Likewise.
5297         (REG_TRAPNO): Likewise.
5298         (REG_ERR): Likewise.
5299         (REG_EIP): Likewise.
5300         (REG_CS): Likewise.
5301         (REG_EFL): Likewise.
5302         (REG_UESP): Likewise.
5303         (REG_SS): Likewise.
5304         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
5305         (R_D1): Likewise.
5306         (R_D2): Likewise.
5307         (R_D3): Likewise.
5308         (R_D4): Likewise.
5309         (R_D5): Likewise.
5310         (R_D6): Likewise.
5311         (R_D7): Likewise.
5312         (R_A0): Likewise.
5313         (R_A1): Likewise.
5314         (R_A2): Likewise.
5315         (R_A3): Likewise.
5316         (R_A4): Likewise.
5317         (R_A5): Likewise.
5318         (R_A6): Likewise.
5319         (R_A7): Likewise.
5320         (R_SP): Likewise.
5321         (R_PC): Likewise.
5322         (R_PS): Likewise.
5323         (fpregset_t): Likewise.
5324         (MCONTEXT_VERSION): Likewise.
5325         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
5326         (CTX_AT): Likewise.
5327         (CTX_V0): Likewise.
5328         (CTX_V1): Likewise.
5329         (CTX_A0): Likewise.
5330         (CTX_A1): Likewise.
5331         (CTX_A2): Likewise.
5332         (CTX_A3): Likewise.
5333         (CTX_T0): Likewise.
5334         (CTX_T1): Likewise.
5335         (CTX_T2): Likewise.
5336         (CTX_T3): Likewise.
5337         (CTX_T4): Likewise.
5338         (CTX_T5): Likewise.
5339         (CTX_T6): Likewise.
5340         (CTX_T7): Likewise.
5341         (CTX_S0): Likewise.
5342         (CTX_S1): Likewise.
5343         (CTX_S2): Likewise.
5344         (CTX_S3): Likewise.
5345         (CTX_S4): Likewise.
5346         (CTX_S5): Likewise.
5347         (CTX_S6): Likewise.
5348         (CTX_S7): Likewise.
5349         (CTX_T8): Likewise.
5350         (CTX_T9): Likewise.
5351         (CTX_K0): Likewise.
5352         (CTX_K1): Likewise.
5353         (CTX_GP): Likewise.
5354         (CTX_SP): Likewise.
5355         (CTX_S8): Likewise.
5356         (CTX_RA): Likewise.
5357         (CTX_MDLO): Likewise.
5358         (CTX_MDHI): Likewise.
5359         (CTX_CAUSE): Likewise.
5360         (CTX_EPC): Likewise.
5361         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
5362         inclusion of <sys/procfs.h> on [__USE_MISC].
5363         (greg_t): Condition on [__USE_MISC].
5364         (gregset_t): Likewise.
5365         (fpregset_t): Likewise.
5366         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
5367         (NGREG): Likewise.
5368         (gregset_t): Likewise.
5369         (REG_R0): Likewise.
5370         (REG_R1): Likewise.
5371         (REG_R2): Likewise.
5372         (REG_R3): Likewise.
5373         (REG_R4): Likewise.
5374         (REG_R5): Likewise.
5375         (REG_R6): Likewise.
5376         (REG_R7): Likewise.
5377         (REG_R8): Likewise.
5378         (REG_R9): Likewise.
5379         (REG_R10): Likewise.
5380         (REG_R11): Likewise.
5381         (REG_R12): Likewise.
5382         (REG_R13): Likewise.
5383         (REG_R14): Likewise.
5384         (REG_R15): Likewise.
5385         (struct _libc_fpstate): Likewise.
5386         (fpregset_t): Likewise.
5387         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
5388         (NFPREG): Likewise.
5389         (gregset_t): Likewise.
5390         (fpregset_t): Likewise.
5391         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
5392         (R_D1): Likewise.
5393         (R_D2): Likewise.
5394         (R_D3): Likewise.
5395         (R_D4): Likewise.
5396         (R_D5): Likewise.
5397         (R_D6): Likewise.
5398         (R_D7): Likewise.
5399         (R_A0): Likewise.
5400         (R_A1): Likewise.
5401         (R_A2): Likewise.
5402         (R_A3): Likewise.
5403         (R_A4): Likewise.
5404         (R_A5): Likewise.
5405         (R_A6): Likewise.
5406         (R_A7): Likewise.
5407         (R_SP): Likewise.
5408         (R_PC): Likewise.
5409         (R_PS): Likewise.
5410         (fpregset_t): Likewise.
5411         (MCONTEXT_VERSION): Likewise.
5412         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
5413         Likewise.
5414         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
5415         (REG_R1): Likewise.
5416         (REG_R2): Likewise.
5417         (REG_R3): Likewise.
5418         (REG_R4): Likewise.
5419         (REG_R5): Likewise.
5420         (REG_R6): Likewise.
5421         (REG_R7): Likewise.
5422         (REG_R8): Likewise.
5423         (REG_R9): Likewise.
5424         (REG_R10): Likewise.
5425         (REG_R11): Likewise.
5426         (REG_R12): Likewise.
5427         (REG_R13): Likewise.
5428         (REG_R14): Likewise.
5429         (REG_R15): Likewise.
5430         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
5431         of <arch/abi.h> on [__USE_MISC].
5432         (greg_t): Condition on [__USE_MISC].
5433         (NGREG): Likewise.
5434         (gregset_t): Likewise.
5436 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5438         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
5439         (__pthread_rwlock_arch_t): Remove __data definition.
5440         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
5441         (__pthread_rwlock_arch_t): Likewise.
5443 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5445         * resolv/inet_pton.c: Reformat in GNU style.  Remove
5446         internal_function on static functions.
5448 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5450         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
5451         from format_ai_flags.
5452         (format_ai_flags): New function.  Incorporate flag formatting code
5453         from format_ai_one.
5454         (format_ai_canonname): New function.
5455         (format_ai_one): Remove flags parameter.
5456         (format_ai_family): Likewise.
5457         (support_format_addrinfo): Call format_ai_flags,
5458         format_ai_canonname.
5459         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
5460         check_ai.
5461         (check_ai): Call check_ai_hints.
5462         (do_test): Add AI_CANONNAME tests.
5464 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5466         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
5467         (gaih_inet): Likewise.
5469 2017-05-10  Andreas Schwab  <schwab@suse.de>
5471         * nptl/tst-fork1.c: Include <support/test-driver.c>.
5472         (main): Rename to do_test and make static.
5474 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
5476         * string/rawmemchr.c: Include <libc-diag.h>.
5477         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
5478         with size (size_t)-1.
5480 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5482         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
5483         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5484         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5486         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
5487         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
5488         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
5489         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
5490         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
5491         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
5492         * sysdeps/unix/sysv/linux/kernel-features.h
5493         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
5494         socket syscalls.
5495         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5496         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5497         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5498         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5499         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5500         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5501         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5502         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5503         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5504         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5505         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5506         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5507         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5508         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5509         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5511 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5513         * posix/Makefile (headers): Add pthreadtypes-arch.h and
5514         thread-shared-types.h.
5515         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
5516         specific thread definition.
5517         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
5518         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
5519         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
5520         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
5521         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
5522         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
5523         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
5524         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
5525         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
5526         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
5527         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
5528         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
5529         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
5530         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
5531         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
5532         thread definition between POSIX and C11.
5533         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
5534         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
5535         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
5536         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
5537         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
5538         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
5539         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
5540         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
5541         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
5542         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
5543         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
5544         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
5545         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
5546         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
5547         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
5548         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
5549         definitions shared across all architectures.
5551 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5553         * sysdeps/unix/sysv/linux/kernel-features.h
5554         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
5555         (__ASSUME_SENDMMSG): Likewise.
5556         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
5557         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
5558         sendmmsg syscall if that can be assumed to be present, socketcall
5559         otherwise, with no fallback for runtime failure.
5561         * sysdeps/unix/sysv/linux/kernel-features.h
5562         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
5563         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
5564         (__ASSUME_RECVMMSG): Likewise.
5565         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
5566         recvmmsg syscall if it can be assumed to be present, socketcall
5567         otherwise, with no fallback for runtime failure.
5569 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5570             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5572         * bits/libc-header-start.h:
5573         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
5574         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
5575         * manual/creature.texi: Likewise.
5577 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5578             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5580         * math/Makefile:
5581         (type-float128-suffix): New variable
5582         (type-float128-routines): Likewise
5583         (type-float128-yes): Likewise
5584         (types): Append float128 if supported
5585         (types-basic): New variable to control the use of templates for
5586         float, double, and long double, but not for float128 or newer types.
5587         (type-basic-foreach): Likewise.
5589         * sysdeps/ieee754/float128/Makeconfig: New file.
5590         * sysdeps/ieee754/float128/Versions: New file.
5592 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5594         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
5595         Remove macro.
5596         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
5597         prlimit64 is always available and does not give an ENOSYS error.
5598         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
5599         unconditional.
5600         [!__NR_prlimit64]: Remove conditional code.
5601         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
5602         prlimit64 is always available and does not give an ENOSYS error.
5603         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
5605 2017-05-09  Zack Weinberg  <zackw@panix.com>
5607         * sunrpc/tst-xdrmem2.c: Include stdint.h.
5609 2017-05-09  Florian Weimer  <fweimer@redhat.com>
5611         [BZ #21474]
5612         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
5613         (__res_maybe_init): Likewise.
5615 2017-05-09  Zack Weinberg  <zackw@panix.com>
5617         * extra-modules.mk: Delete file.
5618         * cppflags-iterator.mk: Rename to ...
5619         * libof-iterator.mk: ...this.  Adjust comments.
5621         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
5622         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
5623         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
5624         Use libof-iterator.mk instead of cppflags-iterator.mk or
5625         extra-modules.mk.
5627         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
5628         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
5630 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5632         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5634 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
5636         * stdio-common/vfprintf.c (EXTSIZ): Define.
5637         (vfprintf): Use EXTSIZ.
5638         (printf_positional): Likewise.
5640 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
5642         * sysdeps/unix/sysv/linux/kernel-features.h
5643         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
5644         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
5645         <kernel-features.h>.
5646         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
5648         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5649         (__ASSUME_GETCPU_SYSCALL): Remove macro.
5651 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5653         Prevent multiple deletion of temporary files.
5654         * support/temp_file.c (struct temp_name_list): Add owner member.
5655         (add_temp_file): Record owner.
5656         (support_delete_temp_files): Delete file only if owner matches.
5657         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
5658         (do_prepare): Use create_temp_file instead of add_temp_file.
5659         Initialize temp_fd1, temp_fd2.
5660         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
5661         framework remove the temporary files.
5662         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
5663         (do_prepare): Use create_temp_file instead of add_temp_file.
5664         Initialize temp_fd1, temp_fd2, temp_fd3.
5665         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
5666         the test framework remove the temporary files.
5667         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
5668         deletion.
5669         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
5670         temporary directory.  It is removed by the test framework.
5671         * dirent/tst-scandir.c (do_test): Likewise.
5673 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5675         Delete temporary files in LIFO order.
5676         * support/temp_file.c (struct temp_name_list): Replace q member
5677         with next.
5678         (add_temp_file): Add new file to front of linked list.
5679         (support_delete_temp_files): Use next member.
5680         (support_print_temp_files): Likewise.
5682 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5684         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5685         sys/ultrasound.h.
5686         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
5688 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
5690         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5691         Remove.
5692         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5693         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5694         (arch_minimum_kernel): Remove.
5695         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5696         * README: Update statement about Linux kernel requirements.
5698 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5700         * manual/llio.texi: Add preadv and pwritev documentation.
5702 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
5704         [BZ #21455]
5705         * bits/stdint-intn.h: New file.
5706         * bits/stdint-uintn.h: Likewise.
5707         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
5708         bits/stdint-uintn.h.
5709         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
5710         <stdint.h>.
5711         * posix/sys/types.h: Include <bits/stdint-intn.h>.
5712         (__int8_t_defined): Do not define here.
5713         (int8_t): Likewise.
5714         (int16_t): Likewise.
5715         (int32_t): Likewise.
5716         (int64_t): Likewise.
5717         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
5718         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
5719         <stdint.h>.
5720         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
5721         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
5722         <bits/stdint-uintn.h>.
5723         (int8_t): Do not define here.
5724         (int16_t): Likewise.
5725         (int32_t): Likewise.
5726         (int64_t): Likewise.
5727         (uint8_t): Likewise.
5728         (uint16_t): Likewise.
5729         (uint32_t): Likewise.
5730         (uint64_t): Likewise.
5731         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
5732         variable.
5733         (test-xfail-XPG42/netdb.h/conform): Likewise.
5734         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
5735         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5736         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5737         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5739 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5741         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
5742         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
5743         the above.
5744         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5745         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5747 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
5749         [BZ #21445]
5750         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
5752         [BZ #21457]
5753         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5754         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
5755         __glibc_reserved1.
5756         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5757         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
5758         (struct _fpxreg): Likewise.
5759         [!__x86_64__] (struct _fpstate): Rename field reserved to
5760         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
5761         [__x86_64__] (struct _fpstate): Rename field padding to
5762         __glibc_reserved1.
5763         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
5764         Rename field reserved2 to __glibc_reserved2.
5765         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
5766         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
5767         __glibc_reserved1.
5768         [__x86_64__] (struct _libc_fpstate): Rename field padding to
5769         __glibc_reserved1.
5771 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5773         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
5774         variable name.
5776 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
5778         [BZ #21391]
5779         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
5780         Only call init_cpu_features.
5781         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
5782         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5783         * sysdeps/i386/dl-procinfo.h: Removed.
5784         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
5785         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
5786         <sysdeps/x86/dl-procinfo.h>.
5787         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
5788         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
5789         Include <sysdeps/x86/dl-procinfo.h> instead of
5790          <sysdeps/generic/dl-procinfo.h>.
5791         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
5792         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
5793         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
5794         (bit_cpu_MOVBE): Likewise.
5795         (bit_cpu_BMI1): Likewise.
5796         (bit_cpu_BMI2): Likewise.
5797         (index_cpu_BMI1): Likewise.
5798         (index_cpu_BMI2): Likewise.
5799         (index_cpu_LZCNT): Likewise.
5800         (index_cpu_MOVBE): Likewise.
5801         (index_cpu_POPCNT): Likewise.
5802         (reg_BMI1): Likewise.
5803         (reg_BMI2): Likewise.
5804         (reg_LZCNT): Likewise.
5805         (reg_MOVBE): Likewise.
5806         (reg_POPCNT): Likewise.
5807         * sysdeps/x86/dl-hwcap.h: New file.
5808         * sysdeps/x86/dl-procinfo.h: Likewise.
5809         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
5810         (_dl_x86_platforms): Likewise.
5812 2017-05-03  DJ Delorie  <dj@redhat.com>
5814         [BZ #21411]
5815         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
5817 2017-05-03  Phil Blundell  <pb@pbcl.net>
5819         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
5820         comments.
5822 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
5824         [BZ #20116]
5825         * nptl/pthread_create.c: Expand comments to describe
5826         semaphore-like and mutex-like uses of PD->lock.
5828 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5830         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
5831         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
5832         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
5833         auto-generation list.
5834         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5835         epoll_wait.
5836         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
5837         Remove epoll_wait.
5839         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5840         osf_select.
5841         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
5842         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
5843         osf_select from auto-generation list.
5844         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5845         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5846         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
5847         * sysdeps/unix/sysv/linux/select.c: New file.
5849         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
5850         * sysdeps/unix/sysv/linux/poll.c: New file.
5851         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
5852         auto-generation list.
5854 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
5856         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
5857         New macro.
5859 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
5861         [BZ #21179]
5862         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
5863         R_SPARC_REGISTER relocations.
5865 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5867         * include/unistd.h (__pread): Add libc_hidden_proto.
5868         (__pread64): Likewise.
5869         (__pwrite): Likewise.
5870         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
5871         (__pread64): Remove.
5872         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
5873         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
5874         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
5876 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5878         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5880 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5882         * nptl/tst-cancel4-common.c: Use libsupport.
5883         * nptl/tst-cancel4-common.h: Likewise.
5884         * nptl/tst-cancel4.c (tf_read): Likewise.
5885         (tf_readv): Likewise.
5886         (tf_write): Likewise.
5887         (tf_writev): Likewise.
5888         (tf_sleep): Likewise.
5889         (tf_usleep): Likewise.
5890         (tf_nanosleep): Likewise.
5891         (tf_select): Likewise.
5892         (tf_pselect): Likewise.
5893         (tf_poll): Likewise.
5894         (tf_ppoll): Likewise.
5895         (tf_wait): Likewise.
5896         (tf_waitpid): Likewise.
5897         (tf_waitid): Likewise.
5898         (tf_sigpause): Likewise.
5899         (tf_sigsuspend): Likewise.
5900         (tf_sigwait): Likewise.
5901         (tf_sigwaitinfo): Likewise.
5902         (tf_sigtimedwait): Likewise.
5903         (tf_pause): Likewise.
5904         (tf_accept): Likewise.
5905         (tf_send): Likewise.
5906         (tf_recv): Likewise.
5907         (tf_recvfrom): Likewise.
5908         (tf_recvmsg): Likewise.
5909         (tf_open): Likewise.
5910         (tf_close): Likewise.
5911         (tf_pread): Likewise.
5912         (tf_pwrite): Likewise.
5913         (tf_preadv): Likewise.
5914         (tf_pwritev): Likewise.
5915         (tf_fsync): Likewise.
5916         (tf_fdatasync): Likewise.
5917         (tf_msync): Likewise.
5918         (tf_sendto): Likewise.
5919         (tf_sendmsg): Likewise.
5920         (tf_creat): Likewise.
5921         (tf_connect): Likewise.
5922         (tf_tcdrain): Likewise.
5923         (tf_msgrcv): Likewise.
5924         (tf_msgsnd): Likewise.
5925         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
5926         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
5928         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
5929         expected arguments.
5930         (do_test): Adapt to use libsupport.
5932 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
5934         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
5936         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
5937         (PF_MAX): Set to 44.
5938         (AF_SMC): New macro.
5940         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5941         kernel version to 4.11.
5943 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5945         [BZ #21280]
5946         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
5947         signal of subnormals and adjust the exponent of power of 2 down
5948         when low part has opposite sign.
5950 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5952         * sysdeps/powerpc/powerpc64le/Implies: New file.
5953         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
5954         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
5955         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
5956         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
5957         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
5958         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
5959         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
5960         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
5961         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
5962         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
5963         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
5964         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
5965         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
5966         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
5967         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
5968         * sysdeps/powerpc/preconfigure: New file.
5969         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
5970         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
5972 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
5974         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
5975         inclusion.
5976         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
5977         Remove.
5979 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
5981         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
5982         (XPG3): Rename standard to XPG4.
5983         * conform/Makefile: Likewise.
5984         * conform/list-header-symbols.pl: Likewise.
5985         * conform/data/aio.h-data: Likewise.
5986         * conform/data/arpa/inet.h-data: Likewise.
5987         * conform/data/complex.h-data: Likewise.
5988         * conform/data/ctype.h-data: Likewise.
5989         * conform/data/dlfcn.h-data: Likewise.
5990         * conform/data/fcntl.h-data: Likewise.
5991         * conform/data/fenv.h-data: Likewise.
5992         * conform/data/float.h-data: Likewise.
5993         * conform/data/fmtmsg.h-data: Likewise.
5994         * conform/data/ftw.h-data: Likewise.
5995         * conform/data/grp.h-data: Likewise.
5996         * conform/data/inttypes.h-data: Likewise.
5997         * conform/data/iso646.h-data: Likewise.
5998         * conform/data/langinfo.h-data: Likewise.
5999         * conform/data/libgen.h-data: Likewise.
6000         * conform/data/limits.h-data: Likewise.
6001         * conform/data/locale.h-data: Likewise.
6002         * conform/data/math.h-data: Likewise.
6003         * conform/data/mqueue.h-data: Likewise.
6004         * conform/data/ndbm.h-data: Likewise.
6005         * conform/data/net/if.h-data: Likewise.
6006         * conform/data/netdb.h-data: Likewise.
6007         * conform/data/netinet/in.h-data: Likewise.
6008         * conform/data/poll.h-data: Likewise.
6009         * conform/data/pthread.h-data: Likewise.
6010         * conform/data/pwd.h-data: Likewise.
6011         * conform/data/sched.h-data: Likewise.
6012         * conform/data/search.h-data: Likewise.
6013         * conform/data/semaphore.h-data: Likewise.
6014         * conform/data/signal.h-data: Likewise.
6015         * conform/data/spawn.h-data: Likewise.
6016         * conform/data/stdbool.h-data: Likewise.
6017         * conform/data/stdint.h-data: Likewise.
6018         * conform/data/stdio.h-data: Likewise.
6019         * conform/data/stdlib.h-data: Likewise.
6020         * conform/data/string.h-data: Likewise.
6021         * conform/data/strings.h-data: Likewise.
6022         * conform/data/stropts.h-data: Likewise.
6023         * conform/data/sys/mman.h-data: Likewise.
6024         * conform/data/sys/resource.h-data: Likewise.
6025         * conform/data/sys/select.h-data: Likewise.
6026         * conform/data/sys/socket.h-data: Likewise.
6027         * conform/data/sys/stat.h-data: Likewise.
6028         * conform/data/sys/statvfs.h-data: Likewise.
6029         * conform/data/sys/time.h-data: Likewise.
6030         * conform/data/sys/timeb.h-data: Likewise.
6031         * conform/data/sys/types.h-data: Likewise.
6032         * conform/data/sys/uio.h-data: Likewise.
6033         * conform/data/sys/un.h-data: Likewise.
6034         * conform/data/sys/wait.h-data: Likewise.
6035         * conform/data/syslog.h-data: Likewise.
6036         * conform/data/termios.h-data: Likewise.
6037         * conform/data/tgmath.h-data: Likewise.
6038         * conform/data/time.h-data: Likewise.
6039         * conform/data/ucontext.h-data: Likewise.
6040         * conform/data/unistd.h-data: Likewise.
6041         * conform/data/utmpx.h-data: Likewise.
6042         * conform/data/varargs.h-data: Likewise.
6043         * conform/data/wchar.h-data: Likewise.
6044         * conform/data/wctype.h-data: Likewise.
6046 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
6048         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
6049         version to 7 branch.
6051 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
6053         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
6054         earlyclobber to output operand of sqrt insn.
6055         (__ieee754_sqrtf): Ditto.
6057 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
6059         [BZ #21426]
6060         * misc/bits/types/struct_iovec.h: New file.
6061         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
6062         * include/bits/types/struct_iovec.h: New file.
6063         * bits/uio.h (struct iovec): Replace by inclusion of
6064         <bits/types/struct_iovec.h>.
6065         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
6066         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
6067         of <sys/uio.h>.
6068         * nptl/tst-cancel4.c: Include <sys/uio.h>
6069         * posix/test-errno.c: Likewise.
6070         * support/resolv_test.c: Likewise.
6071         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
6072         Remove.
6073         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6074         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6075         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6077         * conform/data/sys/socket.h-data (*_t): Allow.
6079 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6081         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
6082         assignment.
6084 2017-04-24  Daurnimator  <quae@daurnimator.com>
6085             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6087         [BZ #21340]
6088         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
6089         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
6090         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
6091         valid flags.
6092         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
6093         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
6094         POSIX_SPAWN_SETSID.
6095         * sysdeps/posix/spawni.c (__spawni): Likewise.
6096         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6097         * NEWS: Add note about POSIX_SPAWN_SETSID support.
6099 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6101         * sysdeps/generic/math_private.h: Move the declaration of many
6102         functions to sysdeps/generic/math_private_calls.h.
6103         * sysdeps/generic/math_private_calls.h: New file with the
6104         declarations of the functions removed from math_private.h
6105         macroized by floating-point type.
6107 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6109         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
6110         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
6111         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6112         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6113         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6114         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6116 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6118         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
6119         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
6120         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
6121         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
6122         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
6123         New Define.
6125 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6127         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
6128         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
6129         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6130         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6131         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6132         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6134 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6136         * sysdeps/s390/multiarch/ifunc-resolve.h
6137         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
6138         * sysdeps/s390/multiarch/8bit-generic.c
6139         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
6140         define ifunc resolvers.
6142 2017-04-21  Florian Weimer  <fweimer@redhat.com>
6144         [BZ #20424]
6145         * manual/memory.texi (Replacing malloc): New section.
6146         (Allocating Storage For Program Data): Reference it.
6147         (The GNU Allocator): Likewise.
6149 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
6151         * stdlib/Versions (__strtod_internal): List explicitly, not as
6152         wildcard.
6153         (__strtof_internal): Likewise.
6154         (__strtold_internal): Likewise.
6155         (__strtol_internal): Likewise.
6156         (__strtoll_internal): Likewise.
6157         (__strtoul_internal): Likewise.
6158         (__strtoull_internal): Likewise.
6159         (__strtoq_internal): Likewise.
6160         (__strtouq_internal): Likewise.
6161         * wcsmbs/Versions (__wcstod_internal): Likewise.
6162         (__wcstof_internal): Likewise.
6163         (__wcstold_internal): Likewise.
6164         (__wcstol_internal): Likewise.
6165         (__wcstoll_internal): Likewise.
6166         (__wcstoul_internal): Likewise.
6167         (__wcstoull_internal): Likewise.
6169 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6171         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
6172         struct timespec definition.
6174 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6176         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
6178 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6180         * inet/rcmd.c (rresvport_af): Fix typo in comment.
6181         * inet/rexec.c (rexec_af): Likewise.
6183 2017-04-19  Zack Weinberg  <zackw@panix.com>
6185         * posix/tst-mmap-offset.c: Include stdint.h.
6186         * resolv/tst-ns_name_compress.c: Include string.h.
6187         * resolv/tst-resolv-edns.c: Include resolv.h.
6189 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6191         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
6192         with __glibc_likely.
6193         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
6194         Replace __builtin_expect with __glibc_unlikely.
6195         * resolv/res_init.c (__res_vinit): Likewise.
6196         * resolv/res_query.c (__libc_res_nquery): Likewise.
6197         * resolv/res_send.c (__libc_res_nsend): Likewise.
6199 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6201         [BZ #15722]
6202         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
6203         with SOCK_CLOEXEC.
6204         * resolv/res_send.c (send_vc, reopen): Likewise.
6205         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
6206         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
6207         Likewise.
6208         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
6209         * inet/rexec.c (rexec_af): Add comment.
6210         * inet/rcmd.c (rresvport_af): Likewise.
6212 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6214         * nscd/connections.c (have_accept4): Removed definition.
6215         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
6216         accept4 works.
6217         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
6218         ia64 because that was the first version with accept4 support.
6219         * support/Makefile (libsupport-routines): Add xaccept4.
6220         * support/xsocket.h (xaccept4): Declare.
6221         * support/xaccept4.c: New file.
6222         * socket/tst-accept4.c: New file.
6223         * socket/Makefile (tests): Add tst-accept4.
6224         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
6225         definition.
6226         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
6227         comment.
6228         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
6229         implementation is available.
6230         (accept4): Use the system call if available, otherwise use the
6231         socket call.
6232         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
6233         Set to 3.2.18.
6234         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6235         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
6236         accept4 is unconditionally available in later 3.2 stable kernels.
6237         (__ASSUME_ACCEPT4_SYSCALL): Define.
6238         * sysdeps/unix/sysv/linux/kernel-features.h
6239         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
6240         definitions.
6241         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6242         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
6244 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
6246         * conform/Makefile (tests-special): Do not make addition of
6247         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
6248         (generated): Do not make addition of $(conformtest-header-base)
6249         conditional on [$(cross-compiling) = no].
6251         [BZ #21267]
6252         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
6253         if defined by <asm/socket.h> and not previously defined.
6254         (IOCSIZE_SHIFT): Likewise.
6255         (IOC_IN): Likewise.
6256         (IOC_INOUT): Likewise.
6257         (IOC_OUT): Likewise.
6259 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
6261         [BZ #21396]
6262         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6263         Prefer_No_AVX512 if AVX512ER isn't available.
6264         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
6265         (index_arch_Prefer_No_AVX512): Likewise.
6266         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
6267         AVX512 version if Prefer_No_AVX512 is set.
6268         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
6269         Likewise.
6270         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
6271         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
6272         Likewise.
6273         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6274         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
6275         Likewise.
6276         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
6277         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
6278         Likewise.
6280 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
6282         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6283         Prefer_No_VZEROUPPER if AVX512ER is available.
6284         * sysdeps/x86/cpu-features.h
6285         (bit_cpu_AVX512PF): New.
6286         (bit_cpu_AVX512ER): Likewise.
6287         (bit_cpu_AVX512CD): Likewise.
6288         (bit_cpu_AVX512BW): Likewise.
6289         (bit_cpu_AVX512VL): Likewise.
6290         (index_cpu_AVX512PF): Likewise.
6291         (index_cpu_AVX512ER): Likewise.
6292         (index_cpu_AVX512CD): Likewise.
6293         (index_cpu_AVX512BW): Likewise.
6294         (index_cpu_AVX512VL): Likewise.
6295         (reg_AVX512PF): Likewise.
6296         (reg_AVX512ER): Likewise.
6297         (reg_AVX512CD): Likewise.
6298         (reg_AVX512BW): Likewise.
6299         (reg_AVX512VL): Likewise.
6301 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6303         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
6304         O_CLOEXEC is defined.
6305         * include/fcntl.h (__have_o_cloexec): Remove declaration.
6306         * io/Makefile (aux): Remove.
6307         * io/have_o_cloexec.c: Remove file.
6308         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
6309         defined and works.
6310         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
6311         defined.
6312         * login/utmp_file.c (O_flags): Remove definition.
6313         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
6314         O_CLOEXEC works.
6315         (pututline_file): Likewise.
6316         * malloc/mtrace.c: Assume that O_CLOEXEC works.
6317         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
6318         definition.
6319         (internal_setgrent): Assume that O_CLOEXEC works.
6320         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
6321         Remove definition.
6322         (internal_setgrent): Assume that O_CLOEXEC works.
6323         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
6324         definition.
6325         (internal_setpwent): Assume that O_CLOEXEC works.
6326         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
6327         definition.
6328         (internal_setspent): Assume that O_CLOEXEC works.
6329         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
6330         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
6331         O_CLOEXEC is defined and works.
6332         * nss/Makefile (libnss_files-routines): Remove
6333         files-have_o_cloexec.
6334         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
6335         defined.
6336         * nss/nss_files/files-XXX.c (internal_setent): Assume that
6337         O_CLOEXEC is defined and works.
6338         * nss/nss_files/files-alias.c (internal_setent): Likewise.
6339         * nss/nss_files/files-have_o_cloexec.c: Remove.
6340         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
6341         defined.
6342         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
6343         and works.
6344         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
6345         definition.
6346         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
6347         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
6348         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
6349         (__opendirat, __opendir): Adjust opendir_oflags call.
6350         (check_have_o_cloexec): Remove.
6351         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
6352         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
6353         defined.
6354         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
6355         Remove definition.
6357 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6359         * include/unistd.h (__have_dup3): Remove declaration.
6360         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
6361         dup3 is available.
6362         * libio/freopen64.c (freopen64): Likewise.
6363         * socket/Makefile (aux): Remove have_sock_cloexec.
6364         * socket/have_sock_cloexec.c: Remove file.
6365         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
6366         definition.
6367         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
6368         Likewise.
6369         * sysdeps/nacl/kernel-features.h: Update comment.
6371 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6373         * include/unistd.h (__have_pipe2): Remove declaration.
6374         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
6375         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
6376         available.
6377         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
6378         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
6379         Remove definition.
6381 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6383         * malloc/malloc.c (cfree): Turn into compat symbol.
6384         (__cfree): Remove alias.
6385         * stdlib/stdlib.h (cfree): Remove declaration.
6386         * malloc/malloc.h (cfree): Likewise.
6387         * manual/memory.texi (Freeing after Malloc): Remove cfree.
6388         * malloc/Versions (GLIBC_2.26): Add.
6390 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6392         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6393         (sysdep_routines): Add strrchr-power8.
6394         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6395         (strrchr): Add __strrchr_power8 to list of strrchr functions.
6396         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
6397         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
6398         (strrchr): Add __strrchr_power8 to ifunc list.
6399         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
6401 2017-04-17  Rabin Vincent  <rabinv@axis.com>
6403         [BZ #21357]
6404         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
6405         Call free() outside of mutex.
6407 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6409         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
6410         is defined.
6411         * elf/rtld.c (process_envvars): Likewise.
6412         * sysdeps/posix/shm_open.c (shm_open): Likewise.
6413         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
6414         O_NOFOLLOW directly.
6415         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
6417 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6419         [BZ #21369]
6420         Remove EDNS fallback.
6421         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
6422         handling.
6423         * resolv/res_send.c (send_dg): Likewise.
6424         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
6425         "tcp." prefixes.
6426         (do_test): Send a "formerr."-prefixed query in an attempt to
6427         trigger EDNS fallback.
6429 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6431         [BZ #21361]
6432         Limit EDNS buffer size to 1200 bytes.
6433         * include/resolv.h (__res_nopt): Remove declaration.
6434         * resolv/Makefile (tests): tst-resolv-edns.
6435         (tst-resolv-edns): Link with -lresolv, -lpthread.
6436         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
6437         interval [512, 1200].
6438         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
6439         we can resize the buffer.
6440         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
6441         (__res_nopt): Declare.
6442         * resolv/tst-resolv-edns.c: New file.
6443         * resolv/resolv_test.h (struct resolv_edns_info): Define.
6444         (struct resolv_response_context): Add edns member.
6445         * resolv/resolv_test.c (struct query_info): Add edns member.
6446         (parse_query): Extract EDNS information from the query.
6447         (server_thread_udp_process_one): Propagate EDNS data.
6448         (server_thread_tcp_client): Likewise.
6450 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6452         [BZ #21359]
6453         * resolv/ns_name.c (ns_name_pack): Do not require an additional
6454         byte in the destination buffer.  Avoid out-of-bounds pointer
6455         arithmetic.
6456         * resolv/Makefile (tests): Add tst-ns_name_compress.
6457         (tst-ns_name_compress): Link with -lresolv.
6458         * resolv/tst-ns_name_compress.c: New file.
6459         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
6460         (response): Recognize LONG_NAME.
6461         (do_test): Add LONG_NAME tests.
6462         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
6463         for ns_name_unpack.  Add tests for ns_name_pton and
6464         ns_name_compress.
6466 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6468         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
6469         (res_nisourserver): Remove definition.
6470         (p_section, res_npquery, res_nisourserver): Remove declaration.
6471         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
6472         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
6473         ... here.
6474         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
6475         <resolv.h>.
6476         * resolv/res_query.c: Likewise.
6477         * resolv/res_debug.c (p_section): Define as static.
6479 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6481         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
6482         strncat-power8.
6483         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
6484         __strncat_power8 to ifunc list.
6485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6486         (strncat): Add __strncat_power8 to list of strncat functions.
6487         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
6489 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6491         [BZ #21270]
6492         * posix/tst-mmap-offset.c (do_prepare): New function.
6493         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
6494         (do_test_bz21270): New function.
6495         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
6496         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
6497         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
6498         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
6499         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
6500         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
6501         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
6502         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
6503         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
6504         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
6505         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
6506         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6507         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6508         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6509         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
6510         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
6511         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6512         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
6513         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
6514         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
6515         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
6516         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
6517         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
6518         from auto-generation list.
6519         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
6520         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6521         * sysdeps/unix/sysv/linux/mmap.c: New file.
6522         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
6523         offsets and support for mmap2 syscall.
6525         * posix/globtest.sh: Add cleanup routine on trap 0.
6527 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6529         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
6530         implementation-specific function name and remove unneeded
6531         macros definition.
6532         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
6533         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
6534         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
6535         name if not defined and pass as parameter to macros accordingly.
6536         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6537         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
6539         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
6540         implementation-specific function name and remove unneeded
6541         macros definition.
6542         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
6543         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
6544         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
6545         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
6546         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6547         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
6548         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
6549         name if not defined and pass as parameter to macros accordingly.
6550         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6551         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6552         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6553         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6554         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6555         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
6557         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
6558         implementation-specific function name and remove unneeded macros
6559         definition.
6560         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
6561         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
6562         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
6563         function name if not defined and pass as parameter to macros
6564         accordingly.
6565         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6566         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
6568         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
6569         implementation-specific function name and remove unneeded macros
6570         definition.
6571         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6572         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6573         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
6574         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6575         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
6576         not defined and pass as parameter to macros accordingly.
6577         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6578         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6579         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6580         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
6582         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
6583         strcasestr implementation name and remove unneeded macros definition.
6584         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
6585         strstr implementation name and remove unneeded macros definition.
6586         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
6587         name if not defined and pass as parameter to macros accordingly.
6588         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
6590         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
6591         implementation-specific function name and remove unneeded macros
6592         definition.
6593         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
6594         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
6595         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
6596         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
6597         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
6598         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
6599         function name if not defined and pass as parameter to macros
6600         accordingly.
6601         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
6602         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
6603         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
6604         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
6606         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
6607         the strlen implementation name and remove unneeded macros definition.
6608         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
6609         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6610         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
6611         the strnlen implementation name and remove unneeded macros definition.
6612         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
6613         name if not defined and pass as parameter to macros accordingly.
6614         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
6615         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
6616         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6618         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
6619         the implementation-specific function name and remove unneeded
6620         macros definition.
6621         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
6622         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
6623         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6624         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6625         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
6626         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
6627         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6628         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6629         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6630         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
6631         name if not defined and pass as parameter to macros accordingly.
6632         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
6633         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6634         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
6635         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
6636         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6637         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6638         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
6639         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6641         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
6642         implementation-specific function name and remove unneeded macros
6643         definition.
6644         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6645         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6646         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6647         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6648         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6649         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
6650         function name if not defined.
6651         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
6652         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
6654 2017-04-11  Paul Clarke  <pc@us.ibm.com>
6656         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
6657         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
6658         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
6659         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
6661 2017-04-11  Florian Weimer  <fweimer@redhat.com>
6662             Zack Weinberg  <zackw@panix.com>
6664         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
6665         readdir64 as thread-safe.  Update warning about readdir_r.
6667 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6669         * sysdeps/unix/sysv/linux/x86/Implies: New file.
6670         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
6671         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
6672         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
6673         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
6674         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
6675         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6677 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
6679         * sysdeps/i386/dl-procinfo.c: Include
6680         <sysdeps/x86/dl-procinfo.c>.
6681         * sysdeps/x86_64/dl-procinfo.c: Likewise.
6682         * sysdeps/x86/dl-procinfo.c: New file.
6684 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6686         * sysdeps/generic/math_private.h: Remove declarations of
6687         many functions that are already declared in math.h.
6688         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
6689         declaration for __frexpl.
6690         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
6691         the declarations for __scalbnl and fabsl.
6693 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
6695         [BZ #20831]
6696         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
6697         of __mprotect to change protection on the excess portion
6698         to disallow all access.
6700 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
6702         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
6703         HAS_CPU_FEATURE to check for SSE.
6704         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6705         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
6706         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
6707         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
6708         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
6709         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
6710         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
6711         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
6712         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6713         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
6714         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6715         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6716         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
6717         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
6718         (index_cpu_SSE): Likewise.
6719         (reg_SSE): Likewise.
6721 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
6723         * posix/getopt1.c: Include <config.h>, not "config.h".
6725 2017-04-07  Zack Weinberg  <zackw@panix.com>
6727         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
6728         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
6729         Mention in top-of-file boilerplate that these files are shared
6730         with gnulib.
6731         * posix/getopt.h, posix/bits/getopt_posix.h:
6732         Mention in top-of-file boilerplate that these files are NOT shared
6733         with gnulib, unlike the rest of the getopt implementation.
6735         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
6736         New files, intended to be shared with gnulib.
6737         * posix/bits/getopt_posix.h:
6738         New file, not intended to be shared with gnulib.
6739         * posix/getopt.h: Now just includes features.h,
6740         bits/getopt_core.h, and bits/getopt_ext.h.  Will
6741         no longer be shared with gnulib.
6742         * include/bits/getopt_core.h, include/bits/getopt_ext.h
6743         * include/bits/getopt_posix.h: New wrappers.
6744         * posix/Makefile: Install new headers.
6745         * posix/unistd.h, libio/stdio.h:
6746         Include bits/getopt_posix.h instead of getopt.h.
6748         * include/libc-symbols.h: For gnulib compatibility, define
6749         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
6750         _GL_ATTRIBUTE_CONST.
6751         * posix/getopt.c (_getopt_initialize): Mark argc and argv
6752         parameters with _GL_UNUSED.
6754         * posix/getopt.c: When used standalone, define __libc_use_alloca
6755         as always false and alloca to abort if called.
6756         (process_long_option): Rewrite handling of ambiguous long options
6757         to use a single boolean vector, not a linked list; use
6758         __libc_use_alloca to decide whether to allocate this using alloca.
6759         * posix/tst-getopt_long1.c: Adjust text of expected error message.
6761         * posix/getopt.c (process_long_option): New function split out
6762         from _getopt_internal_r.
6763         (_getopt_internal_r): Replace both copies of the long-option
6764         processing code with calls to process_long_option.
6765         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
6766         (do_test): Differentiate argv[0] in the two subtests.
6768         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
6769         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
6770         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
6772         * posix/getopt.h: Add backup definition of __nonnull for
6773         consistency with gnulib.  Define __getopt_argv_const to const
6774         if not already defined.
6775         (getopt): Update doc comment from gnulib.  Prototype
6776         unconditionally.  Add __nonnull annotation.
6777         (__posix_getopt): Add __nonnull annotation.
6778         (getopt_long, getopt_long_only): Use __getopt_argv_const in
6779         prototypes for consistency with gnulib.  Add __nonnull
6780         annotations.
6781         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
6782         (getopt_internal): Change 'argv' argument to type 'char **'.
6783         Remove now-unnecessary casts.
6784         (getopt, __posix_getopt): Eliminate repetition with a macro.
6785         Cast 'argv' to 'char **' when calling _getopt_internal.
6786         * posix/getopt1.c (getopt_long, getopt_long_only):
6787         Use __getopt_argv_const for consistency with gnulib.
6788         Cast 'argv' to 'char **' when calling _getopt_internal.
6789         (_getopt_long_r, _getopt_long_only_r):
6790         Change 'argv' argument to type 'char **'.
6791         (main): Constify 'long_options'.
6792         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
6793         (_getopt_long_r, _getopt_long_only_r):
6794         Change 'argv' argument to type 'char **'.
6796         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
6797         (locked_vfxprintf): New helper function. Handle arbitrary
6798         multibyte strings, not just ASCII.
6799         * include/stdio.h: Declare __fxprintf_nocancel.
6800         * posix/getopt.c: When _LIBC is defined, define fprintf to
6801         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
6802         to _IO_funlockfile.  When neither _LIBC nor
6803         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
6804         funlockfile as no-ops.
6805         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
6806         the standalone error-printing code can now be used for libc as
6807         well.  Add an flockfile/funlockfile pair around one case where
6808         the error message is printed in several chunks.  Don't use fputc.
6809         * posix/tst-getopt-cancel.c: New test.
6810         * posix/Makefile: Run it.
6812         * posix/getopt.c (_getopt_internal_r): Don't increment
6813         d->optind a second time when reporting ambiguous -W options.
6815         * posix/getopt_int.h: Include getopt.h.
6816         Use impl-namespace names for all arguments to _getopt_internal and
6817         _getopt_internal_r.
6818         Declare __ordering enum outside the struct.
6819         Harmonize comments with gnulib.
6820         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
6821         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
6822         #ifdef TEST block and make unconditional.  Do not define NULL.
6823         * posix/getopt.c: Partial merge from gnulib, covering the
6824         initial includes and global declarations, commentary, and
6825         a couple of semantically-neutral code changes.
6827         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
6828         Use '...' instead of `...' for quotation marks inside
6829         comments and strings.
6831         * config.h.in (USE_NONOPTION_FLAGS): Remove.
6832         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
6833         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
6834         * posix/getopt_int.h: Likewise.
6835         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
6836         __libc_argc and __libc_argv externs, which were only used by
6837         #ifdef USE_NONOPTION_FLAGS blocks.
6838         * posix/getopt_init.c: Remove file.
6839         * posix/Makefile (routines): Remove getopt_init.
6840         * include/getopt.h: Don't declare __getopt_initialize_environment.
6841         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
6842         a comment.
6844 2017-04-07  Florian Weimer  <fweimer@redhat.com>
6846         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
6848 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6850         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
6851         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
6852         to __wrap_.udiv.
6853         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
6854         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
6856         * sysdeps/i386/symbol-hacks.h: New file.
6857         * sysdeps/m68k/symbol-hacks.h: New file.
6858         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
6859         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
6860         * sysdeps/unix/sysv/linux/i386/Makefile
6861         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
6862         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6863         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6864         * sysdeps/unix/sysv/linux/m68k/Makefile
6865         [$(subdir) = csu] (sysdep_routines): Likewise.
6866         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6867         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6869         [$(subdir) = csu] (sysdep_routines): Likewise.
6870         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6871         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6872         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6873         [$(subdir) = csu] (sysdep_routines): Likewise.
6874         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6875         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6876         * sysdeps/wordsize-32/Makefile: Remove file.
6877         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
6878         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
6880 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
6882         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
6883         (TEST_FUNCTION_ARGV): New.
6885 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6887         * elf/next.c: Import support/test-driver.c instead of
6888         test-skeleton.c and delete TEST_FUNCTION macro definition.
6889         * elf/nodelete.c: Likewise.
6890         * elf/order2.c: Likewise.
6891         * elf/tst-_dl_addr_inside_object.c: Likewise.
6892         * elf/tst-addr1.c: Likewise.
6893         * elf/tst-align.c: Likewise.
6894         * elf/tst-align2.c: Likewise.
6895         * elf/tst-audit11.c: Likewise.
6896         * elf/tst-audit12.c: Likewise.
6897         * elf/tst-audit2.c: Likewise.
6898         * elf/tst-audit9.c: Likewise.
6899         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
6900         * elf/tst-deep1.c: Likewise.
6901         * elf/tst-dl-iter-static.c: Likewise.
6902         * elf/tst-dlmodcount.c: Likewise.
6903         * elf/tst-dlmopen1.c: Likewise.
6904         * elf/tst-dlmopen2.c: Likewise.
6905         * elf/tst-dlmopen3.c: Likewise.
6906         * elf/tst-dlopen-aout.c: Likewise.
6907         * elf/tst-dlopenrpath.c: Likewise.
6908         * elf/tst-dlsym-error.c: Likewise.
6909         * elf/tst-execstack-needed.c: Likewise.
6910         * elf/tst-execstack-prog.c: Likewise.
6911         * elf/tst-execstack.c: Likewise.
6912         * elf/tst-global1.c: Likewise.
6913         * elf/tst-gnu2-tls1.c: Likewise.
6914         * elf/tst-latepthread.c: Likewise.
6915         * elf/tst-leaks1.c: Likewise.
6916         * elf/tst-linkall-static.c: Likewise.
6917         (do_test): New function.
6918         * elf/tst-nodelete-opened.c: Likewise.
6919         * elf/tst-nodelete.cc: Likewise.
6920         * elf/tst-nodelete2.c: Likewise.
6921         * elf/tst-noload.c: Likewise.
6922         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
6923         * elf/tst-order-main.c: Likewise.
6924         * elf/tst-pathopt.c: Likewise.
6925         * elf/tst-pie2.c: Likewise.
6926         * elf/tst-piemod1.c: Likewise.
6927         * elf/tst-prelink.c: Likewise.
6928         * elf/tst-protected1a.c: Likewise.
6929         * elf/tst-protected1b.c: Likewise.
6930         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
6931         and define _GNU_SOURCE macro.
6932         (cmdline_process_function): New function.
6933         * elf/tst-relsort1.c: Likewise.
6934         * elf/tst-stackguard1.c: Likewise, import getopt.h,
6935         and define _GNU_SOURCE macro.
6936         (cmdline_process_function): New function.
6937         * elf/tst-thrlock.c: Likewise.
6938         * elf/tst-tls-dlinfo.c: Likewise.
6939         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
6940         * elf/tst-tls1.c: Likewise.
6941         * elf/tst-tls10.c: Likewise.
6942         * elf/tst-tls11.c: Likewise.
6943         * elf/tst-tls12.c: Likewise.
6944         * elf/tst-tls13.c: Likewise.
6945         * elf/tst-tls14.c: Likewise.
6946         * elf/tst-tls15.c: Likewise.
6947         * elf/tst-tls16.c: Likewise.
6948         * elf/tst-tls17.c: Likewise.
6949         * elf/tst-tls18.c: Likewise.
6950         * elf/tst-tls19.c: Likewise.
6951         * elf/tst-tls2.c: Likewise.
6952         * elf/tst-tls3.c: Likewise.
6953         * elf/tst-tls4.c: Likewise.
6954         * elf/tst-tls5.c: Likewise.
6955         * elf/tst-tls6.c: Likewise.
6956         * elf/tst-tls7.c: Likewise.
6957         * elf/tst-tls8.c: Likewise.
6958         * elf/tst-tls9.c: Likewise.
6959         * elf/tst-tlsalign-extern.c: Likewise.
6960         * elf/tst-tlsalign.c: Likewise.
6961         * elf/tst-unique1.c: Likewise.
6962         * elf/tst-unique2.c: Likewise.
6963         * elf/vismain.c: Likewise.
6965 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6967         * string/test-strnlen.c (do_page_tests): New function
6968         to check length of strings ending at the page boundary.
6969         (test_main): Added call to the do_page_tests function.
6971 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6972             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6974         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6975         (sysdep_routines): Add strnlen-power8.
6976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6977         (strnlen): Add __strnlen_power8 to list of strnlen functions.
6978         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
6979         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
6980         (__strnlen): Add __strnlen_power8 to ifunc list.
6981         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
6983 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6985         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
6986         the TEST_FUNCTION macro definition.
6987         * wcsmbs/tst-mbrtowc2.c: Likewise.
6988         * wcsmbs/tst-mbsrtowcs.c: Likewise.
6989         * wcsmbs/tst-wchar-h.c: Likewise.
6990         * wcsmbs/tst-wcpncpy.c: Likewise.
6991         * wcsmbs/tst-wcrtomb.c: Likewise.
6992         * wcsmbs/tst-wcsnlen.c: Likewise.
6993         * wcsmbs/tst-wcstof.c: Likewise.
6995 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6997         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
6998         CALL_THREAD_FCT macro usage.
6999         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
7000         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
7001         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
7003         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
7004         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7005         (__ASSUME_REQUEUE_PI): Likewise.
7006         * sysdeps/unix/sysv/linux/kernel-features.h
7007         (__ASSUME_REQUEUE_PI): Likewise.
7008         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7009         (__ASSUME_REQUEUE_PI): Likewise.
7010         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7011         (__ASSUME_REQUEUE_PI): Likewise.
7012         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7013         (__ASSUME_REQUEUE_PI): Likewise.
7015 2017-04-04  Florian Weimer  <fweimer@redhat.com>
7017         * resolv/tst-resolv-canonname.c: New file.
7018         * resolv/Makefile (tests): Add tst-resolv-canonname.
7019         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
7021 2017-04-04  Florian Weimer  <fweimer@redhat.com>
7023         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
7024         Declare.
7025         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
7026         (NS_MAXCDNAME): Remove definition.
7027         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
7028         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
7029         (NS_MAXCDNAME): Remove definition.
7030         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
7032 2017-04-04  Florian Weimer  <fweimer@redhat.com>
7034         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
7035         call whose result is not used.
7037 2017-04-04  Florian Weimer  <fweimer@redhat.com>
7039         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
7040         * resolv/Makefile (tests): Add tst-ns_name.
7041         (tst-ns_name): Link with -lresolv.
7042         (tst-ns_name.out): Depend on the input data file.
7044 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
7046         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
7047         Clobber also r14.
7049 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
7051         [BZ #21253]
7052         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
7053         slack space by 32KiB.
7055 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
7057         [BZ #21338]
7058         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
7059         instead of incorrect do_set_arena_test
7061 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7063         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
7064         * math/bits/math-finite.h: Likewise.
7066 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
7068         [BZ #21289]
7069         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
7071 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7073         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
7074         non expected inotify_add_watch and quotactl return.
7076 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7078         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
7079         to int32_t.
7080         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
7081         as returning int32_t.
7083 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7085         * math/math.h: Include bits/math-finite.h once per
7086         floating-point type.
7087         * math/bits/math-finite.h: Macroize all declarations by
7088         floating-point type.
7090 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7092         [BZ #21182]
7093         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
7094         near end of a page.
7095         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
7096         overflow calculation.
7098 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
7100         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
7101         (IMPL) Call with 1 instead of 0 as argument.
7103 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7105         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7106         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7107         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7108         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7109         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7110         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7111         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7112         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7113         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7114         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7115         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7116         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7117         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7118         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7119         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7120         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7121         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7122         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7123         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7124         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7125         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7126         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7127         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7128         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7129         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7130         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7131         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7132         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7133         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7134         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7135         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7136         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7137         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7138         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7139         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7140         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7141         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7142         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7143         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7144         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7145         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7146         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7147         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7148         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7149         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7150         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7151         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7152         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7153         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7154         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7155         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7156         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7157         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7158         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7159         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7160         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7161         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7162         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7163         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7164         defined.
7165         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7166         __NR_setgroups32 if defined.
7167         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7168         if defined.
7169         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7170         __NR_setresgid32 is defined.
7171         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7172         __NR_setresuid32 if defined.
7173         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7174         __NR_setreuid32 if defined.
7175         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7176         defined.
7177         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7178         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7179         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7180         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7181         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7182         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7183         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7184         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7185         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7186         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7187         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7188         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7189         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7190         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7191         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7192         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7193         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7194         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7195         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7196         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7197         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7198         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7199         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7200         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7201         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7202         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7203         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7204         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7205         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7206         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7207         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7208         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7209         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7210         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7211         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7212         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7213         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7214         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7215         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7216         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7217         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7218         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7219         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7220         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7221         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7222         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7223         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7224         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7225         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7226         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7227         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7228         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7229         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7230         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7231         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7232         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7233         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7234         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7235         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7236         defined.
7237         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7238         __NR_setgroups32 if defined.
7239         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7240         if defined.
7241         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7242         __NR_setresgid32 is defined.
7243         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7244         __NR_setresuid32 if defined.
7245         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7246         __NR_setreuid32 if defined.
7247         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7248         defined.
7250 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
7252         [BZ #21277]
7253         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
7254         unconditionally.
7255         (IMAXBEL): Likewise.
7256         (IUTF8): Likewise.
7258 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7260         * sysdeps/aarch64/libm-test-ulps: Update.
7262 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
7264         * README.tunables: Updated descriptions.
7265         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
7266         * scripts/gen-tunables.awk: Updated the code related to the
7267         commit.
7269 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
7271         * benchtests/Makefile (string-benchset): Add memcpy-random.
7272         * benchtests/bench-memcpy-random.c: New file.
7274 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7276         * stdio-common/printf.h (register_printf_modifier): Change the
7277         order of __wur and __THROW.
7278         (register_printf_type): Likewise.
7280 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7282         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
7283         test_main ().
7284         (CMDLINE_PROCESS): Use function instead of defined macro.
7285         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
7286         <suppport/support.h> to use set_fortify_handler().
7287         * string/bug-envz1.c: Import support/test-driver.c instead of
7288         test-skeleton.c.
7289         * string/bug-strcoll2.c: Likewise.
7290         * string/bug-strtok1.c: Likewise.
7291         * string/stratcliff.c: Likewise.
7292         * string/test-ffs.c: Likewise.
7293         * string/test-memccpy.c: Likewise.
7294         * string/test-memchr.c: Likewise.
7295         * string/test-memcmp.c: Likewise.
7296         * string/test-memcpy.c: Likewise.
7297         * string/test-memmem.c: Likewise.
7298         * string/test-memmove.c: Likewise.
7299         * string/test-memrchr.c: Likewise.
7300         * string/test-memset.c: Likewise.
7301         * string/test-rawmemchr.c: Likewise.
7302         * string/test-strcasecmp.c: Likewise.
7303         * string/test-strcasestr.c: Likewise.
7304         * string/test-strcat.c: Likewise.
7305         * string/test-strchr.c: Likewise.
7306         * string/test-strcmp.c: Likewise.
7307         * string/test-strcpy.c: Likewise.
7308         * string/test-string.h: Likewise.
7309         * string/test-strlen.c: Likewise.
7310         * string/test-strncasecmp.c: Likewise.
7311         * string/test-strncat.c: Likewise.
7312         * string/test-strncmp.c: Likewise.
7313         * string/test-strncpy.c: Likewise.
7314         * string/test-strnlen.c: Likewise.
7315         * string/test-strpbrk.c: Likewise.
7316         * string/test-strrchr.c: Likewise.
7317         * string/test-strspn.c: Likewise.
7318         * string/test-strstr.c: Likewise.
7319         * string/tst-bswap.c: Likewise.
7320         * string/tst-cmp.c: Likewise.
7321         * string/tst-endian.c: Likewise.
7322         * string/tst-inlcall.c: Likewise.
7323         * string/tst-strcoll-overflow.c: Likewise.
7324         * string/tst-strfry.c: Likewise.
7325         * string/tst-strlen.c: Likewise.
7326         * string/tst-strtok.c: Likewise.
7327         * string/tst-strtok_r.c: Likewise.
7328         * string/tst-strxfrm.c: Likewise.
7329         * string/tst-strxfrm2.c: Likewise.
7330         * string/tst-svc.c: Likewise.
7331         * string/tst-svc2.c: Likewise.
7333 2017-03-22  Zack Weinberg  <zackw@panix.com>
7335         * stdio-common/bug25.c: Include stdlib.h.
7336         * support/tst-support_format_dns_packet.c: Include stdio.h,
7337         stdlib.h, and string.h.
7338         * support/tst-support_record_failure.c: Include string.h.
7339         * support/tst-support_record_failure-2.sh: Adjust line number
7340         expectations and correct a typo in an error message.
7342 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7344         [BZ #21258]
7345         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
7346         Define only if _dl_runtime_resolve is defined to
7347         _dl_runtime_resolve_sse_vex.
7348         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
7349         Fallthrough to _dl_runtime_resolve_sse_vex.
7351 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
7353         * INSTALL: Regenerated.
7355 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
7357         * config.h.in: Add LINK_OBSOLETE_NSL.
7358         * config.make.in: Add build-obsolete-nsl.
7359         * configure.ac: Add obsolete-nsl option.
7360         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
7361         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
7362         * include/rpcsvc/nislib.h: Likewise.
7363         * include/rpcsvc/ypclnt.h: Likewise.
7364         * manual/install.texi: Document --enable-obsolete-nsl.
7365         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
7366         * nis/nis_add.c: Replace libnsl_hidden_def with
7367         libnsl_hidden_nolink_def.
7368         * nis/nis_addmember.c: Likewise.
7369         * nis/nis_call.c: Likewise.
7370         * nis/nis_clone_obj.c: Likewise.
7371         * nis/nis_defaults.c: Likeise.
7372         * nis/nis_domain_of_r.c: Likewise.
7373         * nis/nis_error.c: Likewise.
7374         * nis/nis_file.c: Likewise.
7375         * nis/nis_free.c: Likewise.
7376         * nis_local_names.c: Likewise.
7377         * nis/nis_lookup.c: Likewise.
7378         * nis/nis_modify.c: Likewise.
7379         * nis/nis_print.c: Likewise.
7380         * nis/nis_remove.c: Likewise.
7381         * nis/nis_table.c: Likewise.
7382         * nis/nis_util.c: Likewise.
7383         * nis/nis_xdr.c: Likewise.
7384         * nis/yp_xdr.c: Likewise.
7385         * nis/ypclnt.c: Likewise.
7386         * nis/ypupdate_xdr.c: Likewise.
7387         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
7388         * nis/nis_clone_dir.c: Likewise.
7389         * nis/nis_clone_res.c: Likewise.
7390         * nis/nis_creategroup.c: Likewise.
7391         * nis/nis_destroygroup.c: Likewise.
7392         * nis/nis_domain_of.c: Likewise.
7393         * nis/nis_getservlist.c: Likewise.
7394         * nis/nis_ismember.c: Likewise.
7395         * nis/nis_mkdir.c: Likewise.
7396         * nis/nis_ping.c: Likewise.
7397         * nis/nis_print_group_entry.c: Likewise.
7398         * nis/nis_removemember.c: Likewise.
7399         * nis/nis_rmdir.c: Likewise.
7400         * nis/nis_server.c: Likewise.
7401         * nis/nis_subr.c: Likewise.
7402         * nis/nis_verifygroup.c: Likewise.
7404 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
7406         * malloc/tst-interpose-aux.c (check_for_allocations):
7407         Move compiler barrier before free.
7409 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
7411         [BZ #21279]
7412         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7413         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7414         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
7415         x86_64-x32-linux.
7416         (mq_attr.mq_maxmsg): Likewise.
7417         (mq_attr.mq_msgsize): Likewise.
7418         (mq_attr.mq_curmsgs): Likewise.
7420         [BZ #21278]
7421         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
7422         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7423         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
7424         mips-o32-linux.
7426         [BZ #21268]
7427         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
7428         if [__USE_MISC]
7429         (NL3): Likewise.
7431 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
7433         [BZ #21275]
7434         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
7435         __stack to __stackbase.
7436         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
7437         checks so we can include defined(__ia64__) first.
7439 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
7441         * sysdeps/unix/sysv/linux/ttyname.h: New file.
7442         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
7443         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
7444         Call is_pty when the link does not exist or does not match, fail
7445         with ENODEV when it returns true.
7446         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
7447         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
7448         Call is_pty when the link does not exist or does not match, fail
7449         with ENODEV when it returns true.
7451 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
7453         [BZ #16437]
7454         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7455         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7456         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
7457         x86_64-x32-linux.
7458         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
7459         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
7460         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
7462         [BZ #21261]
7463         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
7464         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
7465         names for all fields.
7466         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
7467         for jmp_buf field renaming.
7468         (_JMPBUF_UNWINDS_ADJ): Likewise.
7470         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
7471         with allow-header.
7473 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
7475         * malloc/malloc.c (unlink): Add consistency check between size and
7476         next->prev->size, to further harden against 1-byte overflows.
7478 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
7480         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
7481         CPU_FEATURES_CPU_P.
7483 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
7485         [BZ #21259]
7486         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
7487         unconditionally, not just for [__USE_MISC].
7489         [BZ #17786]
7490         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
7491         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
7492         mips-o32-linux.
7494         [BZ #21260]
7495         * sysdeps/unix/sysv/linux/alpha/Makefile
7496         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7497         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
7499         * conform/conformtest.pl ($cross): New variable.
7500         (--cross): New command-line option.
7501         (runtest): Skip test execution when cross-compiling.
7502         * conform/Makefile (conformtest-cross): New variable.
7503         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
7504         conformtest.pl.
7506         * conform/conformtest.pl ($xfail_str): New variable.
7507         (--xfail=): New command-line option.
7508         (top level): Handle expectations starting xfail[cond]-.
7509         * conform/Makefile (conformtest-xfail): New variable.
7510         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
7511         conformtest.pl.
7513 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
7515         * conform/conformtest.pl: Use compilation instead of execution
7516         tests for testing values of constants and usability in #if.
7518 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7520         * math/auto-libm-test-in: Mark some catan and catanh as
7521         xfail-rounding:ibm128-libgcc.
7522         * math/auto-libm-test-out-catan: Regenerate.
7523         * math/auto-libm-test-out-catanh: Likewise.
7525 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
7527         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
7528         (__END_NAMESPACE_STD): Likewise.
7529         (__USING_NAMESPACE_STD): Likewise.
7530         (__BEGIN_NAMESPACE_C99): Likewise.
7531         (__END_NAMESPACE_C99): Likewise.
7532         (__USING_NAMESPACE_C99): Likewise.
7533         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
7534         undefine macro.
7535         (_Mdouble_END_NAMESPACE): Likewise.
7536         * ctype/ctype.h: Do not handle C++ namespaces.
7537         * libio/bits/stdio-ldbl.h: Likewise.
7538         * libio/stdio.h: Likewise.
7539         * locale/locale.h: Likewise.
7540         * math/bits/mathcalls.h: Likewise.
7541         * setjmp/setjmp.h: Likewise.
7542         * signal/signal.h: Likewise.
7543         * stdlib/bits/stdlib-float.h: Likewise.
7544         * stdlib/bits/stdlib-ldbl.h: Likewise.
7545         * stdlib/stdlib.h: Likewise.
7546         * string/string.h: Likewise.
7547         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
7548         * time/bits/types/clock_t.h: Likewise.
7549         * time/bits/types/struct_tm.h: Likewise.
7550         * time/bits/types/time_t.h: Likewise.
7551         * time/time.h: Likewise.
7552         * wcsmbs/bits/wchar-ldbl.h: Likewise.
7553         * wcsmbs/uchar.h: Likewise.
7554         * wcsmbs/wchar.h: Likewise.
7555         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
7556         * wctype/wctype.h: Do not handle C++ namespaces.
7557         * scripts/begin-end-check.pl: Remove.
7558         * Makefile (installed-headers): Likewise.
7559         (tests-special): Do not add $(objpfx)begin-end-check.out.
7560         ($(objpfx)begin-end-check.out): Remove.
7562 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
7563             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7565         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
7566         (DL_PLATFORM_INIT): New define.
7567         (dl_platform_init): New function.
7568         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
7569         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
7570         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
7571         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
7572         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
7574 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
7576         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
7577         instead of PIC.
7579 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
7581         [BZ #21094]
7582         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7583         24+24+24-bit pi for wider range of values around pi/2.
7584         * math/auto-libm-test-in: Add more tests of cos and tan.
7585         * math/auto-libm-test-out-cos: Regenerated.
7586         * math/auto-libm-test-out-tan: Likewise.
7588 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
7590         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
7591         (RTLD_START): Don't record stack end address in _dl_start_user.
7593 2017-03-15  Alexey Neyman  <stilor@att.net>
7595         [BZ #21088]
7596         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
7597         around definitions match those around use.
7599 2017-03-15  Alexey Neyman  <stilor@att.net>
7601         * configure.ac: Avoid empty subexpression in grep.
7602         * configure: Regenerate.
7604 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7606         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
7607         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
7608         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
7609         (test_wrp_rv): Fix format.
7610         (test_wrp_rv2): New macro.
7611         (do_test): Handle mlock return on 64 bits kernels with 32 bits
7612         binaries.
7614 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
7616         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
7617         Use a union when storing pointers.
7618         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
7619         cast result when passing to INIT_VEC_PTRS_LOOP.
7620         (VECTOR_WRAPPER_fFF_3): Likewise.
7621         (VECTOR_WRAPPER_fFF_4): Likewise.
7623 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7625         * include/bits/mathcalls-helper-functions.h: New file.
7626         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
7627         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
7628         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
7629         math/bits/mathcalls-helper-functions.h.
7630         * math/bits/mathcalls-helper-functions.h: New file.
7631         * math/math.h: Include bits/mathcalls-helper-functions.h for
7632         float, double, and long double.
7634 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7636         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
7637         instead of feraiseexcept.
7639 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7641         [BZ #21243]
7642         * support/temp_file.c (support_delete_temp_files): Add comment
7643         about ignored errors.
7645 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7647         [BZ #21244]
7648         * support/xclose.c: New file.
7649         * support/Makefile (libsupport-routines): Add xclose.
7650         * support/xunistd.h (xclose): Declare.
7651         * support/resolv_test.c (server_thread_tcp_client)
7652         (server_thread_tcp, make_server_sockets, resolv_test_start)
7653         (resolv_test_end): Call xclose instead of close.
7654         * support/support_enter_network_namespace.c
7655         (support_enter_network_namespace): Likewise.
7656         * support/support_run_diff.c (write_to_temp_file): Likewise.
7658 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7660         * support/support_format_dns_packet.c (support_format_dns_packet):
7661         Handle CNAME records in the response.  Extract RDATA names from
7662         rdata, not the whole packet.  Check AAAA record length.
7663         * support/tst-support_format_dns_packet.c: New file.
7664         * support/Makefile (tests): Add tst-support_format_dns_packet.
7665         (tst-support_format_dns_packet): Link against libresolv.
7667 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7669         [BZ #21232]
7670         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
7671         posix_fadvise64 weak_alias for static build.
7673 2017-03-14  Andreas Schwab  <schwab@suse.de>
7675         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
7676         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
7677         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
7678         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
7679         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
7680         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
7681         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
7682         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
7684 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7686         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
7687         posix error code.
7688         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7690 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7692         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
7693         no_isolate usage for SH.
7695 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
7697         [BZ #15105]
7698         [BZ #19463]
7699         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
7700         * inet/rcmd.c (rcmd_af): Likewise.
7701         * inet/rexec.c   (rexec_af): Likewise.
7702         * intl/dcigettext.c (_LIBC): Likewise.
7703         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
7704         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
7705         * locale/setlocale.c (setlocale): Likewise.
7706         * posix/spawn_faction_addopen.c
7707         (posix_spawn_file_actions_addopen): Likewise.
7708         * stdlib/putenv.c (putenv): Use __strndup.
7709         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
7710         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
7711         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
7712         (__Need_M_And_C) Remove define/undef.
7713         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
7714         (__malloc_and_calloc_defined): Remove define.
7715         * string/bits/string2.h (__strdup): Remove define.
7716         (strdup): Likewise.
7717         (__strndup): Likewise.
7718         (strndup): Likewise.
7720 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
7722         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
7723         macro.
7724         (IPV6_ADDR_PREFERENCES): Likewise.
7725         (IPV6_MINHOPCOUNT): Likewise.
7726         (IPV6_ORIGDSTADDR): Likewise.
7727         (IPV6_RECVORIGDSTADDR): Likewise.
7728         (IPV6_TRANSPARENT): Likewise.
7729         (IPV6_UNICAST_IF): Likewise.
7730         (IPV6_RECVFRAGSIZE): Likewise.
7732 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
7734         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
7736 2017-03-12  Alexey Neyman <stilor@att.net>
7738         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
7739         in R_SH_DIR32 case is always false when inlined from
7740         dl-conflict.c. Ifdef out to prevent GCC from insertin an
7742 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
7744         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7745         (__ASSUME_RECV_SYSCALL): Replace duplicate by
7746         __ASSUME_SEND_SYSCALL.
7748 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
7750         * sunrpc/Makefile: don't build and install rpcsvc header
7751         files, rpcgen and librpcsvc.a by default.
7753 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
7755         * math/auto-libm-test-out-catan: Regenerated.
7756         * math/auto-libm-test-out-catanh: Likewise.
7757         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7759 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
7761         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
7762         for long double with corrected test expectations.
7764 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7766         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
7767         Define.
7768         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7769         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
7770         * sysdeps/unix/sysv/linux/nios2/sysdep.h
7771         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7772         * sysdeps/unix/sysv/linux/tile/sysdep.h
7773         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7774         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7775         (__ASSUME_RECV_SYSCALL): Define.
7776         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7777         (__ASSUME_RECV_SYSCALL): Likewise.
7778         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7779         (__ASSUME_RECV_SYSCALL): Likewise.
7780         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7781         (__ASSUME_RECV_SYSCALL): Likewise.
7782         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7783         (__ASSUME_RECV_SYSCALL): Likewise.
7784         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7785         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
7786         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7787         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7788         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7789         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7790         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
7791         auto-generation list.
7792         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7793         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7794         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
7795         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7796         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7797         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
7798         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
7799         __ASSUME_SENDTO_SYSCALL.
7800         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
7801         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
7802         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
7804         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
7805         auto-generation list.
7806         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7807         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7808         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7809         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7810         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7811         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7812         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7813         * sysdeps/unix/sysv/linux/kernel-features.h
7814         (__ASSUME_SENDTO_SYSCALL): Define by default.
7815         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7816         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
7817         __NR_sendto.
7818         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7819         (__ASSUME_SENDTO_SYSCALL): Likewise.
7820         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7821         (__ASSUME_SENDTO_SYSCALL): Likewise.
7822         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7823         (__ASSUME_SENDTO_SYSCALL): Remove definition.
7824         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7825         (__ASSUME_SENDTO_SYSCALL): Likewise.
7826         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
7827         (__ASSUME_SENDTO_SYSCALL): Likewise.
7828         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
7830         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv 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: Likewise.
7835         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7836         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7837         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7838         (__ASSUME_RECV_SYSCALL): New define.
7839         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7840         (__ASSUME_RECV_SYSCALL): Likewise.
7841         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7842         (__ASSUME_RECV_SYSCALL): Likewise.
7843         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7844         (__ASSUME_RECV_SYSCALL): Likewise.
7845         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7846         (__ASSUME_RECV_SYSCALL): Likewise.
7847         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7848         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7849         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7850         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7851         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7852         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7853         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
7854         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
7855         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
7856         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
7857         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
7858         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
7860         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
7861         auto-generation list.
7862         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7863         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7864         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7865         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7866         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7867         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7868         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7869         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7870         (__ASSUME_RECVFROM_SYSCALL): Define by default.
7871         * sysdeps/unix/sysv/linux/kernel-features.h
7872         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
7873         __NR_recvfrom.
7874         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7875         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7876         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7877         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7878         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7879         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
7880         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7881         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7882         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7883         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7884         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7885         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7886         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
7888         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
7889         auto-generation list.
7890         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7891         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7892         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7893         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7894         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7895         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7896         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7897         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
7898         * sysdeps/unix/sysv/linux/kernel-features.h
7899         (__ASSUME_CONNECT_SYSCALL): Define.
7900         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7901         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
7902         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7903         (__ASSUME_CONNECT_SYSCALL): Likewise.
7904         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7905         (__ASSUME_CONNECT_SYSCALL): Likewise.
7906         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7907         (__ASSUME_CONNECT_SYSCALL): Likewise.
7909         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
7910         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
7911         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
7912         auto-generation list.
7913         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7914         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7915         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7916         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7917         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7918         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7919         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7920         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7921         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7922         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7923         * sysdeps/unix/sysv/linux/kernel-features.h
7924         (__ASSUME_ACCEPT_SYSCALL): New define.
7925         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7926         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7927         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
7928         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7929         (__ASSUME_ACCEPT_SYSCALL): Define.
7930         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7931         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7932         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7933         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7934         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7935         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7936         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7937         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7938         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
7940 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
7941             Zack Weinberg  <zackw@panix.com>
7943         * posix/test-errno.c: New file.
7944         * posix/Makefile (tests): Add test-errno.
7945         * sysdeps/unix/sysv/linux/test-errno.c: New file.
7946         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
7948 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
7950         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7952 2017-03-07  Florian Weimer  <fweimer@redhat.com>
7954         * time/tzset.c (compute_offset): Open-code min macro.
7955         (min, max, sign): Remove.
7957 2017-03-07  Florian Weimer  <fweimer@redhat.com>
7959         [BZ #15576]
7960         Remove TZNAME_MAX limit from sysconf.
7961         * include/time.h (__tzname_cur_max, __tzname_max): Remove
7962         declaration.
7963         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
7964         compute_tzname_max.
7965         (compute_tzname_max): Remove.
7966         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
7967         (update_vars): Do not update __tzname_cur_max.
7968         (tzset_internal): Remove argument.
7969         (__tzset): Adjust call to tzset_internal.
7970         (__tz_convert): Likewise.
7972         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
7973         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7974         * manual/conf.texi (Sysconf Definition): Update comment.
7976 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7978         [BZ #21209]
7979         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
7980         AT_SECURE processes.
7981         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
7982         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
7983         (test_child): Likewise.
7984         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
7986 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7988         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
7990 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7992         * sysdeps/s390/atomic-machine.h
7993         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
7994         (__arch_compare_and_exchange_val_8_acq,
7995         __arch_compare_and_exchange_val_16_acq,
7996         __arch_compare_and_exchange_val_32_acq,
7997         __arch_compare_and_exchange_val_64_acq):
7998         Delete macro.
7999         (atomic_compare_and_exchange_val_acq,
8000         atomic_compare_and_exchange_val_rel,
8001         atomic_compare_and_exchange_bool_acq,
8002         catomic_compare_and_exchange_bool_acq,
8003         atomic_exchange_acq, atomic_exchange_rel,
8004         atomic_exchange_and_add_acq,
8005         atomic_exchange_and_add_rel,
8006         catomic_exchange_and_add, atomic_or_val,
8007         atomic_or, catomic_or, atomic_bit_test_set,
8008         atomic_and_val, atomic_and, catomic_and):
8009         Define macros with help of C11 atomic builtins.
8011 2017-03-03  Justus Winter <justus@gnupg.org>
8013         * sysdeps/mach/hurd/ftruncate64.c: New file.
8014         * sysdeps/mach/hurd/truncate64.c: Likewise.
8016 2017-03-03  Florian Weimer  <fweimer@redhat.com>
8018         * time/tzfile.c (NOID): Do not define.
8019         * time/tzset.c (NOID): Likewise.
8021 2017-03-03  Florian Weimer  <fweimer@redhat.com>
8023         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
8025 2017-03-02  Florian Weimer  <fweimer@redhat.com>
8027         * elf/get-dynamic-info.h: Remove header file inclusion guard.
8029 2017-03-02  Florian Weimer  <fweimer@redhat.com>
8031         [BZ #21015]
8032         * manual/install.texi (Configuring and compiling): Document
8033         --enable-bind-now.
8034         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
8035         (build-shlib-helper): Use $(LDFLAGS-lib.so).
8036         (format.lds): Likewise.
8037         [bind-now] (LDFLAGS-c.so): Remove.
8038         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
8039         be R_X86_64_GLOB_DAT.
8040         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
8041         relocation can be R_386_GLOB_DAT.
8042         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
8043         relocaiton can be R_ALPHA_GLOB_DAT.
8044         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
8046 2017-03-01  Zack Weinberg  <zackw@panix.com>
8048         * include/libc-pointer-arith.h: New file.  Define
8049         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
8050         PTR_ALIGN_DOWN here.
8051         * include/libc-internal.h: Definitions of above macros
8052         moved from here.  Don't include libc-diag.h anymore either.
8053         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
8054         Don't include libc-internal.h.
8056         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
8057         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
8058         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
8059         * string/strcoll_l.c, sysdeps/nacl/brk.c
8060         * sysdeps/unix/clock_settime.c
8061         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
8062         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
8063         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8064         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
8065         Don't include libc-internal.h.
8067         * elf/get-dynamic-info.h, iconv/loop.c
8068         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
8069         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
8070         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
8071         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
8072         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8073         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
8074         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8075         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
8076         * sysdeps/ieee754/ldbl-128/k_tanl.c
8077         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8078         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8079         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
8080         Include libc-diag.h instead of libc-internal.h.
8082         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
8083         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
8084         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
8085         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
8086         * sysdeps/unix/sysv/linux/spawni.c
8087         * sysdeps/x86_64/nptl/tls.h:
8088         Include libc-pointer-arith.h instead of libc-internal.h.
8090         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
8091         * sysdeps/x86_64/atomic-machine.h:
8092         Add multiple include guard.
8094         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
8095         * string/strcasestr.c: No need to include config.h.
8096         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
8097         sys/auxv.h. Don't include sysdep.h.
8098         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
8100         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
8101         DL_LOOKUP_ADDRESS.
8102         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
8103         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
8104         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
8105         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
8106         of ARTIFICIAL_LIMIT.
8107         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
8108         declaration of __clone2.
8110 2017-02-28  Florian Weimer  <fweimer@redhat.com>
8112         * scripts/backport-support.sh (latest_commit): New file.
8114 2017-02-28  Florian Weimer  <fweimer@redhat.com>
8116         [BZ #20257]
8117         * inet/Makefile (routines): Add deadline.
8118         (tests-static): Add tst-deadline.
8119         * inet/net-internal.h (struct deadline_current_time)
8120         (__deadline_current_time, struct deadline, __deadline_is_infinite)
8121         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
8122         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
8123         * inet/deadline.c: New file.
8124         * inet/tst-deadline.c: Likewise.
8125         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
8126         tst-udp-timeout, tst-udp-garbage.
8127         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
8128         explicitly.
8129         (tst-udp-garbage): Likewise.  Also link against thread library.
8130         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
8131         struct layout is part of the ABI.
8132         (clntudp_call): Rework timeout handling.
8133         * sunrpc/tst-udp-garbage.c: New file.
8134         * sunrpc/tst-udp-nonblocking.c: Likewise.
8135         * sunrpc/tst-udp-timeout.c: Likewise.
8137 2017-02-28  Florian Weimer  <fweimer@redhat.com>
8139         [BZ #5010]
8140         * sunrpc/svc.c (svc_is_mapped): Remove.
8141         (svc_unregister): Obtain mapped status while the service is still
8142         registered.
8143         * sunrpc/Makefile [have-thread-library] (tests): Add
8144         tst-svc_register.
8145         (tst-svc_register): Link against libc.so explicitly and the thread
8146         library.
8147         * sunrpc/tst-svc_register.c: New file.
8149 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
8151         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
8152         * sysdeps/pthread/bits/sigthread.h: Likewise.
8154 2017-02-27  Florian Weimer  <fweimer@redhat.com>
8156         [BZ #21115]
8157         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
8158         * sunrpc/Makefile (tests): Add tst-udp-error.
8159         (tst-udp-error): Link against libc.so explicitly.
8160         * sunrpc/tst-udp-error: New file.
8162 2017-02-25  Zack Weinberg  <zackw@panix.com>
8164         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
8165         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
8167         * sysdeps/generic/math_ldbl.h
8168         * sysdeps/ia64/fpu/math_ldbl.h
8169         * sysdeps/ieee754/ldbl-128/math_ldbl.h
8170         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8171         * sysdeps/ieee754/ldbl-96/math_ldbl.h
8172         * sysdeps/powerpc/fpu/math_ldbl.h
8173         * sysdeps/x86_64/fpu/math_ldbl.h:
8174         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
8175         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
8176         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
8177         Add copyright notices.
8179         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8180         Don't use EXTRACT_WORDS64.
8182         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
8183         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
8184         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
8185         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
8186         Include math_ldbl.h, not math_private.h.
8188 2017-02-25  Zack Weinberg  <zackw@panix.com>
8190         * include/libc-diag.h: New file.  Define ignore_value,
8191         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
8192         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
8194         * include/libc-internal.h: Definitions of above macros moved from
8195         here.  Include libc-diag.h.  Add copyright notice.
8197         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
8198         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
8199         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
8200         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
8201         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
8202         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
8203         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
8204         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
8205         Include libc-diag.h instead of libc-internal.h.
8207         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
8208         call to unsetenv (NULL).
8209         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
8210         call to pthread_mutexattr_destroy (NULL).
8212 2017-02-25  Zack Weinberg  <zackw@panix.com>
8214         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
8215         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
8216         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
8217         gets was removed from C++ in C++14.
8218         * include/stdio.h: Remove redundant declaration of gets.
8219         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
8220         be declared, since we are testing it.
8221         * stdio-common/Makefile (tst-gets.c): Compile with
8222         -Wno-deprecated-declarations.
8223         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
8224         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
8225         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
8226         Compile with -Wno-deprecated-declarations.
8228 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8230         * math/libm-test-support.c (check_ulp): Use LIT() around literal
8231         numbers.
8233 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8235         * resolv/tst-resolv-qtypes.c (domain):
8236         Change type to const pointer to const char.
8238 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
8240         * math/Makefile (libm-tests-generated): Remove variable.
8241         (libm-tests-base-normal): New variable.
8242         (libm-tests-base-finite): Likewise.
8243         (libm-tests-base-inline): Likewise.
8244         (libm-tests-base): Likewise.
8245         (libm-tests-normal): Likewise.
8246         (libm-tests-finite): Likewise.
8247         (libm-tests-inline): Likewise.
8248         (libm-tests-vector): Likewise.
8249         (libm-tests): Define in terms of these new variables.
8250         (libm-tests-for-type): New variable.
8251         (libm-tests.o): Move definition.
8252         (tests): Move addition of $(libm-tests).
8253         (generated): Update for new and removed libm test files.
8254         ($(objpfx)libm-test.c): Remove target.
8255         ($(objpfx)libm-have-vector-test.h): Likewise.
8256         (CFLAGS-test-double-vlen2.c): Remove variable.
8257         (CFLAGS-test-double-vlen4.c): Likewise.
8258         (CFLAGS-test-double-vlen8.c): Likewise.
8259         (CFLAGS-test-float-vlen4.c): Likewise.
8260         (CFLAGS-test-float-vlen8.c): Likewise.
8261         (CFLAGS-test-float-vlen16.c): Likewise.
8262         (CFLAGS-test-float.c): Likewise.
8263         (CFLAGS-test-float-finite.c): Likewise.
8264         (CFLAGS-libm-test-support-float.c): Likewise.
8265         (CFLAGS-test-double.c): Likewise.
8266         (CFLAGS-test-double-finite.c): Likewise.
8267         (CFLAGS-libm-test-support-double.c): Likewise.
8268         (CFLAGS-test-ldouble.c): Likewise.
8269         (CFLAGS-test-ldouble-finite.c): Likewise.
8270         (CFLAGS-libm-test-support-ldouble.c): Likewise.
8271         (libm-test-inline-cflags): New variable.
8272         (CFLAGS-test-ifloat.c): Remove variable.
8273         (CFLAGS-test-idouble.c): Likewise.
8274         (CFLAGS-test-ildouble.c): Likewise.
8275         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
8276         dependencies.
8277         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
8278         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
8279         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
8280         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
8281         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
8282         Likewise.
8283         (dependencies on libm-test-support-*.o): Remove.
8284         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
8285         rules using iterators.
8286         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
8287         Likewise.
8288         ($(objpfx)libm-test-support-$(o).o): Likewise.
8289         ($(addprefix $(objpfx),$(filter-out $(tests-static)
8290         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
8291         instead.
8292         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
8293         define rule instead.
8294         * math/README.libm-test: Update.
8295         * math/libm-test-acos.inc: Include libm-test-driver.c.
8296         (do_test): New function.
8297         * math/libm-test-acosh.inc: Include libm-test-driver.c.
8298         (do_test): New function.
8299         * math/libm-test-asin.inc: Include libm-test-driver.c.
8300         (do_test): New function.
8301         * math/libm-test-asinh.inc: Include libm-test-driver.c.
8302         (do_test): New function.
8303         * math/libm-test-atan.inc: Include libm-test-driver.c.
8304         (do_test): New function.
8305         * math/libm-test-atan2.inc: Include libm-test-driver.c.
8306         (do_test): New function.
8307         * math/libm-test-atanh.inc: Include libm-test-driver.c.
8308         (do_test): New function.
8309         * math/libm-test-cabs.inc: Include libm-test-driver.c.
8310         (do_test): New function.
8311         * math/libm-test-cacos.inc: Include libm-test-driver.c.
8312         (do_test): New function.
8313         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
8314         (do_test): New function.
8315         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
8316         (do_test): New function.
8317         * math/libm-test-carg.inc: Include libm-test-driver.c.
8318         (do_test): New function.
8319         * math/libm-test-casin.inc: Include libm-test-driver.c.
8320         (do_test): New function.
8321         * math/libm-test-casinh.inc: Include libm-test-driver.c.
8322         (do_test): New function.
8323         * math/libm-test-catan.inc: Include libm-test-driver.c.
8324         (do_test): New function.
8325         * math/libm-test-catanh.inc: Include libm-test-driver.c.
8326         (do_test): New function.
8327         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
8328         (do_test): New function.
8329         * math/libm-test-ccos.inc: Include libm-test-driver.c.
8330         (do_test): New function.
8331         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
8332         (do_test): New function.
8333         * math/libm-test-ceil.inc: Include libm-test-driver.c.
8334         (do_test): New function.
8335         * math/libm-test-cexp.inc: Include libm-test-driver.c.
8336         (do_test): New function.
8337         * math/libm-test-cimag.inc: Include libm-test-driver.c.
8338         (do_test): New function.
8339         * math/libm-test-clog.inc: Include libm-test-driver.c.
8340         (do_test): New function.
8341         * math/libm-test-clog10.inc: Include libm-test-driver.c.
8342         (do_test): New function.
8343         * math/libm-test-conj.inc: Include libm-test-driver.c.
8344         (do_test): New function.
8345         * math/libm-test-copysign.inc: Include libm-test-driver.c.
8346         (do_test): New function.
8347         * math/libm-test-cos.inc: Include libm-test-driver.c.
8348         (do_test): New function.
8349         * math/libm-test-cosh.inc: Include libm-test-driver.c.
8350         (do_test): New function.
8351         * math/libm-test-cpow.inc: Include libm-test-driver.c.
8352         (do_test): New function.
8353         * math/libm-test-cproj.inc: Include libm-test-driver.c.
8354         (do_test): New function.
8355         * math/libm-test-creal.inc: Include libm-test-driver.c.
8356         (do_test): New function.
8357         * math/libm-test-csin.inc: Include libm-test-driver.c.
8358         (do_test): New function.
8359         * math/libm-test-csinh.inc: Include libm-test-driver.c.
8360         (do_test): New function.
8361         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
8362         (do_test): New function.
8363         * math/libm-test-ctan.inc: Include libm-test-driver.c.
8364         (do_test): New function.
8365         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
8366         (do_test): New function.
8367         * math/libm-test-erf.inc: Include libm-test-driver.c.
8368         (do_test): New function.
8369         * math/libm-test-erfc.inc: Include libm-test-driver.c.
8370         (do_test): New function.
8371         * math/libm-test-exp.inc: Include libm-test-driver.c.
8372         (do_test): New function.
8373         * math/libm-test-exp10.inc: Include libm-test-driver.c.
8374         (do_test): New function.
8375         * math/libm-test-exp2.inc: Include libm-test-driver.c.
8376         (do_test): New function.
8377         * math/libm-test-expm1.inc: Include libm-test-driver.c.
8378         (do_test): New function.
8379         * math/libm-test-fabs.inc: Include libm-test-driver.c.
8380         (do_test): New function.
8381         * math/libm-test-fdim.inc: Include libm-test-driver.c.
8382         (do_test): New function.
8383         * math/libm-test-floor.inc: Include libm-test-driver.c.
8384         (do_test): New function.
8385         * math/libm-test-fma.inc: Include libm-test-driver.c.
8386         (do_test): New function.
8387         * math/libm-test-fmax.inc: Include libm-test-driver.c.
8388         (do_test): New function.
8389         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
8390         (do_test): New function.
8391         * math/libm-test-fmin.inc: Include libm-test-driver.c.
8392         (do_test): New function.
8393         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
8394         (do_test): New function.
8395         * math/libm-test-fmod.inc: Include libm-test-driver.c.
8396         (do_test): New function.
8397         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
8398         (do_test): New function.
8399         * math/libm-test-frexp.inc: Include libm-test-driver.c.
8400         (do_test): New function.
8401         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
8402         (do_test): New function.
8403         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
8404         (do_test): New function.
8405         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
8406         (do_test): New function.
8407         * math/libm-test-hypot.inc: Include libm-test-driver.c.
8408         (do_test): New function.
8409         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
8410         (do_test): New function.
8411         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
8412         (do_test): New function.
8413         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
8414         (do_test): New function.
8415         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
8416         (do_test): New function.
8417         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
8418         (do_test): New function.
8419         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
8420         (do_test): New function.
8421         * math/libm-test-isinf.inc: Include libm-test-driver.c.
8422         (do_test): New function.
8423         * math/libm-test-isless.inc: Include libm-test-driver.c.
8424         (do_test): New function.
8425         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
8426         (do_test): New function.
8427         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
8428         (do_test): New function.
8429         * math/libm-test-isnan.inc: Include libm-test-driver.c.
8430         (do_test): New function.
8431         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
8432         (do_test): New function.
8433         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
8434         (do_test): New function.
8435         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
8436         (do_test): New function.
8437         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
8438         (do_test): New function.
8439         * math/libm-test-iszero.inc: Include libm-test-driver.c.
8440         (do_test): New function.
8441         * math/libm-test-j0.inc: Include libm-test-driver.c.
8442         (do_test): New function.
8443         * math/libm-test-j1.inc: Include libm-test-driver.c.
8444         (do_test): New function.
8445         * math/libm-test-jn.inc: Include libm-test-driver.c.
8446         (do_test): New function.
8447         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
8448         (do_test): New function.
8449         * math/libm-test-llogb.inc: Include libm-test-driver.c.
8450         (do_test): New function.
8451         * math/libm-test-llrint.inc: Include libm-test-driver.c.
8452         (do_test): New function.
8453         * math/libm-test-llround.inc: Include libm-test-driver.c.
8454         (do_test): New function.
8455         * math/libm-test-log.inc: Include libm-test-driver.c.
8456         (do_test): New function.
8457         * math/libm-test-log10.inc: Include libm-test-driver.c.
8458         (do_test): New function.
8459         * math/libm-test-log1p.inc: Include libm-test-driver.c.
8460         (do_test): New function.
8461         * math/libm-test-log2.inc: Include libm-test-driver.c.
8462         (do_test): New function.
8463         * math/libm-test-logb.inc: Include libm-test-driver.c.
8464         (do_test): New function.
8465         * math/libm-test-lrint.inc: Include libm-test-driver.c.
8466         (do_test): New function.
8467         * math/libm-test-lround.inc: Include libm-test-driver.c.
8468         (do_test): New function.
8469         * math/libm-test-modf.inc: Include libm-test-driver.c.
8470         (do_test): New function.
8471         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
8472         (do_test): New function.
8473         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
8474         (do_test): New function.
8475         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
8476         (do_test): New function.
8477         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
8478         (do_test): New function.
8479         * math/libm-test-nextup.inc: Include libm-test-driver.c.
8480         (do_test): New function.
8481         * math/libm-test-pow.inc: Include libm-test-driver.c.
8482         (do_test): New function.
8483         * math/libm-test-remainder.inc: Include libm-test-driver.c.
8484         (do_test): New function.
8485         * math/libm-test-remquo.inc: Include libm-test-driver.c.
8486         (do_test): New function.
8487         * math/libm-test-rint.inc: Include libm-test-driver.c.
8488         (do_test): New function.
8489         * math/libm-test-round.inc: Include libm-test-driver.c.
8490         (do_test): New function.
8491         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
8492         (do_test): New function.
8493         * math/libm-test-scalb.inc: Include libm-test-driver.c.
8494         (do_test): New function.
8495         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
8496         (do_test): New function.
8497         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
8498         (do_test): New function.
8499         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
8500         (do_test): New function.
8501         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
8502         (do_test): New function.
8503         * math/libm-test-signbit.inc: Include libm-test-driver.c.
8504         (do_test): New function.
8505         * math/libm-test-significand.inc: Include libm-test-driver.c.
8506         (do_test): New function.
8507         * math/libm-test-sin.inc: Include libm-test-driver.c.
8508         (do_test): New function.
8509         * math/libm-test-sincos.inc: Include libm-test-driver.c.
8510         (do_test): New function.
8511         * math/libm-test-sinh.inc: Include libm-test-driver.c.
8512         (do_test): New function.
8513         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
8514         (do_test): New function.
8515         * math/libm-test-tan.inc: Include libm-test-driver.c.
8516         (do_test): New function.
8517         * math/libm-test-tanh.inc: Include libm-test-driver.c.
8518         (do_test): New function.
8519         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
8520         (do_test): New function.
8521         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
8522         (do_test): New function.
8523         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
8524         (do_test): New function.
8525         * math/libm-test-trunc.inc: Include libm-test-driver.c.
8526         (do_test): New function.
8527         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
8528         (do_test): New function.
8529         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
8530         (do_test): New function.
8531         * math/libm-test-y0.inc: Include libm-test-driver.c.
8532         (do_test): New function.
8533         * math/libm-test-y1.inc: Include libm-test-driver.c.
8534         (do_test): New function.
8535         * math/libm-test-yn.inc: Include libm-test-driver.c.
8536         (do_test): New function.
8537         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
8538         (HAVE_VECTOR): Remove macro.
8539         (START): Do not call HAVE_VECTOR.
8540         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
8541         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
8542         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
8543         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
8544         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
8545         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
8546         * math/test-math-vector.h (FUNC_TEST): New macro.
8547         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
8548         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
8549         (double-vlen4-funcs): Likewise.
8550         (double-vlen4-avx2-funcs): Likewise.
8551         (double-vlen8-funcs): Likewise.
8552         (float-vlen4-funcs): Likewise.
8553         (float-vlen8-funcs): Likewise.
8554         (float-vlen8-avx2-funcs): Likewise.
8555         (float-vlen16-funcs): Likewise.
8556         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
8557         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
8558         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
8559         macro.
8560         (TEST_VECTOR_sin): Likewise.
8561         (TEST_VECTOR_sincos): Likewise.
8562         (TEST_VECTOR_log): Likewise.
8563         (TEST_VECTOR_exp): Likewise.
8564         (TEST_VECTOR_pow): Likewise.
8565         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
8566         Likewise.
8567         (TEST_VECTOR_sin): Likewise.
8568         (TEST_VECTOR_sincos): Likewise.
8569         (TEST_VECTOR_log): Likewise.
8570         (TEST_VECTOR_exp): Likewise.
8571         (TEST_VECTOR_pow): Likewise.
8572         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
8573         Likewise.
8574         (TEST_VECTOR_sinf): Likewise.
8575         (TEST_VECTOR_sincosf): Likewise.
8576         (TEST_VECTOR_logf): Likewise.
8577         (TEST_VECTOR_expf): Likewise.
8578         (TEST_VECTOR_powf): Likewise.
8579         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
8580         Likewise.
8581         (TEST_VECTOR_sinf): Likewise.
8582         (TEST_VECTOR_sincosf): Likewise.
8583         (TEST_VECTOR_logf): Likewise.
8584         (TEST_VECTOR_expf): Likewise.
8585         (TEST_VECTOR_powf): Likewise.
8586         * math/gen-libm-have-vector-test.sh: Remove file.
8587         * math/libm-test.inc: Likewise.
8588         * math/libm-test-support-double.c: Likewise.
8589         * math/libm-test-support-float.c: Likewise.
8590         * math/libm-test-support-ldouble.c: Likewise.
8591         * math/test-double-finite.c: Likewise.: Likewise.
8592         * math/test-double.c: Likewise.
8593         * math/test-float-finite.c: Likewise.
8594         * math/test-float.c: Likewise.
8595         * math/test-idouble.c: Likewise.
8596         * math/test-ifloat.c: Likewise.
8597         * math/test-ildouble.c: Likewise.
8598         * math/test-ldouble-finite.c: Likewise.
8599         * math/test-ldouble.c: Likewise.
8600         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8601         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
8602         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8603         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8604         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8605         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8606         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8607         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
8608         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8609         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8611 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8612            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8614         * math/Makefile: Add wrappers to gen-libm-calls.
8615         * math/w_acos_template.c: New file.
8616         * math/w_acosh_template.c: Likewise.
8617         * math/w_asin_template.c: Likewise.
8618         * math/w_atan2_template.c: Likewise.
8619         * math/w_atanh_template.c: Likewise.
8620         * math/w_cosh_template.c: Likewise.
8621         * math/w_exp10_template.c: Likewise.
8622         * math/w_exp2_template.c: Likewise.
8623         * math/w_exp_template.c: Likewise.
8624         * math/w_fmod_template.c: Likewise.
8625         * math/w_hypot_template.c: Likewise.
8626         * math/w_j0_template.c: Likewise.
8627         * math/w_j1_template.c: Likewise.
8628         * math/w_jn_template.c: Likewise.
8629         * math/w_lgamma_r_template.c: Likewise.
8630         * math/w_lgamma_template.c: Likewise.
8631         * math/w_log10_template.c: Likewise.
8632         * math/w_log2_template.c: Likewise.
8633         * math/w_log_template.c: Likewise.
8634         * math/w_pow_template.c: Likewise.
8635         * math/w_remainder_template.c: Likewise.
8636         * math/w_sinh_template.c: Likewise.
8637         * math/w_sqrt_template.c: Likewise.
8638         * math/w_tgamma_template.c: Likewise.: Likewise.
8639         * sysdeps/generic/math-type-macros-double.h
8640         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
8641         the new wrappers.
8642         * sysdeps/generic/math-type-macros-float.h: Likewise.
8643         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8645 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
8647         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
8648         New enum constant and macro.
8650         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8651         kernel version to 4.10.
8653 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
8655         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
8657 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8659         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8661 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
8663         * sysdeps/powerpc/tst-set_ppr.c: New file.
8664         Implement test cases for __ppc_set_ppr_* functions.
8665         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
8666         in the list of tests.
8668 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
8670         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
8671         instead of test-skeleton.c.
8672         (do_test): Replaced pthread_create and pthread_join with
8673         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
8674         Removed unneeded status variable.
8675         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
8676         instead of test-skeleton.c.
8677         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
8679 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
8681         [BZ #20313]
8682         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8683         201605L, for Unicode 9.
8685 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
8687         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
8688         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8689         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8690         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8691         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8692         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8694 2017-02-19  Zack Weinberg  <zackw@panix.com>
8696         * rt/tst-mqueue4.c: Include stdint.h.
8698 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
8700         * sysdeps/arm/libm-test-ulps: Update.
8701         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8702         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8703         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8705 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8707         [BZ #21029]
8708         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
8709         * sysdeps/unix/sysv/linux/i386/Makefile
8710         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
8711         (uses-6-syscall-arguments): Remove.
8712         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
8713         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
8714         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
8715         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
8716         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
8717         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
8718         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
8719         [$(subdir) = misc] (cflags-pselect.o): Likewise.
8720         [$(subdir) = misc] (cflags-pselect.os): Likewise.
8721         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
8722         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
8723         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
8724         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
8725         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
8726         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
8727         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
8728         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
8729         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
8730         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
8731         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
8732         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
8733         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
8734         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
8735         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
8736         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
8737         Likewise.
8738         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
8739         Likewise.
8740         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
8741         Likewise.
8742         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
8743         Likewise.
8744         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
8745         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
8746         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
8747         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
8748         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
8749         ebp on inline assembly.
8750         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
8751         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8752         Set if CAN_USE_REGISTER_ASM_EBP is set.
8754 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
8756         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
8757         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
8759 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
8761         * math/auto-libm-test-in: Add tests of catan and catanh.
8762         * math/auto-libm-test-out-catan: New generated file.
8763         * math/auto-libm-test-out-catanh: Likewise.
8764         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
8765         Move tests with finite inputs, except divide-by-zero cases, to
8766         auto-libm-test-in.
8767         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
8768         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
8769         (libm-test-funcs-noauto): Remove catan and catanh.
8770         * sysdeps/i386/fpu/libm-test-ulps: Update.
8771         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8774         * math/auto-libm-test-in: Add tests of casin and casinh.
8775         * math/auto-libm-test-out-casin: New generated file.
8776         * math/auto-libm-test-out-casinh: Likewise.
8777         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
8778         Move tests with finite inputs to auto-libm-test-in.
8779         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
8780         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
8781         (libm-test-funcs-noauto): Remove casin and casinh.
8782         * sysdeps/i386/fpu/libm-test-ulps: Update.
8783         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8786         * math/auto-libm-test-in: Add tests of cacos and cacosh.
8787         * math/auto-libm-test-out-cacos: New generated file.
8788         * math/auto-libm-test-out-cacosh: Likewise.
8789         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
8790         Move tests with finite inputs to auto-libm-test-in.
8791         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
8792         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
8793         (libm-test-funcs-noauto): Remove cacos and cacosh.
8794         * sysdeps/i386/fpu/libm-test-ulps: Update.
8795         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8798         Revert:
8799         2017-02-16  Zack Weinberg  <zackw@panix.com>
8801         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8802         Don't include init-arch.h.
8803         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8804         Don't include init-arch.h.
8806 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8808         [BZ #21171]
8809         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
8810         +Inf and raise divide-by-zero when x is negative.
8811         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
8812         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
8813         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
8814         -Inf and raise divide-by-zero when x = +-0.
8815         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8816         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8817         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
8818         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
8819         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8820         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8821         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8823 2017-02-16  Zack Weinberg  <zackw@panix.com>
8825         * scripts/build-many-glibcs.py (bot_build_mail): If the
8826         bot_config does not contain all of the necessary email-
8827         related settings, just print a warning and continue.
8829 2017-02-16  Zack Weinberg  <zackw@panix.com>
8831         * crypt/md5.h: Test _LIBC with #if defined, not #if.
8832         * dirent/opendir-tst1.c: Include sys/stat.h.
8833         * dirent/tst-fdopendir.c: Include sys/stat.h.
8834         * dirent/tst-fdopendir2.c: Include stdlib.h.
8835         * dirent/tst-scandir.c: Include stdbool.h.
8836         * elf/tst-auditmod1.c: Include link.h and stddef.h.
8837         * elf/tst-tls15.c: Include stdlib.h.
8838         * elf/tst-tls16.c: Include stdlib.h.
8839         * elf/tst-tls17.c: Include stdlib.h.
8840         * elf/tst-tls18.c: Include stdlib.h.
8841         * iconv/tst-iconv6.c: Include endian.h.
8842         * iconvdata/bug-iconv11.c: Include limits.h.
8843         * io/test-utime.c: Include stdint.h.
8844         * io/tst-faccessat.c: Include sys/stat.h.
8845         * io/tst-fchmodat.c: Include sys/stat.h.
8846         * io/tst-fchownat.c: Include sys/stat.h.
8847         * io/tst-fstatat.c: Include sys/stat.h.
8848         * io/tst-futimesat.c: Include sys/stat.h.
8849         * io/tst-linkat.c: Include sys/stat.h.
8850         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
8851         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
8852         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
8853         * io/tst-openat.c: Include stdbool.h.
8854         * io/tst-readlinkat.c: Include sys/stat.h.
8855         * io/tst-renameat.c: Include sys/stat.h.
8856         * io/tst-symlinkat.c: Include sys/stat.h.
8857         * io/tst-unlinkat.c: Include stdbool.h.
8858         * libio/bug-memstream1.c: Include stdlib.h.
8859         * libio/bug-wmemstream1.c: Include stdlib.h.
8860         * libio/tst-fwrite-error.c: Include stdlib.h.
8861         * libio/tst-memstream1.c: Include stdlib.h.
8862         * libio/tst-memstream2.c: Include stdlib.h.
8863         * libio/tst-memstream3.c: Include stdlib.h.
8864         * malloc/tst-interpose-aux.c: Include stdint.h.
8865         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
8866         * nptl/tst-basic7.c: Include limits.h.
8867         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
8868         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
8869         * nptl/tst-cancel4_1.c: Include stddef.h.
8870         * nptl/tst-cancel4_2.c: Include stddef.h.
8871         * nptl/tst-cond16.c: Include limits.h.
8872         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8873         * nptl/tst-cond18.c: Include limits.h.
8874         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8875         * nptl/tst-cond4.c: Include stdint.h.
8876         * nptl/tst-cond6.c: Include stdint.h.
8877         * nptl/tst-stack2.c: Include limits.h.
8878         * nptl/tst-stackguard1.c: Include stddef.h.
8879         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
8880         * nptl/tst-tls4moda.c: Include stddef.h.
8881         Don't include stdio.h, unistd.h, or tls.h.
8882         * nptl/tst-tls4modb.c: Include stddef.h.
8883         Don't include stdio.h, unistd.h, or tls.h.
8884         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
8885         * posix/tst-getaddrinfo2.c: Include stdio.h.
8886         * posix/tst-getaddrinfo5.c: Include stdio.h.
8887         * posix/tst-pathconf.c: Include sys/stat.h.
8888         * posix/tst-posix_fadvise-common.c: Include stdint.h.
8889         * posix/tst-preadwrite-common.c: Include sys/stat.h.
8890         * posix/tst-regex.c: Include stdint.h.
8891         Don't include spawn.h or spawn_int.h.
8892         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
8893         * posix/tst-vfork3.c: Include sys/stat.h.
8894         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
8895         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
8896         * resolv/tst-resolv-search.c: Include stdlib.h.
8897         * stdio-common/tst-fmemopen2.c: Include stdint.h.
8898         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
8899         * stdlib/test-canon.c: Include sys/stat.h.
8900         * stdlib/tst-tls-atexit.c: Include stdbool.h.
8901         * string/test-memchr.c: Include stdint.h.
8902         * string/tst-cmp.c: Include stdint.h.
8903         * sysdeps/pthread/tst-timer.c: Include stdint.h.
8904         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
8905         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
8906         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8907         Don't include init-arch.h.
8908         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8909         Don't include init-arch.h.
8910         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
8911         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
8912         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
8913         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
8914         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
8915         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
8916         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
8917         * time/clocktest.c: Include stdint.h.
8918         * time/tst-posixtz.c: Include stdint.h.
8919         * timezone/tst-timezone.c: Include stdint.h.
8921 2017-02-16  Zack Weinberg  <zackw@panix.com>
8923         * string/string.h [__USE_MISC]: Include strings.h.
8924         (__bzero, bcmp, bcopy, bzero, index, rindex)
8925         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
8926         (ffs, ffsl, ffsll): Don't declare.
8927         * string/strings.h: Do not suppress the file if string.h has
8928         already been included.
8929         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
8930         annotations.
8931         (index, rindex): Define inline forwarders even if
8932         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
8933         (ffs): Use __attribute_const__.
8934         (ffsl, ffsll): Declare here.
8935         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
8936         have now been standardized.
8937         * include/string.h (__bzero): Declare here.
8939         * bits/types.h: Move to posix/bits.
8940         * include/bits/types.h: New wrapper.
8942 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
8944         * string/bits/string2.h (strcmp): Remove define.
8945         (__strcmp_cg): Likewise.
8946         (strncmp): Likewise.
8948 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
8950         * include/string.h: Add __cplusplus check.
8952 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8954         [BZ #21134]
8955         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
8956         "divide by zero" exception when the input is zero.
8957         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
8958         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
8959         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
8960         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
8961         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8963 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
8965         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
8966         and include ...
8967         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
8968         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
8969         to, and include ...
8970         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
8971         file.
8972         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
8973         and include ...
8974         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
8975         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
8976         and include ...
8977         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
8978         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
8979         and include ...
8980         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
8981         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
8982         and include ...
8983         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
8984         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
8985         to, and include ...
8986         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
8987         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
8988         and include ...
8989         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
8991 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
8993         * math/libm-test-support.h: Do not include <math-tests-arch.h>
8994         here.
8995         * math/libm-test-support.c (libm_test_init): Do not call
8996         INIT_ARCH_EXT here.
8997         * math/libm-test-driver.c: Include <math-tests-arch.h>.
8998         (main): Call INIT_ARCH_EXT.
9000 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9002         [BZ #21130]
9003         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
9004         with the "invalid" exception raised when x is -Inf.
9005         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9007 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
9009         * string/bits/string2.h (strchr): Remove define.
9011 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
9013         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
9014         tst-avx512.
9015         (test-extras): Add tst-avx-aux and tst-avx512-aux.
9016         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
9017         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
9018         ($(objpfx)tst-sse): New rule.
9019         ($(objpfx)tst-avx): Likewise.
9020         ($(objpfx)tst-avx512): Likewise.
9021         (CFLAGS-tst-avx-aux.c): New.
9022         (CFLAGS-tst-avxmod.c): Likewise.
9023         (CFLAGS-tst-avx512-aux.c): Likewise.
9024         (CFLAGS-tst-avx512mod.c): Likewise.
9025         * sysdeps/x86_64/tst-avx-aux.c: New file.
9026         * sysdeps/x86_64/tst-avx.c: Likewise.
9027         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
9028         * sysdeps/x86_64/tst-avx512.c: Likewise.
9029         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
9030         * sysdeps/x86_64/tst-avxmod.c: Likewise.
9031         * sysdeps/x86_64/tst-sse.c: Likewise.
9032         * sysdeps/x86_64/tst-ssemod.c: Likewise.
9034 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
9036         * math/auto-libm-test-in: Add more tests of csin and csinh.
9037         * math/auto-libm-test-out-csin: Regenerated.
9038         * math/auto-libm-test-out-csinh: Likewise.
9039         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
9040         auto-libm-test-in.
9041         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
9043 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9045         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
9046         libm-compat-calls-auto.
9047         (libm-compat-calls): Likewise.
9048         (libm-compat-calls-auto): Rename to libm-compat-calls and add
9049         w_lgamma_compatF and k_standardF (merged from the items above).
9050         (libm-routines): Use libm-compat-calls, instead of
9051         libm-compat-calls-auto, with type-foreach.
9053 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
9055         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
9056         macro.
9057         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
9058         (CFLAGS-test-ifloat.c): ... this.  Remove
9059         -U__LIBC_INTERNAL_MATH_INLINES.
9060         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
9061         (CFLAGS-test-idouble.c): ... this.  Remove
9062         -U__LIBC_INTERNAL_MATH_INLINES.
9063         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
9064         (CFLAGS-test-ildouble.c): ... this.  Remove
9065         -U__LIBC_INTERNAL_MATH_INLINES.
9067 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
9069         * math/libm-test-support.c: New file.  Content from
9070         math/libm-test-driver.c.
9071         * math/libm-test-support.h: Likewise.
9072         * math/libm-test-support-double.c: New file.
9073         * math/libm-test-support-float.c: Likewise.
9074         * math/libm-test-support-ldouble.c: Likewise.
9075         * math/libm-test-driver.c: Remove main comment and header
9076         includes.  Include libm-test-support.h.
9077         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
9078         (flag_test_errno): Remove static.
9079         (flag_test_exceptions): Likewise.
9080         (flag_test_finite): Likewise.
9081         (flag_test_inline): Likewise.
9082         (flag_test_mathvec): Likewise.
9083         (test_msg): Likewise.
9084         (NO_EXCEPTION): Remove.
9085         (INVALID_EXCEPTION): Likewise.
9086         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9087         (OVERFLOW_EXCEPTION): Likewise.
9088         (UNDERFLOW_EXCEPTION): Likewise.
9089         (INEXACT_EXCEPTION): Likewise.
9090         (INVALID_EXCEPTION_OK): Likewise.
9091         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9092         (OVERFLOW_EXCEPTION_OK): Likewise.
9093         (UNDERFLOW_EXCEPTION_OK): Likewise.
9094         (NO_INEXACT_EXCEPTION): Likewise.
9095         (EXCEPTIONS_OK): Likewise.
9096         (IGNORE_ZERO_INF_SIGN): Likewise.
9097         (TEST_NAN_SIGN): Likewise.
9098         (TEST_NAN_PAYLOAD): Likewise.
9099         (NO_TEST_INLINE): Likewise.
9100         (XFAIL_TEST): Likewise.
9101         (ERRNO_UNCHANGED): Likewise.
9102         (ERRNO_EDOM): Likewise.
9103         (ERRNO_ERANGE): Likewise.
9104         (IGNORE_RESULT): Likewise.
9105         (NON_FINITE): Likewise.
9106         (TEST_SNAN): Likewise.
9107         (NO_TEST_MATHVEC): Likewise.
9108         (__CONCATX): Likewise.
9109         (TYPE_MIN): Likewise.
9110         (TYPE_TRUE_MIN): Likewise.
9111         (TYPE_MAX): Likewise.
9112         (MIN_EXP): Likewise.
9113         (MAX_EXP): Likewise.
9114         (MANT_DIG): Likewise.
9115         (FSTR_MAX): Likewise.
9116         (ulp_idx): Likewise.
9117         (qtype_str): Remove static.
9118         (TEST_COND_binary32): Remove.
9119         (TEST_COND_binary64): Likewise.
9120         (TEST_COND_binary128): Likewise.
9121         (TEST_COND_ibm128): Likewise.
9122         (TEST_COND_intel96): Likewise.
9123         (TEST_COND_m68k96): Likewise.
9124         (TEST_COND_ibm128_libgcc): Likewise.
9125         (XFAIL_IBM128_LIBGCC): Likewise.
9126         (PAYLOAD_DIG): Likewise.
9127         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9128         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9129         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9130         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9131         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9132         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9133         (TEST_COND_long32): Likewise.
9134         (TEST_COND_long64): Likewise.
9135         (TEST_COND_before_rounding): Likewise.
9136         (TEST_COND_after_rounding): Likewise.
9137         (ulps_file_name): Likewise.
9138         (ulps_file): Likewise.
9139         (output_ulps): Likewise.
9140         (output_dir): Likewise.
9141         (noErrors): Likewise.
9142         (noTests): Likewise.
9143         (noExcTests): Likewise.
9144         (noErrnoTests): Likewise.
9145         (verbose): Likewise.
9146         (output_max_error): Likewise.
9147         (output_points): Likewise.
9148         (ignore_max_ulp): Likewise.
9149         (max_error): Likewise.
9150         (real_max_error): Likewise.
9151         (imag_max_error): Likewise.
9152         (prev_max_error): Likewise.
9153         (prev_real_max_error): Likewise.
9154         (prev_imag_max_error): Likewise.
9155         (max_valid_error): Likewise.
9156         (TYPE_DECIMAL_DIG): Likewise.
9157         (TYPE_HEX_DIG): Likewise.
9158         (fmt_ftostr): Likewise.
9159         (compare_ulp_data): Likewise.
9160         (find_ulps): Likewise.
9161         (init_max_error): Likewise.
9162         (set_max_error): Likewise.
9163         (print_float): Likewise.
9164         (print_screen): Likewise.
9165         (print_screen_max_error): Likewise.
9166         (update_stats): Likewise.
9167         (print_function_ulps): Likewise.
9168         (print_complex_function_ulps): Likewise.
9169         (fpstack_test): Likewise.
9170         (print_max_error): Likewise.
9171         (print_complex_max_error): Likewise.
9172         (test_single_exception): Likewise.
9173         (test_exceptions): Likewise.
9174         (test_single_errno): Likewise.
9175         (test_errno): Likewise.
9176         (ULPDIFF): Likewise.
9177         (ulp): Likewise.
9178         (check_float_internal): Likewise.
9179         (check_float): Likewise.
9180         (check_complex): Likewise.
9181         (check_int): Likewise.
9182         (check_long): Likewise.
9183         (check_bool): Likewise.
9184         (check_longlong): Likewise.
9185         (check_intmax_t): Likewise.
9186         (check_uintmax_t): Likewise.
9187         (enable_test): Likewise.
9188         (matherr): Likewise.
9189         (initialize): Likewise.
9190         (options): Likewise.
9191         (doc): Remove static.
9192         (argp): Likewise.
9193         (parse_opt): Remove.
9194         (check_ulp): Likewise.
9195         (libm_test_init): Likewise.
9196         (libm_test_finish): Likewise.
9197         * math/Makefile (libm-test-support): New variable.
9198         (test-extras): Add libm-test-support files.
9199         (extra-test-objs): Likewise.
9200         (CFLAGS-libm-test-support-float.c): New variable.
9201         (CFLAGS-libm-test-support-double.c): Likewise.
9202         (CFLAGS-libm-test-support-ldouble.c): Likewise.
9203         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
9204         libm-test-support objects.
9206 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9208         * math/Makefile (libm-calls): Move w_exp...
9209         (libm-compat-calls-auto): Here.
9211         * math/w_expl.c: Add suffix "_compat" to filename.
9212         * sysdeps/ia64/fpu/w_expl.c: Likewise.
9213         * sysdeps/ia64/fpu/w_expf.c: Likewise.
9214         * sysdeps/ia64/fpu/w_exp.c: Likewise.
9215         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9216         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9217         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9218         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
9219         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9221         * math/w_expl_compat.c: New file, copied from above.
9222         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
9223         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
9224         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
9225         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
9226         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
9227         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
9228         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
9229         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
9231         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
9232         to filename.
9233         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
9235         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
9236         copied from above and adjusted for the new filenames.
9237         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
9239 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9241         * math/Makefile (libm-calls): Move w_lgammaF...
9242         (libm-compat-calls-auto): Here.
9244         * math/w_lgamma.c: Add suffix "_compat2" to filename.
9245         * math/w_lgammaf.c: Likewise.
9246         * math/w_lgammal.c: Likewise.
9248         * math/w_lgamma_compat2.c: New file, copied from above.
9249         * math/w_lgammaf_compat2.c: Likewise.
9250         * math/w_lgammal_compat2.c: Likewise.
9252 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9254         * math/Makefile (libm-calls): Move w_lgammaF_r...
9255         (libm-compat-calls-auto): Here.
9257         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
9258         * math/w_lgammaf_r.c: Likewise.
9259         * math/w_lgammal_r.c: Likewise.
9260         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
9261         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
9262         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
9264         * math/w_lgamma_r_compat.c: New file, copied from above.
9265         * math/w_lgammaf_r_compat.c: Likewise.
9266         * math/w_lgammal_r_compat.c: Likewise.
9267         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
9268         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
9269         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
9271         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
9272         to filename.
9273         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
9275         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
9276         copied from above and adjusted for the new filenames.
9277         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
9279 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
9281         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
9282         calculation in SYSCALL_ERROR_HANDLER().
9284 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
9286         * manual/contrib.texi: Fix typo.
9288 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9290         [BZ #21109]
9291         * elf/dl-tunable-types.h (tunable_callback_t): Accept
9292         tunable_val_t as argument.
9293         * elf/dl-tunables.c (__tunable_set_val): Add comment.
9294         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
9295         argument.
9296         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
9298 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
9300         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
9301         Add PTRACE_EVENT_STOP.
9302         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9303         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9304         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9305         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9306         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
9307         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
9309 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
9311         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
9312         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
9313         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
9314         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
9315         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
9316         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
9317         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
9318         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
9319         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
9320         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
9322         [BZ #21112]
9323         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
9324         12 bits zero.
9325         (cp_l): Update for new value of cp_h.
9326         * math/auto-libm-test-in: Add another test of pow.
9327         * math/auto-libm-test-out-pow: Regenerated.
9329 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9331         * manual/contrib.texi: Fix typo.
9333 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9335         [BZ #15998]
9336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9337         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
9338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9340 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9342         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
9343         STRCHR as __strchr_power8.
9344         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
9345         strlen as __strlen_power8.
9347 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9349         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
9350         unaligned load for shorter strings.
9351         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
9353 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
9355         * math/libm-test-driver.c (flag_test_errno): New variable.
9356         (flag_test_exceptions): Likewise.
9357         (flag_test_finite): Likewise.
9358         (flag_test_inline): Likewise.
9359         (flag_test_mathvec): Likewise.
9360         (test_msg): Likewise.
9361         (ulp_idx): Likewise.
9362         (qtype_str): Likewise.
9363         (ULP_IDX): Remove macro.
9364         (QTYPE_STR): Likewise.
9365         (find_ulps): Use ulp_idx not ULP_IDX.
9366         (print_function_ulps): Use qtype_str, printed with %s, not
9367         QTYPE_STR, printed with concatentation to format string.
9368         (print_complex_function_ulps): Likewise.
9369         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
9370         (test_errno): Use flag_test_errno not TEST_ERRNO.
9371         (enable_test): Use flag_test_inline, flag_test_finite and
9372         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
9373         TEST_MATHVEC.
9374         (libm_test_init): New function.  Factored out of main.
9375         (libm_test_finish): Likewise.
9376         (main): Call libm_test_init and libm_test_finish and move most
9377         code to those functions.
9379         * math/libm-test-driver.c (STRX): New macro.
9380         (STR): Likewise.
9381         (STR_FLOAT): Likewise.
9382         (STR_VEC_LEN): Likewise.
9383         (TEST_MSG): Likewise.  Define here instead of expecting to be
9384         defined by including file.
9385         * math/test-double-finite.c (TEST_MSG): Remove macro.
9386         * math/test-double-vlen2.h (TEST_MSG): Likewise.
9387         * math/test-double-vlen4.h (TEST_MSG): Likewise.
9388         * math/test-double-vlen8.h (TEST_MSG): Likewise.
9389         * math/test-double.c (TEST_MSG): Likewise.
9390         * math/test-float-finite.c (TEST_MSG): Likewise.
9391         * math/test-float-vlen16.h (TEST_MSG): Likewise.
9392         * math/test-float-vlen4.h (TEST_MSG): Likewise.
9393         * math/test-float-vlen8.h (TEST_MSG): Likewise.
9394         * math/test-float.c (TEST_MSG): Likewise.
9395         * math/test-idouble.c (TEST_MSG): Likewise.
9396         * math/test-ifloat.c (TEST_MSG): Likewise.
9397         * math/test-ildouble.c (TEST_MSG): Likewise.
9398         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
9399         * math/test-ldouble.c (TEST_MSG): Likewise.
9401         * math/libm-test.inc: Move all tests of individual functions to
9402         libm-test-*.inc and #include libm-test-*.c files.
9403         (acos_test_data): Remove.
9404         (acos_test): Likewise.
9405         (acosh_test_data): Likewise.
9406         (acosh_test): Likewise.
9407         (asin_test_data): Likewise.
9408         (asin_test): Likewise.
9409         (asinh_test_data): Likewise.
9410         (asinh_test): Likewise.
9411         (atan_test_data): Likewise.
9412         (atan_test): Likewise.
9413         (atanh_test_data): Likewise.
9414         (atanh_test): Likewise.
9415         (atan2_test_data): Likewise.
9416         (atan2_test): Likewise.
9417         (cabs_test_data): Likewise.
9418         (cabs_test): Likewise.
9419         (cacos_test_data): Likewise.
9420         (cacos_test): Likewise.
9421         (cacosh_test_data): Likewise.
9422         (cacosh_test): Likewise.
9423         (canonicalize_test_data): Likewise.
9424         (canonicalize_test): Likewise.
9425         (carg_test_data): Likewise.
9426         (carg_test): Likewise.
9427         (casin_test_data): Likewise.
9428         (casin_test): Likewise.
9429         (casinh_test_data): Likewise.
9430         (casinh_test): Likewise.
9431         (catan_test_data): Likewise.
9432         (catan_test): Likewise.
9433         (catanh_test_data): Likewise.
9434         (catanh_test): Likewise.
9435         (cbrt_test_data): Likewise.
9436         (cbrt_test): Likewise.
9437         (ccos_test_data): Likewise.
9438         (ccos_test): Likewise.
9439         (ccosh_test_data): Likewise.
9440         (ccosh_test): Likewise.
9441         (ceil_test_data): Likewise.
9442         (ceil_test): Likewise.
9443         (cexp_test_data): Likewise.
9444         (cexp_test): Likewise.
9445         (cimag_test_data): Likewise.
9446         (cimag_test): Likewise.
9447         (clog_test_data): Likewise.
9448         (clog_test): Likewise.
9449         (clog10_test_data): Likewise.
9450         (clog10_test): Likewise.
9451         (conj_test_data): Likewise.
9452         (conj_test): Likewise.
9453         (copysign_test_data): Likewise.
9454         (copysign_test): Likewise.
9455         (cos_test_data): Likewise.
9456         (cos_test): Likewise.
9457         (cosh_test_data): Likewise.
9458         (cosh_test): Likewise.
9459         (cpow_test_data): Likewise.
9460         (cpow_test): Likewise.
9461         (cproj_test_data): Likewise.
9462         (cproj_test): Likewise.
9463         (creal_test_data): Likewise.
9464         (creal_test): Likewise.
9465         (csin_test_data): Likewise.
9466         (csin_test): Likewise.
9467         (csinh_test_data): Likewise.
9468         (csinh_test): Likewise.
9469         (csqrt_test_data): Likewise.
9470         (csqrt_test): Likewise.
9471         (ctan_test_data): Likewise.
9472         (ctan_test): Likewise.
9473         (ctanh_test_data): Likewise.
9474         (ctanh_test): Likewise.
9475         (erf_test_data): Likewise.
9476         (erf_test): Likewise.
9477         (erfc_test_data): Likewise.
9478         (erfc_test): Likewise.
9479         (exp_test_data): Likewise.
9480         (exp_test): Likewise.
9481         (exp10_test_data): Likewise.
9482         (exp10_test): Likewise.
9483         (pow10_test): Likewise.
9484         (exp2_test_data): Likewise.
9485         (exp2_test): Likewise.
9486         (expm1_test_data): Likewise.
9487         (expm1_test): Likewise.
9488         (fabs_test_data): Likewise.
9489         (fabs_test): Likewise.
9490         (fdim_test_data): Likewise.
9491         (fdim_test): Likewise.
9492         (floor_test_data): Likewise.
9493         (floor_test): Likewise.
9494         (fma_test_data): Likewise.
9495         (fma_test): Likewise.
9496         (fmax_test_data): Likewise.
9497         (fmax_test): Likewise.
9498         (fmaxmag_test_data): Likewise.
9499         (fmaxmag_test): Likewise.
9500         (fmin_test_data): Likewise.
9501         (fmin_test): Likewise.
9502         (fminmag_test_data): Likewise.
9503         (fminmag_test): Likewise.
9504         (fmod_test_data): Likewise.
9505         (fmod_test): Likewise.
9506         (fpclassify_test_data): Likewise.
9507         (fpclassify_test): Likewise.
9508         (frexp_test_data): Likewise.
9509         (frexp_test): Likewise.
9510         (fromfp_test_data): Likewise.
9511         (fromfp_test): Likewise.
9512         (fromfpx_test_data): Likewise.
9513         (fromfpx_test): Likewise.
9514         (getpayload_test_data): Likewise.
9515         (getpayload_test): Likewise.
9516         (hypot_test_data): Likewise.
9517         (hypot_test): Likewise.
9518         (ilogb_test_data): Likewise.
9519         (ilogb_test): Likewise.
9520         (iscanonical_test_data): Likewise.
9521         (iscanonical_test): Likewise.
9522         (iseqsig_test_data): Likewise.
9523         (iseqsig_test): Likewise.
9524         (isfinite_test_data): Likewise.
9525         (isfinite_test): Likewise.
9526         (finite_test): Likewise.
9527         (isgreater_test_data): Likewise.
9528         (isgreater_test): Likewise.
9529         (isgreaterequal_test_data): Likewise.
9530         (isgreaterequal_test): Likewise.
9531         (isinf_test_data): Likewise.
9532         (isinf_test): Likewise.
9533         (isless_test_data): Likewise.
9534         (isless_test): Likewise.
9535         (islessequal_test_data): Likewise.
9536         (islessequal_test): Likewise.
9537         (islessgreater_test_data): Likewise.
9538         (islessgreater_test): Likewise.
9539         (isnan_test_data): Likewise.
9540         (isnan_test): Likewise.
9541         (isnormal_test_data): Likewise.
9542         (isnormal_test): Likewise.
9543         (issignaling_test_data): Likewise.
9544         (issignaling_test): Likewise.
9545         (issubnormal_test_data): Likewise.
9546         (issubnormal_test): Likewise.
9547         (isunordered_test_data): Likewise.
9548         (isunordered_test): Likewise.
9549         (iszero_test_data): Likewise.
9550         (iszero_test): Likewise.
9551         (j0_test_data): Likewise.
9552         (j0_test): Likewise.
9553         (j1_test_data): Likewise.
9554         (j1_test): Likewise.
9555         (jn_test_data): Likewise.
9556         (jn_test): Likewise.
9557         (lgamma_test_data): Likewise.
9558         (lgamma_test): Likewise.
9559         (gamma_test): Likewise.
9560         (llogb_test_data): Likewise.
9561         (llogb_test): Likewise.
9562         (lrint_test_data): Likewise.
9563         (lrint_test): Likewise.
9564         (llrint_test_data): Likewise.
9565         (llrint_test): Likewise.
9566         (log_test_data): Likewise.
9567         (log_test): Likewise.
9568         (log10_test_data): Likewise.
9569         (log10_test): Likewise.
9570         (log1p_test_data): Likewise.
9571         (log1p_test): Likewise.
9572         (log2_test_data): Likewise.
9573         (log2_test): Likewise.
9574         (logb_test_data): Likewise.
9575         (logb_test): Likewise.
9576         (lround_test_data): Likewise.
9577         (lround_test): Likewise.
9578         (llround_test_data): Likewise.
9579         (llround_test): Likewise.
9580         (modf_test_data): Likewise.
9581         (modf_test): Likewise.
9582         (nearbyint_test_data): Likewise.
9583         (nearbyint_test): Likewise.
9584         (nextafter_test_data): Likewise.
9585         (nextafter_test): Likewise.
9586         (nextup_test_data): Likewise.
9587         (nextup_test): Likewise.
9588         (nextdown_test_data): Likewise.
9589         (nextdown_test): Likewise.
9590         (nexttoward_test_data): Likewise.
9591         (nexttoward_test): Likewise.
9592         (pow_test_data): Likewise.
9593         (pow_test): Likewise.
9594         (remainder_test_data): Likewise.
9595         (remainder_test): Likewise.
9596         (drem_test): Likewise.
9597         (remquo_test_data): Likewise.
9598         (remquo_test): Likewise.
9599         (rint_test_data): Likewise.
9600         (rint_test): Likewise.
9601         (round_test_data): Likewise.
9602         (round_test): Likewise.
9603         (roundeven_test_data): Likewise.
9604         (roundeven_test): Likewise.
9605         (scalb_test_data): Likewise.
9606         (scalb_test): Likewise.
9607         (scalbn_test_data): Likewise.
9608         (scalbn_test): Likewise.
9609         (ldexp_test): Likewise.
9610         (scalbln_test_data): Likewise.
9611         (scalbln_test): Likewise.
9612         (setpayload_test_data): Likewise.
9613         (setpayload_test): Likewise.
9614         (setpayloadsig_test_data): Likewise.
9615         (setpayloadsig_test): Likewise.
9616         (signbit_test_data): Likewise.
9617         (signbit_test): Likewise.
9618         (sin_test_data): Likewise.
9619         (sin_test): Likewise.
9620         (sincos_test_data): Likewise.
9621         (sincos_test): Likewise.
9622         (sinh_test_data): Likewise.
9623         (sinh_test): Likewise.
9624         (sqrt_test_data): Likewise.
9625         (sqrt_test): Likewise.
9626         (tan_test_data): Likewise.
9627         (tan_test): Likewise.
9628         (tanh_test_data): Likewise.
9629         (tanh_test): Likewise.
9630         (tgamma_test_data): Likewise.
9631         (tgamma_test): Likewise.
9632         (totalorder_test_data): Likewise.
9633         (totalorder_test): Likewise.
9634         (totalordermag_test_data): Likewise.
9635         (totalordermag_test): Likewise.
9636         (trunc_test_data): Likewise.
9637         (trunc_test): Likewise.
9638         (ufromfp_test_data): Likewise.
9639         (ufromfp_test): Likewise.
9640         (ufromfpx_test_data): Likewise.
9641         (ufromfpx_test): Likewise.
9642         (y0_test_data): Likewise.
9643         (y0_test): Likewise.
9644         (y1_test_data): Likewise.
9645         (y1_test): Likewise.
9646         (yn_test_data): Likewise.
9647         (yn_test): Likewise.
9648         (significand_test_data): Likewise.
9649         (significand_test): Likewise.
9650         * math/Makefile (auto-libm-test-out-files): Remove variable.
9651         (libm-test-funcs-noauto): New variable.
9652         (libm-test-funcs-all): Likewise.
9653         (libm-test-c-auto): Likewise.
9654         (libm-test-c-noauto): Likewise.
9655         (libm-tests-generated): Add $(libm-test-c-auto) and
9656         $(libm-test-c-noauto).
9657         (generated): Do not add auto-libm-test-out.
9658         (libm-test-c-auto-obj): New variable.
9659         (libm-test-c-noauto-obj): Likewise.
9660         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
9661         ($(libm-test-c-noauto-obj)): New static pattern rule.
9662         ($(libm-test-c-auto-obj)): Likewise.
9663         (libm-test-incs): New variable.
9664         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
9665         and pass it to gen-libm-have-vector-test.sh.
9666         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
9667         be passed on command line.
9668         * math/libm-test-acos.inc: New file.  Content from
9669         math/libm-test.inc.
9670         * math/libm-test-acosh.inc: Likewise.
9671         * math/libm-test-asin.inc: Likewise.
9672         * math/libm-test-asinh.inc: Likewise.
9673         * math/libm-test-atan.inc: Likewise.
9674         * math/libm-test-atan2.inc: Likewise.
9675         * math/libm-test-atanh.inc: Likewise.
9676         * math/libm-test-cabs.inc: Likewise.
9677         * math/libm-test-cacos.inc: Likewise.
9678         * math/libm-test-cacosh.inc: Likewise.
9679         * math/libm-test-canonicalize.inc: Likewise.
9680         * math/libm-test-carg.inc: Likewise.
9681         * math/libm-test-casin.inc: Likewise.
9682         * math/libm-test-casinh.inc: Likewise.
9683         * math/libm-test-catan.inc: Likewise.
9684         * math/libm-test-catanh.inc: Likewise.
9685         * math/libm-test-cbrt.inc: Likewise.
9686         * math/libm-test-ccos.inc: Likewise.
9687         * math/libm-test-ccosh.inc: Likewise.
9688         * math/libm-test-ceil.inc: Likewise.
9689         * math/libm-test-cexp.inc: Likewise.
9690         * math/libm-test-cimag.inc: Likewise.
9691         * math/libm-test-clog.inc: Likewise.
9692         * math/libm-test-clog10.inc: Likewise.
9693         * math/libm-test-conj.inc: Likewise.
9694         * math/libm-test-copysign.inc: Likewise.
9695         * math/libm-test-cos.inc: Likewise.
9696         * math/libm-test-cosh.inc: Likewise.
9697         * math/libm-test-cpow.inc: Likewise.
9698         * math/libm-test-cproj.inc: Likewise.
9699         * math/libm-test-creal.inc: Likewise.
9700         * math/libm-test-csin.inc: Likewise.
9701         * math/libm-test-csinh.inc: Likewise.
9702         * math/libm-test-csqrt.inc: Likewise.
9703         * math/libm-test-ctan.inc: Likewise.
9704         * math/libm-test-ctanh.inc: Likewise.
9705         * math/libm-test-erf.inc: Likewise.
9706         * math/libm-test-erfc.inc: Likewise.
9707         * math/libm-test-exp.inc: Likewise.
9708         * math/libm-test-exp10.inc: Likewise.
9709         * math/libm-test-exp2.inc: Likewise.
9710         * math/libm-test-expm1.inc: Likewise.
9711         * math/libm-test-fabs.inc: Likewise.
9712         * math/libm-test-fdim.inc: Likewise.
9713         * math/libm-test-floor.inc: Likewise.
9714         * math/libm-test-fma.inc: Likewise.
9715         * math/libm-test-fmax.inc: Likewise.
9716         * math/libm-test-fmaxmag.inc: Likewise.
9717         * math/libm-test-fmin.inc: Likewise.
9718         * math/libm-test-fminmag.inc: Likewise.
9719         * math/libm-test-fmod.inc: Likewise.
9720         * math/libm-test-fpclassify.inc: Likewise.
9721         * math/libm-test-frexp.inc: Likewise.
9722         * math/libm-test-fromfp.inc: Likewise.
9723         * math/libm-test-fromfpx.inc: Likewise.
9724         * math/libm-test-getpayload.inc: Likewise.
9725         * math/libm-test-hypot.inc: Likewise.
9726         * math/libm-test-ilogb.inc: Likewise.
9727         * math/libm-test-iscanonical.inc: Likewise.
9728         * math/libm-test-iseqsig.inc: Likewise.
9729         * math/libm-test-isfinite.inc: Likewise.
9730         * math/libm-test-isgreater.inc: Likewise.
9731         * math/libm-test-isgreaterequal.inc: Likewise.
9732         * math/libm-test-isinf.inc: Likewise.
9733         * math/libm-test-isless.inc: Likewise.
9734         * math/libm-test-islessequal.inc: Likewise.
9735         * math/libm-test-islessgreater.inc: Likewise.
9736         * math/libm-test-isnan.inc: Likewise.
9737         * math/libm-test-isnormal.inc: Likewise.
9738         * math/libm-test-issignaling.inc: Likewise.
9739         * math/libm-test-issubnormal.inc: Likewise.
9740         * math/libm-test-isunordered.inc: Likewise.
9741         * math/libm-test-iszero.inc: Likewise.
9742         * math/libm-test-j0.inc: Likewise.
9743         * math/libm-test-j1.inc: Likewise.
9744         * math/libm-test-jn.inc: Likewise.
9745         * math/libm-test-lgamma.inc: Likewise.
9746         * math/libm-test-llogb.inc: Likewise.
9747         * math/libm-test-llrint.inc: Likewise.
9748         * math/libm-test-llround.inc: Likewise.
9749         * math/libm-test-log.inc: Likewise.
9750         * math/libm-test-log10.inc: Likewise.
9751         * math/libm-test-log1p.inc: Likewise.
9752         * math/libm-test-log2.inc: Likewise.
9753         * math/libm-test-logb.inc: Likewise.
9754         * math/libm-test-lrint.inc: Likewise.
9755         * math/libm-test-lround.inc: Likewise.
9756         * math/libm-test-modf.inc: Likewise.
9757         * math/libm-test-nearbyint.inc: Likewise.
9758         * math/libm-test-nextafter.inc: Likewise.
9759         * math/libm-test-nextdown.inc: Likewise.
9760         * math/libm-test-nexttoward.inc: Likewise.
9761         * math/libm-test-nextup.inc: Likewise.
9762         * math/libm-test-pow.inc: Likewise.
9763         * math/libm-test-remainder.inc: Likewise.
9764         * math/libm-test-remquo.inc: Likewise.
9765         * math/libm-test-rint.inc: Likewise.
9766         * math/libm-test-round.inc: Likewise.
9767         * math/libm-test-roundeven.inc: Likewise.
9768         * math/libm-test-scalb.inc: Likewise.
9769         * math/libm-test-scalbln.inc: Likewise.
9770         * math/libm-test-scalbn.inc: Likewise.
9771         * math/libm-test-setpayload.inc: Likewise.
9772         * math/libm-test-setpayloadsig.inc: Likewise.
9773         * math/libm-test-signbit.inc: Likewise.
9774         * math/libm-test-significand.inc: Likewise.
9775         * math/libm-test-sin.inc: Likewise.
9776         * math/libm-test-sincos.inc: Likewise.
9777         * math/libm-test-sinh.inc: Likewise.
9778         * math/libm-test-sqrt.inc: Likewise.
9779         * math/libm-test-tan.inc: Likewise.
9780         * math/libm-test-tanh.inc: Likewise.
9781         * math/libm-test-tgamma.inc: Likewise.
9782         * math/libm-test-totalorder.inc: Likewise.
9783         * math/libm-test-totalordermag.inc: Likewise.
9784         * math/libm-test-trunc.inc: Likewise.
9785         * math/libm-test-ufromfp.inc: Likewise.
9786         * math/libm-test-ufromfpx.inc: Likewise.
9787         * math/libm-test-y0.inc: Likewise.
9788         * math/libm-test-y1.inc: Likewise.
9789         * math/libm-test-yn.inc: Likewise.
9790         * math/README.libm-test: Update.
9792         * math/gen-auto-libm-tests.c: Update comment about use of program.
9793         (generate_output): Add argument FUNCTION.
9794         (main): Require extra argument.  Pass function name to
9795         generate_output.
9796         * math/Makefile (generated): Add auto-libm-test-out.
9797         (libm-test-funcs-auto): New variable.
9798         (auto-libm-test-out-files): New variable.
9799         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
9800         Concatenate those files to form $(objpfx)auto-libm-test-out and
9801         use it as input to gen-libm-test.pl.
9802         * math/README.libm-test: Update.
9803         * math/auto-libm-test-out: Remove.
9804         * math/auto-libm-test-out-acos: New generated file.
9805         * math/auto-libm-test-out-acosh: Likewise.
9806         * math/auto-libm-test-out-asin: Likewise.
9807         * math/auto-libm-test-out-asinh: Likewise.
9808         * math/auto-libm-test-out-atan: Likewise.
9809         * math/auto-libm-test-out-atan2: Likewise.
9810         * math/auto-libm-test-out-atanh: Likewise.
9811         * math/auto-libm-test-out-cabs: Likewise.
9812         * math/auto-libm-test-out-carg: Likewise.
9813         * math/auto-libm-test-out-cbrt: Likewise.
9814         * math/auto-libm-test-out-ccos: Likewise.
9815         * math/auto-libm-test-out-ccosh: Likewise.
9816         * math/auto-libm-test-out-cexp: Likewise.
9817         * math/auto-libm-test-out-clog: Likewise.
9818         * math/auto-libm-test-out-clog10: Likewise.
9819         * math/auto-libm-test-out-cos: Likewise.
9820         * math/auto-libm-test-out-cosh: Likewise.
9821         * math/auto-libm-test-out-cpow: Likewise.
9822         * math/auto-libm-test-out-csin: Likewise.
9823         * math/auto-libm-test-out-csinh: Likewise.
9824         * math/auto-libm-test-out-csqrt: Likewise.
9825         * math/auto-libm-test-out-ctan: Likewise.
9826         * math/auto-libm-test-out-ctanh: Likewise.
9827         * math/auto-libm-test-out-erf: Likewise.
9828         * math/auto-libm-test-out-erfc: Likewise.
9829         * math/auto-libm-test-out-exp: Likewise.
9830         * math/auto-libm-test-out-exp10: Likewise.
9831         * math/auto-libm-test-out-exp2: Likewise.
9832         * math/auto-libm-test-out-expm1: Likewise.
9833         * math/auto-libm-test-out-fma: Likewise.
9834         * math/auto-libm-test-out-hypot: Likewise.
9835         * math/auto-libm-test-out-j0: Likewise.
9836         * math/auto-libm-test-out-j1: Likewise.
9837         * math/auto-libm-test-out-jn: Likewise.
9838         * math/auto-libm-test-out-lgamma: Likewise.
9839         * math/auto-libm-test-out-log: Likewise.
9840         * math/auto-libm-test-out-log10: Likewise.
9841         * math/auto-libm-test-out-log1p: Likewise.
9842         * math/auto-libm-test-out-log2: Likewise.
9843         * math/auto-libm-test-out-pow: Likewise.
9844         * math/auto-libm-test-out-sin: Likewise.
9845         * math/auto-libm-test-out-sincos: Likewise.
9846         * math/auto-libm-test-out-sinh: Likewise.
9847         * math/auto-libm-test-out-sqrt: Likewise.
9848         * math/auto-libm-test-out-tan: Likewise.
9849         * math/auto-libm-test-out-tanh: Likewise.
9850         * math/auto-libm-test-out-tgamma: Likewise.
9851         * math/auto-libm-test-out-y0: Likewise.
9852         * math/auto-libm-test-out-y1: Likewise.
9853         * math/auto-libm-test-out-yn: Likewise.
9855         * math/Makefile (generated): Do not include libm-test.stmp.
9856         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
9857         on $(objpfx)libm-test.stmp.
9858         ($(objpfx)libm-test.stmp): Remove rule.
9859         ($(objpfx)libm-test-ulps.h): New rule.
9860         ($(objpfx)libm-test.c): Likewise.
9861         ($(objpfx)libm-have-vector-test.h): Likewise.
9862         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
9863         individual generated files, not libm-test.stmp.
9865         * math/gen-libm-test.pl ($output_dir): Remove variable.
9866         ($srcdir): Likewise.
9867         ($opt_a): New variable.
9868         ($opt_c): Likewise.
9869         ($opt_C): Likewise.
9870         ($opt_H): Likewise.
9871         (-n): Make option take argument and use it as NewUlps output.
9872         (-a): New option.  Use its argument for auto-libm-test-out input.
9873         (-c): New option.  Use its argument for libm-test.inc input.
9874         (-C): New option.  Use its argument for libm-test.c output.
9875         (-H): New option.  Use its argument for libm-test-ulps.h output.
9876         (top level): Only process inputs needed to generate outputs
9877         specified by command-line options.  Only generate outputs
9878         specified by command-line options.
9879         * math/README.libm-test: Update example gen-libm-test.pl command.
9880         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
9881         commands.
9882         (regen-ulps): Likewise.
9884 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
9886         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
9887         * include/string.h (index): Remove define.
9888         (rindex): Likewise.
9889         * misc/getttyent.c (__getttyent): Rename index to strchr.
9890         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
9891         * sunrpc/rpc_main.c (mkfile_output): Likewise.
9893 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
9895         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
9896         * math/libm-test.inc: Move all contents, other than tests of
9897         individual functions, to libm-test-driver.c.
9898         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
9899         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
9900         [!FE_UPWARD] (FE_UPWARD): Likewise.
9901         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
9902         (NO_EXCEPTION): Likewise.
9903         (INVALID_EXCEPTION): Likewise.
9904         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9905         (OVERFLOW_EXCEPTION): Likewise.
9906         (UNDERFLOW_EXCEPTION): Likewise.
9907         (INEXACT_EXCEPTION): Likewise.
9908         (INVALID_EXCEPTION_OK): Likewise.
9909         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9910         (OVERFLOW_EXCEPTION_OK): Likewise.
9911         (UNDERFLOW_EXCEPTION_OK): Likewise.
9912         (NO_INEXACT_EXCEPTION): Likewise.
9913         (EXCEPTIONS_OK): Likewise.
9914         (IGNORE_ZERO_INF_SIGN): Likewise.
9915         (TEST_NAN_SIGN): Likewise.
9916         (TEST_NAN_PAYLOAD): Likewise.
9917         (NO_TEST_INLINE): Likewise.
9918         (XFAIL_TEST): Likewise.
9919         (ERRNO_UNCHANGED): Likewise.
9920         (ERRNO_EDOM): Likewise.
9921         (ERRNO_ERANGE): Likewise.
9922         (IGNORE_RESULT): Likewise.
9923         (NON_FINITE): Likewise.
9924         (TEST_SNAN): Likewise.
9925         (NO_TEST_MATHVEC): Likewise.
9926         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
9927         (__CONCATX): Likewise.
9928         (TYPE_MIN): Likewise.
9929         (TYPE_TRUE_MIN): Likewise.
9930         (TYPE_MAX): Likewise.
9931         (MIN_EXP): Likewise.
9932         (MAX_EXP): Likewise.
9933         (MANT_DIG): Likewise.
9934         (FSTR_MAX): Likewise.
9935         (ULP_IDX): Likewise.
9936         (QTYPE_STR): Likewise.
9937         (TEST_COND_binary32): Likewise.
9938         (TEST_COND_binary64): Likewise.
9939         (TEST_COND_binary128): Likewise.
9940         (TEST_COND_ibm128): Likewise.
9941         (TEST_COND_intel96): Likewise.
9942         (TEST_COND_m68k96): Likewise.
9943         (TEST_COND_ibm128_libgcc): Likewise.
9944         (XFAIL_IBM128_LIBGCC): Likewise.
9945         (PAYLOAD_DIG): Likewise.
9946         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9947         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9948         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9949         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9950         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9951         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9952         (TEST_COND_long32): Likewise.
9953         (TEST_COND_long64): Likewise.
9954         (TEST_COND_before_rounding): Likewise.
9955         (TEST_COND_after_rounding): Likewise.
9956         (lit_pi_3_m_4_d): Likewise.
9957         (lit_pi_3_m_4_ln10_m_d): Likewise.
9958         (lit_pi_2_ln10_m_d): Likewise.
9959         (lit_pi_4_ln10_m_d): Likewise.
9960         (lit_pi_ln10_d): Likewise.
9961         (lit_pi_2_d): Likewise.
9962         (lit_pi_4_d): Likewise.
9963         (lit_pi): Likewise.
9964         (lit_e): Likewise.
9965         (ulps_file_name): Likewise.
9966         (ulps_file): Likewise.
9967         (output_ulps): Likewise.
9968         (output_dir): Likewise.
9969         (noErrors): Likewise.
9970         (noTests): Likewise.
9971         (noExcTests): Likewise.
9972         (noErrnoTests): Likewise.
9973         (verbose): Likewise.
9974         (output_max_error): Likewise.
9975         (output_points): Likewise.
9976         (ignore_max_ulp): Likewise.
9977         (plus_zero): Likewise.
9978         (minus_zero): Likewise.
9979         (plus_infty): Likewise.
9980         (minus_infty): Likewise.
9981         (qnan_value_pl): Likewise.
9982         (qnan_value): Likewise.
9983         (snan_value_pl): Likewise.
9984         (snan_value): Likewise.
9985         (max_value): Likewise.
9986         (min_value): Likewise.
9987         (min_subnorm_value): Likewise.
9988         (snan_value_ld): Likewise.
9989         (max_error): Likewise.
9990         (real_max_error): Likewise.
9991         (imag_max_error): Likewise.
9992         (prev_max_error): Likewise.
9993         (prev_real_max_error): Likewise.
9994         (prev_imag_max_error): Likewise.
9995         (max_valid_error): Likewise.
9996         (TYPE_DECIMAL_DIG): Likewise.
9997         (TYPE_HEX_DIG): Likewise.
9998         (fmt_ftostr): Likewise.
9999         (compare_ulp_data): Likewise.
10000         (find_ulps): Likewise.
10001         (init_max_error): Likewise.
10002         (set_max_error): Likewise.
10003         (print_float): Likewise.
10004         (print_screen): Likewise.
10005         (print_screen_max_error): Likewise.
10006         (update_stats): Likewise.
10007         (print_function_ulps): Likewise.
10008         (print_complex_function_ulps): Likewise.
10009         (fpstack_test): Likewise.
10010         (print_max_error): Likewise.
10011         (print_complex_max_error): Likewise.
10012         (test_single_exception): Likewise.
10013         (test_exceptions): Likewise.
10014         (test_single_errno): Likewise.
10015         (test_errno): Likewise.
10016         (ULPDIFF): Likewise.
10017         (ulp): Likewise.
10018         (check_float_internal): Likewise.
10019         (check_float): Likewise.
10020         (check_complex): Likewise.
10021         (check_int): Likewise.
10022         (check_long): Likewise.
10023         (check_bool): Likewise.
10024         (check_longlong): Likewise.
10025         (check_intmax_t): Likewise.
10026         (check_uintmax_t): Likewise.
10027         (enable_test): Likewise.
10028         (struct test_f_f_data): Likewise.
10029         (struct test_ff_f_data): Likewise.
10030         (struct test_fj_f_data): Likewise.
10031         (struct test_fi_f_data): Likewise.
10032         (struct test_fl_f_data): Likewise.
10033         (struct test_if_f_data): Likewise.
10034         (struct test_fff_f_data): Likewise.
10035         (struct test_fiu_M_data): Likewise.
10036         (struct test_fiu_U_data): Likewise.
10037         (struct test_c_f_data): Likewise.
10038         (struct test_f_f1_data): Likewise.
10039         (struct test_fF_f1_data): Likewise.
10040         (struct test_ffI_f1_data): Likewise.
10041         (struct test_c_c_data): Likewise.
10042         (struct test_cc_c_data): Likewise.
10043         (struct test_f_i_data): Likewise.
10044         (struct test_ff_i_data): Likewise.
10045         (struct test_f_l_data): Likewise.
10046         (struct test_f_L_data): Likewise.
10047         (struct test_fFF_11_data): Likewise.
10048         (struct test_Ff_b1_data): Likewise.
10049         (IF_ROUND_INIT_): Likewise.
10050         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10051         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10052         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10053         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10054         (ROUND_RESTORE_): Likewise.
10055         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10056         (ROUND_RESTORE_FE_TONEAREST): Likewise.
10057         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10058         (ROUND_RESTORE_FE_UPWARD): Likewise.
10059         (RM_): Likewise.
10060         (RM_FE_DOWNWARD): Likewise.
10061         (RM_FE_TONEAREST): Likewise.
10062         (RM_FE_TOWARDZERO): Likewise.
10063         (RM_FE_UPWARD): Likewise.
10064         (COMMON_TEST_SETUP): Likewise.
10065         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10066         (COMMON_TEST_CLEANUP): Likewise.
10067         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10068         (RUN_TEST_f_f): Likewise.
10069         (RUN_TEST_LOOP_f_f): Likewise.
10070         (RUN_TEST_fp_f): Likewise.
10071         (RUN_TEST_LOOP_fp_f): Likewise.
10072         (RUN_TEST_2_f): Likewise.
10073         (RUN_TEST_LOOP_2_f): Likewise.
10074         (RUN_TEST_ff_f): Likewise.
10075         (RUN_TEST_LOOP_ff_f): Likewise.
10076         (RUN_TEST_LOOP_fj_f): Likewise.
10077         (RUN_TEST_fi_f): Likewise.
10078         (RUN_TEST_LOOP_fi_f): Likewise.
10079         (RUN_TEST_fl_f): Likewise.
10080         (RUN_TEST_LOOP_fl_f): Likewise.
10081         (RUN_TEST_if_f): Likewise.
10082         (RUN_TEST_LOOP_if_f): Likewise.
10083         (RUN_TEST_fff_f): Likewise.
10084         (RUN_TEST_LOOP_fff_f): Likewise.
10085         (RUN_TEST_fiu_M): Likewise.
10086         (RUN_TEST_LOOP_fiu_M): Likewise.
10087         (RUN_TEST_fiu_U): Likewise.
10088         (RUN_TEST_LOOP_fiu_U): Likewise.
10089         (RUN_TEST_c_f): Likewise.
10090         (RUN_TEST_LOOP_c_f): Likewise.
10091         (RUN_TEST_f_f1): Likewise.
10092         (RUN_TEST_LOOP_f_f1): Likewise.
10093         (RUN_TEST_fF_f1): Likewise.
10094         (RUN_TEST_LOOP_fF_f1): Likewise.
10095         (RUN_TEST_fI_f1): Likewise.
10096         (RUN_TEST_LOOP_fI_f1): Likewise.
10097         (RUN_TEST_ffI_f1_mod8): Likewise.
10098         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
10099         (RUN_TEST_Ff_b1): Likewise.
10100         (RUN_TEST_LOOP_Ff_b1): Likewise.
10101         (RUN_TEST_Ffp_b1): Likewise.
10102         (RUN_TEST_LOOP_Ffp_b1): Likewise.
10103         (RUN_TEST_c_c): Likewise.
10104         (RUN_TEST_LOOP_c_c): Likewise.
10105         (RUN_TEST_cc_c): Likewise.
10106         (RUN_TEST_LOOP_cc_c): Likewise.
10107         (RUN_TEST_f_i): Likewise.
10108         (RUN_TEST_LOOP_f_i): Likewise.
10109         (RUN_TEST_f_i_tg): Likewise.
10110         (RUN_TEST_LOOP_f_i_tg): Likewise.
10111         (RUN_TEST_ff_b): Likewise.
10112         (RUN_TEST_LOOP_ff_b): Likewise.
10113         (RUN_TEST_ff_i_tg): Likewise.
10114         (RUN_TEST_LOOP_ff_i_tg): Likewise.
10115         (RUN_TEST_f_b): Likewise.
10116         (RUN_TEST_LOOP_f_b): Likewise.
10117         (RUN_TEST_f_b_tg): Likewise.
10118         (RUN_TEST_LOOP_f_b_tg): Likewise.
10119         (RUN_TEST_f_l): Likewise.
10120         (RUN_TEST_LOOP_f_l): Likewise.
10121         (RUN_TEST_f_L): Likewise.
10122         (RUN_TEST_LOOP_f_L): Likewise.
10123         (RUN_TEST_fFF_11): Likewise.
10124         (RUN_TEST_LOOP_fFF_11): Likewise.
10125         (VEC_SUFF): Likewise.
10126         (STR_CONCAT): Likewise.
10127         (STR_CON3): Likewise.
10128         (HAVE_VECTOR): Likewise.
10129         (START): Likewise.
10130         (END): Likewise.
10131         (END_COMPLEX): Likewise.
10132         (ALL_RM_TEST): Likewise.
10133         (matherr): Likewise.
10134         (initialize): Likewise.
10135         (options): Likewise.
10136         (doc): Likewise.
10137         (parse_opt): Likewise.
10138         (argp): Likewise.
10139         (check_ulp): Likewise.
10140         (main): Likewise.
10141         (do_test): New function.  Call tests of individual functions
10142         previously called from main.
10144         * math/libm-test.inc: Remove comment listing functions tested and
10145         not tested.
10147 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10149         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
10150         (allocate_stack): Remove COLORING_INCREMENT usage.
10151         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
10152         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
10154 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
10156         * manual/libm-err-tab.pl (@all_functions): Change to
10157         %all_functions.  Initialize as empty.
10158         (parse_ulps): Add to %all_functions based on functions found in
10159         ulps files.  Ignore results for non-default rounding modes and
10160         vector functions.
10161         (print_platforms): Use %all_platforms.
10162         * manual/math.texi (Errors in Math Functions): Document omissions
10163         from the table.
10165         * math/Makefile (before-compile): Remove.
10167 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
10169         [BZ #21075]
10170         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
10171         unused assignment.
10172         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10174 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10176         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
10177         Add __glibc_unlikely hint.
10179 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10181         [BZ #16640]
10182         * sysdeps/i386/i686/strtok.S: Remove file.
10183         * sysdeps/i386/i686/strtok_r.S: Likewise.
10184         * sysdeps/i386/strtok.S: Likewise.
10185         * sysdeps/i386/strtok_r.S: Likewise.
10186         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
10187         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
10188         * sysdeps/x86_64/strtok.S: Likewise.
10189         * sysdeps/x86_64/strtok_r.S: Likewise.
10191         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
10192         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
10193         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10194         (__ASSUME_FADVISE64_AS_64_64): Define.
10195         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
10196         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
10197         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
10198         __ALIGNMENT_ARG usage.
10199         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
10200         __NR_fadvise64_64 if it is not defined.
10202 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10204         * version.h (RELEASE): Set to "development"
10205         (VERSION): Set to 2.25.90.
10206         * NEWS: Add 2.26 section.
10208         * version.h (RELEASE): Set to "stable"
10209         (VERSION): Set to 2.25.
10210         * include/features.h (__GLIBC_MINOR__): Set to 25.
10212         * manual/contrib.texi: Add more contributors from this release
10213         and past releases.
10215         * NEWS (2.25): Add list of bugs fixed.
10217         * NEWS: Add missing news items.
10219 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10221         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
10222         parent if child exited in that manner.  Print WEXITSTATUS
10223         instead of the raw status.
10224         (do_test_prep): Rename to do_test.
10225         (do_test): Return the result of run_executable_sgid.
10226         (TEST_FUNCTION_ARGV): Adjust.
10228 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
10229             Florian Weimer  <fweimer@redhat.com>
10230             Carlos O'Donell  <carlos@redhat.com>
10232         [BZ #20915]
10233         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
10234         Do not initialize DTV.
10235         * nptl/allocatestack.c (init_one_static_tls): Likewise.
10237 2017-02-03  David S. Miller  <davem@davemloft.net>
10239         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
10240         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10241         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
10242         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10243         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
10244         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10245         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
10246         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10247         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10248         (libm-sysdep_routines): Update.
10249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
10250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
10251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
10253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10254         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
10255         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
10256         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
10257         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
10258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
10259         Likewise.
10260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
10262         Likewise.
10263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
10265         Likewise.
10266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
10268         Likewise.
10269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10271         (libm-sysdep_routines): Update.
10273 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
10275         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
10276         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
10277         against unrelocated shared library.
10278         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10280 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10282         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
10283         * elf/tst-env-setuid-tunables.c
10284         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
10285         GLIBC_TUNABLES is removed in a setgid process.
10287         [BZ #21073]
10288         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
10289         * elf/dl-tunables.c (tunables_strdup): Remove.
10290         (get_next_env): Also return the previous envp.
10291         (parse_tunables): Erase tunables of category
10292         TUNABLES_SECLEVEL_SXID_ERASE.
10293         (maybe_enable_malloc_check): Make MALLOC_CHECK_
10294         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
10295         (__tunables_init)[TUNABLES_FRONTEND ==
10296         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
10297         after parsing.
10298         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
10299         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
10300         * elf/dl-tunables.h (struct _tunable): Change member is_secure
10301         to security_level.
10302         * elf/dl-tunables.list: Add security_level annotations for all
10303         tunables.
10304         * scripts/gen-tunables.awk: Recognize and generate enum values
10305         for security_level.
10306         * elf/tst-env-setuid.c: New test case.
10307         * elf/tst-env-setuid-tunables: new test case.
10308         * elf/Makefile (tests-static): Add them.
10310 2017-02-01  Richard Henderson  <rth@twiddle.net>
10312         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
10313         adjusting the byte count.
10315 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
10317         * conform/Makefile (linknamespace-libs): Define.
10319         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
10320         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
10321         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
10322         operands.
10324 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
10326         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
10328 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
10330         [BZ #21081]
10331         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10332         (L(stosb)): Add VZEROUPPER before ret.
10334 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
10335             Alexey Makhalov <amakhalov@vmware.com>
10336             Florian Weimer <fweimer@redhat.com>
10338         [BZ #20116]
10339         * nptl/pthread_create.c: Document concurrency notes.
10340         Enhance thread creation notes.
10341         (create_thread): Use bool *stopped_start.
10342         (START_THREAD_DEFN): Comment ownership of PD.
10343         (__pthread_create_2_1): Add local bool stopped_start and use
10344         that instead of pd->stopped_start where appropriate.
10345         * nptl/createthread.c (create_thread): Use bool *stopped_start.
10346         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
10347         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10348         * nptl/tst-create-detached.c: New file.
10349         * nptl/Makefile (tests): Add tst-create-detached.
10350         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10351         Reference the enhanced thread creation notes.
10352         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
10353         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10354         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
10355         (__pthread_current_priority): Likewise.
10356         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
10357         xpthread_attr_init, xpthread_attr_setdetachstate, and
10358         xpthread_attr_setstacksize.
10359         * support/xpthread_attr_destroy.c: New file.
10360         * support/xpthread_attr_init.c: New file.
10361         * support/xpthread_attr_setdetachstate.c: New file.
10362         * support/xpthread_attr_setstacksize.c: New file.
10363         * support/xthread.h: Define prototypes for xpthread_attr_destroy
10364         xpthread_attr_init, xpthread_attr_setdetachstate, and
10365         xpthread_attr_setstacksize.
10367 2017-01-27  Florian Weimer  <fweimer@redhat.com>
10369         * nptl/Makefile (tests): Add tst-robust-fork.
10370         * nptl/tst-robust-fork.c: New file.
10371         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
10372         xpthread_mutex_consistent, xpthread_mutex_destroy,
10373         xpthread_mutex_init, xpthread_mutexattr_destroy,
10374         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
10375         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
10376         xpthread_mutexattr_settype.
10377         * support/xmmap.c: New file.
10378         * support/xmunmap.c: Likewise.
10379         * support/xpthread_mutex_consistent.c: Likewise.
10380         * support/xpthread_mutex_destroy.c: Likewise.
10381         * support/xpthread_mutex_init.c: Likewise.
10382         * support/xpthread_mutexattr_destroy.c: Likewise.
10383         * support/xpthread_mutexattr_init.c: Likewise.
10384         * support/xpthread_mutexattr_setprotocol.c: Likewise.
10385         * support/xpthread_mutexattr_setpshared.c: Likewise.
10386         * support/xpthread_mutexattr_setrobust.c: Likewise.
10387         * support/xpthread_mutexattr_settype.c: Likewise.
10388         * support/xthread.h (xpthread_mutexattr_destroy)
10389         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
10390         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
10391         (xpthread_mutexattr_settype, xpthread_mutex_init)
10392         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
10393         * support/xunistd.h (xmmap, xmunmap): Likewise.
10395 2017-01-25  Florian Weimer  <fweimer@redhat.com>
10397         * string/Makefile (xtests): Add comment.
10398         (LOCALES): Add en_GB.UTF-8.
10399         (tst-strcoll-overflow.out): Depend on generated locales.
10400         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
10401         (SIZE, TIMEOUT): Update comments.
10402         (do_test): Define as static.  Fail test if setlocale fails.
10403         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
10404         messages.
10405         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
10406         TIMEOUT at 300 seconds should be enough to run this test
10407         successfully.
10409 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
10411         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
10412         /* FALLTHRU */ comments.
10414 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
10416         [BZ #21053]
10417         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
10418         constants instead of the old R* ones.
10419         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
10420         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
10421         (NGREG): ... to this, to fit in with other architectures.
10422         (gpregset_t): Use new NGREG macro.
10423         [__USE_GNU]: Remove condition; all architectures other than tile
10424         are unconditional.
10425         (R*): Rename to REG_R*.
10427 2017-01-20  DJ Delorie  <dj@redhat.com>
10429         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
10430         (tunable_set_val_if_valid_range_signed) ... this, and ...
10431         (tunable_set_val_if_valid_range_unsigned) ... this.
10432         (tunable_initialize): Call the correct one of the above based on type.
10434 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
10436         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
10437         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10438         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10439         * sysdeps/microblaze/libm-test-ulps: Likewise.
10440         * sysdeps/sh/libm-test-ulps: Likewise.
10442         * math/README.libm-test: Update list of characters for input and
10443         output types.
10445 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10447         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10448         (__lll_unlock_elision): Fix adapt_count decrement.
10450 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
10452         * README.pretty-printers (Known issues): Warn about printers not
10453         always covering everything.
10454         * nptl/nptl-printers.py (MutexPrinter): Change output.
10455         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
10457 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10459         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
10460         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10461         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
10462         (__lll_lock_elision): Do not test futex before starting a
10463         transaction.  Use __glibc_likely instead of __builtin_expect.
10464         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
10465         (__lll_trylock_elision): Do not test futex before starting a
10466         transaction.  Use __glibc_likely instead of __builtin_expect.
10468 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10470         * po/Makefile (update-translations): New target.
10472 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
10474         [BZ #21061]
10475         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
10477 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10479         * elf/dl-tunables (get_next_env): Always advance envp.
10480         * stdlib/tst-empty-env.c: New test case.
10481         * stdlib/Makefile (tests): Use it.
10483 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
10485         [BZ #21047]
10486         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
10487         name for instruction.
10488         [!__SOFTFP__] (_FPU_SETCW): Likewise.
10490 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
10492         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
10493         for make install.
10495 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10497         * po/bg.po: Merge from Translation Project.
10498         * po/fr.po: Likewise.
10499         * po/ko.po: Likewise.
10500         * po/nl.po: Likewise.
10501         * po/sv.po: Likewise.
10503 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
10505         * manual/install.texi (Tools for Compilation): Update GCC version
10506         known to work to build glibc.
10507         * INSTALL: Regenerated.
10509 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10511         [BZ #21006]
10512         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
10514 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
10516         [BZ #21045]
10517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10518         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
10519         to __sigprocmask.
10521 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
10523         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
10524         wrap-around.
10525         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
10527         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
10529 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10531         * NEWS: Fix typo.
10533 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10535         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
10536         barriers and comments.
10537         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
10538         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10539         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10541 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10543         [BZ #19402]
10544         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
10545         mutexes.
10547 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10549         [BZ #20985]
10550         * nptl/Makefile: Adapt.
10551         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10552         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10553         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10554         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10555         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
10556         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
10557         lll_robust* functions and adapt.
10558         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10559         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
10560         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10561         __lll_robust_timedlock, __lll_robust_unlock): Remove.
10562         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
10563         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10564         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
10565         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10566         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
10567         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10568         __lll_robust_timedlock, __lll_robust_unlock): Remove.
10569         * nptl/lowlevelrobustlock.c: Remove file.
10570         * nptl/lowlevelrobustlock.sym: Likewise.
10571         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
10572         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
10574 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10576         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10578 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10580         * po/cs.po: Merge translations from the Translation Project.
10581         * po/de.po: Likewise.
10582         * po/pl.po: Likewise.
10583         * po/ru.po: Likewise.
10584         * po/tr.po: Likewise.
10585         * po/uk.po: Likewise.
10586         * po/vi.po: Likewise.
10587         * po/zh_CN.po: Likewise.
10589 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
10591         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
10593         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
10594         object.
10596 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
10598         [BZ #16458]
10599         * bits/uintn-identity.h: New file.
10600         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
10601         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
10602         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
10603         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
10604         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
10605         * string/endian.h: Include <bits/uintn-identity.h>.
10606         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
10607         __uint16_identity.
10608         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
10609         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
10610         __uint32_identity.
10611         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
10612         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
10613         __uint64_identity.
10614         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
10615         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
10616         __uint16_identity.
10617         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
10618         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
10619         __uint32_identity.
10620         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
10621         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
10622         __uint64_identity.
10623         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
10624         * string/Makefile (headers): Add bits/uintn-identity.h.
10625         (tests): Add test-endian-types.
10626         * string/test-endian-types.c: New file.
10627         * inet/Makefile (tests): Add test-hnto-types.
10628         * inet/test-hnto-types.c: New file.
10630 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10632         * po/be.po: Update from Translation Project.
10633         * po/bg.po: Likewise.
10634         * po/ca.po: Likewise.
10635         * po/cs.po: Likewise.
10636         * po/da.po: Likewise.
10637         * po/de.po: Likewise.
10638         * po/el.po: Likewise.
10639         * po/eo.po: Likewise.
10640         * po/es.po: Likewise.
10641         * po/fi.po: Likewise.
10642         * po/fr.po: Likewise.
10643         * po/gl.po: Likewise.
10644         * po/hr.po: Likewise.
10645         * po/hu.po: Likewise.
10646         * po/ia.po: Likewise.
10647         * po/id.po: Likewise.
10648         * po/it.po: Likewise.
10649         * po/ja.po: Likewise.
10650         * po/ko.po: Likewise.
10651         * po/lt.po: Likewise.
10652         * po/nb.po: Likewise.
10653         * po/nl.po: Likewise.
10654         * po/pl.po: Likewise.
10655         * po/pt_BR.po: Likewise.
10656         * po/ru.po: Likewise.
10657         * po/rw.po: Likewise.
10658         * po/sk.po: Likewise.
10659         * po/sl.po: Likewise.
10660         * po/sv.po: Likewise.
10661         * po/tr.po: Likewise.
10662         * po/uk.po: Likewise.
10663         * po/vi.po: Likewise.
10664         * po/zh_CN.po: Likewise.
10665         * po/zh_TW.po: Likewise.
10667 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
10669         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
10670         -Wformat-truncation instead of -Wformat-length.
10671         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
10672         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
10673         GCC 7.
10674         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
10675         (do_test): Ignore -Wformat-truncation for GCC 7.
10677         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
10678         buffer used to print long int value.
10680         * elf/sotruss-lib.c (init): Increase space allocated for pid by
10681         one byte.  Print it with %ld, cast to long int.
10683 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10685         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
10686         (re.fullmatch, subprocess.run): Likewise.
10688 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10690         * po/libc.pot: Regenerate.
10692 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10694         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
10695         (min_strlen): Likewise.
10696         (disable_tunable): Likewise.
10697         (maybe_disable_malloc_check): Rename to
10698         maybe_enable_malloc_check.
10699         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
10700         if /etc/suid-debug file exists.
10701         (__tunables_init): Update caller.
10702         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
10703         secure.
10705 2016-01-10  Torvald Riegel  <triegel@redhat.com>
10707         * nptl/DESIGN-rwlock.txt: Remove.
10708         * nptl/lowlevelrwlock.sym: Remove.
10709         * nptl/Makefile: Add new tests.
10710         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
10711         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
10712         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
10713         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
10714         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
10715         PTHREAD_RWLOCK_FUTEX_USED): New.
10716         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
10717         implementation.
10718         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
10719         (__pthread_rwlock_rdlock): Adapt.
10720         * nptl/pthread_rwlock_timedrdlock.c
10721         (pthread_rwlock_timedrdlock): Adapt.
10722         * nptl/pthread_rwlock_timedwrlock.c
10723         (pthread_rwlock_timedwrlock): Adapt.
10724         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
10725         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
10726         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
10727         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
10728         (__pthread_rwlock_wrlock): Adapt.
10729         * nptl/tst-rwlock10.c: Adapt.
10730         * nptl/tst-rwlock11.c: Adapt.
10731         * nptl/tst-rwlock17.c: New file.
10732         * nptl/tst-rwlock18.c: New file.
10733         * nptl/tst-rwlock19.c: New file.
10734         * nptl/tst-rwlock2b.c: New file.
10735         * nptl/tst-rwlock8.c: Adapt.
10736         * nptl/tst-rwlock9.c: Adapt.
10737         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10738         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10739         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10740         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10741         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10742         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10743         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10744         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10745         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10746         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10747         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10748         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10749         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10750         (pthread_rwlock_t): Adapt.
10751         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10752         (pthread_rwlock_t): Adapt.
10753         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10754         * nptl/nptl-printers.py (): Adapt.
10755         * nptl/nptl_lock_constants.pysym: Adapt.
10756         * nptl/test-rwlock-printers.py: Adapt.
10757         * nptl/test-rwlockattr-printers.c: Adapt.
10758         * nptl/test-rwlockattr-printers.py: Adapt.
10760 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
10762         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
10763         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
10764         (fma_test_data): Likewise.
10765         (hypot_test_data): Likewise.
10766         (log1p_test_data): Likewise.
10767         (modf_test_data): Likewise.
10768         (pow_test_data): Likewise.
10769         (remainder_test_data): Likewise.
10770         (remquo_test_data): Likewise.
10771         (scalb_test_data): Likewise.
10772         (scalbn_test_data): Likewise.
10773         (scalbln_test_data): Likewise.
10774         * math/gen-libm-test.pl (parse_args): Transform
10775         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
10776         on the rounding mode.
10778 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
10780         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
10781         xfail-rounding:ibm128-libgcc automatically to tests overflowing
10782         and those that can underflow to zero.
10783         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
10784         add others.
10785         * math/auto-libm-test-out: Regenerated.
10787         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
10788         supported.
10789         (feholdexcept_tests): Skip tests requiring exceptions or rounding
10790         modes support if not supported.
10792         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
10793         Add libc.so PLT entry.
10794         (__tls_get_addr): Make ld.so PLT entry optional.
10796 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10798         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
10799         * string/bits/string3.h: ... here.
10801 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
10803         [BZ #21028]
10804         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
10805         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
10806         if EXCEPTION_TESTS returns false.
10808 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10810         [BZ #20558]
10811         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
10812         strings_fortified.h.
10813         [__USE_MISC] (bzero): Likewise.
10814         [__USE_MISC] (explicit_bzero): Likewise.
10815         * string/strings.h: Include strings_fortified.h.
10816         * string/Makefile (headers): Add strings_fortified.h.
10817         * string/bits/strings_fortified.h: New file.
10818         * include/bits/strings_fortified.h: Likewise.
10820 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
10822         * elf/tst-tls13.c (TIMEOUT): Remove.
10823         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
10824         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
10825         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
10826         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
10827         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
10829         [BZ #21026]
10830         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
10831         (readahead): New syscall entry.
10833 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
10835         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
10836         around tests of strncat with large sizes.
10838         * malloc/tst-malloc.c: Include <libc-internal.h>.
10839         (do_test): Disable -Walloc-size-larger-than= around tests of
10840         malloc with negative sizes.
10841         * malloc/tst-mcheck.c: Include <libc-internal.h>.
10842         (do_test): Disable -Walloc-size-larger-than= around tests of
10843         malloc and realloc with negative sizes.
10844         * malloc/tst-realloc.c: Include <libc-internal.h>.
10845         (do_test): Disable -Walloc-size-larger-than= around tests of
10846         realloc with negative sizes.
10848         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
10849         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
10850         allowed to 16 ulps.
10851         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
10852         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
10853         * math/auto-libm-test-out: Regenerated.
10855 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10857         * math/Makefile (libm-calls): Move wrappers...
10858         (libm-compat-call-auto): Here.
10859         (libm-routines): Add items in libm-compat-calls-auto.
10860         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
10861         the filenames of the wrappers that have been renamed.
10862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
10863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10865         * math/w_acos.c: Add _compat suffix to filename.
10866         * math/w_acosf.c: Likewise.
10867         * math/w_acosh.c: Likewise.
10868         * math/w_acoshf.c: Likewise.
10869         * math/w_acoshl.c: Likewise.
10870         * math/w_acosl.c: Likewise.
10871         * math/w_asin.c: Likewise.
10872         * math/w_asinf.c: Likewise.
10873         * math/w_asinl.c: Likewise.
10874         * math/w_atan2.c: Likewise.
10875         * math/w_atan2f.c: Likewise.
10876         * math/w_atan2l.c: Likewise.
10877         * math/w_atanh.c: Likewise.
10878         * math/w_atanhf.c: Likewise.
10879         * math/w_atanhl.c: Likewise.
10880         * math/w_cosh.c: Likewise.
10881         * math/w_coshf.c: Likewise.
10882         * math/w_coshl.c: Likewise.
10883         * math/w_exp10.c: Likewise.
10884         * math/w_exp10f.c: Likewise.
10885         * math/w_exp10l.c: Likewise.
10886         * math/w_exp2.c: Likewise.
10887         * math/w_exp2f.c: Likewise.
10888         * math/w_exp2l.c: Likewise.
10889         * math/w_fmod.c: Likewise.
10890         * math/w_fmodf.c: Likewise.
10891         * math/w_fmodl.c: Likewise.
10892         * math/w_hypot.c: Likewise.
10893         * math/w_hypotf.c: Likewise.
10894         * math/w_hypotl.c: Likewise.
10895         * math/w_j0.c: Likewise.
10896         * math/w_j0f.c: Likewise.
10897         * math/w_j0l.c: Likewise.
10898         * math/w_j1.c: Likewise.
10899         * math/w_j1f.c: Likewise.
10900         * math/w_j1l.c: Likewise.
10901         * math/w_jn.c: Likewise.
10902         * math/w_jnf.c: Likewise.
10903         * math/w_jnl.c: Likewise.
10904         * math/w_log10.c: Likewise.
10905         * math/w_log10f.c: Likewise.
10906         * math/w_log10l.c: Likewise.
10907         * math/w_log2.c: Likewise.
10908         * math/w_log2f.c: Likewise.
10909         * math/w_log2l.c: Likewise.
10910         * math/w_log.c: Likewise.
10911         * math/w_logf.c: Likewise.
10912         * math/w_logl.c: Likewise.
10913         * math/w_pow.c: Likewise.
10914         * math/w_powf.c: Likewise.
10915         * math/w_powl.c: Likewise.
10916         * math/w_remainder.c: Likewise.
10917         * math/w_remainderf.c: Likewise.
10918         * math/w_remainderl.c: Likewise.
10919         * math/w_scalb.c: Likewise.
10920         * math/w_scalbf.c: Likewise.
10921         * math/w_scalbl.c: Likewise.
10922         * math/w_sinh.c: Likewise.
10923         * math/w_sinhf.c: Likewise.
10924         * math/w_sinhl.c: Likewise.
10925         * math/w_sqrt.c: Likewise.
10926         * math/w_sqrtf.c: Likewise.
10927         * math/w_sqrtl.c: Likewise.
10928         * math/w_tgamma.c: Likewise.
10929         * math/w_tgammaf.c: Likewise.
10930         * math/w_tgammal.c: Likewise.
10932         * math/w_acos_compat.c: New file copied from above and
10933         adjusted for new #includes path
10934         * math/w_acosf_compat.c: Likewise.
10935         * math/w_acosh_compat.c: Likewise.
10936         * math/w_acoshf_compat.c: Likewise.
10937         * math/w_acoshl_compat.c: Likewise.
10938         * math/w_acosl_compat.c: Likewise.
10939         * math/w_asin_compat.c: Likewise.
10940         * math/w_asinf_compat.c: Likewise.
10941         * math/w_asinl_compat.c: Likewise.
10942         * math/w_atan2_compat.c: Likewise.
10943         * math/w_atan2f_compat.c: Likewise.
10944         * math/w_atan2l_compat.c: Likewise.
10945         * math/w_atanh_compat.c: Likewise.
10946         * math/w_atanhf_compat.c: Likewise.
10947         * math/w_atanhl_compat.c: Likewise.
10948         * math/w_cosh_compat.c: Likewise.
10949         * math/w_coshf_compat.c: Likewise.
10950         * math/w_coshl_compat.c: Likewise.
10951         * math/w_exp10_compat.c: Likewise.
10952         * math/w_exp10f_compat.c: Likewise.
10953         * math/w_exp10l_compat.c: Likewise.
10954         * math/w_exp2_compat.c: Likewise.
10955         * math/w_exp2f_compat.c: Likewise.
10956         * math/w_exp2l_compat.c: Likewise.
10957         * math/w_fmod_compat.c: Likewise.
10958         * math/w_fmodf_compat.c: Likewise.
10959         * math/w_fmodl_compat.c: Likewise.
10960         * math/w_hypot_compat.c: Likewise.
10961         * math/w_hypotf_compat.c: Likewise.
10962         * math/w_hypotl_compat.c: Likewise.
10963         * math/w_j0_compat.c: Likewise.
10964         * math/w_j0f_compat.c: Likewise.
10965         * math/w_j0l_compat.c: Likewise.
10966         * math/w_j1_compat.c: Likewise.
10967         * math/w_j1f_compat.c: Likewise.
10968         * math/w_j1l_compat.c: Likewise.
10969         * math/w_jn_compat.c: Likewise.
10970         * math/w_jnf_compat.c: Likewise.
10971         * math/w_jnl_compat.c: Likewise.
10972         * math/w_log10_compat.c: Likewise.
10973         * math/w_log10f_compat.c: Likewise.
10974         * math/w_log10l_compat.c: Likewise.
10975         * math/w_log2_compat.c: Likewise.
10976         * math/w_log2f_compat.c: Likewise.
10977         * math/w_log2l_compat.c: Likewise.
10978         * math/w_log_compat.c: Likewise.
10979         * math/w_logf_compat.c: Likewise.
10980         * math/w_logl_compat.c: Likewise.
10981         * math/w_pow_compat.c: Likewise.
10982         * math/w_powf_compat.c: Likewise.
10983         * math/w_powl_compat.c: Likewise.
10984         * math/w_remainder_compat.c: Likewise.
10985         * math/w_remainderf_compat.c: Likewise.
10986         * math/w_remainderl_compat.c: Likewise.
10987         * math/w_scalb_compat.c: Likewise.
10988         * math/w_scalbf_compat.c: Likewise.
10989         * math/w_scalbl_compat.c: Likewise.
10990         * math/w_sinh_compat.c: Likewise.
10991         * math/w_sinhf_compat.c: Likewise.
10992         * math/w_sinhl_compat.c: Likewise.
10993         * math/w_sqrt_compat.c: Likewise.
10994         * math/w_sqrtf_compat.c: Likewise.
10995         * math/w_sqrtl_compat.c: Likewise.
10996         * math/w_tgamma_compat.c: Likewise.
10997         * math/w_tgammaf_compat.c: Likewise.
10998         * math/w_tgammal_compat.c: Likewise.
11000         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
11001         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
11002         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
11003         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
11004         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
11005         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
11006         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
11007         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
11008         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
11009         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
11010         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
11011         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
11012         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
11013         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
11014         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
11015         * sysdeps/ia64/fpu/w_powl.c: Likewise.
11016         * sysdeps/ia64/fpu/w_powf.c: Likewise.
11017         * sysdeps/ia64/fpu/w_pow.c: Likewise.
11018         * sysdeps/ia64/fpu/w_logl.c: Likewise.
11019         * sysdeps/ia64/fpu/w_logf.c: Likewise.
11020         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
11021         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
11022         * sysdeps/ia64/fpu/w_log2.c: Likewise.
11023         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
11024         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
11025         * sysdeps/ia64/fpu/w_log10.c: Likewise.
11026         * sysdeps/ia64/fpu/w_log.c: Likewise.
11027         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
11028         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
11029         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
11030         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
11031         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
11032         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
11033         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
11034         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
11035         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
11036         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
11037         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
11038         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
11039         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
11040         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
11041         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
11042         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
11043         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
11044         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
11045         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
11046         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
11047         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
11048         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
11049         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
11050         * sysdeps/ia64/fpu/w_asin.c: Likewise.
11051         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
11052         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
11053         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
11054         * sysdeps/ia64/fpu/w_acos.c: Likewise.
11055         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
11056         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
11057         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
11058         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
11059         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
11060         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
11061         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
11062         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
11063         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
11064         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
11065         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
11066         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
11067         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
11068         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
11069         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
11070         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
11071         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
11072         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
11073         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
11074         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
11075         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
11076         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
11077         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
11078         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
11079         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
11080         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
11081         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
11082         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
11083         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
11084         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
11085         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
11086         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
11087         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
11088         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
11089         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
11090         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
11091         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
11092         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
11093         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
11094         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
11095         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
11096         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
11097         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
11098         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
11099         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
11100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
11101         Likewise.
11102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
11103         Likewise.
11104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
11105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
11106         Likewise.
11107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
11108         Likewise.
11109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
11110         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11111         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11112         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11113         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11114         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11115         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
11117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
11118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
11119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
11120         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11121         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11122         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11123         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11125         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
11126         and adjusted for new #includes path
11127         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
11128         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
11129         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
11130         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
11131         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
11132         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
11133         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
11134         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
11135         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
11136         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
11137         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
11138         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
11139         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
11140         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
11141         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
11142         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
11143         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
11144         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
11145         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
11146         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
11147         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
11148         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
11149         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
11150         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
11151         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
11152         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
11153         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
11154         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
11155         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
11156         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
11157         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
11158         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
11159         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
11160         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
11161         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
11162         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
11163         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
11164         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
11165         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
11166         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
11167         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
11168         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
11169         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
11170         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
11171         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
11172         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
11173         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
11174         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
11175         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
11176         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
11177         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
11178         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
11179         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
11180         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
11181         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
11182         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
11183         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
11184         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
11185         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
11186         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
11187         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
11188         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
11189         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
11190         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
11191         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
11192         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
11193         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
11194         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
11195         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
11196         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
11197         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
11198         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
11199         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
11200         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
11201         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
11202         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
11203         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
11204         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
11205         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
11206         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
11207         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
11208         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
11209         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
11210         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
11211         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
11212         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
11213         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
11214         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
11215         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
11216         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
11217         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
11218         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
11219         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
11220         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
11221         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
11222         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
11223         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
11224         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
11225         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
11226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
11227         Likewise.
11228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
11229         Likewise.
11230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
11231         Likewise.
11232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
11233         Likewise.
11234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
11235         Likewise.
11236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
11237         Likewise.
11238         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
11239         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
11240         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
11241         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
11242         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
11243         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
11244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
11245         Likewise.
11246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
11247         Likewise.
11248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
11249         Likewise.
11250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
11251         Likewise.
11252         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
11253         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
11254         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
11255         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
11257 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
11259         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
11260         __jmp_buf_internal_tag.
11262         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
11263         preserve NaN payload if [__mips_nan2008].
11264         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
11266         [BZ #21022]
11267         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
11269 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
11271         * sysdeps/i386/fpu/libm-test-ulps: Update.
11273 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11275         * sysdeps/ia64/strcat.c: Remove file.
11276         * sysdeps/powerpc/strcat.c: Likewise.
11277         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
11278         C implementation.
11279         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
11280         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
11282 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11283             Steven Munroe  <sjmunroe@us.ibm.com>
11284             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11286         [BZ #20822]
11287         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11288         (__lll_lock_elision): Access adapt_count via C11 atomics.
11289         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11290         (__lll_trylock_elision): Likewise.
11291         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11292         (__lll_unlock_elision):  Update adapt_count variable inside the
11293         critical section using C11 atomics.
11295 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
11297         * math/test-fenvinline.c (do_test): Disable tests of raised
11298         exceptions if !EXCEPTION_TESTS (FLOAT).
11300 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11302         [BZ #19390]
11303         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
11304         maximum string size.
11305         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
11306         in pointer addition.
11307         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
11308         Likewise.
11310 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
11312         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
11313         passed to tst-ldconfig-X.sh.
11315 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
11317         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
11319 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
11321         [BZ #21019]
11322         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
11323         New syscall entry.
11324         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
11325         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
11326         lseek.
11328         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11329         power4 glibc for powerpc-linux-gnu.
11331 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11333         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
11334         semctl.
11336 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
11338         * math/test-nearbyint-except.c: Include <stdbool.h>.
11339         (any_supported): New variable.
11340         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
11341         set any_supported.
11342         (do_test): Return 77 if no floating-point type supported
11343         exceptions.
11345         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
11346         condition on [__mips_hard_float].
11348 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11350         [BZ #21014]
11351         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
11352         in pointer addition.
11353         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
11355 2017-01-02  Torvald Riegel  <triegel@redhat.com>
11357         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
11358         new condvar.
11360 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
11362         * scripts/build-many-glibcs.py (Context.checkout): Default
11363         binutils version to 2.28 branch.
11365 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11367         * support/support_format_netent.c (support_format_netent): Work
11368         around alpha struct netent definition difference.
11370 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11372         * support/xwrite.c (xwrite): Use %td for pointer difference.
11374 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11376         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
11377         have-tunables only.
11378         (tests-static): Add tst-malloc-usable-static-tunables for
11379         have-tunables only.
11381 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
11383         * scripts/config.guess: Update to version 2017-01-01.
11384         * scripts/config.sub: Update to version 2017-01-01.
11386         * NEWS: Update copyright dates.
11387         * catgets/gencat.c (print_version): Likewise.
11388         * csu/version.c (banner): Likewise.
11389         * debug/catchsegv.sh: Likewise.
11390         * debug/pcprofiledump.c (print_version): Likewise.
11391         * debug/xtrace.sh (do_version): Likewise.
11392         * elf/ldconfig.c (print_version): Likewise.
11393         * elf/ldd.bash.in: Likewise.
11394         * elf/pldd.c (print_version): Likewise.
11395         * elf/sotruss.sh: Likewise.
11396         * elf/sprof.c (print_version): Likewise.
11397         * iconv/iconv_prog.c (print_version): Likewise.
11398         * iconv/iconvconfig.c (print_version): Likewise.
11399         * locale/programs/locale.c (print_version): Likewise.
11400         * locale/programs/localedef.c (print_version): Likewise.
11401         * login/programs/pt_chown.c (print_version): Likewise.
11402         * malloc/memusage.sh (do_version): Likewise.
11403         * malloc/memusagestat.c (print_version): Likewise.
11404         * malloc/mtrace.pl: Likewise.
11405         * manual/libc.texinfo: Likewise.
11406         * nptl/version.c (banner): Likewise.
11407         * nscd/nscd.c (print_version): Likewise.
11408         * nss/getent.c (print_version): Likewise.
11409         * nss/makedb.c (print_version): Likewise.
11410         * posix/getconf.c (main): Likewise.
11411         * scripts/test-installation.pl: Likewise.
11412         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11414         * All files with FSF copyright notices: Update copyright dates
11415         using scripts/update-copyrights.
11416         * intl/plural.c: Regenerated.
11417         * locale/programs/charmap-kw.h: Likewise.
11418         * locale/programs/locfile-kw.h: Likewise.
11420 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11422         [BZ #20593]
11423         Update DNS RR type definitions.
11424         * scripts/gen-rrtypes.py: New file.
11425         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
11426         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
11427         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
11428         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
11429         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
11430         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
11431         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
11432         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
11433         ns_t_ta, ns_t_dlv.
11434         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
11435         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
11436         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
11437         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
11438         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
11439         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
11440         Define.
11441         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
11442         entry for ns_t_zxfr.
11444 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11446         [BZ #18784]
11447         CVE-2015-5180
11448         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
11449         T_UNSPEC.  Adjust value.
11450         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
11451         * resolv/res_query.c (__libc_res_nquery): Likewise.
11452         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
11453         QTYPEs.
11454         * resolv/tst-resolv-qtypes.c: New file.
11455         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
11456         (tst-resolv-qtypes): Link against libresolv and libpthread.
11458 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11460         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
11462 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11464         * manual/tunables.texi: New chapter.
11465         * manual/Makefile (chapters): Add it.
11466         * manual/probes.texi (@node): Point to the Tunables chapter.
11468         * Makeconfig (have-tunables): Check for non-negative instead
11469         of positive.
11470         * configure.ac: Add 'valstring' as a valid value for
11471         --enable-tunables.
11472         * configure: Regenerate.
11473         * elf/Makefile (have-tunables): Check for non-negative instead
11474         of positive.
11475         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
11476         dl-tunables.c.
11477         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
11478         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11479         (tunables_strdup): Likewise.
11480         (disable_tunables): Likewise.
11481         (parse_tunables): Likewise.
11482         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
11483         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11484         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
11485         (TUNABLES_FRONTEND_yes): New macro, define as
11486         TUNABLES_FRONTEND_valstring by default.
11487         * manual/install.texi: Document new acceptable values for
11488         --enable-tunables.
11489         * INSTALL: Regenerate.
11491         * config.make.in (have-loop-to-function): Define.
11492         * elf/Makefile (CFLAGS-dl-tunables.c): Add
11493         -fno-tree-loop-distribute-patterns.
11494         * elf/dl-tunables.c: Include libc-internals.h.
11495         (GLIBC_TUNABLES): New macro.
11496         (tunables_strdup): New function.
11497         (parse_tunables): New function.
11498         (min_strlen): New function.
11499         (__tunables_init): Use the new functions and macro.
11500         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
11501         * malloc/tst-malloc-usable-tunables.c: New test case.
11502         * malloc/tst-malloc-usable-static-tunables.c: New test case.
11503         * malloc/Makefile (tests, tests-static): Add tests.
11505         * manual/install.texi: Add --enable-tunables option.
11506         * INSTALL: Regenerate.
11507         * README.tunables: New file.
11508         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
11509         (before-compile): Generate dl-tunable-list.h early.
11510         * config.h.in: Add HAVE_TUNABLES.
11511         * config.make.in: Add have-tunables.
11512         * configure.ac: Add --enable-tunables option.
11513         * configure: Regenerate.
11514         * csu/init-first.c (__libc_init_first): Move
11515         __libc_init_secure earlier...
11516         * csu/init-first.c (LIBC_START_MAIN):... to here.
11517         Include dl-tunables.h, libc-internal.h.
11518         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
11519         binaries.
11520         * elf/Makefile (dl-routines): Add dl-tunables.
11521         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
11522         namespace.
11523         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
11524         only when !HAVE_TUNABLES.
11525         * elf/rtld.c (process_envvars): Likewise.
11526         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
11527         (_dl_sysdep_start): Call __tunables_init.
11528         * elf/dl-tunable-types.h: New file.
11529         * elf/dl-tunables.c: New file.
11530         * elf/dl-tunables.h: New file.
11531         * elf/dl-tunables.list: New file.
11532         * malloc/tst-malloc-usable-static.c: New test case.
11533         * malloc/Makefile (tests-static): Add it.
11534         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
11535         Define TUNABLE_NAMESPACE.
11536         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
11537         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
11538         callback functions.
11539         (ptmalloc_init): Set tunable values.
11540         * scripts/gen-tunables.awk: New file.
11541         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
11542         (_dl_sysdep_start): Call __tunables_init.
11544 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11546         * resolv/resolv.h (RES_BLAST): Deprecate.
11547         * resolv/res_debug.c (p_option): Remove RES_BLAST.
11548         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
11549         to RES_BLAST.
11551 2016-12-27  Florian Weimer  <fweimer@redhat.com>
11553         [BZ #19582]
11554         Deprecate RES_USE_INET6.
11555         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
11556         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
11557         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
11558         RES_USE_INET6.
11559         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
11560         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
11561         (_nss_nisplus_gethostbyaddr_r): Likewise.
11562         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
11563         of res_use_inet6.
11564         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
11565         instead of RES_USE_INET6.
11566         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
11567         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
11568         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
11569         Likewise.
11570         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
11571         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
11572         Likewise.
11573         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
11574         (_nss_dns_gethostbyname_r): Likewise.
11575         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
11576         alternate RES_USE_INET6 handling.
11577         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
11578         instead of RES_USE_INET6.
11579         * resolv/res_init.c (res_setoptions): Likewise.
11580         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
11581         * resolv/resolv-internal.h: New file.
11582         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
11583         make the deprecation warning non-fatal.
11584         * resolv/README (Using the resolver in multi-threaded code): Drop
11585         reference to RES_USE_INET6.
11586         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
11587         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
11589 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11591         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
11592         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
11593         tst-resolv-search.
11594         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
11595         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
11596         with libresolv and libpthread.
11597         * resolv/tst-bug18665.c: New file.
11598         * resolv/tst-bug18665-tcp: Likewise.
11599         * resolv/tst-res_use_inet6: Likewise.
11600         * resolv/tst-resolv-basic: Likewise.
11601         * resolv/tst-resolv-network: Likewise.
11602         * resolv/tst-resolv-search: Likewise.
11603         * support/Makefile (libsupport-routines): Add check_addrinfo,
11604         check_dns_packet, check_hostent, check_netent, resolv_test,
11605         support_format_address_family, support_format_addrinfo,
11606         support_format_dns_packet, support_format_herrno,
11607         support_format_hostent, support_format_netent, support_run_diff,
11608         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
11609         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
11610         xstrdup, xwrite.
11611         * support/check_addrinfo.c: New file.
11612         * support/check_dns_packet.c: Likewise.
11613         * support/check_hostent.c: Likewise.
11614         * support/check_netent.c: Likewise.
11615         * support/check_nss.h: Likewise.
11616         * support/format_nss.h: Likewise.
11617         * support/resolv_test.c: Likewise.
11618         * support/resolv_test.h: Likewise.
11619         * support/run_diff.h: Likewise.
11620         * support/support_format_address_family.c: Likewise.
11621         * support/support_format_addrinfo.c: Likewise.
11622         * support/support_format_dns_packet.c: Likewise.
11623         * support/support_format_herrno.c: Likewise.
11624         * support/support_format_hostent.c: Likewise.
11625         * support/support_format_netent.c: Likewise.
11626         * support/support_run_diff.c: Likewise.
11627         * support/xaccept.c: Likewise.
11628         * support/xbind.c: Likewise.
11629         * support/xconnect.c: Likewise.
11630         * support/xfclose.c: Likewise.
11631         * support/xfopen.c: Likewise.
11632         * support/xgetsockname.c: Likewise.
11633         * support/xlisten.c: Likewise.
11634         * support/xmemstream.c: Likewise.
11635         * support/xmemstream.h: Likewise.
11636         * support/xpoll.c: Likewise.
11637         * support/xpthread_once.c: Likewise.
11638         * support/xrecvfrom.c: Likewise.
11639         * support/xsendto.c: Likewise.
11640         * support/xsetsockopt.c: Likewise.
11641         * support/xstdio.h: Likewise.
11642         * support/xstrdup.c: Likewise.
11643         * support/support.h (xstrdup): Declare.
11644         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
11645         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
11646         * support/xthread.h (xpthread_once): Likwise.
11647         * support/xunistd.h (xwrite): Declare.
11649 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11651         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
11652         (test_verbose): Declare.
11653         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
11654         * support/support_test_main.c (default_options): Likewise.
11655         (usage, support_test_main): Handle 'v'.
11656         (test_verbose): Define.
11657         * support/tst-support_record_failure.c (do_test): Use
11658         test_verbose.
11659         * support/tst-support_record_failure-2.sh (different_status): Add
11660         --verbose test.
11662 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11664         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
11665         test failures are recorded.
11666         * support/check.c (support_print_failure_impl): Call
11667         support_record_failure.
11668         (support_exit_failure_impl): Call support_record_failure if status
11669         indicates failure.
11670         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
11671         * support/xasprintf.c (xasprintf): Likewise.
11672         * support/xfork.c (xfork): Likewise.
11673         * support/xpthread_check_return.c (xpthread_check_return):
11674         Likewise.
11675         * support/xsocket.c (xsocket): Likeweise.
11676         * support/xwaitpid.c (xwaitpid): Likewise.
11677         * support/support_record_failure.c (struct test_failures): Adjust
11678         to coding style.
11679         * support/support_test_verify_impl.c (support_test_verify_impl):
11680         Adjust error messages.
11681         * support/tst-support_record_failure-2.sh (different_status):
11682         Adjust error messages.
11684 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11686         * support/namespace.h: New file.
11687         * support/support_become_root.c: Likewise.
11688         * support/support_enter_network_namespace.c: Likewise.
11689         * support/tst-support-namespace.c: Likewise.
11690         * support/xsocket.c: Likewise.
11691         * support/xsocket.h: Likewise.
11692         * support/Makefile (libsupport-routines): Add support_become_root,
11693         support_enter_network_namespace, xsocket.
11694         (tests): Add tst-support-namespace.
11696 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11698         [BZ #17252]
11699         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
11700         __USE_GNU.
11702 2016-12-31  Torvald Riegel  <triegel@redhat.com>
11704         [BZ #13165]
11705         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
11706         use new algorithm.
11707         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11708         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11709         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11710         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11711         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
11712         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
11713         __condvar_cleanup_waiting, __condvar_dec_grefs,
11714         __pthread_cond_wait_common): New.
11715         (__condvar_cleanup): Remove.
11716         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
11717         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
11718         Likewise.
11719         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
11720         Likewise.
11721         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
11722         * nptl/tst-cond1.c: Add comment.
11723         * nptl/tst-cond20.c (do_test): Adapt.
11724         * nptl/tst-cond22.c (do_test): Likewise.
11725         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
11726         structure.
11727         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11728         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11729         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11730         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
11731         Likewise.
11732         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11733         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11734         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11735         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11736         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11737         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
11738         Likewise.
11739         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
11740         Likewise.
11741         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11742         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
11743         (COND_CLOCK_BITS): Adapt.
11744         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
11745         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
11746         __PTHREAD_COND_SHARED_MASK): New.
11747         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
11748         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
11749         * nptl/nptl_lock_constants.pysym: Adapt.
11750         * nptl/test-cond-printers.py: Adapt.
11751         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
11752         cond_compat_check_and_clear): Adapt.
11753         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
11754         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11755         (__pthread_cond_timedwait): ... and move here.
11756         * nptl/DESIGN-condvar.txt: Remove file.
11757         * nptl/lowlevelcond.sym: Likewise.
11758         * nptl/pthread_cond_timedwait.c: Likewise.
11759         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
11760         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
11761         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
11762         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
11763         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
11764         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
11765         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
11766         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
11767         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
11768         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
11769         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
11770         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
11771         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
11772         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
11773         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
11774         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
11776 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
11778         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11779         (fromfp): New declaration.
11780         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11781         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11782         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11783         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
11784         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
11785         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11786         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11787         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11788         * math/math.h: Include <bits/types.h>.
11789         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
11790         constant and macro.
11791         (FP_INT_DOWNWARD): Likewise.
11792         (FP_INT_TOWARDZERO): Likewise.
11793         (FP_INT_TONEARESTFROMZERO): Likewise.
11794         (FP_INT_TONEAREST): Likewise.
11795         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
11796         (fromfpf): Likewise.
11797         (fromfpl): Likewise.
11798         (ufromfp): Likewise.
11799         (ufromfpf): Likewise.
11800         (ufromfpl): Likewise.
11801         (fromfpx): Likewise.
11802         (fromfpxf): Likewise.
11803         (fromfpxl): Likewise.
11804         (ufromfpx): Likewise.
11805         (ufromfpxf): Likewise.
11806         (ufromfpxl): Likewise.
11807         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
11808         s_fromfpxF and s_ufromfpxF.
11809         * math/gen-fromfp-tests.py: New file.
11810         * math/gen-fromfp-tests-inputs: Likewise.
11811         * math/libm-test.inc: Include <stdint.h>
11812         (check_intmax_t): New function.
11813         (check_uintmax_t): Likewise.
11814         (struct test_fiu_M_data): New type.
11815         (struct test_fiu_U_data): Likewise.
11816         (RUN_TEST_fiu_M): New macro.
11817         (RUN_TEST_LOOP_fiu_M): Likewise.
11818         (RUN_TEST_fiu_U): Likewise.
11819         (RUN_TEST_LOOP_fiu_U): Likewise.
11820         (fromfp_test_data): New array.
11821         (fromfp_test): New function.
11822         (fromfpx_test_data): New array.
11823         (fromfpx_test): New function.
11824         (ufromfp_test_data): New array.
11825         (ufromfp_test): New function.
11826         (ufromfpx_test_data): New array.
11827         (ufromfpx_test): New function.
11828         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
11829         ufromfpx_test.
11830         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
11831         characters.
11832         * math/test-tgmath-ret.c: Include <stdint.h>.
11833         (rm): New variable.
11834         (width): Likewise.
11835         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
11836         called function.
11837         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
11838         CHECK_RET_CONST_TYPE.
11839         (CHECK_RET_CONST_DOUBLE): Likewise.
11840         (CHECK_RET_CONST_LDOUBLE): Likewise.
11841         (CHECK_RET_CONST): Take extra arguments and pass them to calls
11842         macros.
11843         (fromfp): New CHECK_RET_CONST call.
11844         (ufromfp): Likewise.
11845         (fromfpx): Likewise.
11846         (ufromfpx): Likewise.
11847         (do_test): Call check_return_fromfp, check_return_ufromfp,
11848         check_return_fromfpx and check_return_ufromfpx.
11849         * math/test-tgmath.c: Include <stdint.h>
11850         (NCALLS): Increase to 138.
11851         (F(compile_test)): Initialize i.  Call fromfp functions.
11852         (F(fromfp)): New function.
11853         (F(fromfpx)): Likewise.
11854         (F(ufromfp)): Likewise.
11855         (F(ufromfpx)): Likewise.
11856         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
11857         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
11858         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
11859         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
11860         ufromfpxl.
11861         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
11862         ufromfp and ufromfpx.
11863         * math/fromfp.h: New file.
11864         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
11865         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
11866         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
11867         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
11868         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
11869         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
11870         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
11871         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
11872         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
11873         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
11874         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
11875         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
11876         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
11877         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
11878         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
11879         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
11880         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
11881         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
11882         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
11883         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
11884         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
11885         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
11886         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
11887         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
11888         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
11889         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
11890         ufromfp, fromfpx and ufromfpx.
11891         (CFLAGS-nldbl-fromfp.c): New variable.
11892         (CFLAGS-nldbl-fromfpx.c): Likewise.
11893         (CFLAGS-nldbl-ufromfp.c): Likewise.
11894         (CFLAGS-nldbl-ufromfpx.c): Likewise.
11895         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
11896         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
11897         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
11898         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
11899         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
11900         * sysdeps/nacl/libm.abilist: Update.
11901         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11902         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11903         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11904         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11905         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11906         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11907         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11908         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11909         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11910         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11911         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11912         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11914         Likewise.
11915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11916         Likewise.
11917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11918         Likewise.
11919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11920         Likewise.
11921         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11922         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11923         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11924         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11925         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11927         Likewise.
11928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11929         Likewise.
11930         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11931         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11932         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11934 2016-12-30  Florian Weimer  <fweimer@redhat.com>
11936         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
11937         compat-gethnamaddr.
11938         (CPPFLAGS): Remove.
11939         * resolv/gethnamaddr.c: Rename ...
11940         * resolv/compat-gethnamaddr.c: ... to this file.
11941         (_endhtent): Make static.
11942         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
11943         symbol.
11944         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
11945         compat symbol.
11946         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
11947         symbol.
11948         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
11949         Turn into compat symbol.
11950         * include/resolv.h (_endhtent): Remove declaration.
11952 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
11954         * bits/types.h (__intmax_t): New typedef.
11955         (__uintmax_t): Likewise.
11956         * sysdeps/generic/stdint.h: Include <bits/types.h>.
11957         (intmax_t): Define using __intmax_t.
11958         (uintmax_t): Define using __uintmax_t.
11960         * support/Makefile (tests-special): Make definition conditional on
11961         [$(run-built-tests) = yes].
11962         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
11963         on [$(run-built-tests) = yes].
11965 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11967         * Rules (tests): Add tests-printers-programs to tests to be
11968         built.
11970 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11972         * sysvipc/Makefile (tests): Add test-sysvshm.
11973         * sysvipc/test-sysvshm.c: New file.
11975         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
11976         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
11977         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
11978         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
11979         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
11980         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
11981         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
11982         Likewise.
11983         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
11984         Likewise.
11985         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
11986         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
11987         is defined.
11989         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
11990         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
11991         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
11992         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
11993         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
11994         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
11995         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
11996         Likewise.
11997         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
11998         Likewise.
11999         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
12000         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
12001         defined.
12003         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12004         oldshmctl.
12005         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
12006         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
12007         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
12008         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
12009         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
12010         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
12011         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
12012         Likewise.
12013         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
12014         Likewise.
12015         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
12016         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
12017         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
12018         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
12019         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
12020         implementation.
12021         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
12022         if it is defined.
12024         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
12025         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
12026         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
12027         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
12028         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
12029         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
12030         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
12031         Likewise.
12032         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
12033         Likewise.
12034         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
12035         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
12036         Define to __NR_osf_shmat.
12037         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
12038         defined.
12040         * sysvipc/Makefile (tests): Add test-sysvsem.
12041         * sysvipc/test-sysvsem.c: New file.
12043         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
12044         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
12045         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
12046         Likewise.
12047         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
12048         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
12049         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
12050         Likewise.
12051         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
12052         Likewise.
12053         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
12054         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
12055         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
12056         add a comment about s390 syscall difference from default one.
12057         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
12058         syscall if it is defined.
12060         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
12061         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
12062         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
12063         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
12064         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
12065         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
12066         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
12067         Likewise.
12068         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
12069         Likewise.
12070         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
12071         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
12072         defined.
12074         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
12075         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
12076         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
12077         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
12078         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
12079         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
12080         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
12081         Likewise.
12082         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
12083         Likewise.
12084         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
12085         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
12086         if it is defined.
12088         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12089         oldsemctl.
12090         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
12091         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
12092         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
12093         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
12094         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
12095         implementation.
12096         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
12097         syscall if it is defined.
12098         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
12099         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
12100         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
12101         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
12102         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
12103         Likewise.
12104         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
12106         * sysvipc/Makefile (tests): Add test-sysvmsg.
12107         * sysvipc/test-sysvmsg.c: New file.
12108         * support/check.h (FAIL_UNSUPPORTED): New define.
12110         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
12111         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
12112         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
12113         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
12114         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
12115         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
12116         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
12117         Likewise.
12118         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
12119         Likewise.
12120         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
12121         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
12122         define.
12124         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
12125         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
12126         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
12127         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
12128         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
12129         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
12130         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
12131         Likewise.
12132         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
12133         Likewise.
12134         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
12135         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
12136         if defined.
12138         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
12139         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
12140         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12141         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12142         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12143         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
12144         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12145         Likewise.
12146         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
12147         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
12148         Likewise.
12149         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
12150         if defined.
12151         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
12153         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12154         oldmsgctl.
12155         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
12156         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
12157         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
12158         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
12159         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12160         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12161         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12162         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12163         Likewise.
12164         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
12165         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
12166         implementation.
12167         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
12168         if defined.
12170         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
12171         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
12172         definition and define its own.
12173         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
12174         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
12175         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
12176         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
12177         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
12178         definitions to common header.
12179         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
12180         operation from ipc_ops.h.
12182         * sysdeps/unix/sysv/linux/kernel-features.h
12183         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
12184         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12185         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
12186         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12187         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12188         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12189         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12190         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12191         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12192         * sysdeps/unix/sysv/linux/s390/kernel-features.h
12193         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12194         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12195         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12196         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12197         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12199 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12201         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
12202         overflow in pointer addition.
12204 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12206         * sysdeps/powerpc/powerpc64/multiarch/Makefile
12207         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
12208         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12209         (strchr): Add __strchr_power8 to list of strchr functions.
12210         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
12211         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
12212         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
12213         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
12214         (strchr): Add __strchr_power8 to ifunc list.
12215         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
12216         (__strchrnul): Add __strchrnul_power8 to ifunc list.
12217         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
12218         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
12220 2016-12-28  Florian Weimer  <fweimer@redhat.com>
12222         * support/Makefile (libsupport-routines): Add
12223         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
12224         (tests): Add tst-support_record_failure.
12225         (tests-special): tst-support_record_failure-2.
12226         (tst-support_record_failure-2.out): Depend on
12227         tst-support_record_failure-2.sh and tst-support_record_failure.
12228         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
12229         (support_test_verify_impl, support_record_failure)
12230         (support_report_failure, support_report_failure_reset): Declare.
12231         * support/support_test_main.c (adjust_exit_status): New function.
12232         (support_test_main): Call it to incorporate record test failures.
12233         * support/support_test_verify_impl.c: New file.
12234         * support/support_record_failure.c: Likewise.
12235         * support/tst-support_record_failure.c: Likewise.
12236         * support/tst-support_record_failure-2.sh: Likewise.
12237         * support/xunistd.h: Likewise.
12238         * support/xfork.c: Likewise.
12239         * support/xwaitpid.c: Likewise.
12241 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
12243         * scripts/check-c++-types.sh: Add comments.
12245 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
12247         [BZ #19514]
12248         * resolv/res_send.c: Fix typo in comment.
12249         * sysdeps/i386/i386-mcount.S: Likewise.
12250         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12251         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12252         * sysdeps/sparc/sparc-mcount.S: Likewise.
12254 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12256         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
12257         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
12258         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
12259         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
12260         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
12261         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
12262         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
12263         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
12265 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12267         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
12269 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12271         [BZ #17252]
12272         * posix/unistd.h (getentropy): Declare.
12274 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12276         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
12277         Remove.
12278         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
12279         (cmd): Remove spoof, nospoof, spoofalert.
12280         (parse_line): Ignore spoof-related lines.
12281         (do_init): Do not process RESOLV_SPOOF_CHECK.
12283 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12285         [BZ #20964]
12286         sunrpc: Always obtain AF_INET addresses from NSS.
12287         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
12288         * sunrpc/rpc_gethostbyname.c: New file.
12289         * sunrpc/Makefile (routines): Add it.
12290         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
12291         * sunrpc/clnt_simp.c (callrpc): Likewise.
12292         * sunrpc/getrpcport.c (getrpcport): Likewise.
12294 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12296         * sunrpc/rpcinfo.c: Remove.
12297         * sunrpc/Makefile: Remove comments referring to rpcinfo.
12299 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12301         [BZ #19387]
12302         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
12303         addition.
12304         * string/test-memchr.c (do_test): Remove alignment limitation.
12305         (test_main): Add test that trigger BZ #19387.
12307 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12309         [BZ #7065]
12310         Enable stack protectore if requested by ./configure.
12311         * Makeconfig (+stack-protector): New variable.
12312         (+cflags): Use it.
12314 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12316         [BZ #7065]
12317         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
12318         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
12319         (__rt_sigreturn_stub): Use inhibit_stack_protector.
12320         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12321         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
12323 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12325         [BZ #7065]
12326         * login/Makefile (pt_chown-cflags): Remove.
12327         * nscd/Makefile (CFLAGS-nscd): Likewise.
12328         * resolv/Makefile (CFLAGS-libresolv): Likewise.
12330 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12332         [BZ #7065]
12333         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
12334         non-libc-linking testcase.
12336 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12337             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12338             Florian Weimer  <fweimer@redhat.com>
12340         [BZ #7065]
12341         PLT avoidance for __stack_chk_fail*.
12342         * debug/Makefile (CFLAGS-stack_chk_fail.c)
12343         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
12344         * debug/stack_chk_fail.c (__stack_chk_fail): Add
12345         __stack_chk_fail_local alias.
12346         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
12347         (__stack_chk_fail): Turn into hidden reference to
12348         __stack_chk_fail_local.
12350 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12352         [BZ #7065]
12353         * configure.ac: Add check for unsupported stack-protection level.
12354         (libc_cv_predef_stack_protector): Remove.
12355         (no_ssp): New variable.
12356         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
12357         (stack_protector): Set to -fno-stack-protector similarly.
12358         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
12359         (libc_cv_asm_set_directive): Likewise.
12360         (libc_cv_protected_data): Likewise.
12361         (libc_cv_z_combreloc): Likewise.
12362         (libc_cv_hashstyle): Likewise.
12363         (libc_cv_has_glob_dat): Likewise.
12364         (libc_cv_output_format): Likewise.
12365         (libc_cv_output_format): Likewise.
12366         (libc_cv_ehdr_start): Likewise.
12367         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
12368         (LIBC_LINKER_FEATURE): Likewise.
12369         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
12371 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12373         [BZ #7065]
12374         * elf/Makefile (dummy-stack-chk-fail): New.
12375         (librtld.map): Use it.
12377 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12379         [BZ #7065]
12380         Compile the dynamic linker without stack protection.
12381         * elf/Makefile (elide-stack-protector): New.
12382         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
12383         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
12384         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
12385         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
12387 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12389         [BZ #7065]
12390         * config.make.in (have-ssp, no-stack-protector): New.
12391         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
12392         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
12393         (CFLAGS-sbrk.op): Likewise.
12394         (CFLAGS-brk.o): Likewise.
12395         (CFLAGS-brk.op): Likewise.
12396         * string/Makefile (CFLAGS-memcpy.c): Likewise.
12397         (CFLAGS-wordcopy.c): Likewise.
12399 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12401         [BZ #7065]
12402         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
12403         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
12404         * include/libc-symbols.h (inhibit_stack_protector): New macro.
12405         (__ifunc_resolver): Use it.
12406         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
12407         inhibit_stack_protector.
12408         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
12409         * elf/ifuncmain7.c (foo_ifunc): Likewise.
12410         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
12411         (foo_protected_ifunc): Likewise.
12412         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
12413         (foo_protected_ifunc): Likewise.
12414         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12415         * sysdeps/nacl/nacl_interface_query.c
12416         (nacl_interface_query_ifunc): Likewise.
12417         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12418         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
12419         Likewise.
12420         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
12421         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
12422         the generated vDSO syscall resolver.
12424 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12425             Florian Weimer  <fweimer@redhat.com>
12427         [BZ #7065]
12428         Initialize the stack guard earlier when linking statically.
12429         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
12430         (__pthread_initialize_minimal): Declare.
12431         * csu/libc-start.c (__pthread_initialize_minimal): Remove
12432         declaration.
12433         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
12434         stack canary and apply_irel initialization up.  Call
12435         __pthread_initialize_minimal only if linked in.
12436         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
12437         constant values.
12438         (__pthread_initialize_minimal): Remove.
12439         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
12440         (__pthread_initialize_minimal_internal): Do not call
12441         __libc_setup_tls.
12443 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12445         [BZ #7065]
12446         * configure.ac (libc_cv_ssp): Move up.
12447         (libc_cv_ssp_strong): Likewise.
12448         (libc_cv_ssp_all): New.
12449         (stack_protector): Augment, adding -fstack-protector-all.
12450         (no_stack_protector): New.
12451         (STACK_PROTECTOR_LEVEL): New.
12452         (AC_ARG_ENABLE(stack-protector)): New configure flag.
12453         * manual/install.texi (--enable-stack-protector): Document it.
12454         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
12456 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
12458         * README.pretty-printers: Must specify CPPFLAGS-* also.
12459         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
12460         (CPPFLAGS-test-mutex-printers.c): Define.
12461         (CPPFLAGS-test-condattr-printers.c): Define.
12462         (CPPFLAGS-test-cond-printers.c): Define.
12463         (CPPFLAGS-test-rwlockattr-printers.c): Define.
12464         (CPPFLAGS-test-rwlock-printers.c): Define.
12466         * nss/Makefile [ifeq (yes,$(have-thread-library))]
12467         (tests): Add tst-cancel-getpwuid_r.
12468         * nss/tst-cancel-getpwuid_r.c: New file.
12470         [BZ #11941]
12471         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
12472         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
12473         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
12474         tst-nodelete-dlclose.
12475         (modules-names): Add tst-nodelete-dlclose-dso and
12476         tst-nodelete-dlclose-plugin.
12477         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
12478         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
12479         ($(objpfx)tst-nodelete-dlclose): Define.
12480         ($(objpfx)tst-nodelete-dlclose.out): Define.
12482 2016-12-23  Florian Weimer  <fweimer@redhat.com>
12484         * scripts/test_printers_common.py: Log GDB output in case of
12485         Python detection failure.
12487 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12489         * configure.ac: Check for python3 or python.
12490         * configure: Regenerated.
12491         * config.make.in (PYTHON): New variable.
12492         * benchtests/Makefile: Don't define PYTHON.
12493         (bench): Define target only if PYTHON was defined.
12494         * Rules: Don't define PYTHON.
12495         Define pretty printer targets only if PYTHON was defined.
12496         (tests-printers): Add to tests-unsupported if PYTHON is not
12497         found.
12498         (python-flags, python-invoke): Remove.
12499         (tests-printers-out): Use PYTHON instead of python-invoke.
12501 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
12503         [BZ #20978]
12504         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12505         Compare name == NULL, not name != NULL.
12507         * manual/texinfo.tex: Update to version 2016-09-18.18 with
12508         trailing whitespace removed.
12509         * scripts/config.guess: Update to version 2016-10-02.
12510         * scripts/config.sub: Update to version 2016-11-19.
12511         * scripts/install-sh: Update to version 2016-01-11.22.
12512         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
12513         * scripts/move-if-change: Update to version 2016-01-11 22:04.
12515 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
12517         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
12518         (do_one_test) Restore original string so iteration works.
12519         * string/string-inlines.c (do_test): Create better input strings.
12520         (test_main) Reduce number of testruns.
12521         * string/string-inlines.c (__old_strsep_1c): New function.
12522         (__old_strsep_2c): Likewise.
12523         (__old_strsep_3c): Likewise.
12524         * string/strsep.c (__strsep): Remove case of small delim string.
12525         Call strcspn directly rather than strpbrk.
12526         * string/bits/string2.h (__strsep): Remove define.
12527         (__strsep_1c): Remove.
12528         (__strsep_2c): Remove.
12529         (__strsep_3c): Remove.
12530         (strsep): Remove.
12531         * sysdeps/unix/sysv/linux/internal_statvfs.c
12532         (__statvfs_getflags): Rename to __strsep.
12534 2016-12-21  Florian Weimer  <fweimer@redhat.com>
12536         * csu/libc-tls.c (_dl_tls_setup): Remove.
12537         * elf/dl-tls.c (_dl_tls_setup): Likewise.
12538         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
12539         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
12541 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
12543         [BZ #7065]
12544         * sysdeps/x86_64/Makefile [$(subdir) = elf]
12545         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
12547 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
12548             Florian Weimer  <fweimer@redhat.com>
12550         [BZ #7065]
12551         * csu/Makefile (tests): Empty assignment and document it.
12552         (tests-static): Remove.
12553         * csu/tst-empty.c: Move to...
12554         * misc/tst-empty.c: ... here.  Switch to new test driver.
12555         * csu/tst-atomic.c: Move to...
12556         * misc/tst-atomic.c: ... here.  Switch to new test driver.
12557         * csu/tst-atomic-long.c: Move to...
12558         * misc/tst-atomic-long.c: ... here.
12559         * misc/Makefile (tests): Add tst-empty, tst-atomic,
12560         tst-atomic-long.
12561         (tests-static): Add tst-empty.
12563 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
12565         * manual/nss.texi: Change incorrect @vtable to @table.
12566         * manual/arith.texi: Convert @tables of variables to @vtables
12567         and remove unnecessary indexing.
12568         * manual/filesys.texi: Likewise.
12569         * manual/llio.texi: Likewise.
12570         * manual/memory.texi: Likewise.
12571         * manual/process.texi: Likewise.
12572         * manual/resource.texi: Likewise.
12573         * manual/search.texi: Likewise.
12574         * manual/signal.texi: Likewise.
12575         * manual/socket.texi: Likewise.
12576         * manual/stdio.texi: Likewise.
12577         * manual/sysinfo.texi: Likewise.
12578         * manual/syslog.texi: Likewise.
12579         * manual/terminal.texi: Likewise.
12580         * manual/time.texi: Likewise.
12581         * manual/users.texi: Likewise.
12583 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
12585         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12586         (roundeven): New declaration.
12587         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
12588         macro.
12589         * math/Versions (roundeven): New libm symbol at version
12590         GLIBC_2.25.
12591         (roundevenf): Likewise.
12592         (roundevenl): Likewise.
12593         * math/Makefile (libm-calls): Add s_roundevenF.
12594         * math/libm-test.inc (roundeven_test_data): New array.
12595         (roundeven_test): New function.
12596         (main): Call roundeven_test.
12597         * math/test-tgmath.c (NCALLS): Increase to 134.
12598         (F(compile_test)): Call roundeven.
12599         (F(roundeven)): New function.
12600         * manual/arith.texi (Rounding Functions): Document roundeven,
12601         roundevenf and roundevenl.
12602         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
12603         * include/math.h (roundeven): Use libm_hidden_proto.
12604         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
12605         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
12606         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
12607         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
12608         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
12609         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
12610         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12611         roundeven.
12612         (CFLAGS-nldbl-roundeven.c): New variable.
12613         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
12614         * sysdeps/nacl/libm.abilist: Update.
12615         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12616         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12617         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12618         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12619         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12620         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12621         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12622         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12623         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12624         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12625         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12626         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12628         Likewise.
12629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12630         Likewise.
12631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12632         Likewise.
12633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12634         Likewise.
12635         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12636         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12637         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12638         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12639         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12641         Likewise.
12642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12643         Likewise.
12644         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12645         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12646         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12648 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
12650         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
12651         preprocessor indentation inside #if.
12653 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12655         * math/libm-test.inc (fmt_ftostr): New function.
12656         (print_float, check_float_internal): Replace some uses of
12657         FTOSTR with uses of fmt_ftostr.
12658         (print_max_error, print_complex_max_error, print_function_ulps)
12659         (print_complex_function_ulps): Remove uses of the macros
12660         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
12661         * math/test-double.h (FTOSTR): Define to strfromd.
12662         (PRINTF_EXPR): Delete.
12663         (PRINTF_XEXPR): Likewise.
12664         (PRINTF_NEXPR): Likewise.
12665         * math/test-float.h (FTOSTR): Define to strfromf.
12666         (PRINTF_EXPR): Delete.
12667         (PRINTF_XEXPR): Likewise.
12668         (PRINTF_NEXPR): Likewise.
12669         * math/test-ldouble.h (FTOSTR): Define to strfroml.
12670         (PRINTF_EXPR): Delete.
12671         (PRINTF_XEXPR): Likewise.
12672         (PRINTF_NEXPR): Likewise.
12674 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12676         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12677         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
12678         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12679         (__lll_lock_elision): Decrement adapt_count while unlocking
12680         instead of before locking.
12681         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12682         (__lll_trylock_elision): Likewise.
12683         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
12684         (__lll_unlock_elision): Likewise.
12686 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12688         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
12689         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
12690         Use __libc_tbegin_retry macro.
12692 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12694         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
12695         Add -msoft-float.
12696         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
12697         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12698         Use __libc_t* transaction macros instead of __builtin_t*.
12699         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12700         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12702 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12704         * sysdeps/unix/sysv/linux/s390/elision-lock.c
12705         (__lll_lock_elision): Use atomics to load / store adapt_count.
12706         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12707         (__lll_trylock_elision): Likewise.
12709 2016-12-20  Florian Weimer  <fweimer@redhat.com>
12711         Do not require memset elimination in explicit_bzero test.
12712         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
12713         (enum test_expectation): Add NO_EXPECTATIONS.
12714         (subtests): NO_EXPECTATIONS for ordinary clear.
12715         (check_test_buffer): Handle NO_EXPECTATIONS.
12716         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
12718 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
12720         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12721         (fmaxmag): New declaration.
12722         (fminmag): Likewise.
12723         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
12724         macro.
12725         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
12726         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
12727         (fmaxmagf): Likewise.
12728         (fmaxmagl): Likewise.
12729         (fminmag): Likewise.
12730         (fminmagf): Likewise.
12731         (fminmagl): Likewise.
12732         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
12733         * math/s_fmaxmag_template.c: New file.
12734         * math/s_fminmag_template.c: Likewise.
12735         * math/libm-test.inc (fmaxmag_test_data): New array.
12736         (fmaxmag_test): New function.
12737         (fminmag_test_data): New array.
12738         (fminmag_test): New function.
12739         (main): Call fmaxmag_test and fminmag_test.
12740         * math/test-tgmath.c (NCALLS): Increase to 132.
12741         (F(compile_test)): Call fmaxmag and fminmag.
12742         (F(fminmag)): New function.
12743         (F(fmaxmag)): Likewise.
12744         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
12745         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
12746         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
12747         fminmag.
12748         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
12749         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
12750         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
12751         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
12752         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
12753         and fminmag.
12754         (CFLAGS-nldbl-fmaxmag.c): New variable.
12755         (CFLAGS-nldbl-fminmag.c): Likewise.
12756         * sysdeps/nacl/libm.abilist: Update.
12757         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12758         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12759         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12760         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12761         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12762         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12763         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12764         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12765         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12766         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12767         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12768         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12770         Likewise.
12771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12772         Likewise.
12773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12774         Likewise.
12775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12776         Likewise.
12777         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12778         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12779         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12780         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12781         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12783         Likewise.
12784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12785         Likewise.
12786         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12787         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12788         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12790 2016-12-19  Torvald Riegel  <triegel@redhat.com>
12792         [BZ #20973]
12793         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
12794         wake-up in robust mutexes.
12795         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12797 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12799         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
12800         (CFLAGS-bench-fmaxf.c): New rule.
12801         (CFLAGS-bench-fminf.c): Likewise.
12802         * benchtests/fmaxf-inputs: New file.
12803         * benchtests/fminf-inputs: Likewise.
12805         * benchtests/Makefile (bench-math): Add fmin and fmax.
12806         (CFLAGS-bench-fmax.c): New rule.
12807         (CFLAGS-bench-fmin.c): Likewise.
12808         * benchtests/fmax-inputs: New file.
12809         * benchtests/fmin-inputs: Likewise.
12811         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
12812         parenthesis.
12813         (CMDLINE_PROCESS): Define using function instead of macro.
12814         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
12815         of test-skeleton.
12816         * benchtests/bench-memchr.c: Likewise.
12817         * benchtests/bench-memcmp.c: Likewise.
12818         * benchtests/bench-memcpy-large.c: Likewise.
12819         * benchtests/bench-memcpy.c: Likewise.
12820         * benchtests/bench-memmem.c: Likewise.
12821         * benchtests/bench-memmove-large.c: Likewise.
12822         * benchtests/bench-memmove.c: Likewise.
12823         * benchtests/bench-memset-large.c: Likewise.
12824         * benchtests/bench-memset.c: Likewise.
12825         * benchtests/bench-rawmemchr.c: Likewise.
12826         * benchtests/bench-strcasecmp.c: Likewise.
12827         * benchtests/bench-strcasestr.c: Likewise.
12828         * benchtests/bench-strcat.c: Likewise.
12829         * benchtests/bench-strchr.c: Likewise.
12830         * benchtests/bench-strcmp.c: Likewise.
12831         * benchtests/bench-strcpy.c: Likewise.
12832         * benchtests/bench-strcpy_chk.c: Likewise.
12833         * benchtests/bench-strlen.c: Likewise.
12834         * benchtests/bench-strncasecmp.c: Likewise.
12835         * benchtests/bench-strncmp.c: Likewise.
12836         * benchtests/bench-strncpy.c: Likewise.
12837         * benchtests/bench-strnlen.c: Likewise.
12838         * benchtests/bench-strpbrk.c: Likewise.
12839         * benchtests/bench-strrchr.c: Likewise.
12840         * benchtests/bench-strsep.c: Likewise.
12841         * benchtests/bench-strspn.c: Likewise.
12842         * benchtests/bench-strstr.c: Likewise.
12843         * benchtests/bench-strtok.c: Likewise.
12845 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12847         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
12848         stepping identification.
12849         (init_cpu_features): Add handle of Haswell.
12851 2016-11-25  Jim Meyering  <meyering@fb.com>
12853         [BZ #20386]
12854         Let gcc detect assert(a = 1) errors.
12855         * assert/assert.h (assert): Rewrite, retaining the old definintion
12856         when required, but otherwise putting the expression as-is in an "if"
12857         expression (hence, with no added parentheses) within a statement
12858         expression.
12860 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12862         * benchtests/Makefile (binaries-benchset): Depend on libsupport
12863         DSO.
12865 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
12867         * Rules (python-flags, python-invoke): New.
12868         ($(test-printers-out)): Use $(python-flags).
12870 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12872         * manual/arith.texi (Math Error Reporting): Document that sNaN
12873         arguments are not considered domain errors.
12875 2016-12-16  Zack Weinberg <zackw@panix.com>
12876             Florian Weimer <fweimer@redhat.com>
12877             Nick Mathewson <nickm@torproject.org>
12879         * string/explicit_bzero.c: New routine.
12880         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
12881         * string/Makefile (routines, strop-tests, tests): Add them.
12882         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
12883         * string/string.h [__USE_MISC]: Declare explicit_bzero.
12885         * debug/explicit_bzero_chk.c: New routine.
12886         * debug/Makefile (routines): Add it.
12887         * debug/tst-chk1.c: Test fortification of explicit_bzero.
12888         * string/bits/string3.h: Fortify explicit_bzero.
12890         * manual/string.texi: Document explicit_bzero.
12891         * NEWS: Mention addition of explicit_bzero.
12893         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
12894         data before returning, using explicit_bzero.
12895         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
12896         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12897         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12899         * include/string.h: Redirect internal uses of explicit_bzero
12900         to __explicit_bzero_chk[_internal].
12901         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
12902         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
12903         * sysdeps/arm/nacl/libc.abilist
12904         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12905         * sysdeps/unix/sysv/linux/alpha/libc.abilist
12906         * sysdeps/unix/sysv/linux/arm/libc.abilist
12907         * sysdeps/unix/sysv/linux/hppa/libc.abilist
12908         * sysdeps/unix/sysv/linux/i386/libc.abilist
12909         * sysdeps/unix/sysv/linux/ia64/libc.abilist
12910         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12911         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12912         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12913         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12914         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12915         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12916         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12917         * sysdeps/unix/sysv/linux/nios2/libc.abilist
12918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12922         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12923         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12924         * sysdeps/unix/sysv/linux/sh/libc.abilist
12925         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12926         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12929         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12930         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12931         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12932         Add entries for explicit_bzero and __explicit_bzero_chk.
12934 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12936         * math/fenv.h
12937         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
12938         (FE_SNANS_ALWAYS_SIGNAL): New macro.
12939         * math/test-fe-snans-always-signal.c: New file.
12940         * math/Makefile (tests): Add test-fe-snans-always-signal.
12941         (CFLAGS-test-fe-snans-always-signal.c): New variable.
12942         * manual/arith.texi (Infinity and NaN): Document
12943         FE_SNANS_ALWAYS_SIGNAL.
12945 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12947         * string/test-memchr.c (do_test): Typo on â€˜byte’ and missing closing
12948         bracket.
12950 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12952         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
12953         before calling execv.
12955 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12957         [BZ #20971]
12958         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
12959         overflow in pointer addition.
12960         * string/test-memchr.c (do_test): Add an argument to pass as
12961         the size on memchr.
12962         (test_main): Add check for SIZE_MAX.
12964 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12966         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
12967         (libm-calls): Add w_scalblnF.
12968         * math/w_scalbln.c: Remove.
12969         * math/w_scalblnf.c: Likewise.
12970         * math/w_scalblnl.c: Likewise.
12971         * math/w_scalbln_template.c: New file with type-generic
12972         implementation based on math/w_scalbln.c.
12973         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
12974         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
12976 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
12978         [BZ #20947]
12979         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
12980         either is a signaling NaN.
12981         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
12982         follow fmaxl more closely.
12983         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
12984         when either is a signaling NaN.
12985         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
12986         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
12987         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
12988         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
12989         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
12990         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
12991         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
12992         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
12993         (fmin_test_data): Likewise.
12995 2016-12-15  Andreas Schwab  <schwab@suse.de>
12997         * support/support_test_main.c (support_test_main): Don't shadow
12998         file-local variable test_pid.
13000 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
13002         [BZ #20947]
13003         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
13004         either is a signaling NaN.
13005         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
13007 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
13009         [BZ #20947]
13010         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
13011         when either is a signaling NaN.
13012         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
13014         * bits/long-double.h: New file.
13015         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
13016         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
13017         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
13018         * sysdeps/mips/bits/long-double.h: Likewise.
13019         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
13020         * math/Makefile (headers): Add bits/long-double.h.
13021         * misc/sys/cdefs.h: Include <bits/long-double.h>.
13022         * stdlib/strtold.c: Include <bits/long-double.h> instead of
13023         <bits/wordsize.h>.
13024         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
13025         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
13026         * math/math.h: Do not include <bits/mathdef.h>.
13027         * sysdeps/aarch64/bits/mathdef.h: Remove file.
13028         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
13029         inclusion.
13030         * sysdeps/ia64/bits/mathdef.h: Remove file.
13031         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
13032         * sysdeps/mips/bits/mathdef.h: Likewise.
13033         * sysdeps/powerpc/bits/mathdef.h: Likewise.
13034         * sysdeps/s390/bits/mathdef.h: Likewise.
13035         * sysdeps/sparc/bits/mathdef.h: Likewise.
13036         * sysdeps/x86/bits/mathdef.h: Likewise.
13037         * sysdeps/s390/s390-32/bits/wordsize.h
13038         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
13039         conditional code.
13040         * sysdeps/s390/s390-64/bits/wordsize.h
13041         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13042         Likewise.
13043         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
13044         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13045         Likewise.
13046         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
13047         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13048         Likewise.
13049         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
13050         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13051         Likewise.
13053         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
13054         <linux/falloc.h>.
13055         (FALLOC_FL_KEEP_SIZE): Remove.
13056         (FALLOC_FL_PUNCH_HOLE): Likewise.
13057         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
13058         (FALLOC_FL_ZERO_RANGE): Likewise.
13060 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13062         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
13064 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13066         * sysdeps/unix/sysv/linux/renameat.c: New file.
13067         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
13069         * sysdeps/unix/sysv/linux/rename.c: New file.
13070         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
13072 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
13074         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
13075         * string/strtok.c (strtok): Change to tailcall __strtok_r.
13076         * string/strtok_r.c (__strtok_r): Optimize for performance.
13077         * string/string-inlines.c (__old_strtok_r_1c): New function.
13078         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
13080 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13082         * math/Makefile (gen-libm-calls): Add w_log1pF.
13083         (libm-calls): Remove w_log1pF.
13084         * math/w_log1p.c: Remove.
13085         * math/w_log1pf.c: Likewise.
13086         * math/w_log1pl.c: Likewise.
13087         * math/w_log1p_template.c: New file with type-generic
13088         implementation based on math/w_log1p.c.
13089         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
13090         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
13092 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
13094         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
13096 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
13098         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13099         kernel version to 4.9.
13101 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
13103         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
13104         ($(inst_libdir)/libm.a): Fix rule to create the target only.
13106 2016-12-13  Andreas Schwab  <schwab@suse.de>
13108         * sysdeps/powerpc/dl-procinfo.c: Don't define
13109         _dl_powerpc_platforms.
13110         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
13111         constants instead of referencing _dl_powerpc_platforms.
13112         (_dl_platform_string): Remove.
13114 2016-12-13  Florian Weimer  <fweimer@redhat.com>
13116         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
13118 2016-12-13  Florian Weimer  <fweimer@redhat.com>
13120         * Rules (binaries-shared-tests, binaries-pie-tests)
13121         (binaries-static-tests): Link with $(link-extra-libs-tests).
13122         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
13123         Remove $(link-extra-libs-tests).
13125 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13127         * sysdeps/powerpc/powerpc64/multiarch/Makefile
13128         (sysdep_routines): Add strncmp_power9.
13129         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13130         (strncmp): Add __strncmp_power9 to list of strncmp functions.
13131         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
13132         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13133         (strncmp): Add __strncmp_power9 to ifunc list.
13134         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
13136 2016-12-12  Florian Weimer  <fweimer@redhat.com>
13138         [BZ #17252]
13139         Add getentropy, getrandom.
13140         * stdlib/sys/random.h: New file.
13141         (headers): Add it.
13142         * stdlib/Makefile (routines): Add getentropy, getrandom.
13143         (tests): Add tst-getrandom.
13144         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
13145         * stdlib/getentropy.c: New file.
13146         * stdlib/getrandom.c: Likewise.
13147         * stdlib/tst-getrandom.c: Likewise.
13148         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
13149         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
13150         * manual/crypt.texi (Unpredictable Bytes): New section.
13151         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
13152         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
13153         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13154         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13155         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13156         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13157         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13158         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13159         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13160         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13161         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13162         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13163         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13164         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13165         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13166         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13168         Likewise.
13169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13170         Likewise.
13171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13173         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13174         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13175         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13176         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13177         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13180         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13181         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13182         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13184 2016-12-10  Florian Weimer  <fweimer@redhat.com>
13186         [BZ #20956]
13187         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
13188         as additional compiler barriers.
13189         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
13190         (fn2, do_test): Declare with external linkage.
13191         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
13192         (do_test): Declare with external linkage.
13193         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
13194         (do_test): Declare with external linkage.
13195         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
13196         (do_test): Declare with external linkage.
13198 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
13200         * support/support_test_main.c (support_test_main): Use correct
13201         timeout.
13203 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
13204             Florian Weimer  <fweimer@redhat.com>
13206         [BZ #16421]
13207         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
13208         and __u6_addr32 members.
13209         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
13210         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
13211         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
13212         Use __u6_addr32.
13213         * inet/tst-checks.c: Use <support/test-driver.c>
13214         * inet/tst-checks-posix.c: New file.
13215         * inet/Makefile (tests): Add it.
13216         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
13218 2016-12-09  Florian Weimer  <fweimer@redhat.com>
13220         New subdirectory support for build and test infrastructure.
13221         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
13222         setting install-lib.
13223         * Makeconfig (link-extra-libs-tests): Define.
13224         (+link-pie-tests, +link-static-tests, +link-tests): Use
13225         link-extra-libs-tests.
13226         (rpath-dirs, all-subdirs): Add support.
13227         (built-modules): Add libsupport.
13228         (libsupport): Define.
13229         * support: New directory.
13230         * support/Makefile: New file.
13231         * support/check.c: Likewise.
13232         * support/check.h: Likewise.
13233         * support/delayed_exit.c: Likewise.
13234         * support/ignore_stderr.c: Likewise.
13235         * support/oom_error.c: Likewise.
13236         * support/set_fortify_handler.c: Likewise.
13237         * support/support.h: Likewise.
13238         * support/temp_file-internal.h: Likewise.
13239         * support/temp_file.c: Likewise.
13240         * support/test-driver.c: Likewise.
13241         * support/test-driver.h: Likewise.
13242         * support/test_main.c: Likewise.
13243         * support/write_message.c: Likewise.
13244         * support/xasprintf.c: Likewise.
13245         * support/xcalloc.c: Likewise.
13246         * support/xmalloc.c: Likewise.
13247         * support/xpthread_barrier_destroy.c: Likewise.
13248         * support/xpthread_barrier_init.c: Likewise.
13249         * support/xpthread_barrier_wait.c: Likewise.
13250         * support/xpthread_cancel.c: Likewise.
13251         * support/xpthread_check_return.c: Likewise.
13252         * support/xpthread_cond_wait.c: Likewise.
13253         * support/xpthread_create.c: Likewise.
13254         * support/xpthread_detach.c: Likewise.
13255         * support/xpthread_join.c: Likewise.
13256         * support/xpthread_mutex_lock.c: Likewise.
13257         * support/xpthread_mutex_unlock.c: Likewise.
13258         * support/xpthread_sigmask.c: Likewise.
13259         * support/xpthread_spin_lock.c: Likewise.
13260         * support/xpthread_spin_unlock.c: Likewise.
13261         * support/xrealloc.c: Likewise.
13262         * support/xsignal.h: Likewise.
13263         * support/xthread.h: Likewise.
13264         * support_tempfile.h: Likewise.
13265         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
13266         (TEST_DATA_LIMIT): Remove unused macro.
13267         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
13268         <support/check.h>.
13269         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
13270         (ignore_stderr, set_fortify_handler): Remove.  Now in
13271         <support/support.h>.
13272         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
13273         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
13274         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
13275         (xpthread_join): Remove.  Now in <support/xthread.h>.
13276         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
13277         Introduce legacy wrappers.
13278         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
13279         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
13280         (write_message): Remove.
13281         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
13282         test-skeleton.c.
13283         * io/test-open-tmpfile: Likewise.
13284         * io/tst-posix_fallocate-common.c: Likewise.
13285         * libio/tst-fseek.c: Likewise.
13286         * malloc/tst-malloc-backtrace.c: Likewise.
13287         * malloc/tst-malloc-fork-deadlock.c: Likewise.
13288         * malloc/tst-malloc-thread-exit.c: Likewise.
13289         * nptl/tst-cancel7.c: Likewise.
13290         * nptl/tst-cleanup0.c: Likewise.
13291         * posix/tst-posix_fadvise-common.c: Likewise.
13292         * rt/tst-shm.c: Likewise.
13293         * time/bug-getdate1.c: Likewise.
13294         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13295         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
13296         * elf/Makefile (tst-piemod1.so): Link against libsupport.
13298 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
13300         * Rules [$(run-built-tests) != no] (tests-expected): Add
13301         $(tests-printers).
13302         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
13304 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
13306         [BZ #20539]
13307         * math/Makefile (install-lib-ldscripts): Add libm.a.
13308         (install_subdir): Remove.
13309         (install-others): Add.
13310         ($(inst_libdir)/libm.a): Add rule for installation as
13311         linker script.
13312         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
13314 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
13316         * INSTALL: Regenerated.
13317         * Makeconfig: Add comments and whitespace to make the control flow
13318         clearer.
13319         (+link-printers-tests, +link-pie-printers-tests,
13320         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
13321         built-rtld-LDFLAGS, link-libc-rpath,
13322         link-libc-tests-after-rpath-link,
13323         link-libc-printers-tests): New.
13324         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
13325         link-libc-tests): Use the new variables as required.
13326         * Makerules ($(py-const)): New rule.
13327         generated: Add $(py-const).
13328         * README.pretty-printers: New file.
13329         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
13330         (others): Depend on $(py-const).
13331         (tests): Depend on $(tests-printers-programs) or
13332         $(tests-printers-out),
13333         as required.  Pass $(tests-printers) to merge-test-results.sh.
13334         * manual/install.texi: Add requirements for testing the pretty
13335         printers.
13336         * nptl/Makefile (gen-py-const-headers, pretty-printers,
13337         tests-printers, CFLAGS-test-mutexattr-printers.c
13338         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
13339         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
13340         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
13341         * nptl/nptl-printers.py: New file.
13342         * nptl/nptl_lock_constants.pysym: Likewise.
13343         * nptl/test-cond-printers.c: Likewise.
13344         * nptl/test-cond-printers.py: Likewise.
13345         * nptl/test-condattr-printers.c: Likewise.
13346         * nptl/test-condattr-printers.py: Likewise.
13347         * nptl/test-mutex-printers.c: Likewise.
13348         * nptl/test-mutex-printers.py: Likewise.
13349         * nptl/test-mutexattr-printers.c: Likewise.
13350         * nptl/test-mutexattr-printers.py: Likewise.
13351         * nptl/test-rwlock-printers.c: Likewise.
13352         * nptl/test-rwlock-printers.py: Likewise.
13353         * nptl/test-rwlockattr-printers.c: Likewise.
13354         * nptl/test-rwlockattr-printers.py: Likewise.
13355         * scripts/gen-py-const.awk: Likewise.
13356         * scripts/test_printers_common.py: Likewise.
13357         * scripts/test_printers_exceptions.py: Likewise.
13359 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
13361         * scripts/build-many-glibcs.py (Context.__init__): Take strip
13362         argument.
13363         (Glibc.build_glibc): Strip installed shared libraries if
13364         requested.
13365         (get_parser): Add --strip option.
13366         (main): Update Context call.
13368 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13369             Dominik Vogt  <vogt@linux.vnet.ibm.com>
13371         [BZ #20847]
13372         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13373         array bounds for else branch.
13374         (__execvpe): Style fixes.
13375         * posix/tst-vfork3.c (run_script): New function.
13376         (create_script): Likewise.
13377         (do_test): Use run_script internal function.
13378         (do_prepare): Use create_script internal function.
13380 2016-12-07  Andreas Schwab  <schwab@suse.de>
13382         * sysdeps/unix/sysv/linux/x86/elision-conf.h
13383         (__elision_available): Don't declare.
13384         * sysdeps/unix/sysv/linux/x86/elision-conf.c
13385         (__elision_available): Don't define.
13386         (elision_init): Don't set __elision_available.
13388 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
13390         [BZ #20940]
13391         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
13392         return Inf for arguments Inf and sNaN.
13393         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13394         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13395         Likewise.
13396         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13397         Likewise.
13398         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13399         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
13400         for arguments Inf and sNaN.  When returning a NaN, compute it by
13401         arithmetic on the arguments.
13402         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
13403         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
13404         arguments.
13406 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
13408         [BZ #20916]
13409         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
13410         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
13411         to compute result.
13412         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13413         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
13415 2016-12-05  Torvald Riegel  <triegel@redhat.com>
13417         * include/atomic.h (__atomic_check_size_ls): New.
13418         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
13419         atomic_store_release): Use it.
13420         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
13421         (elision_adapt, ELIDE_LOCK): Use atomics.
13422         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
13423         atomics and improve code comments.
13424         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
13425         (__lll_trylock_elision): Likewise.
13427 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13429         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
13430         programs.
13432 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
13434         [BZ #20916]
13435         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
13436         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
13437         arguments to compute result.
13438         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
13439         1 for arguments (sNaN, 0) or (1, sNaN).
13440         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13441         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13443         [BZ #20919]
13444         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
13445         NaN first argument when raised to power 0.
13446         * math/w_pow.c (__pow): Do not check for NaN or zero results from
13447         raising to power zero.
13448         * math/w_powf.c (__powf): Likewise.
13449         * math/w_powl.c (__powl): Likewise.
13450         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
13451         pow (0, 0) or pow (NaN, 0).
13453 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
13455         [BZ #20918]
13456         * configure.ac: Test for static NSS cryptographic libraries and set
13457         libc_cv_static_nss_crypt.
13458         * configure: Regenerate.
13459         * config.make.in (static-nss-crypt): Define.
13460         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
13461         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
13462         (CFLAGS-tst-linkall-static.c): Define.
13463         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
13464         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
13465         ($(objpfx)tst-linkall-static): Define.
13466         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
13467         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
13469 2016-12-02  Florian Weimer  <fweimer@redhat.com>
13471         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
13472         (one-hundred, tst-tls-many-dynamic-modules): Define.
13473         (modules-names): Add $(tst-tls-many-dynamic-modules).
13474         (tst-tls-manydynamic%mod.os): Build with special preprocessor
13475         macros.
13476         (tst-tls-manydynamic): Link against libdl, libpthread.
13477         (tst-tls-manydynamic.out): The test needs the test modules at run
13478         time.
13479         * elf/tst-tls-manydynamic.c: New file.
13480         * elf/tst-tls-manydynamic.h: Likewise.
13481         * elf/tst-tls-manydynamicmod.c: Likewise.
13483 2016-12-02  Florian Weimer  <fweimer@redhat.com>
13485         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
13486         (TLS_DTV_UNALLOCATED): Add.
13487         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
13488         offsets.
13490 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
13492         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13494 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
13496         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
13497         Add -fno-optimize-sibling-calls.
13499 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
13501         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
13502         New declaration.
13503         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
13504         macro.
13505         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
13506         New macro.
13507         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
13508         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
13509         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
13510         (llogbf): Likewise.
13511         (llogbl): Likewise.
13512         * math/Makefile (gen-libm-calls): Add w_llogbF.
13513         (tests): Add test-fp-llogb-constants.
13514         * math/w_llogb_template.c: New file.  Based on
13515         math/w_ilogb_template.c.
13516         * math/libm-test.inc (llogb_test_data): New array.
13517         (llogb_test): New function.
13518         (main): Call llogb_test.
13519         * math/test-fp-llogb-constants.c: New file.  Based on
13520         math/test-fp-ilogb-constants.c.
13521         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
13522         (do_test): Call check_return_llogb.
13523         * math/test-tgmath.c (NCALLS): Increase to 126.
13524         (F(compile_test)): Call llogb.
13525         (F(llogb)): New function.
13526         * manual/math.texi (Exponents and Logarithms): Document llogb,
13527         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
13528         * manual/libm-err-tab.pl (@all_functions): Add llogb.
13529         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
13530         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
13531         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
13532         (CFLAGS-nldbl-llogb.c): New variable.
13533         * sysdeps/nacl/libm.abilist: Update.
13534         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13535         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13536         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13537         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13538         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13539         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13540         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13541         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13542         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13543         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13544         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13545         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13547         Likewise.
13548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13549         Likewise.
13550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13551         Likewise.
13552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13553         Likewise.
13554         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13555         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13556         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13557         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13558         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13560         Likewise.
13561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13562         Likewise.
13563         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13564         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13565         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13567 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
13569         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
13570         _Float128 instead of long double.
13571         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
13573         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
13574         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
13575         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
13576         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
13577         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
13578         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
13579         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
13580         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
13581         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
13582         Likewise.
13584 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13586         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
13587         Remove redirection to __strrchr_ppc.
13589 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13591         * sysdeps/powerpc/powerpc64/multiarch/Makefile
13592         (sysdep_routines): Add strcmp_power9.
13593         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13594         (strcmp): Add __strcmp_power9 to list of strcmp functions.
13595         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
13596         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13597         (strcmp): Add __strcmp_power9 to ifunc list.
13598         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
13600 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
13602         * bits/fp-logb.h: New file.
13603         * sysdeps/ia64/bits/fp-logb.h: Likewise.
13604         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
13605         * sysdeps/x86/bits/fp-logb.h: Likewise.
13606         * math/Makefile (headers): Add bits/fp-logb.h.
13607         * math/math.h: Include <bits/fp-logb.h>.
13608         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
13609         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
13610         * bits/mathdef.h (FP_ILOGB0): Remove.
13611         (FP_ILOGBNAN): Likewise.
13612         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
13613         (FP_ILOGBNAN): Likewise.
13614         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
13615         (FP_ILOGBNAN): Likewise.
13616         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
13617         (FP_ILOGBNAN): Likewise.
13618         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
13619         (FP_ILOGBNAN): Likewise.
13620         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
13621         (FP_ILOGBNAN): Likewise.
13622         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
13623         (FP_ILOGBNAN): Likewise.
13624         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
13625         (FP_ILOGBNAN): Likewise.
13626         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
13627         (FP_ILOGBNAN): Likewise.
13628         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
13629         (FP_ILOGBNAN): Likewise.
13631         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
13632         time module.
13633         (Context.__init__): Initialize self.logsdir_old.
13634         (Context.run_builds): Handle bot action.
13635         (Context.bot_cycle): Copy logs directory before running builds.
13636         (Context.bot_run_self): Take argument for whether to check
13637         subprocess result.  Flush stdout before running subprocess.
13638         (Context.bot): New function.
13639         (get_parser): Allow bot action.
13641 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
13643         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
13644         Import email.mime.text, email.utils and smtplib modules.
13645         (Context.__init__): Initialize self.bot_config_json.
13646         (Context.run_builds): Handle bot-cycle action.
13647         (Context.load_bot_config_json): New function.
13648         (Context.part_build_old): Likewise.
13649         (Context.bot_cycle): Likewise.
13650         (Context.bot_build_mail): Likewise.
13651         (Context.bot_run_self): Likewise.
13652         (get_parser): Allow bot-cycle action.
13654 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13656         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
13657         Remove redirection to __stpcpy_ppc.
13659 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13661         Remove __libc_memalign from ld.so because it is unused.
13662         * elf/dl-minimal.c: Update comment on the malloc implementation.
13663         (malloc): Renamed from __libc_memalign, replacing the original
13664         malloc implementation.  Replace the align parameter with
13665         MALLOC_ALIGNMENT.
13666         * elf/Versions (ld): Update comment and remove __libc_memalign.
13667         * sysdeps/nacl/ld.abilist: Likewise.
13668         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13669         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13670         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13671         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13672         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13673         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13674         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13675         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13676         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13677         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13678         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13679         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13680         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13684         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13685         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13686         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13687         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13688         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
13690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
13691         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
13692         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13693         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13694         * sysdeps/generic/localplt.data (ld.so): Likewise.
13695         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13696         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13697         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13698         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13699         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13700         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13701         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13702         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
13703         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13705         (ld.so): Likewise.
13706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13707         (ld.so): Likewise.
13708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13709         Likewise.
13710         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13711         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13712         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
13713         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
13714         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13716 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13718         [BZ #16628]
13719         Implement _dl_catch_error, _dl_signal_error in libc.so.
13720         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
13721         (catch_hook): Define as thread-local or regular variable,
13722         depending on DL_ERROR_BOOTSTRAP.
13723         (CATCH_HOOK): Remove.
13724         (dl_signal_error, _dl_catch_error): Use
13725         catch_hook.  Add hidden definition for libc.
13726         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
13727         for DL_ERROR_BOOTSTRAP only.
13728         * elf/dl-error.c: New file.
13729         * elf/dl-error-minimal.c: Likewise.
13730         * elf/tst-latepthread.c: Likewise.
13731         * elf/tst-latepthreadmod.c: Likewise.
13732         * elf/Makefile (routines): Add dl-error.
13733         (dl-routines): Remove dl-error.
13734         (rtld-routines): Add dl-error-minimal.
13735         [build-shared] (tests): Add tst-latepthread.
13736         (module-names): Add tst-latepthreadmod.
13737         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
13738         symbol.
13739         (tst-latepthreadmod.so): Link against libpthread.
13740         (tst-latepthread): Link against libdbl.
13741         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
13742         _dl_catch_error.
13743         [ld] (GLIBC_PRIVATE): Likewise.
13744         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
13745         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
13746         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
13747         directly.
13748         * elf/dl-tsd.c: Remove file.
13749         * elf/rtld.c (_rtld_global_ro): Remove initializers for
13750         _dl_catch_error, _dl_signal_error.
13751         (_dl_initial_error_catch_tsd): Remove definition.
13752         (do_preload): Remove initialization of dl_error_catch_tsd.
13753         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
13754         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
13755         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13756         * dlfcn/dlopen.c (dlopen_doit): Likewise.
13757         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
13758         set dl_error_catch_tsd.
13759         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
13760         _dl_error_catch_tsd member.
13761         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
13762         members.
13763         (_dl_initial_error_catch_tsd): Remove declaration.
13764         (_dl_dprintf): Provide definition for use outside of ld.so.
13765         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
13766         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
13767         prototype for libc.
13768         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
13769         _dl_catch_error.
13770         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13771         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13772         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13773         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13774         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13775         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13776         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13777         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13778         Likewise.
13779         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13781         (ld.so): Likewise.
13782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13783         (ld.so): Likewise.
13784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13785         Likewise.
13786         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13787         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13788         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
13789         Likewise.
13790         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
13791         Likewise.
13792         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13794 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13796         [BZ #4099]
13797         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
13798         _IO_BUFSIZ (8192).
13800 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
13802         * PROJECTS: Remove file.
13804 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13806         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
13808 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
13809             Steve Ellcey  <sellcey@caviumnetworks.com>
13811         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
13812         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
13813         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
13814         fxstatat.
13815         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
13816         lxstat.
13817         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
13818         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
13819         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
13820         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
13821         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
13822         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
13823         __xstat.
13825 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13827         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
13828         Define.
13829         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
13830         definition.
13832 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13834         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
13835         version and turn into strong alias.  Remove compat symbol.
13837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13838         (__longjmp): Remove.
13840 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
13842         * bits/fp-fast.h: New file.
13843         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
13844         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
13845         * math/Makefile (headers): Add bits/fp-fast.h.
13846         * math/math.h: Include <bits/fp-fast.h>.
13847         * bits/mathdef.h (FP_FAST_FMA): Remove.
13848         (FP_FAST_FMAF): Likewise.
13849         (FP_FAST_FMAL): Likewise.
13850         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
13851         (FP_FAST_FMAF): Likewise.
13852         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
13853         (FP_FAST_FMAF): Likewise.
13854         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
13855         (FP_FAST_FMAF): Likewise.
13856         (FP_FAST_FMAL): Likewise.
13857         * sysdeps/arm/bits/mathdef.h: Remove file.
13858         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
13859         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13860         * sysdeps/tile/bits/mathdef.h: Likewise.
13862 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
13864         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
13865         * math/w_ilogb.c: Remove.
13866         * math/w_ilogbf.c: Likewise.
13867         * math/w_ilogbl.c: Likewise.
13868         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
13869         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
13870         * math/Makefile (gen-libm-calls): Add w_ilogbF.
13871         (libm-calls): Remove w_ilogbF.
13872         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
13873         (LDOUBLE_ilogbl_libm_version): New macro.
13875         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
13877         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
13878         [!__STRICT_ANSI__ && !__cplusplus].
13880 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
13882         [BZ #20750]
13883         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
13884         of PIC.
13886 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
13887             Yury Norov  <ynorov@caviumnetworks.com>
13888             Steve Ellcey  <sellcey@caviumnetworks.com>
13890         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
13891         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
13892         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
13893         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
13894         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
13895         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
13896         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
13897         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
13898         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
13899         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
13900         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
13901         to get correct reg name for ILP32.
13902         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
13903         (RELA_SIZE): New Macro.
13904         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
13905         to support ILP32.
13906         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
13907         cast for ILP32 mode.
13908         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
13909         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
13910         * sysdeps/aarch64/memset.S (__memset): Ditto.
13911         * sysdeps/aarch64/strchr.S (strchr): Ditto.
13912         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
13913         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
13914         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
13915         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
13916         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
13917         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
13918         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
13919         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
13920         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
13921         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
13922         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
13923         change PTR_MANGLE call to use register numbers instead of names.
13924         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
13925         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
13926         ILP32 mode, change PTR_MANGLE calls to use register numbers.
13927         * sysdeps/aarch64/start.S (_start): Ditto.
13928         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
13929         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
13930         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
13931         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
13932         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
13933         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
13934         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
13935         Make defined values dependent on __ILP32__.
13936         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
13937         (sem_t): Change __align type.
13938         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
13939         PTR_SIZE): New Macros.
13940         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
13941         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
13942         Set when in ILP32 mode.
13943         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
13944         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
13945         Set elf flags for ILP32.
13946         (add_system_dir): Set ILP32 library directories.
13947         * sysdeps/unix/sysv/linux/aarch64/init-first.c
13948         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
13949         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
13950         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
13951         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
13952         New Macros.
13953         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
13955 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
13957         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
13958         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
13959         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
13961 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
13963         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
13964         <asm/cachectl.h>.
13966 2016-11-27  Zack Weinberg  <zackw@panix.com>
13968         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
13969         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
13971 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13973         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
13974         error_t to fix usage in C++ programs.
13976 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
13978         * scripts/build-many-glibcs.py: Import datetime module.
13979         (Context.__init__): Load JSON build state.  Initialize list of
13980         status logs.
13981         (Context.run_builds): Update saved build state.
13982         (Context.add_makefile_cmdlist): Update list of status logs.
13983         (Context.load_build_state_json): New function.
13984         (Context.store_build_state_json): Likewise.
13985         (Context.clear_last_build_state): Likewise.
13986         (Context.update_build_state): Likewise.
13987         (CommandList.status_logs): Likewise.
13989 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
13991         * scripts/build-many-glibcs.py (Context.__init__): Save text of
13992         script being executed.
13993         (Context.get_script_text): New function.
13994         (Context.exec_self): Likewise.
13995         (Context.checkout): Re-exec script if changed by checkout process.
13997 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
13999         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14000         (setpayloadsig): New declaration.
14001         * math/Versions (setpayloadsig): New libm symbol at version
14002         GLIBC_2.25.
14003         (setpayloadsigf): Likewise.
14004         (setpayloadsigl): Likewise.
14005         * math/Makefile (libm-calls): Add s_setpayloadsigF.
14006         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
14007         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
14008         (setpayloadsig_test_data): New array.
14009         (setpayloadsig_test): New function.
14010         (main): Call setpayloadsig_test.
14011         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
14012         setpayloadsigf and setpayloadsigl.
14013         * manual/libm-err-tab.pl: Update comment on interfaces without
14014         ulps tabulated.
14015         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
14016         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
14017         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
14018         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
14019         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
14020         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
14021         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14022         setpayloadsig.
14023         (CFLAGS-nldbl-setpayloadsig.c): New variable.
14024         * sysdeps/nacl/libm.abilist: Update.
14025         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14026         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14027         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14028         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14029         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14030         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14031         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14032         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14033         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14034         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14035         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14036         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14038         Likewise.
14039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14040         Likewise.
14041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14042         Likewise.
14043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14044         Likewise.
14045         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14046         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14047         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14048         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14049         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14051         Likewise.
14052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14053         Likewise.
14054         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14055         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14056         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14058         * scripts/build-many-glibcs.py: Import json module.
14059         (Context.__init__): Take replace_sources argument.  Load
14060         versions.json.
14061         (Context.load_versions_json): New function.
14062         (Context.store_json): Likewise.
14063         (Context.store_versions_json): Likewise.
14064         (Context.set_component_version): Likewise.
14065         (Context.checkout): Update versions.json.  Check for and handle
14066         changes of version.  Prefer previously explicitly specified
14067         version to default version.
14068         (Context.checkout_vcs): Return a revision identifier.
14069         (Context.git_checkout): Likewise.
14070         (Context.gcc_checkout): Likewise.
14071         (get_parser): Add --replace-sources option.
14072         (main): Pass replace_sources argument to Context call.
14074 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14076         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
14077         * nptl/allocatestack.c (allocate_stack): Likewise.
14078         (__reclaim_stacks): Likewise.
14079         (setxid_signal_thread): Obtain pid through syscall.
14080         * nptl/nptl-init.c (sigcancel_handler): Likewise.
14081         (sighandle_setxid): Likewise.
14082         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
14083         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
14084         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
14085         Likewise.
14086         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
14087         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
14088         comment.
14089         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
14090         * nptl/descr.h (struct pthread): Change comment about pid value.
14091         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
14092         pid assert.
14093         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
14094         Do not set pid value.
14095         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
14096         pid cache check.
14097         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
14098         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
14099         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
14100         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
14101         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
14102         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14103         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
14104         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
14105         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
14106         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
14107         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
14108         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14109         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
14110         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14111         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
14112         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
14113         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14114         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
14115         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
14116         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
14117         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
14118         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14119         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
14120         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
14121         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
14122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
14124         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14125         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14126         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14127         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
14128         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
14129         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
14130         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14131         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
14132         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
14133         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
14134         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14135         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
14136         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
14137         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14138         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
14139         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
14140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14142         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14143         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14144         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14145         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14146         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14147         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
14148         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14149         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
14150         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
14151         struct access.
14152         (clone_test): Remove function.
14153         (do_test): Rewrite to take in consideration pid is not cached anymore.
14155 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
14157         * bits/flt-eval-method.h: New file.
14158         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
14159         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
14160         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
14161         * math/Makefile (headers): Add bits/flt-eval-method.h.
14162         * math/math.h: Include <bits/flt-eval-method.h>.
14163         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
14164         [__USE_ISOC99] (double_t): Likewise.
14165         * bits/mathdef.h (float_t): Remove.
14166         (double_t): Likewise.
14167         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
14168         (double_t): Likewise.
14169         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
14170         (double_t): Likewise.
14171         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
14172         (double_t): Likewise.
14173         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
14174         (double_t): Likewise.
14175         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
14176         (double_t): Likewise.
14177         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
14178         (double_t): Likewise.
14179         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
14180         (double_t): Likewise.
14181         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
14182         (double_t): Likewise.
14183         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
14184         (double_t): Likewise.
14185         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
14186         (double_t): Likewise.
14187         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
14188         (double_t): Likewise.
14189         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
14190         (double_t): Likewise.
14191         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
14192         (double_t): Likewise.
14194 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
14196         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
14197         instead of PIC.
14199 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
14201         [BZ #20859]
14202         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
14203         (-0x7fffffff) instead of 0x80000001.
14204         * math/test-fp-ilogb-constants.c: New file.
14205         * math/Makefile (tests): Add test-fp-ilogb-constants.
14207 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
14209         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
14210         (_init): Use it in place of hardcoded R_MIPS_JALR.
14211         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
14212         (_init): Use it in place of hardcoded R_MIPS_JALR.
14213         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
14214         (_init): Use it in place of hardcoded R_MIPS_JALR.
14216 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
14218         [BZ #20787]
14219         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
14220         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
14221         (double_t): Do not define to double if [__x86_64__] when
14222         __FLT_EVAL_METHOD__ is nonzero.
14223         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
14224         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
14225         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14226         test-flt-eval-method-387 and test-flt-eval-method-sse.
14227         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
14228         variable.
14229         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
14231 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
14233         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
14234         use of -fno-isolate-erroneous-paths options for tilepro.
14236 2016-11-23  Florian Weimer  <fweimer@redhat.com>
14238         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
14239         structure initialization is no longer needed.
14241 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
14243         [BZ #20855]
14244         * bits/mathdef.h (float_t): Define to float.
14245         * math/test-flt-eval-method.c: New file.
14246         * math/Makefile (tests): Add test-flt-eval-method.
14247         (CFLAGS-test-flt-eval-method.c): New variable.
14249 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
14251         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
14252         and __fstatfs.  Make them aliases of __fstatfs64 if
14253         STATFS_IS_STATFS64 is set to non-zero.
14254         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
14255         and __statfs64.
14256         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
14257         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
14258         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
14259         for __statfs and statfs.
14260         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
14261         to 0.
14262         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
14263         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
14264         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
14265         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14266         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14267         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
14270         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
14271         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14272         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
14273         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
14275 2016-11-22  Andreas Schwab  <schwab@suse.de>
14277         * misc/mkstemp.c: Include <fcntl.h>.
14278         * misc/mkstemps.c: Likewise.
14279         * misc/mkostemp.c: Likewise.
14280         * misc/mkostemps.c: Likewise.
14282 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
14284         [BZ #20847]
14285         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
14286         array bounds.
14287         (__execvpe): Likewise.
14289 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
14291         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
14292         -fno-isolate-erroneous-paths options for tilepro.
14294 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
14296         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
14297         to 0 when in 32 bit mode.
14298         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
14299         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14300         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14301         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14303         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14304         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
14305         XSTAT_IS_XSTAT64 test.
14306         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
14307         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
14308         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
14309         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
14310         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
14311         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
14312         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
14313         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
14314         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
14315         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
14316         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
14318 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
14320         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14321         (setpayload): New declaration.
14322         * math/Versions (setpayload): New libm symbol at version
14323         GLIBC_2.25.
14324         (setpayloadf): Likewise.
14325         (setpayloadl): Likewise.
14326         * math/Makefile (libm-calls): Add s_setpayloadF.
14327         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
14328         test_Ff_b1_data.
14329         (RUN_TEST_Ff_b1): New macro.
14330         (RUN_TEST_LOOP_Ff_b1): Likewise.
14331         (canonicalize_test_data): Update type.
14332         (setpayload_test_data): New array.
14333         (setpayload_test): New function.
14334         (main): Call setpayload_test.
14335         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
14336         setpayloadf and setpayloadl.
14337         * manual/libm-err-tab.pl: Update comment on interfaces without
14338         ulps tabulated.
14339         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
14340         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
14341         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
14342         Likewise.
14343         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
14344         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
14345         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
14346         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
14347         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
14348         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
14349         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
14350         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
14351         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
14352         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14353         setpayload.
14354         (CFLAGS-nldbl-setpayload.c): New variable.
14355         * sysdeps/nacl/libm.abilist: Update.
14356         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14357         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14358         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14359         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14360         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14361         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14362         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14363         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14364         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14365         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14366         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14367         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14369         Likewise.
14370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14371         Likewise.
14372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14373         Likewise.
14374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14375         Likewise.
14376         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14377         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14378         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14379         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14380         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14382         Likewise.
14383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14384         Likewise.
14385         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14386         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14387         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14389 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14391         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
14392         * include/unistd.h: Extend comment about __access_noerrno return
14393         semantics.
14394         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
14395         (access_common): Correct typo for EACCES.
14397 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
14399         * sysdeps/tile/math-tests.h: New file.
14401         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
14402         (__old_set_dataplane): Rename from set_dataplane and make a
14403         compatibility symbol.
14404         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
14405         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
14406         sys/dataplane.h.
14408 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
14410         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
14411         script quote words in command output to log suitably for input to
14412         the shell.
14414 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
14415             Maciej W. Rozycki  <macro@imgtec.com>
14417         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
14418         `.Lno_weak_fn' label.
14419         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
14420         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
14422 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14423             Yury Norov  <ynorov@caviumnetworks.com>
14425         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
14426         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
14427         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14428         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
14429         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14430         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
14431         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14432         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14433         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14434         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
14435         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14436         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
14437         (sysdep_routines): Remove oldgetrlimit64.
14438         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
14439         (sysdep_routines): Likewise.
14440         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
14441         (sysdep_routines): Likewise.
14442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14443         [$(subdir) = resource] (sysdep_routines): Likewise.
14444         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
14445         [$(subdir) = resource] (sysdep_routines): Likewise.
14446         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
14447         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
14448         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
14449         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
14450         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
14451         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14452         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
14453         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
14454         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
14455         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
14456         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
14457         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
14458         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
14459         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
14460         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
14461         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
14462         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
14463         setrlimit and getrlimit.
14464         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
14465         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14466         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
14467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
14469         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14470         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
14471         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14472         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14473         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
14474         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
14475         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
14476         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
14477         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
14478         (__old_getrlimit64): Add compatibility symbol.
14479         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
14481 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
14483         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
14484         newly built gmp, mpfr and mpc.
14486         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
14488 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
14490         * conform/Makefile (linknamespace-libs): Rename to
14491         linknamespace-libs-thr.
14492         (linknamespace-libs-posix): New variable.
14493         (linknamespace-libs-xsi): Likewise.
14494         (linknamespace-libs-XPG3): Include libcrypt.a.
14495         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
14496         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
14497         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
14498         (linknamespace-libs-XOPEN2K): Likewise.
14499         (linknamespace-libs-XOPEN2K8): Likewise.
14500         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
14502         [BZ #20829]
14503         * stdio-common/Versions (__snprintf): Add to version
14504         GLIBC_PRIVATE.
14505         * include/stdio.h (__snprintf): Use libc_hidden_proto.
14506         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
14507         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
14508         of snprintf.
14509         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14511 2016-11-16  Zack Weinberg  <zackw@panix.com>
14513         * string/string.h: Remove obsolete comment stating that
14514         strcoll_l and strxfrm_l have not yet been standardized.
14516 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14518         * hurd/hurd.h (__hurd_fail_noerrno): New function.
14519         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
14520         __access_noerrno.
14521         * io/access.c (__access_noerrno): New function.
14522         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
14523         (hurd_fail_seterrno): Likewise.
14524         (access_common): Likewise.
14525         (__access_noerrno): Likewise.
14526         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
14527         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
14528         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
14529         macro.
14531 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
14533         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
14534         Only declare fpregs if [__SH_FPU_ANY__].
14536 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
14538         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
14539         Make code unconditional.
14540         [!(__SH4__ || __SH4A__)]: Remove conditional code.
14542 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
14544         * manual/sysinfo.texi (S_APPEND): Delete.
14545         (S_IMMUTABLE): Likewise.
14547 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
14548             Magnus Granberg  <zorry@gentoo.org>
14549             Mike Frysinger  <vapier@gentoo.org>
14551         [BZ #20662]
14552         * configure.ac (libc_cv_predef_stack_protector): Also check for
14553         __stack_chk_fail_local symbols.
14554         * configure: Regenerated.
14556 2016-11-15  Florian Weimer  <fweimer@redhat.com>
14558         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14559         (libc_hidden_def): Remove redefinition.
14560         (__sigsetjmp): Add hidden definition.
14561         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14562         (libc_hidden_def): Remove redefinition.
14563         (__sigsetjmp): Add hidden definition.
14565 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
14567         * scripts/build-many-glibcs.py (os.path): Do not import.
14568         (Context): Inherit explicitly from object.  Remove blank line
14569         between class and docstring.
14570         (Config): Likewise.
14571         (Glibc): Likewise.
14572         (Command): Likewise.
14573         (CommandList): Likewise.
14574         (Context.write_files): Store chmod mode in a variable.
14576         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
14577         LIBC_SLIBDIR_RTLDDIR for tilegx32.
14578         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
14580 2016-11-14  Zack Weinberg  <zackw@panix.com>
14582         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
14583         creating or re-creating it.
14585         * string/bits/string2.h: Fix typo in comment.
14587 2016-11-14  Zack Weinberg  <zackw@panix.com>
14589         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
14590         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
14591         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
14592         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
14593         of redirected function names.
14595         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
14596         as well.  Document that MESSAGE must be a single string literal.
14598 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
14600         * scripts/build-many-glibcs.py: New file.
14602         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
14603         (do_test): Disable -Wmaybe-uninitialized around uses of
14604         except_mask.
14606         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
14608 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
14610         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
14611         (atomic_store_release): Provide tilepro-specific implementations.
14613 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
14615         * math/math.h (__MATH_TG): New macro.
14616         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
14617         [__USE_ISOC99] (signbit): Likewise.
14618         [__USE_ISOC99] (isfinite): Likewise.
14619         [__USE_ISOC99] (isnan): Likewise.
14620         [__USE_ISOC99] (isinf): Likewise.
14621         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
14622         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
14623         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
14624         __MATH_TG and __MATH_EVAL_FMT2.
14625         * sysdeps/generic/math_private.h (fabs_tg): Define using
14626         __MATH_TG.
14627         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14628         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
14629         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
14630         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
14631         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
14632         macro.
14633         (__iscanonical): Likewise.
14634         (iscanonical): Define using __MATH_TG.
14636 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14638         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
14639         guards.
14641         * sysdeps/unix/sysv/linux/access.c: New file.
14642         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
14644 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
14646         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
14647         and __WORDSIZE32_PTRDIFF_LONG.
14649 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14651         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14653 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14655         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
14656         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
14657         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
14658         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
14659         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
14660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
14661         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
14662         * sysdeps/unix/sysv/linux/truncate.c: New file.
14663         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
14664         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14665         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
14666         Remove.
14667         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
14668         Likewise.
14670         * posix/tst-truncate-common.c: New file.
14671         * posix/tst-truncate.c: Use tst-truncate-common.c.
14672         * posix/tst-truncate64.c: Likewise and add LFS tests.
14673         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
14674         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
14675         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
14676         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
14677         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
14678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
14679         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
14680         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
14681         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
14682         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14683         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
14684         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
14685         Remove.
14686         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
14687         Likewise.
14689 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
14691         [BZ #20790]
14692         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
14693         to MAXLINESIZE.
14694         * sunrpc/bug20790.x: New file.
14695         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
14696         variable.
14697         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
14698         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
14700         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
14702         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
14704         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
14705         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
14706         calloc, realloc, free, memalign and __libc_memalign rather than
14707         making them optional.
14709         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
14710         for libc.so.
14712 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14714         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
14715         ptw-lseek64.
14716         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
14717         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
14718         Likewise.
14719         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
14720         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
14721         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
14722         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
14723         * sysdeps/unix/sysv/linux/lseek.c: New file.
14724         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
14725         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
14726         __libc_lseek64 from auto-generation.
14727         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14728         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
14730 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14732         * nptl/tst-basic1.c (tf, do_test): Use write_message.
14733         * nptl/tst-cleanup1.c (do_test): Likewise.
14734         * nptl/tst-cleanup3.c (do_test): Likewise.
14735         * nptl/tst-key1.c (do_test): Likewise.
14736         * nptl/tst-key2.c (tf, do_test): Likewise.
14737         * nptl/tst-key3.c (tf, do_test): Likewise.
14738         * nptl/tst-stdio1.c (do_test): Likewise.
14739         * nptl/tst-stdio2.c (do_test): Likewise.
14741         * nptl/tst-kill3.c (handler): Use write_message in place of write.
14742         * nptl/tst-kill6.c (handler): Likewise.
14743         * nptl/tst-tls2.c (CB): Likewise.
14744         * nptl/tst-tls3.c (CB): Likewise.
14746 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
14748         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
14750 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
14751             Steve Ellcey  <sellcey@caviumnetworks.com>
14753         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
14754           __ASSUME_ST_INO_64_BIT as 0
14755         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
14756         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
14757           over the code where __ASSUME_ST_INO_64_BIT is used.
14758         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
14759         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
14760         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14762 2016-11-07  Florian Weimer  <fweimer@redhat.com>
14764         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14765         Document ABI exposure of the __kind offset.
14766         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14767         Mention reason for the __kind offset exposure in the ABI.
14768         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14769         Likewise.
14770         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14771         Likewise.
14772         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14773         Likewise.
14774         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
14775         (struct __pthread_mutex_s): Likewise.
14776         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14777         Likewise.
14778         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14779         Likewise.
14780         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14781         Likewise.
14782         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14783         Likewise.
14784         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14785         Likewise.
14786         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14787         Likewise.
14788         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
14789         (struct __pthread_mutex_s): Likewise.
14790         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14791         (struct __pthread_mutex_s): Likewise.
14792         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
14793         Likewise.
14795 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
14797         * test-skeleton.c: Document do_test usage.
14799 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
14801         * iconv/gconv.h (__gconv_info): Define __data element using a
14802         zero-length array.
14804 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
14806         * math/test-tgmath2.c: Split up test function.
14808 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
14810         * Rules (tests-expected): New variable, depending on
14811         $(run-built-tests).
14812         (tests): Pass $(tests-expected) to merge-test-results.sh, not
14813         $(tests).
14815         * Rules [$(run-built-tests) = no] (tests): Do not depend on
14816         $(tests-unsupported).
14818 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14820         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
14821         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
14823 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
14825         [BZ #20768]
14826         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
14827         __fegetenv instead of fegetenv.
14829         [BZ #14139]
14830         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
14831         (find_files): Obtain platform name from libm-test-ulps-name and
14832         store in %pplatforms.
14833         (canonicalize_platform): Remove.
14834         (print_platforms): Use $pplatforms directly.
14835         (by_platforms): Do not allow for platforms missing from
14836         %pplatforms.
14837         * sysdeps/aarch64/libm-test-ulps-name: New file.
14838         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
14839         * sysdeps/arm/libm-test-ulps-name: Likewise.
14840         * sysdeps/generic/libm-test-ulps-name: Likewise.
14841         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
14842         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
14843         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
14844         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
14845         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
14846         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
14847         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
14848         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
14849         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
14850         * sysdeps/nios2/libm-test-ulps-name: Likewise.
14851         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
14852         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
14853         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
14854         * sysdeps/sh/libm-test-ulps-name: Likewise.
14855         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
14856         * sysdeps/tile/libm-test-ulps-name: Likewise.
14857         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
14859         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
14861         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
14862         (test-xfail-check-execstack): New variable.
14864         * sysdeps/mips/localplt.data: New file.
14866 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
14867             Steve Ellcey  <sellcey@caviumnetworks.com>
14869         * bits/wordsize.h: Add documentation.
14870         * sysdeps/aarch64/bits/wordsize.h : New file
14871         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
14872         definitions.
14873         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
14874         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
14875         with #if instead of #ifdef.
14876         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
14877         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
14878         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
14879         Add or change defines.
14880         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
14881         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14882         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
14883         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
14884         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14885         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14886         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
14887         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
14888         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
14889         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14890         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
14891         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
14892         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
14893         * sysdeps/x86/bits/wordsize.h: Likewise.
14895 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
14896             Kevin Petit  <kevin.petit@arm.com>
14898         * sysdeps/aarch64/memchr.S (__memchr): New file.
14900 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
14902         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
14904 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
14906         [BZ #19398]
14907         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
14908         $(linknamespace-symlists-tests).
14910 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
14912         * time/tst-strptime2.c: Ignore -Wformat-length warning.
14914 2016-11-02  Florian Weimer  <fweimer@redhat.com>
14915             Carlos O'Donell  <carlos@redhat.com>
14917         [Bug #20729]
14918         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
14919         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
14920         for -Os related change.
14922 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
14924         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
14926 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
14928         [BZ #19673]
14929         * manual/math.texi (Exponents and Logarithms): Correct description
14930         of clog10.
14932 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
14934         [Bz #20729]
14935         * locale/weight.h: Include libc-internal.h.
14936         * locale/weightwc.h: Likewise.
14937         * nptl/nptl_dbP.h: Likewise.
14939 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
14941         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
14942         when it is MACH_PORT_NULL.
14944 2016-10-31  Andreas Schwab  <schwab@suse.de>
14946         [BZ #20707]
14947         * posix/glob.c (glob): Initialize pglob before checking for
14948         GLOB_BRACE.  Don't call glob recursively if pattern contains no
14949         valid brace expression despite GLOB_BRACE.
14950         * posix/globtest.sh: Test it.
14952 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
14954         [BZ #20729]
14955         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
14956         Define.
14957         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
14958         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
14959         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
14960         for seq2.back_us and seq1.back_us only for -Os compiles.
14961         * locale/weightwc.h (findix): Likewise.
14962         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
14963         DB_GET_FIELD_ADDRESS only for -Os compiles.
14964         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
14965         for slen only for -Os compiles.
14966         * string/strcoll_l.c (get_next_seq): Ignore
14967         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
14968         for -Os compiles.
14970         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
14971         * include/crypt.h: New file.
14973 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14975         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
14976         from test-skeleton.c.
14977         (statclass): Replace calls to write with calls to write_message.
14979 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
14981         * math/math.h
14982         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
14983         New macro.
14984         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
14985         Likewise.
14986         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
14987         Likewise.
14988         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
14989         SNANL.
14990         * math/test-double.h (snan_value_MACRO): New macro.
14991         * math/test-float.h (snan_value_MACRO): Likewise.
14992         * math/test-ldouble.h (snan_value_MACRO): Likewise.
14993         * math/libm-test.inc (issignaling_test_data): Add tests of
14994         snan_value_MACRO.
14996 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14998         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
14999         behavior when eliding a lock not held by the current thread.
15000         * sysdeps/powerpc/nptl/elide.h: Likewise.
15002 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15004         [BZ #20728]
15005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
15006         branch to _exit() by a function call.
15008 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15010         * malloc/malloc.c: Update chunk layout comments.
15011         (chunk_main_arena): Update comment.
15013 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15015         * crypt/sha256.c, crypt/sha256-block.c,
15016         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
15017         sha256_process_block to __sha256_process_block.
15018         * crypt/sha512.c, crypt/sha512-block.c,
15019         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
15020         sha512_process_block to __sha512_process_block.
15022 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
15024         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
15026         * math/test-nan-overflow.c: Include stdlib.h for malloc.
15028 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
15030         [BZ #20019]
15031         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
15032         definition in unrelocated shared library.
15033         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15035 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15037         [BZ #20729]
15038         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
15039         * sysdeps/unix/sysv/linux/i386/Makefile
15040         (uses-6-syscall-arguments): Define.
15041         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
15042         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
15043         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
15044         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
15045         Likewise.
15046         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
15047         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
15048         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
15049         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
15050         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
15051         (CFLAGS-fallocate64.os): Likewise.
15052         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
15053         (CFLAGS-pthread_rwlock_timedrdlock.os)
15054         (CFLAGS-pthread_rwlock_timedwrlock.o)
15055         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
15056         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
15057         (CFLAGS-sem_timedwait.os): Likewise.
15059 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15061         * elf/tst-linkall-static.c: New file.
15062         * elf/Makefile (tests-static): Add tst-linkall-static.
15063         (tst-linkall-static): Link against static libraries.
15065 2016-10-27  Florian Weimer  <fweimer@redhat.com>
15067         * malloc/malloc.c (sysmalloc): Initialize previous size field of
15068         mmaped chunks.
15070 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15072         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
15073         members to mchunk_prev_size, mchunk_size.
15074         (chunk_main_arena): Reverse sense and rename from
15075         chunk_non_main_arena.
15076         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
15077         mchunk_size instead of size.
15078         (set_non_main_arena): Define.
15079         (chunksize): Use chunksize_nomask instead of direct member access.
15080         (chunksize_nomask): Define.
15081         (next_chunk): Use chunksize instead of direct member access.
15082         (prev_size, set_prev_size): Define.
15083         (prev_chunk): Use prev_size instead of direct member access.
15084         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
15085         (inuse_bit_at_offset, set_inuse_bit_at_offset)
15086         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
15087         (mchunk_prev_size, mchunk_size): Poison tokens.
15088         (unlink): Use chunksize_nomask, prev_size accessors.
15089         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
15090         (do_check_free_chunk): Use prev_size accessor.
15091         (sysmalloc): Use set_prev_size, set_head accessors.
15092         (munmap_chunk, mremap_chunk): Use prev_size accessor.
15093         (__libc_free): Use chunksize_nomask accessor.
15094         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
15095         chunk_main_arena accessors.
15096         (_int_free): Use chunksize_nomask, prev_size accessors.
15097         (malloc_consolidate): Use chunksize, prev_size accessors.
15098         (_int_realloc): Use chunksize_nomask accessor.
15099         (_int_memalign): Use set_prev_size accessor.
15100         (__malloc_info): Use chunksize_nomask accessor.
15101         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
15102         accessors.
15103         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
15104         (heap_trim): Use chunksize_nomask, prev_size accessors.
15106 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
15108         [BZ #19380]
15109         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
15110         for inexact results.
15111         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
15112         of inexact result where mpfr_subnormalize is the only inexact
15113         step.
15114         * stdlib/tst-strtod-round-data.h: Regenerated.
15115         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
15116         Define to 0.
15117         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
15119 2016-10-27  David S. Miller  <davem@davemloft.net>
15121         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
15123 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15125         * malloc/malloc.c (do_set_mallopt_check): New function.
15126         (do_set_mmap_threshold): Likewise.
15127         (do_set_mmaps_max): Likewise.
15128         (do_set_top_pad): Likewise.
15129         (do_set_perturb_byte): Likewise.
15130         (do_set_trim_threshold): Likewise.
15131         (do_set_arena_max): Likewise.
15132         (do_set_arena_test): Likewise.
15133         (__libc_mallopt): Use them.
15135 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
15137         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15138         (canonicalize): New declaration.
15139         * math/Versions (canonicalize): New libm symbol at version
15140         GLIBC_2.25.
15141         (canonicalizef): Likewise.
15142         (canonicalizel): Likewise.
15143         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
15144         * math/s_canonicalize_template.c: New file.
15145         * math/libm-test.inc: Update comment on functions tested and
15146         testing of NaN payloads.
15147         (TEST_NAN_PAYLOAD): New macro.
15148         (NO_TEST_INLINE): Update value.
15149         (XFAIL_TEST): Likewise.
15150         (ERRNO_UNCHANGED): Likewise.
15151         (ERRNO_EDOM): Likewise.
15152         (ERRNO_ERANGE): Likewise.
15153         (IGNORE_RESULT): Likewise.
15154         (NON_FINITE): Likewise.
15155         (TEST_SNAN): Likewise.
15156         (NO_TEST_MATHVEC): Likewise.
15157         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
15158         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
15159         (struct test_Ffp_b1_data): New type.
15160         (RUN_TEST_Ffp_b1): New macro.
15161         (RUN_TEST_LOOP_Ffp_b1): Likewise.
15162         (canonicalize_test_data): New array.
15163         (canonicalize_test): New function.
15164         (main): Call canonicalize_test.
15165         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
15166         canonicalizef and canonicalizel.
15167         * manual/libm-err-tab.pl: Update comment on interfaces without
15168         ulps tabulated.
15169         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
15170         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
15171         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15172         canonicalize.
15173         (CFLAGS-nldbl-canonicalize.c): New variable.
15174         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
15175         to ...
15176         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
15177         ... here.
15178         (do_test): Also test canonicalizel.
15179         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
15180         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
15181         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
15182         file.
15183         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
15184         Use libm_hidden_def.
15185         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
15186         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
15187         (do_test): Also test canonicalizel.
15188         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
15189         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
15190         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
15191         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
15192         libm_hidden_def.
15193         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
15194         macro.
15195         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
15196         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
15197         * sysdeps/nacl/libm.abilist: Update.
15198         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15199         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15200         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15201         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15202         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15203         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15204         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15205         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15206         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15207         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15208         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15209         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15211         Likewise.
15212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15213         Likewise.
15214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15215         Likewise.
15216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15217         Likewise.
15218         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15219         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15220         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15221         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15222         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15224         Likewise.
15225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15226         Likewise.
15227         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15228         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15229         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15231         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
15232         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15233         getpayload.
15234         (CFLAGS-nldbl-getpayload.c): New variable.
15236 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15238         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
15239         integer from the format string.
15241 2016-10-26  Florian Weimer  <fweimer@redhat.com>
15243         [BZ #19473]
15244         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
15245         declarations.
15246         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
15247         weak aliases.
15248         * malloc/hooks.c (__malloc_get_state): Remove definition.
15249         (malloc_get_state): New stub implementation as
15250         compatibility symbol.
15251         (malloc_set_state): Rename from __malloc_set_state.  Turn into
15252         compat symbol.
15253         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
15254         malloc_set_state.
15255         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
15257 2016-10-26  Florian Weimer  <fweimer@redhat.com>
15259         * iconvdata/iso646.c (enum variant): Drop illegal_var.
15260         (names): Turn into concatenation of strings.
15261         (gconv_init): Adapt iteration over names.
15263 2016-10-26  Florian Weimer  <fweimer@redhat.com>
15265         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
15266         make const.
15267         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
15268         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
15269         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
15270         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
15271         character in sbconv.
15272         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
15273         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
15274         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
15276 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15278         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
15280         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
15281         (M_TRIM_THRESHOLD): Likewise.
15283         * manual/memory.texi (M_ARENA_TEST): Add documentation.
15284         (M_ARENA_MAX): Likewise.
15285         * malloc/malloc.c: Remove obsolete comment.
15287         * manual/memory.texi: Add environment variable alternatives to
15288         setting mallopt parameters.
15290 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
15292         * include/atomic.h
15293         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
15294         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
15296 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15298         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
15299         * stdlib/tst-strfrom.h: New file.
15300         * stdlib/tst-strfrom.c: New file.
15301         * stdlib/tst-strfrom-locale.c: New file.
15303         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
15304         * stdlib/bug-strtod2.c: Likewise.
15305         * stdlib/tst-strtod-round-skeleton.c: Likewise.
15306         * stdlib/tst-strtod6.c: Likewise.
15307         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
15309 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15311         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
15312         * manual/arith.texi: Document strfromd, strfromf, strfroml.
15313         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
15314         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
15315         * stdlib/stdlib.h (strfromd): New declaration.
15316         (strfromf): Likewise.
15317         (strfroml): Likewise.
15318         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
15319         strfrom.
15320         * stdlib/strfromd.c: New file.
15321         * stdlib/strfromf.c: Likewise.
15322         * stdlib/strfroml.c: Likewise.
15323         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
15324         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
15325         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
15326         * sysdeps/arm/nacl/libc.abilist: Update.
15327         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15328         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15329         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15330         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15331         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15332         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15333         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15334         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15335         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15336         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15337         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15338         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15339         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15340         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15345         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15346         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15347         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15348         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15349         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15352         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15353         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15354         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15356 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
15358         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
15359         instead of cmpli.
15360         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
15361         instead of cmpli.
15363 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
15365         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
15366         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
15367         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
15368         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15369         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15370         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15372 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15374         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
15375         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15376         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
15377         SYSCALL_LL64_PRW.
15378         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15379         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
15380         __ASSUME_PRW_DUMMY_ARG.
15381         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
15382         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15383         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15384         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15385         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
15386         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
15388 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
15390         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
15392 2016-10-22  Florian Weimer  <fweimer@redhat.com>
15394         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
15395         "C++", to override a potential extern "C" directive around the
15396         header file inclusion.
15398 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
15400         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
15402 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15404         * sysdeps/powerpc/fpu/fenv_private.h:
15405         (_FPU_MASK_ALL): Rename to...
15406         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
15407         XE FPSCR bits.
15409         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
15411         (_FPU_MASK_ROUNDING): Rename to...
15412         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
15413         NI bits.
15415         (_FPU_MASK_EXCEPT_ROUND): Rename to...
15416         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
15417         bits and rounding bits.
15419         (__libc_feholdbits_ppc): New inline function to mask, set,
15420         and pontentially clear FSPCR bits, and change MSR[FE] bits.
15421         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
15422         (libc_feholdexcept_setround_ppc): Likewise.
15424         (__libc_femergeenv_ppc): New function to dynamically mask both
15425         old and new FP environments and merge.
15426         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
15427         (libc_feresetround_ppc): Likewise.
15428         (libc_feupdateenv_test_ppc): Likewise.
15429         (libc_feupdateenv_ppc): Likewise.
15431         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
15432         of ISA RN bits, and update macro names.
15433         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
15434         effectively the same as the previously mentioned function.
15436         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
15437         usage with fe_resetround_ppc.
15439         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
15440         to be used.
15441         (libc_feholdexcept_setround_ctxf): Likewise.
15442         (libc_feholdexcept_setround_ctxl): Likewise.
15444 2016-10-21  Florian Weimer  <fweimer@redhat.com>
15446         [BZ #20715]
15447         * math/math.h [__cplusplus] (iszero): Define as function template.
15448         * math/Makefile [CXX] (tests): Add test-math-iszero.
15449         (CFLAGS-test-math-iszero.cc): Set.
15450         * math/test-math-iszero.cc: New file.
15452 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
15454         [BZ #20660]
15455         * sysdeps/arm/e_sqrt.c: New file.
15456         * sysdeps/arm/e_sqrtf.c: Likewise.
15458 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
15460         [BZ #20718]
15461         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
15462         not use floating-point comparisons to test sign.
15463         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
15464         Likewise.
15466         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15467         (getpayload): New declaration.
15468         * math/Versions (getpayload): New libm symbol at version
15469         GLIBC_2.25.
15470         (getpayloadf): Likewise.
15471         (getpayloadl): Likewise.
15472         * math/Makefile (libm-calls): Add s_getpayloadF.
15473         * math/libm-test.inc: Include <nan-high-order-bit.h>.
15474         (struct test_f_f_data): Add comment.
15475         (RUN_TEST_fp_f): New macro.
15476         (RUN_TEST_LOOP_fp_f): Likewise.
15477         (getpayload_test_data): New array.
15478         (getpayload_test): New function.
15479         (main): Call getpayload_test.
15480         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
15481         descriptor.
15482         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
15483         getpayloadf and getpayloadl.
15484         * manual/libm-err-tab.pl: Update comment on interfaces without
15485         ulps tabulated.
15486         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
15487         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
15488         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
15489         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
15490         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
15491         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
15492         * sysdeps/nacl/libm.abilist: Update.
15493         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15494         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15495         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15496         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15497         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15498         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15499         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15500         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15501         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15502         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15503         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15504         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15506         Likewise.
15507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15508         Likewise.
15509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15510         Likewise.
15511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15512         Likewise.
15513         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15514         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15515         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15516         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15517         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15519         Likewise.
15520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15521         Likewise.
15522         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15523         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15524         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15526 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15528         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
15529         tst-fallocate{64}.
15530         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
15531         on syscall return.
15533 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
15535         [BZ #20689]
15536         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
15537         usable.
15539 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
15541         * sysdeps/generic/nan-high-order-bit.h: New file.
15542         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
15543         * sysdeps/mips/nan-high-order-bit.h: Likewise.
15544         * sysdeps/hppa/math_private.h: Remove file.
15545         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
15546         not define here.
15547         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
15548         <nan-high-order-bit.h>.
15549         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15550         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
15551         <nan-high-order-bit.h>.
15552         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15553         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
15554         <nan-high-order-bit.h>.
15555         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15556         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
15557         <nan-high-order-bit.h>.
15558         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15559         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
15560         <nan-high-order-bit.h>.
15561         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15562         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
15563         <nan-high-order-bit.h>.
15564         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15565         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
15566         <nan-high-order-bit.h>.
15567         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15568         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
15569         <nan-high-order-bit.h>.
15570         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15571         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
15572         <nan-high-order-bit.h>.
15573         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15574         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
15575         <nan-high-order-bit.h>.
15576         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15577         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
15578         <nan-high-order-bit.h>.
15579         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15580         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
15581         <nan-high-order-bit.h>.
15582         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15583         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
15584         <nan-high-order-bit.h>.
15585         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15586         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
15587         <nan-high-order-bit.h>.
15588         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15589         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
15590         <nan-high-order-bit.h>.
15591         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15592         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
15593         <nan-high-order-bit.h>.
15594         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15595         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
15596         <nan-high-order-bit.h>.
15597         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15598         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
15599         <nan-high-order-bit.h>.
15600         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15602 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15604         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
15606 2016-09-22  John David Anglin  <dave.anglin@bell.net>
15608         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
15609         abort-instr.h.
15610         (EFAULT): Remove conditional define.
15611         (ENOSYS): Likewise.
15612         (atomic_compare_and_exchange_val_acq): Use instruction nullification
15613         instead of conditional branch instructions.
15615 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
15617         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15618         (totalordermag): New declaration.
15619         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
15620         New macro.
15621         * math/Versions (totalordermag): New libm symbol at version
15622         GLIBC_2.25.
15623         (totalordermagf): Likewise.
15624         (totalordermagl): Likewise.
15625         * math/Makefile (libm-calls): Add s_totalordermagF.
15626         * math/libm-test.inc (totalordermag_test_data): New array.
15627         (totalordermag_test): New function.
15628         (main): Call totalordermag_test.
15629         * math/test-tgmath.c (NCALLS): Increase to 125.
15630         (F(compile_test)): Call totalordermag.
15631         (F(totalordermag)): New function.
15632         * manual/arith.texi (FP Comparison Functions): Document
15633         totalordermag, totalordermagf and totalordermagl.
15634         * manual/libm-err-tab.pl: Update comment on interfaces without
15635         ulps tabulated.
15636         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
15637         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
15638         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
15639         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
15640         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
15641         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
15642         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
15643         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15644         totalordermag.
15645         (CFLAGS-nldbl-totalordermag.c): New variable.
15646         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
15647         (do_test): Also test totalordermagl.
15648         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
15649         Likewise.
15650         * sysdeps/nacl/libm.abilist: Update.
15651         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15652         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15653         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15654         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15655         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15656         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15657         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15658         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15659         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15660         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15661         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15662         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15664         Likewise.
15665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15666         Likewise.
15667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15668         Likewise.
15669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15670         Likewise.
15671         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15672         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15673         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15674         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15675         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15677         Likewise.
15678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15679         Likewise.
15680         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15681         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15682         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15684 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
15686         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
15687         boolean.
15689 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
15691         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
15692         raising FE_INVALID with feraisexcept in case where part of
15693         argument is infinite, subtract that part of argument from itself.
15694         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
15695         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
15696         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15698 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
15700         * math/libm-test.inc (totalorder_test_data): Add more tests.
15702 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
15704         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
15705         Undefine weak_alias and add a comment why mips64 require
15706         versioning.
15708 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
15710         [BZ #20647]
15711         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
15712         maximum CPUID level is less than 2.
15714 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
15716         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15717         (totalorder): New declaration.
15718         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
15719         New macro.
15720         * math/Versions (totalorder): New libm symbol at version
15721         GLIBC_2.25.
15722         (totalorderf): Likewise.
15723         (totalorderl): Likewise.
15724         * math/Makefile (libm-calls): Add s_totalorderF.
15725         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
15726         string.
15727         * math/libm-test.inc (PAYLOAD_DIG): New macro.
15728         (qnan_value_pl): Likewise.
15729         (snan_value_pl): Likewise.
15730         (qnan_value): Define using qnan_value_pl.
15731         (snan_value): Define using snan_value_pl.
15732         (struct test_ff_i_data): Add comment about which tests use this
15733         structure.
15734         (RUN_TEST_ff_b): New macro.
15735         (RUN_TEST_LOOP_ff_b): Likewise.
15736         (totalorder_test_data): New array.
15737         (totalorder_test): New function.
15738         (main): Call totalorder_test.
15739         * math/test-tgmath.c (NCALLS): Increase to 122.
15740         (F(compile_test)): Call totalorder.
15741         (F(totalorder)): New function.
15742         * manual/arith.texi (FP Comparison Functions): Document
15743         totalorder, totalorderf and totalorderl.
15744         * manual/libm-err-tab.pl: Update comment on interfaces without
15745         ulps tabulated.
15746         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
15747         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
15748         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
15749         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
15750         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
15751         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
15752         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
15753         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15754         totalorder.
15755         (CFLAGS-nldbl-totalorder.c): New variable.
15756         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
15757         file.
15758         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15759         Add test-totalorderl-ldbl-128ibm.
15760         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
15761         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
15762         test-totalorderl-ldbl-96.
15763         * sysdeps/nacl/libm.abilist: Update.
15764         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15765         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15766         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15767         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15768         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15769         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15770         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15771         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15772         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15773         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15774         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15775         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15777         Likewise.
15778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15779         Likewise.
15780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15781         Likewise.
15782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15783         Likewise.
15784         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15785         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15786         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15787         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15788         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15790         Likewise.
15791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15792         Likewise.
15793         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15794         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15795         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15797 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15799         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
15800         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
15801         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
15802         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
15803         remove ENOSYS implementation.
15804         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
15805         Consolidate all Linux implementations.
15807 2016-10-11  Florian Weimer  <fweimer@redhat.com>
15809         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
15810         * resolv/herror.c (herror): Cast away const-ness.
15811         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
15812         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
15814 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
15816         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
15817         instead of M_NAN + M_NAN.
15818         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15820 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15822         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
15823         unused variable 'p'.
15825 2016-10-09  Alan Modra  <amodra@gmail.com>
15826             Andreas Schwab  <schwab@linux-m68k.org>
15828         [BZ #20554]
15829         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
15830         [PIC && !SHARED]: Set up PIC register for PLT call.
15832 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
15834         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
15835         conditional on value of [__FLT_EVAL_METHOD__].
15836         * math/test-iseqsig-excess-precision.c: New file.
15837         * math/Makefile (tests): Add test-iseqsig-excess-precision.
15839 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15841         * math/s_iseqsig_template.c: Include math-private.h.
15843         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
15844         * posix/tst-posix_fadvise.c: New file.
15845         * posix/tst-posix_fadvise64.c: Likewise.
15846         * posix/tst-posix_fadvise-common.c: Likewise.
15847         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15848         (__ASSUME_FADVISE64_64_6ARG): Define.
15849         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15850         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
15851         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15852         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
15853         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
15854         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
15855         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
15856         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
15857         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
15858         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
15859         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
15860         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
15861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
15862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
15863         Likewise.
15864         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
15865         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
15866         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
15867         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15868         Alias to __posix_fadvise64_l32.
15869         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
15870         Add compat definition to posix_fadvise64.
15871         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15872         Add versioned definition to posix_fadvise64.
15873         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
15874         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
15875         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
15876         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
15877         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
15879         * io/Makefile (tests): Add tst-posix_fallocate and
15880         tst-posix_fallocate64.
15881         * io/tst-posix_fallocate-common.c: New file.
15882         * io/tst-posix_fallocate.c: Likewise.
15883         * io/tst-posix_fallocate64.c: Likewise.
15884         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
15885         file.
15886         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
15887         Likewise.
15888         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
15889         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
15890         Likewise.
15891         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
15892         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
15893         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
15894         SYSCALL_LL to pass both offset and len arguments.
15895         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
15896         Likewise.
15897         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
15898         __libc_pwrite64 alias used by posix_fallocate64.
15900         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15901         tst-fallocate64.
15902         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15903         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15904         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15905         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15906         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15907         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15908         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15909         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15910         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15911         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15912         macro on offset argument.
15913         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15914         SYSCALL_LL64 on offset argument.
15916         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15917         tst-fallocate64.
15918         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15919         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15920         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15921         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15922         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15923         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15924         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15925         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15926         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15927         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15928         macro on offset argument.
15929         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15930         SYSCALL_LL64 on offset argument.
15931         * test-skeleton.c (FAIL_RET): Add macro.
15932         (FAIL_EXIT): Likewise.
15933         (FAIL_EXIT1): Likewise.
15934         (_FAIL): Likewise.
15936 2016-10-07  Florian Weimer  <fweimer@redhat.com>
15938         [BZ #20629]
15939         resolv: Remove RES_USEBSTRING and its implementation.
15940         * resolv/resolv.h (RES_USEBSTRING): Remove.
15941         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
15942         (digitvalue, encode_bitstring, decode_bitstring): Remove.
15943         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
15944         (labellen): Remove extended label types support.
15945         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
15946         * resolv/res_init.c (res_setoptions): Likewise.
15947         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15949 2016-10-07  Florian Weimer  <fweimer@redhat.com>
15951         resolv: Remove RES_NOIP6DOTINT and its implementation.
15952         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
15953         (RES_NOIP6DOTINT): Remove.
15954         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
15955         handling.
15956         * resolv/res_debug.c (p_option): Likewise.
15957         * resolv/res_init.c (res_setoptions): Likewise.
15958         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15960 2016-10-07  Florian Weimer  <fweimer@redhat.com>
15962         resolv: Deprecate unimplemented flags.
15963         * misc/sys/cdefs.h (__glibc_macro_warning1)
15964         (__glibc_macro_warning): Define.
15965         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
15966         (RES_KEEPTSIG): Mark as deprecated.
15967         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
15968         RES_NOCHECKNAME, RES_KEEPTSIG.
15969         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
15971 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15973         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
15974         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
15975         Use strong_alias to create symbols for glibc verison 2.19.
15977 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15979         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
15981 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15983         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
15985 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15987         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
15989 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15991         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15992         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
15993         in header for using it as type for ifunc function because __GI_* symbols
15994         for ppc32 do not target the ifunc symbols.
15995         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15997 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15999         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
16000         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
16001         libc_ifunc_hidden_def.
16002         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
16003         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
16004         Redirect ifunced function in header for using it as type of ifunc'ed
16005         function. Redefine libc_hidden_def to use fallback non ifunc'ed
16006         function for __GI_* symbol.
16007         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
16008         * include/libc-symbols.h
16009         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
16011 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16013         [BZ #20478]
16014         * sysdeps/s390/multiarch/ifunc-resolve.h
16015         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
16016         to create ifunc symbols.
16017         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
16018         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
16019         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
16020         for using it as type for ifunc function.
16021         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
16022         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16023         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16024         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16025         * sysdeps/s390/multiarch/strcat.c: Likewise.
16026         * sysdeps/s390/multiarch/strchr.c: Likewise.
16027         * sysdeps/s390/multiarch/strcmp.c: Likewise.
16028         * sysdeps/s390/multiarch/strcpy.c: Likewise.
16029         * sysdeps/s390/multiarch/strcspn.c: Likewise.
16030         * sysdeps/s390/multiarch/strlen.c: Likewise.
16031         * sysdeps/s390/multiarch/strncmp.c: Likewise.
16032         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16033         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16034         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16035         * sysdeps/s390/multiarch/strrchr.c: Likewise.
16036         * sysdeps/s390/multiarch/strspn.c: Likewise.
16037         * sysdeps/s390/multiarch/wcschr.c: Likewise.
16038         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16039         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16040         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16041         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16042         * sysdeps/s390/multiarch/wmemset.c: Likewise.
16043         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
16044         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
16045         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
16046         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
16047         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
16048         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
16050 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16052         * include/libc-symbols.h (__ifunc_resolver):
16053         New macro is used by __ifunc* macros.
16054         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
16055         depending on HAVE_GCC_IFUNC.
16056         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
16057         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
16058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
16059         Redirect ifunced function in header for using as type for ifunc function.
16060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
16061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
16062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
16063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
16064         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
16065         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
16066         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
16067         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
16068         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
16069         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
16070         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
16071         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
16072         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
16073         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
16074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
16075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
16076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
16077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
16078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
16079         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
16080         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
16081         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
16082         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
16083         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
16084         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
16085         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
16086         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
16087         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
16088         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
16089         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
16090         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
16091         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
16092         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
16093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
16094         Add libc_hidden_def() and use libc_ifunc_hidden() macro
16095         instead of libc_ifunc() macro.
16096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
16097         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
16099 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16101         * config.h.in (HAVE_GCC_IFUNC): New undef.
16102         * configure.ac: Add check if gcc supports attribute ifunc feature.
16103         * configure: Regenerated.
16104         * manual/install.texi: Add recommendation for gcc with
16105         indirect-function support.
16106         * INSTALL: Regenerated.
16108 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
16110         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
16111         macro.
16112         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16113         (__iseqsig): New declaration.
16114         * math/s_iseqsig_template.c: New file.
16115         * math/Versions (__iseqsigf): New libm symbol at version
16116         GLIBC_2.25.
16117         (__iseqsig): Likewise.
16118         (__iseqsigl): Likewise.
16119         * math/libm-test.inc (iseqsig_test_data): New array.
16120         (iseqsig_test): New function.
16121         (main): Call iseqsig_test.
16122         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
16123         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
16124         * manual/libm-err-tab.pl: Update comment on interfaces without
16125         ulps tabulated.
16126         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
16127         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
16128         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
16129         * sysdeps/nacl/libm.abilist: Update.
16130         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16131         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16132         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16133         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16134         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16135         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16136         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16137         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16138         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16139         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16140         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16141         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16143         Likewise.
16144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16145         Likewise.
16146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16147         Likewise.
16148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16149         Likewise.
16150         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16151         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16152         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16153         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16154         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16156         Likewise.
16157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16158         Likewise.
16159         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16160         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16161         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16163 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16165         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
16166         do_sincos_2, sloww, sloww1): Update comments.
16168         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
16169         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
16171         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
16172         K boolean and rename it.
16173         (__sin): Adjust.
16174         (__cos): Adjust.
16176 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
16177             Siddhesh Poyarekar  <siddhesh@sourceware.org>
16179         * manual/nss.texi: Fix typos in the manual.
16181 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
16183         * manual/contrib.texi: Fix typos in the manual.
16185         * manual/maint.texi: Fix typos in the manual.
16187         * manual/install.texi: Fix typos in the manual.
16188         * INSTALL: Regenerated.
16190         * manual/lang.texi: Fix typos in the manual.
16192         * manual/probes.texi: Fix typos in the manual.
16194         * manual/threads.texi: Fix typos in the manual.
16196         * manual/debug.texi: Fix typos in the manual.
16198         * manual/crypt.texi: Fix typos in the manual.
16200         * manual/conf.texi: Fix typos in the manual.
16202         * manual/sysinfo.texi: Fix typos in the manual.
16204         * manual/users.texi: Fix typos in the manual.
16206         * manual/job.texi: Fix typos in the manual.
16208         * manual/process.texi: Fix typos in the manual.
16210         * manual/argp.texi: Fix typos in the manual.
16211         * manual/getopt.texi: Likewise.
16212         * manual/startup.texi: Likewise.
16214         * manual/signal.texi: Fix typos in the manual.
16216         * manual/setjmp.texi: Fix typos in the manual.
16218         * manual/resource.texi: Fix typos in the manual.
16220         * manual/time.texi: Fix typos in the manual.
16222         * manual/arith.texi: Fix typos in the manual.
16224         * manual/math.texi: Fix typos in the manual.
16226         * manual/syslog.texi: Fix typos in the manual.
16228         * manual/terminal.texi: Fix typos in the manual.
16230         * manual/socket.texi: Fix typos in the manual.
16232         * manual/filesys.texi: Fix typos in the manual.
16234         * manual/llio.texi: Fix typos in the manual.
16236         * manual/stdio.text: Fix typos in the manual.
16238 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16240         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
16241         instead of K1.
16243         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
16244         SHIFT_QUADRANT and make it bool.
16245         (do_sincos_2): Likewise.
16246         (sloww): Likewise.
16247         (sloww1): Likewise.
16248         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
16249         (__cos): Likewise.
16251 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16253         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16255 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
16257         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
16258         Define to __WORDSIZE, not conditional on [LONG_MAX ==
16259         0x7fffffffL].
16260         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16262 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16264         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
16265         inline by __inline__.
16266         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
16267         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
16268         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
16269         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
16270         sigset_t from signal.h.
16271         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
16272         which is already required.
16274 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
16276         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16278 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
16280         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
16281         (struct tcp_repair_window): New type.
16283 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16285         * libio/tst-memstream3.c: Include string.h.
16287 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16289         [BZ #18241]
16290         [BZ #20181]
16291         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
16292         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
16293         write position is at the end the buffer.
16294         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
16295         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
16296         (_IO_str_seekoff): Set correct offset from negative displacement and
16297         set EINVAL for invalid ones.
16298         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
16299         buffer length.
16300         (_IO_wstr_switch_to_get_mode): New function.
16301         (_IO_wstr_seekoff): Set correct offset from negative displacement and
16302         set EINVAL for invalid ones.
16303         * libio/tst-memstream3.c: New file.
16304         * libio/tst-wmemstream3.c: Likewise.
16305         * manual/examples/memstrm.c: Remove warning when priting size_t.
16307 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
16309         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
16310         macro to use __builtin_fma.
16311         * sysdeps/x86_64/fpu/dla.h: Remove file.
16313         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
16314         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
16315         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
16317 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
16319         [BZ #20292]
16320         * elf/Makefile (routines): Add dl-addr-obj.
16321         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
16322         tst-_dl_addr_inside_object.
16323         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
16324         [ifeq (yesyes,$(have-fpie)$(build-shared))]
16325         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
16326         [ifeq (yesyes,$(have-fpie)$(build-shared))]
16327         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
16328         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
16329         * elf/dl-open.c: Likewise.
16330         * elf/dl-addr-obj.c: New file.
16331         * elf/tst-_dl_addr_inside_object.c: New file.
16333 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
16335         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
16336         <bits/iscanonical.h>.
16337         * bits/iscanonical.h: New file.
16338         * math/s_iscanonicall.c: Likewise.
16339         * math/Versions (__iscanonicall): New libm symbol at version
16340         GLIBC_2.25.
16341         * math/libm-test.inc (iscanonical_test_data): New array.
16342         (iscanonical_test): New function.
16343         (main): Call iscanonical_test.
16344         * math/Makefile (headers): Add bits/iscanonical.h.
16345         (type-ldouble-routines): Add s_iscanonicall.
16346         * manual/arith.texi (Floating Point Classes): Document
16347         iscanonical.
16348         * manual/libm-err-tab.pl: Update comment on interfaces without
16349         ulps tabulated.
16350         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
16351         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
16352         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
16353         Likewise.
16354         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16355         test-iscanonical-ldbl-128ibm.
16356         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
16357         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
16358         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
16359         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
16360         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
16361         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16362         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16364         Likewise.
16365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16366         Likewise.
16367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16368         Likewise.
16369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16370         Likewise.
16371         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16372         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16374 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16376         * string/bits/string3.h: Remove C++ style comments.
16378 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16380         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
16381         instead of ternary condition.
16382         (do_sincos_2): Likewise.
16383         (__sin): Likewise.
16384         (__cos): Likewise.
16385         (slow): Likewise.
16386         (sloww): Likewise.
16387         (sloww1): Likewise.
16388         (bsloww): Likewise.
16389         (bsloww1): Likewise.
16391         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
16392         instead of ternary condition.
16393         (do_sin_slow): Likewise.
16394         (do_sincos_1): Likewise.
16395         (do_sincos_2): Likewise.
16396         (__cos): Likewise.
16397         (sloww): Likewise.
16398         (sloww1): Likewise.
16399         (sloww2): Likewise.
16400         (bsloww): Likewise.
16401         (bsloww1): Likewise.
16402         (bsloww2): Likewise.
16404         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
16405         check from here...
16406         (slow2): ... and here...
16407         (__sin): ... to here.
16409 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
16411         * math/math.h
16412         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
16413         Cast argument to its own type.
16414         * math/test-iszero-excess-precision.c: New file.
16415         * math/Makefile (tests): Add test-iszero-excess-precision.
16416         (CFLAGS-test-iszero-excess-precision.c): New variable.
16418 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
16420         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
16421         field, add err field.
16422         (__spawni_child): Report error through err member instead of pipe.
16423         (__spawnix): Likewise.
16425 2016-09-28  Zack Weinberg  <zackw@panix.com>
16427         * scripts/check-installed-headers.sh: Generalize treatment of
16428         sys/elf.h to all target architectures.
16430         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
16431         deleted typedef ucontext_t.
16433 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16435         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
16436         (__INTERNAL_SYSCALL1): Likewise.
16437         (__INTERNAL_SYSCALL2): Likewise.
16438         (__INTERNAL_SYSCALL3): Likewise.
16439         (__INTERNAL_SYSCALL4): Likewise.
16440         (__INTERNAL_SYSCALL5): Likewise.
16441         (__INTERNAL_SYSCALL6): Likewise.
16442         (__INTERNAL_SYSCALL7): Likewise.
16443         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
16444         (__INTERNAL_SYSCALL_NARGS): Likewise.
16445         (__INTERNAL_SYSCALL_DISP): Likewise.
16446         (INTERNAL_SYSCALL_CALL): Likewise.
16447         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
16448         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
16449         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
16450         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
16451         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
16452         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
16453         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
16454         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
16455         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
16456         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
16457         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
16458         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
16459         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
16461 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
16463         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
16464         macro.
16465         * math/libm-test.inc (iszero_test_data): New array.
16466         (iszero_test): New function.
16467         (main): Call iszero_test.
16468         * manual/arith.texi (Floating Point Classes): Document iszero.
16469         * manual/libm-err-tab.pl: Update comment on interfaces without
16470         ulps tabulated.
16472 2016-09-23  Zack Weinberg  <zackw@panix.com>
16474         * scripts/check-installed-headers.sh: New script.
16475         * Rules: In each directory that defines header files to be installed,
16476         run check-installed-headers.sh on them as a special test.
16477         * Makefile: Likewise for the headers installed at top level.
16479         * include/aliases.h, include/alloca.h, include/argz.h
16480         * include/arpa/nameser.h, include/arpa/nameser_compat.h
16481         * include/elf.h, include/envz.h, include/err.h
16482         * include/execinfo.h, include/fpu_control.h, include/getopt.h
16483         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
16484         * include/link.h, include/malloc.h, include/mcheck.h
16485         * include/mntent.h, include/netinet/ether.h
16486         * include/nss.h, include/obstack.h, include/printf.h
16487         * include/pty.h, include/resolv.h, include/rpc/auth.h
16488         * include/rpc/auth_des.h, include/rpc/auth_unix.h
16489         * include/rpc/clnt.h, include/rpc/des_crypt.h
16490         * include/rpc/key_prot.h, include/rpc/netdb.h
16491         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
16492         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
16493         * include/rpc/rpc_msg.h, include/rpc/svc.h
16494         * include/rpc/svc_auth.h, include/rpc/xdr.h
16495         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
16496         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
16497         * include/rpcsvc/ypupd.h, include/shadow.h
16498         * include/stdio_ext.h, include/sys/epoll.h
16499         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
16500         * include/sys/prctl.h, include/sys/profil.h
16501         * include/sys/statfs.h, include/sys/sysctl.h
16502         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
16503         * sysdeps/arm/nacl/include/bits/setjmp.h
16504         * sysdeps/mips/include/sys/asm.h
16505         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
16506         * sysdeps/unix/sysv/linux/include/sys/timex.h
16507         * sysdeps/x86/fpu/include/bits/fenv.h:
16508         Add #ifndef _ISOMAC guard around internal declarations.
16509         Add multiple-inclusion guard if not already present.
16511 2016-09-23  Zack Weinberg  <zackw@panix.com>
16513         * sysdeps/generic/sys/ucontext.h
16514         * sysdeps/arm/sys/ucontext.h
16515         * sysdeps/i386/sys/ucontext.h
16516         * sysdeps/m68k/sys/ucontext.h
16517         * sysdeps/mips/sys/ucontext.h
16518         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
16519         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
16520         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
16521         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
16522         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
16523         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
16524         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
16525         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
16526         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
16527         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
16528         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
16529         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
16530         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
16531         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
16532         Include both bits/sigcontext.h and bits/sigstack.h.
16533         Fix grammar error in comment, if present.
16535         * bits/sigstack.h
16536         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
16537         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
16538         * sysdeps/unix/sysv/linux/bits/sigstack.h
16539         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
16540         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
16541         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
16542         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
16543         * bits/sigcontext.h
16544         * sysdeps/mach/hurd/i386/bits/sigcontext.h
16545         * sysdeps/unix/sysv/linux/bits/sigcontext.h
16546         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
16547         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
16548         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
16549         as well as signal.h, if this was not already allowed.  Request
16550         definition of size_t if necessary.  Minimize semantically-null
16551         differences across files.
16553 2016-09-23  Zack Weinberg  <zackw@panix.com>
16555         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
16556         Remove all logic conditional on __need macros.  Move all the
16557         conditionally defined types to their own headers...
16558         * time/bits/types/clock_t.h: Define clock_t here.
16559         * time/bits/types/clockid_t.h: Define clockid_t here.
16560         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
16561         * time/bits/types/struct_timespec.h: Define struct timespec here.
16562         * time/bits/types/struct_timeval.h: Define struct timeval here.
16563         * time/bits/types/struct_tm.h: Define struct tm here.
16564         * time/bits/types/time_t.h: Define time_t here.
16565         * time/bits/types/timer_t.h: Define timer_t here.
16566         * time/Makefile: Install the new headers.
16568         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
16569         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
16570         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
16571         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
16572         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
16573         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
16574         * sysdeps/unix/sysv/linux/bits/resource.h
16575         * sysdeps/unix/sysv/linux/bits/timex.h
16576         * sysdeps/unix/sysv/linux/mips/bits/resource.h
16577         * sysdeps/unix/sysv/linux/net/ppp_defs.h
16578         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
16579         * sysdeps/unix/sysv/linux/sys/acct.h
16580         * sysdeps/unix/sysv/linux/sys/timerfd.h
16581         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
16582         * time/sys/time.h, time/sys/timeb.h
16583         Use the new bits/types headers.
16585         * include/time.h: Remove __need logic.
16586         * include/bits/time.h
16587         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
16588         * include/bits/types/time_t.h, include/bits/types/timer_t.h
16589         * include/bits/types/struct_itimerspec.h
16590         * include/bits/types/struct_timespec.h
16591         * include/bits/types/struct_timeval.h
16592         * include/bits/types/struct_tm.h:
16593         New wrapper headers.
16595 2016-09-23  Zack Weinberg  <zackw@panix.com>
16597         * sysdeps/mach/hurd/net/if_ppp.h
16598         * sysdeps/unix/sysv/linux/net/if_ppp.h:
16599         Only define struct ifpppstatsreq and struct ifpppcstatsreq
16600         if __USE_MISC is defined, to ensure struct ifreq is declared.
16602         * inet/netinet/ether.h: Condition all function prototypes
16603         on __USE_MISC, to ensure struct ether_addr is declared.
16605         * socket/bits/types/struct_osockaddr.h: New header.
16606         * include/bits/types/struct_osockaddr.h: New wrapper.
16607         * socket/Makefile: Install the new header.
16608         * socket/sys/socket.h, inet/protocols/talkd.h:
16609         Refer to bits/types/struct_osockaddr.h for the definition of
16610         struct osockaddr.
16612 2016-09-23  Zack Weinberg  <zackw@panix.com>
16614         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
16615         * inet/protocols/routed.h, inet/protocols/talkd.h
16616         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
16617         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
16618         * sysdeps/generic/netinet/if_ether.h
16619         * sysdeps/generic/netinet/in_systm.h
16620         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
16621         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16622         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
16623         * sysdeps/mach/hurd/net/if_arp.h
16624         * sysdeps/mach/hurd/net/if_ppp.h
16625         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
16626         * sysdeps/unix/sysv/linux/bits/in.h
16627         * sysdeps/unix/sysv/linux/net/ethernet.h
16628         * sysdeps/unix/sysv/linux/net/if_arp.h
16629         * sysdeps/unix/sysv/linux/net/if_ppp.h
16630         * sysdeps/unix/sysv/linux/net/if_shaper.h
16631         * sysdeps/unix/sysv/linux/net/route.h
16632         * sysdeps/unix/sysv/linux/netinet/if_ether.h
16633         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16634         * sysdeps/unix/sysv/linux/netinet/if_tr.h
16635         * sysdeps/unix/sysv/linux/netipx/ipx.h
16636         * sysdeps/unix/sysv/linux/sys/acct.h
16637         * include/arpa/nameser.h, include/resolv.h:
16638         Change all uses of u_char to unsigned char,
16639         u_short and ushort to unsigned short, u_int and uint to unsigned int,
16640         u_long and ulong to unsigned long, u_int8_t to uint8_t,
16641         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
16642         and u_int64_t and u_quad_t to uint64_t.
16644         * mach/sys/reboot.h: Remove two casts of integer literals
16645         to the types they already have.
16647         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
16648         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
16649         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
16650         from referring to 'unsigned char' to 'uint8_t' for consistency with
16651         the macro definition below.
16653         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
16654         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
16655         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
16656         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
16657         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
16658         * sysdeps/unix/sysv/linux/sys/acct.h
16659         * include/arpa/nameser.h, include/resolv.h:
16660         Fix indentation disrupted by mechanical edits.
16662         * inet/protocols/talkd.h, resolv/arpa/nameser.h
16663         * sysdeps/generic/netinet/in_systm.h
16664         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16665         * sysdeps/gnu/netinet/udp.h
16666         * sysdeps/unix/sysv/linux/net/ethernet.h
16667         * sysdeps/unix/sysv/linux/net/if_arp.h
16668         * sysdeps/unix/sysv/linux/net/if_ppp.h
16669         * sysdeps/unix/sysv/linux/net/if_shaper.h
16670         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16671         * sysdeps/unix/sysv/linux/netinet/if_tr.h
16672         * sysdeps/unix/sysv/linux/netipx/ipx.h
16673         * sysdeps/unix/sysv/linux/sys/acct.h
16674         Include stdint.h for uintNN_t definitions.
16675         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
16677 2016-09-23  Zack Weinberg  <zackw@panix.com>
16679         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
16680         * sysdeps/unix/sysv/linux/netrose/rose.h:
16681         Include sys/socket.h and netax25/ax25.h.
16683         * inet/netinet/icmp6.h, inet/netinet/ip6.h
16684         * resolv/arpa/nameser_compat.h:
16685         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
16687         * sysdeps/unix/sysv/linux/sys/quota.h:
16688         Use __caddr_t instead of caddr_t.
16689         * sysdeps/unix/sysv/linux/sys/timerfd.h:
16690         Use __clockid_t instead of clockid_t.
16692         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
16694         * argp/argp.h: Check whether _LIBC is defined before expanding it.
16695         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
16696         expanding it.
16698         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
16699         Define __glibc_c99_flexarr_available to 1 when the compiler
16700         supports C99-compatible flexible array members, 0 otherwise.
16701         * sysdeps/unix/sysv/linux/bits/socket.h
16702         * sysdeps/mach/hurd/bits/socket.h
16703         * bits/socket.h: Use __glibc_c99_flexarr_available in
16704         definitions of struct cmsghdr and CMSG_DATA.
16706 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16708         * manual/nss.texi (NSS Modules Interface): Adjust function return
16709         type to enum nss_status.  Document errnop argument.  Clarify
16710         h_errnop semantics.  Fix cross-reference formatting.
16711         (NSS Module Function Internals): Mention that *errnop needs to be
16712         set on failure, but not to zero.
16714 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16716         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
16717         (get_random_name): New functions.
16718         (check_wrapper_flags_mode): Use linkat to give the new file a name
16719         determined by get_random_name.
16720         (do_test): Add calls to test open64 and openat64.
16722 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16724         * test-skeleton.c: Remove #include <stdarg.h>.
16726 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
16728         [BZ #19826]
16729         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
16730         initialization of static TLS entries.
16731         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
16732         * nptl/allocatestack.c (init_one_static_tls): Likewise.
16734 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16736         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
16737         _hurd_malloc_fork_prepare.
16738         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
16739         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
16740         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
16741         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
16742         (_hurd_fork_child_hook): Drop malloc_fork_child.
16743         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
16744         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
16745         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
16746         after locking locks (notably hurd_dtable_lock). Call
16747         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
16748         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
16749         __malloc_fork_unlock_child.
16750         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
16752 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
16754         * soft-fp/extendhftf2.c: New.
16755         * soft-fp/fixhfti.c: Likewise.
16756         * soft-fp/fixunshfti.c: Likewise.
16757         * soft-fp/floattihf.c: Likewise.
16758         * soft-fp/floatuntihf.c: Likewise.
16759         * soft-fp/half.h: Likewise.
16760         * soft-fp/trunctfhf2.c: Likewise.
16762 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
16764         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
16765         macro.
16766         * math/libm-test.inc (issubnormal_test_data): New array.
16767         (issubnormal_test): New function.
16768         * manual/arith.texi (Floating Point Classes): Document
16769         issubnormal.
16770         * manual/libm-err-tab.pl: Update comment on interfaces without
16771         ulps tabulated.
16773         * sysdeps/generic/stdint.h: Define
16774         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16775         <bits/libc-header-start.h> instead of including <features.h>.
16776         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
16777         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
16778         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
16779         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
16780         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
16781         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
16782         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
16783         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
16784         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
16785         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
16786         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
16787         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
16788         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
16789         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
16790         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
16791         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
16792         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
16793         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
16794         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
16795         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
16796         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
16797         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
16798         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
16799         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
16800         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
16801         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
16802         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
16803         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
16804         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
16805         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
16806         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
16807         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
16808         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
16809         * manual/arith.texi (Integers): Document these macros for types
16810         specified by width properties.
16811         * manual/lang.texi (Width of Type): Document these macros for
16812         other standard typedefs.
16813         * stdlib/tst-width-stdint.c: New file.
16814         * stdlib/Makefile (tests): Add tst-width-stdint.
16816 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16818         [BZ #20016]
16819         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
16820         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
16821         Move ...
16822         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
16823         ... here, as compatibility symbols in a new file.
16824         * resolv/Makefile (libresolv-routines): Add compat-hooks.
16825         * resolv/res_init.c (__res_vinit): Adjust member names.
16826         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
16827         * resolv/resolv.h (res_sendhookact, res_send_qhook)
16828         (res_send_rhook): Remove.
16829         (struct __res_state): Rename qhook, rhook members.
16831 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16833         malloc: Use __libc_lock wrappers.
16834         * malloc/arena.c (list_lock, free_list_lock): Define using
16835         __libc_lock_define_initialized.
16836         (arena_lock): Adjust formatting.
16837         * malloc/malloc.c (struct malloc_state): Define mutex using
16838         __libc_lock_define.
16839         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
16840         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
16841         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
16842         (mutex_unlock, mutex_trylock): Remove.
16843         (__pthread_initialize): Remove unused macro.
16844         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
16845         (mutex_unlock, mutex_trylock): Remove.
16847 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16849         [BZ #20592]
16850         Remove RR type classification macros.
16851         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
16852         (ns_t_udp_p, ns_t_xfr_p): Remove.
16854 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16856         Remove misleading version information.
16857         * resolv/arpa/nameser.h (__NAMESER): Remove.
16858         * resolv/arpa/nameser_compat.h (__BIND): Remove.
16860 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16862         Remove the always-defined BIND_4_COMPAT macro.
16863         * resolv/arpa/nameser.h: Unconditionally include
16864         <arpa/nameser_compat.h>.
16865         (BIND_4_COMPAT): Remove.
16866         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
16868 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16870         [BZ #20591]
16871         Remove obsolete DNSSEC support.
16872         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
16873         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
16874         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
16875         (ns_verify_tcp, ns_verify_tcp_init): Remove.
16876         (ns_cert_types): Add comment.
16877         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
16878         separately.
16879         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
16880         (dst_s_dns_key_id): Remove.
16881         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
16882         variables.
16884 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16886         [BZ #20524]
16887         * manual/string.texi (String/Array Comparison): Clarify the
16888         strverscmp behavior.
16890 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16892         * test-skeleton.c (xasprintf): Add function.
16893         * io/tst-open-tmpfile.c: New test.
16894         * io/Makefile (tests): Add it.
16896 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16898         Avoid running $(CXX) during build to obtain header file paths.
16899         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
16900         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
16901         * Makerules (cstdlib, cmath): Remove variables.  Use
16902         $(c++-cstdlib-header), $(c++-cmath-header) instead.
16903         * configure: Regenerate.
16905 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16907         * Makeconfig (all-object-suffixes): Include .op only if
16908         $(build-profile).
16910 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16912         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
16913         conditionals.  Do not define PATH_MAX.
16915 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16917         * posix/Makefile (tests): Add tst-spawn3.
16918         * posix/tst-spawn3.c: New file.
16919         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
16920         if it is already opened for open action.
16922         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
16923         all signals when executing the clone vfork child.
16924         (SIGALL_SET): Remove macro.
16926         * nptl/Makefile (tests): Add tst-exec5.
16927         * nptl/tst-exec5.c: New file.
16928         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
16929         asynchronous cancellation.
16931 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16933         * hurd/exc2signal.c: #include <hurd/signal.h>
16934         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
16935         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
16936         accordingly.
16937         * mach/mach_error.c (mach_error): Fix old-style function definition.
16938         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
16940 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16942         * math/Makefile (libm-calls): Remove s_nanF.
16943         (gen-libm-calls): Add s_nanF.
16945         * math/s_nan.c: Refactor into ...
16946         * math/s_nan_template.c: New file.
16948         * math/s_nanf.c: Removed.
16949         * math/s_nanl.c: Removed.
16950         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
16951         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
16953         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16954         (LDOUBLE_nanl_libm_version): New macro.
16956         * sysdeps/generic/math-type-macros-double.h:
16957         (M_STRTO_NAN): New macro.
16958         * sysdeps/generic/math-type-macros-float.h: Likewise.
16959         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16961         * sysdeps/generic/math-type-macros.h: Document
16962         M_STRTO_NAN.
16964 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16966         * math/s_nanf.c: Remove __nanf undef.
16967         * math/s_nan.c: Remove __nan undef.
16968         * math/s_nanl.c: Remove __nanl undef.
16970         * sysdeps/generic/math_private.h (__nan): Remove macro
16971         override.
16972         (__nanf): Likewise.
16973         (__nanl): Likewise.
16975 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16977         * math/Makefile (gen-all-calls): New variable.
16978         (generated): Replace gen-libm-calls with gen-all-calls.
16979         (gen-libm-templates.stmp): Likewise.  Also, ensure
16980         the output directory exists or is created and add
16981         dependency on the Makefile.
16982         (calls): Move s_ldexpF into gen-calls.
16983         (gen-calls): New variable.
16985         * math/s_ldexpf.c: Removed.
16986         * math/s_ldexpl.c: Removed.
16987         * math/s_ldexp.c: Refactored into ...
16988         * math/s_ldexp_template.c: New file.
16990         * sysdeps/generic/math-type-macros-double.h: Remove
16991         redundant fall-through definition of declare_mgen_alias.
16992         (declare_mgen_alias_2): New macro.
16994         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
16995         New macro for function aliased to two exported symbols.
16997         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
16998         new template file.
16999         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
17001 2016-09-20  Florian Weimer  <fweimer@redhat.com>
17003         * Makeconfig (all-object-suffixes): Remove .og.
17004         * Makerules (elide-routines.og): Remove.
17005         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
17006         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
17007         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
17009 2016-09-20  Florian Weimer  <fweimer@redhat.com>
17011         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
17012         .os objects.
17014 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17016         [BZ #20615]
17017         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
17018         fpu directory by non-fpu.
17019         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
17020         on non-fpu directory from a fpu directory.
17022 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
17024         * include/limits.h: Define
17025         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17026         <bits/libc-header-start.h> instead of including <features.h>.
17027         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
17028         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
17029         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
17030         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
17031         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
17032         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
17033         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
17034         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
17035         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
17036         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
17037         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
17038         * manual/lang.texi (Width of Type): Document these macros.
17039         * stdlib/tst-width.c: New file.
17040         * stdlib/Makefile (tests): Add tst-width.
17042 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17044         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
17045         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
17047 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17049         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
17050         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
17051         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
17053 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17055         [BZ #18243]
17056         * rt/Makefile (test): Add tst-shm-cancel.
17057         * rt/tst-shm-cancel.c: New file.
17058         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
17060         [BZ #18243]
17061         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
17062         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
17063         definition.
17064         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
17065         uncontended case.
17066         * nptl/sem_wait.c (__new_sem_wait): Likewise.
17067         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
17068         (tf): Fix check for uncontended case.
17069         (do_test): Likewise.
17070         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
17071         (tf): Fix check for uncontended case.
17072         (do_test): Likewise.
17073         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
17074         (tf): Fix check for uncontended case.
17075         (do_test): Likewise.
17076         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
17077         (tf): Fix check for uncontended case.
17078         (do_test): Likewise.
17080         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
17081         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
17083         [BZ #15765]
17084         * nptl/Makefile (tests): Add tst-sem16.
17085         * nptl/tst-sem16.c: New file.
17086         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
17088         * nptl/sem_open.c (sem_open): Init pad value to 0.
17089         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
17090         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
17092 2016-09-15  Florian Weimer  <fweimer@redhat.com>
17094         [BZ #20611]
17095         * inet/Makefile (routines): Add inet6_scopeid_pton.
17096         (tests): Add tst-inet6_scopeid_pton.
17097         * inet/inet6_scopeid_pton.c: New file.
17098         * inet/net-internal.h: Likewise.
17099         * inet/tst-inet6_scopeid_pton.c: New test.
17100         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
17101         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
17102         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17104 2016-09-14  Florian Weimer  <fweimer@redhat.com>
17106         Remove support for compiling wrappers with PTW.
17107         * sysdeps/nptl/Makeconfig: Drop ptw- support.
17108         * nptl/Makefile (pthread-compat-wrappers): Define.
17109         (libpthread-routines): Use pthread-compat-wrappers.
17110         * sysdeps/unix/sysv/linux/alpha/Makefile
17111         (libpthread-routines, libpthread-shared-only-routines): Remove
17112         ptw- prefix.
17113         * sysdeps/s390/nptl/Makefile
17114         (libpthread-routines, libpthread-shared-only-routines): Likewise.
17115         * sysdeps/ia64/nptl/Makefile
17116         (libpthread-routines, libpthread-shared-only-routines): Likewise.
17117         * sysdeps/nacl/Makefile (libpthread-routines): Use
17118         pthread-compat-wrappers to filter the routines list instead of the
17119         ptw- prefix.
17121 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17123         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
17124         with L() and remove explicit suffix, convert real literals
17125         which can be equivalentally substituted with integers, and
17126         transform -L(x) to L(-x).
17128         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17129         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17130         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17131         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17132         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17133         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17134         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17135         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17136         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17137         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17138         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17139         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17140         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17141         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17142         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17143         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17144         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17145         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17146         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17147         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17148         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17149         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17150         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17151         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17152         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17153         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17154         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17155         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17156         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17157         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17158         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17159         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17160         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17161         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17162         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17163         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17164         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17165         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17166         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17167         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17168         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17169         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17170         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17171         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17172         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17173         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17174         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17175         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17176         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17177         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17179 2016-09-13  Florian Weimer  <fweimer@redhat.com>
17181         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
17183 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17185         * malloc/Makefile (tests): Remove individual static test names
17186         and just add all of tests-static.
17188         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
17190 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
17192         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
17193         file.
17195         * sysdeps/sparc/fpu/fegetmode.c: New file.
17196         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
17198         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
17199         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
17201         * sysdeps/s390/fpu/fegetmode.c: New file.
17202         * sysdeps/s390/fpu/fesetmode.c: Likewise.
17204         * sysdeps/powerpc/fpu/fegetmode.c: New file.
17205         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
17206         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
17207         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
17208         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
17209         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
17211         * sysdeps/mips/fpu/fegetmode.c: New file.
17212         * sysdeps/mips/fpu/fesetmode.c: Likewise.
17214         * sysdeps/m68k/fpu/fegetmode.c: New file.
17215         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
17217         * sysdeps/ia64/fpu/fegetmode.c: New file.
17218         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
17220         * sysdeps/hppa/fpu/fegetmode.c: New file.
17221         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
17223         * sysdeps/arm/fegetmode.c: New file.
17224         * sysdeps/arm/fesetmode.c: Likewise.
17226         * sysdeps/alpha/fpu/fegetmode.c: New file.
17227         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
17229         * sysdeps/aarch64/fpu/fegetmode.c: New file.
17230         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
17232         * math/fegetmode.c: New file.
17233         * math/fesetmode.c: Likewise.
17234         * sysdeps/i386/fpu/fegetmode.c: Likewise.
17235         * sysdeps/i386/fpu/fesetmode.c: Likewise.
17236         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
17237         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
17238         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
17239         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
17240         declaration.
17241         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
17242         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
17243         typedef.
17244         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17245         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17246         (femode_t): New typedef.
17247         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17248         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17249         (femode_t): New typedef.
17250         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17251         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17252         (femode_t): New typedef.
17253         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17254         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17255         (femode_t): New typedef.
17256         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17257         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17258         (femode_t): New typedef.
17259         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17260         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17261         (femode_t): New typedef.
17262         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17263         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17264         (femode_t): New typedef.
17265         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17266         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17267         (femode_t): New typedef.
17268         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17269         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17270         (femode_t): New typedef.
17271         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17272         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17273         (femode_t): New typedef.
17274         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
17275         declaration.
17276         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17277         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17278         (femode_t): New typedef.
17279         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17280         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17281         (femode_t): New typedef.
17282         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17283         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17284         (femode_t): New typedef.
17285         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17286         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17287         (femode_t): New typedef.
17288         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17289         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17290         (femode_t): New typedef.
17291         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17292         * manual/arith.texi (FE_DFL_MODE): Document macro.
17293         (fegetmode): Document function.
17294         (fesetmode): Likewise.
17295         * math/Versions (fegetmode): New libm symbol at version
17296         GLIBC_2.25.
17297         (fesetmode): Likewise.
17298         * math/Makefile (libm-support): Add fegetmode and fesetmode.
17299         (tests): Add test-femode and test-femode-traps.
17300         * math/test-femode-traps.c: New file.
17301         * math/test-femode.c: Likewise.
17302         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
17303         alias for __fe_dfl_env.
17304         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
17305         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
17306         (__fe_dfl_mode): Likewise.
17307         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
17308         version GLIBC_2.25.
17309         * sysdeps/nacl/libm.abilist: Update.
17310         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17311         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17312         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17313         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17314         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17315         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17316         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17317         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17318         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17319         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17320         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17321         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17323         Likewise.
17324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17325         Likewise.
17326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17327         Likewise.
17328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17329         Likewise.
17330         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17331         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17332         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17333         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17334         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17336         Likewise.
17337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17338         Likewise.
17339         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17340         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17341         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17343 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17345         [BZ #20495]
17346         [BZ #20508]
17347         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
17348         processors, set Use_dl_runtime_resolve_slow and set
17349         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
17350         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
17351         New.
17352         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
17353         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
17354         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
17355         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
17356         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
17357         if Use_dl_runtime_resolve_opt is set.  Use
17358         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
17359         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
17360         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
17361         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
17362         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
17363         New.
17364         (_dl_runtime_resolve_opt): Likewise.
17365         (_dl_runtime_profile): Define only if _dl_runtime_profile is
17366         defined.
17368 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17370         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
17371         __libc_memalign with "+ RELA R_390_GLOB_DAT".
17373 2016-09-06  Florian Weimer  <fweimer@redhat.com>
17375         Convert malloc to __libc_lock.  Automated part, using this Perl
17376         s/// command:
17377           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
17378             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
17379         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
17380         conversion.
17382 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
17384         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
17385         (linknamespace-symlists-tests): Likewise.
17386         (linknamespace-header-tests): Likewise.
17388 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
17390         [BZ #19810]
17391         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
17392         * elf/tst-noload.c: New test case.
17393         * elf/Makefile (tests): Add tst-noload.
17395 2016-09-02  Roland McGrath  <roland@hack.frob.com>
17397         * sysdeps/nacl/dup.c: Add libc_hidden_def.
17399         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
17400         not any more.
17402         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
17404 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17406         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
17407         (do_cos_slow): Likewise.
17408         (do_sin): Likewise.
17409         (do_sin_slow): Likewise.
17410         (slow): Likewise.
17411         (slow1): Likewise.
17412         (slow2): Likewise.
17413         (sloww): Likewise.
17414         (sloww1): Likewise.
17415         (sloww2): Likewise.
17416         (bsloww): Likewise.
17417         (bsloww1): Likewise.
17418         (bsloww2): Likewise.
17419         (cslow2): Likewise.
17421         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
17423         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
17424         arguments.  Consolidate input partitioning from callers here.
17425         (do_cos_slow): Likewise.
17426         (do_sin): Likewise.
17427         (do_sin_slow): Likewise.
17428         (do_sincos_1): Remove the no longer necessary input partitioning.
17429         (do_sincos_2): Likewise.
17430         (__sin): Likewise.
17431         (__cos): Likewise.
17432         (slow1): Likewise.
17433         (slow2): Likewise.
17434         (sloww1): Likewise.
17435         (sloww2): Likewise.
17436         (bsloww1): Likewise.
17437         (bsloww2): Likewise.
17438         (cslow2): Likewise.
17440 2016-09-02  Florian Weimer  <fweimer@redhat.com>
17442         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
17443         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
17444         outside of allocated array.
17446 2016-09-02  Florian Weimer  <fweimer@redhat.com>
17448         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
17449         instead of MB_CUR_MAX to avoid variable-length array.
17451 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17453         * math/Makefile (libm-calls): Remove k_rem_pio2F.
17454         (type-double-routines): Add k_rem_pio2.
17455         (type-float-routines): Add k_rem_pio2f.
17457         * sysdeps/generic/math_private.h:
17458         (__kernel_rem_pio2l): Removed.
17460         * math/k_rem_pio2l.c: Removed.
17461         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
17462         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
17463         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
17464         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
17466 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17468         * math/Makefile (gen-libm-calls): Add s_fmin
17469         (libm-calls): Remove above.
17471         * math/s_fmin.c: Refactor into ...
17472         * math/s_fmin_template.c: New file.
17474         * math/s_fminf.c: Removed.
17475         * math/s_fminl.c: Removed.
17476         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17477         (LDOUBLE_fmin_libm_version): New macro.
17479         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
17480         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
17482 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17484         * math/Makefile: (gen-libm-calls): Add s_fmax.
17485         (libm-calls): Remove above.
17487         * math/s_fmax.c: Refactor into ...
17488         * math/s_fmax_template.c: New file.
17489         * math/s_fmaxf.c: Removed.
17490         * math/s_fmaxl.c: Removed.
17492         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17493         (LDOUBLE_fmaxl_libm_version): New macro.
17495         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
17496         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
17498         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
17499         s_fmin.c to pick the aarch64 version of the file.
17500         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
17501         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
17503 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17505         * math/Makefile: (gen-libm-calls): Add s_nextdown.
17506         (libm-calls): Remove above.
17508         * math/s_nextdown.c: Refactor into ...
17509         * math/s_nextdown_template.c: New file.
17510         * math/s_nextdownf.c: Removed.
17511         * math/s_nextdownl.c: Removed.
17513         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
17515 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17517         * math/Makefile (gen-libm-calls): Add s_fdim.
17518         (libm-calls): Move to above.
17520         * math/s_fdim.c: Renamed and refactored into to ...
17521         * math/s_fdim_template.c: New file.
17522         * math/s_fdiml.c: Removed.
17523         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
17524         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
17526         * sysdeps/generic/math-type-macros-double.h:
17527         (declare_mgen_alias): Don't declare if already declared.
17528         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
17529         Likewise.
17531         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17532         (declare_mgen_alias): Don't declare if already declared.
17533         (M_LIBM_NEED_COMPAT): Likewise.
17534         (declare_mgen_libm_compat): Likewise.
17535         (LDOUBLE_fdiml_libm_version): New macro.
17537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17538         Include math/s_fdim.c now that ldbl-opt version is not needed.
17539         (declare_mgen_alias): New macro to disable aliasing.
17541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
17542         (declare_mgen_alias): Likewise.
17543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
17544         (declare_mgen_alias): Likewise.
17545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
17546         (declare_mgen_alias): Likewise.
17547         (M_LIBM_NEED_COMPAT): Likewise.
17549 2016-09-01  Florian Weimer  <fweimer@redhat.com>
17551         [BZ #20525]
17552         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
17553         Include <linux/quota.h>.
17554         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
17555         and btodb.
17556         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
17557         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
17558         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
17559         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
17560         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
17561         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
17562         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
17563         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
17564         types.
17565         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
17566         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
17568 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17570         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
17571         (gammal_positive): Fix spacing.
17572         (__ieee754_gammal_r): Likewise.
17574 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17576         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
17577         (_Float128): Define as long double, always.
17578         (L): Apply long double type suffix, always.
17580         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
17581         _Float128, excepting comments.
17583         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17584         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17585         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17586         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17587         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17588         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17589         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17590         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17591         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17592         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
17593         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17594         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17595         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17596         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17597         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17598         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17599         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17600         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17601         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17602         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17603         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17604         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17605         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17606         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17607         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17608         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17609         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17610         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17611         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17612         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17613         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17614         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17615         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17616         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17617         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17618         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17619         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17620         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17621         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17622         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17623         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17624         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17625         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17626         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17627         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17628         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17629         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17630         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17631         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17632         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17633         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17634         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17635         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17636         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17637         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17638         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17639         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17640         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17641         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17642         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17643         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17644         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17645         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17646         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17647         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17648         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17649         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17650         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17652         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
17653         _Float128, and include math_private.h.
17654         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17656         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
17657         long double semantics.
17658         (_Float128): Likewise.
17659         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
17660         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17661         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
17662         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
17664 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17666         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
17667         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
17668         * sysdeps/s390/configure: Regenerated.
17669         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
17670         instruction for raising over-/underflow if z196 zarch is supported
17671         by default.
17672         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
17674 2016-08-30  Svante Signell  <svante.signell@gmail.com>
17676         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
17677         it point to a dumb buffer for RPC to fill it.
17679 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17681         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
17682         instead of if/else.
17683         (do_sin_slow): Likewise.
17684         (do_sincos_1): Use fabs instead of if/else.
17685         (do_sincos_2): Likewise.
17686         (__sin): Likewise.
17687         (__cos): Likewise.
17688         (slow2): Likewise.
17689         (sloww): Likewise.
17690         (sloww1): Likewise.  Drop argument M.
17691         (sloww2): Use fabs instead of if/else.
17692         (bsloww): Likewise.
17693         (bsloww1): Likewise.
17694         (bsloww2): Likewise.
17696         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
17697         fall through comment.
17698         (do_sincos_1): Likewise.
17700         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
17701         Consolidate switch cases 0 and 2.
17703 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17705         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
17706         (libm-calls): Remove the above.
17708         * math/s_cexp_template.c: Update using type-generic macros.
17709         * math/s_clog10_template.c: Likewise.
17710         * math/s_cpow_template.c: Likewise.
17711         * math/s_clog_template.c: Likewise.
17712         * math/s_cproj_template.c: Likewise.
17713         * math/s_csqrt_template.c: Likewise.
17715         * math/s_cexp.c: Removed.
17716         * math/s_cexpf.c: Removed.
17717         * math/s_cexpl.c: Removed.
17718         * math/s_clog10.c: Removed.
17719         * math/s_clog10f.c: Removed.
17720         * math/s_clog10l.c: Removed.
17721         * math/s_cpow.c: Removed.
17722         * math/s_cpowf.c: Removed.
17723         * math/s_cpowl.c: Removed.
17724         * math/s_clog.c: Removed.
17725         * math/s_clogf.c: Removed.
17726         * math/s_clogl.c: Removed.
17727         * math/s_cproj.c: Removed.
17728         * math/s_cprojf.c: Removed.
17729         * math/s_cprojl.c: Removed.
17730         * math/s_csqrt.c: Removed.
17731         * math/s_csqrtf.c: Removed.
17732         * math/s_csqrtl.c: Removed.
17734         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
17735         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
17736         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
17737         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
17738         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
17739         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
17741         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
17742         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
17743         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
17744         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
17745         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
17746         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
17747         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
17748         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
17749         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
17750         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
17751         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
17753         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
17754         version.
17756         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
17757         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
17758         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
17759         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
17761 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17763         * s_cexp_template.c: Copy of s_cexp.c.
17764         * s_clog_template.c: Copy of s_clog.c.
17765         * s_clog10_template.c: Copy of s_clog10.c.
17766         * s_cpow_template.c: Copy of s_cpow.c.
17767         * s_cproj_template.c: Copy of s_cproj.c.
17768         * s_csqrt_template.c: Copy of s_csqrt.c.
17770 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17772         [BZ #20517]
17773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17774         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
17775         exported.
17777 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
17779         * math/fetestexceptflag.c: New file.
17780         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
17781         Stefan Liebler.
17782         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17783         (fetestexceptflag): New function declaration.
17784         * manual/arith.texi (fetestexceptflag): Document function.
17785         * math/Versions (fetestexceptflag): New libm symbol at version
17786         GLIBC_2.25.
17787         * math/Makefile (libm-support): Add fetestexceptflag.
17788         (tests): Add test-fetestexceptflag.
17789         * math/test-fetestexceptflag.c: New file.
17790         * sysdeps/nacl/libm.abilist: Update.
17791         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17792         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17793         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17794         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17795         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17796         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17797         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17798         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17799         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17800         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17801         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17802         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17804         Likewise.
17805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17806         Likewise.
17807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17808         Likewise.
17809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17810         Likewise.
17811         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17812         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17813         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17814         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17815         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17817         Likewise.
17818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17819         Likewise.
17820         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17821         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17822         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17824 2016-08-26  Florian Weimer  <fweimer@redhat.com>
17826         [BZ #20432]
17827         Avoid strong references to malloc-internal symbols when linking
17828         statically, to support statically interposed mallocs.
17829         * include/libc-symbols.h (call_function_static_weak): New macro.
17830         * malloc/Makefile (tests): Add tst-interpose-nothread,
17831         tst-interpose-thread, tst-interpose-static-nothread,
17832         tst-interpose-static-thread.
17833         (tests-static): Add tst-interpose-static-nothread,
17834         tst-interpose-static-thread.
17835         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
17836         tst-interpose-aux-thread.o.
17837         (test-extras): Add tst-interpose-aux-nothread,
17838         tst-interpose-aux-thread.
17839         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
17840         tst-interpose-aux-nothread.o.
17841         (tst-interpose-thread, tst-interpose-static-thread): Link with
17842         tst-interpose-aux-thread.o and libthread.
17843         * malloc/tst-interpose-aux-nothread.c: New file.
17844         * malloc/tst-interpose-aux-thread.c: Likewise.
17845         * malloc/tst-interpose-aux.c: Likewise.
17846         * malloc/tst-interpose-aux.h: Likewise.
17847         * malloc/tst-interpose-nothread.c: Likewise.
17848         * malloc/tst-interpose-skeleton.c: Likewise.
17849         * malloc/tst-interpose-static-nothread.c: Likewise.
17850         * malloc/tst-interpose-static-thread.c: Likewise.
17851         * malloc/tst-interpose-thread.c: Likewise.
17852         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
17853         * sysdeps/mach/hurd/fork.c (__fork): Only call
17854         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17855         __malloc_fork_unlock_child if defined.
17856         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17858 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17860         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
17861         timespec C99 designated initialization.
17863 2016-08-26  Florian Weimer  <fweimer@redhat.com>
17865         [BZ #19946]
17866         Avoid expected SIGALRM signals.
17867         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
17868         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
17869         (xpthread_create, xpthread_detach, xpthread_join)
17870         (delayed_exit_thread, delayed_exit): New functions.
17871         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
17872         (tf): Use xpthread_cond_wait.
17873         (do_test): Likewise.  Replace alarm with delayed_exit.
17874         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17875         (do_test): Call delayed_exit.  Report failure.
17876         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17877         (do_test): Call delayed_exit.
17878         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17879         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
17880         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17881         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
17882         error.
17883         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17884         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
17885         error.
17886         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
17887         (do_test): Call delayed_exit.
17888         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
17889         (do_test): Call delayed_exit.
17890         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
17891         (do_test): Call delayed_exit instead of alarm.  Use
17892         xpthread_mutex_lock.
17893         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
17894         (do_test): Call delayed_exit instead of alarm.  Use
17895         xpthread_mutex_lock.
17896         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
17897         (do_test): Call delayed_exit instead of alarm.
17898         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
17899         (do_test): Call delayed_exit instead of alarm.  Use
17900         xpthread_spin_lock.
17901         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
17902         (do_test): Call delayed_exit instead of alarm.  Use
17903         xpthread_join.
17905 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
17907         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
17908         adjust CFA when allocating register save area on re-aligned
17909         stack.
17911 2016-08-26  Florian Weimer  <fweimer@redhat.com>
17913         * string/tst-cmp.c: New test.
17914         * string/Makefile (tests): Add it.
17916 2016-08-25  Mark Wielaard  <mark@klomp.org>
17918         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
17919         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
17920         (check_tree_recurse): Use newly defined accessors.
17921         (check_tree): Likewise.
17922         (maybe_split_for_insert): Likewise.
17923         (__tfind): Likewise.
17924         (__tdelete): Likewise.
17925         (trecurse): Likewise.
17926         (tdestroy_recurse): Likewise.
17927         (__tsearch): Likewise. And add asserts for malloc alignment.
17928         (__twalk): Cast root to node in case CHECK_TREE is defined.
17930 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17932         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
17934 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17936         * math/Makefile (libm-gen-calls): Add
17937         catan, catanh, ctan, ctanh.
17938         (libm-calls): Remove the above.
17940         * math/s_catan_template.c: Update using type-generic macros.
17941         * math/s_catanh_template.c: Likewise.
17942         * math/s_ctan_template.c: Likewise.
17943         * math/s_ctanh_template.c: Likewise.
17945         * math/s_catanf.c: Removed.
17946         * math/s_catan.c: Removed.
17947         * math/s_catanl.c: Removed.
17948         * math/s_catanhf.c: Removed.
17949         * math/s_catanh.c: Removed.
17950         * math/s_catanhl.c: Removed.
17951         * math/s_ctanf.c: Removed.
17952         * math/s_ctan.c: Removed.
17953         * math/s_ctanl.c: Removed.
17954         * math/s_ctanhf.c: Removed.
17955         * math/s_ctanh.c: Removed.
17956         * math/s_ctanhl.c: Removed.
17958         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
17959         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
17960         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
17961         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
17962         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
17963         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
17965         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
17966         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
17967         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
17968         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
17970 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17972         * s_catan_template.c: Copy of s_catan.c.
17973         * s_catanh_template.c: Copy of s_catanh.c.
17974         * s_ctan_template.c: Copy of s_ctan.c.
17975         * s_ctanh_template.c: Copy of s_ctanh.c.
17977 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17979         * math/Makefile (gen-libm-calls): Move
17980         casin, casinh, csin, csinh here.
17981         (libm-calls): Remove the above.
17983         * math/s_casin_template.c: Update using type-generic macros.
17984         * math/s_casinh_template.c: Likewise.
17985         * math/s_csin_template.c: Likewise.
17986         * math/s_csinh_template.c: Likewise.
17987         * math/k_casinh_template.c: Likewise.
17989         * math/s_casinf.c: Removed.
17990         * math/s_casin.c: Removed.
17991         * math/s_casinl.c: Removed.
17992         * math/s_casinh.c: Removed.
17993         * math/s_casinhf.c: Removed.
17994         * math/s_casinhl.c: Removed.
17995         * math/s_csin.c: Removed.
17996         * math/s_csinf.c: Removed.
17997         * math/s_csinl.c: Removed.
17998         * math/s_csinh.c: Removed.
17999         * math/s_csinhf.c: Removed.
18000         * math/s_csinhl.c: Removed.
18001         * math/k_casinh.c: Removed.
18002         * math/k_casinhf.c: Removed.
18003         * math/k_casinhl.c: Removed.
18005         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
18006         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
18007         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
18008         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
18010         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
18011         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
18012         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
18013         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
18014         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
18015         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
18016         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
18017         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
18019         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
18020         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
18021         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
18022         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
18024         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
18025         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
18026         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
18027         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
18029 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18031         * s_casin_template.c: Copy of s_casin.c.
18032         * s_casinh_template.c: Copy of s_casinh.c.
18033         * s_csin_template.c: Copy of s_csin.c.
18034         * s_csinh_template.c: Copy of s_csinh.c.
18035         * k_casinh_template.c: Copy of k_casinh.c.
18037 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18039         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
18041 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18043         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
18044         (mul_split) Remove, rename as mul_splitl, remove
18045         redundant float.h include, and include via mul_splitl.h
18047         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18048         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18049         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18050         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18051         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18053         * math/mul_splitl.h: New file.
18055         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
18056         Move into mul_split.h, and remove redundant float.h include.
18058         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18059         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
18060         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18061         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
18063         * math/mul_split.h: New file.
18065 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18067         * math/Makefile (libm-gen-calls): Move
18068         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
18069         (libm-calls): Remove above.
18071         * math/s_cacos_template.c: Update using type-generic macros.
18072         * math/s_cacosh_template.c: Likewise.
18073         * math/s_ccos_template.c: Likewise.
18074         * math/s_ccosh_template.c: Likewise.
18076         * math/s_cacosf.c: Removed.
18077         * math/s_cacos.c: Removed.
18078         * math/s_cacosl.c: Removed.
18079         * math/s_cacoshf.c: Removed.
18080         * math/s_cacosh.c: Removed.
18081         * math/s_cacoshl.c: Removed.
18082         * math/s_ccosf.c: Removed.
18083         * math/s_ccos.c: Removed.
18084         * math/s_ccosl.c: Removed.
18085         * math/s_ccoshf.c: Removed.
18086         * math/s_ccosh.c: Removed.
18087         * math/s_ccoshl.c: Removed.
18089         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
18090         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
18091         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
18092         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
18093         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
18094         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
18096         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
18097         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
18098         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
18099         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
18101         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
18102         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
18103         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
18104         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
18106 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18108         * s_cacos_template.c: Copy of s_cacos.c.
18109         * s_cacosh_template.c: Copy of s_cacosh.c.
18110         * s_ccos_template.c: Copy of s_ccos.c.
18111         * s_ccosh_template.c: Copy of s_ccosh.c.
18113 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18115         * stdlib/tst-strtod-round-skeleton.c:
18116         Refactored from tst-strtod-round.c.
18118         (L_): New macro to apply literal modifier.
18119         (FNPFX): New macro to select str or wcs prefix.
18120         (CHAR): New macro to choose wchar_t or char.
18121         (STRM): New macro to choose printf for tested character type.
18123         (STRTO): New macro to choose appropriate string -> real function.
18124         (FNPFXS): Stringitized version of FNPFX.
18125         (STR): Support for above macro.
18126         (STRX): Likewise.
18128         (TEST): Update with above macros.
18129         (test): Likewise.
18130         (GEN_ONE_TEST): Likewise.
18131         (test_in_one_mode): Likewise.
18133         * stdlib/tst-strtod-round.c: New file.
18134         * wcsmbs/tst-wcstod-round.c: New file.
18136         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
18137         (tst-wcstod-round): Add libm depencency for fesetround.
18139 2016-08-19  Zack Weinberg  <zackw@panix.com>
18141         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
18143 2016-08-18  Torvald Riegel  <triegel@redhat.com>
18145         [BZ #20477]
18146         * resolv/res_hconf.c (do_init): Use atomic access.
18147         * resolv/res_hconf.h: Add comments.
18148         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
18149         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
18150         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18152 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
18154         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
18155         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
18156         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18157         Likewise.
18159 2016-08-18  Florian Weimer  <fweimer@redhat.com>
18161         [BZ #16907]
18162         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
18163         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
18164         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
18165         (__attribute__): Remove definition.
18167 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18169         * sysdeps/ieee754/ldbl-128/e_asinl.c:
18170         Remove unused sqrtl declaration.
18172 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18174         * math/Makefile: (gen-libm-templates.stmp): New rule.
18175         (libm-calls): Move carg conj cimag and cabs into ...
18176         (gen-libm-calls): New variable.
18177         (generated): Inform Make objects from gen-libm-calls
18178         may be generated.
18180         * sysdeps/generic/math-type-macros.h: New file.
18181         * sysdeps/generic/math-type-macros-float.h: Likewise.
18182         * sysdeps/generic/math-type-macros-double.h: Likewise.
18183         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
18184         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
18185         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
18187         * math/cabs.c: Refactor into
18188         * math/cabs_template.c: new file.
18189         * math/cabsf.c: Removed.
18190         * math/cabsl.c: Removed.
18191         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
18192         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
18194         * math/carg.c: Refactor into
18195         * math/carg_template.c: new file.
18196         * math/cargf.c: Removed.
18197         * math/cargl.c: Removed.
18198         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
18199         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
18201         * math/conj.c: Refactor into
18202         * math/conj_template.c: new file.
18203         * math/conjf.c: Removed.
18204         * math/conjl.c: Removed.
18205         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
18206         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
18208         * math/cimag.c: Refactor into
18209         * math/cimag_template.c: new file.
18210         * math/cimagf.c: Removed.
18211         * math/cimagl.c: Removed.
18212         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18213         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18215         * math/cimag.c: Refactor into
18216         * math/cimag_template.c: new file.
18217         * math/cimagf.c: Removed.
18218         * math/cimagl.c: Removed.
18219         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18220         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18222 2016-08-17  Florian Weimer  <fweimer@redhat.com>
18224         Reduce time to expected nptl/tst-once5 failure.
18225         * nptl/tst-once5.cc (TIMEOUT): Define.
18227 2016-08-17  Florian Weimer  <fweimer@redhat.com>
18229         [BZ #20452]
18230         Avoid additional copies of objects in libc.a in static libraries.
18231         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
18232         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
18233         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
18234         rt-sysdep.
18235         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
18236         Add nptl-sysdep.
18237         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
18238         Add ptw-sysdep.
18239         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
18240         rt-sysdep.
18241         * sysdeps/unix/sysv/linux/alpha/Makefile
18242         (libpthread-shared-only-routines): Add ptw-sysdep,
18243         ptw-sigprocmask, ptw-rt_sigaction.
18244         * sysdeps/unix/sysv/linux/ia64/Makefile
18245         (librt-shared-only-routines): Add rt-sysdep.
18246         * sysdeps/unix/sysv/linux/i386/Makefile
18247         (libpthread-shared-only-routines): Add libc-do-syscall.
18248         * sysdeps/unix/sysv/linux/microblaze/Makefile
18249         (libpthread-shared-only-routines): Add sysdep.
18250         * sysdeps/unix/sysv/linux/powerpc/Makefile
18251         (librt-shared-only-routines): Add rt-sysdep.
18252         (libpthread-shared-only-routines): Add sysdep.
18253         * sysdeps/unix/sysv/linux/s390/Makefile
18254         (librt-shared-only-routines): Add rt-sysdep.
18255         * sysdeps/unix/sysv/linux/sparc/Makefile
18256         (librt-shared-only-routines): Add rt-sysdep.
18257         (libpthread-shared-only-routines): Add sysdep.
18258         * sysdeps/unix/sysv/linux/tile/Makefile
18259         (libpthread-shared-only-routines): Likewise.
18261 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
18263         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
18264         Mask implicit bit out of unpacked value.
18265         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
18266         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
18267         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
18269         * sysdeps/sparc/fpu/fesetexcept.c: New file.
18271         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
18273         * sysdeps/s390/fpu/fesetexcept.c: New file.
18275         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
18276         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
18277         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
18279         * sysdeps/mips/fpu/fesetexcept.c: New file.
18281         * sysdeps/m68k/fpu/fesetexcept.c: New file.
18283         * sysdeps/ia64/fpu/fesetexcept.c: New file.
18285         * sysdeps/hppa/fpu/fesetexcept.c: New file.
18287         * sysdeps/arm/fesetexcept.c: New file.
18289         * sysdeps/alpha/fpu/fesetexcept.c: New file.
18291         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
18293         * math/fesetexcept.c: New file.
18294         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
18295         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
18296         * math/fenv.h: Define
18297         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18298         <bits/libc-header-start.h> instead of including <features.h>.
18299         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
18300         declaration.
18301         * manual/arith.texi (fesetexcept): Document function.
18302         * math/Versions (fesetexcept): New libm symbol at version
18303         GLIBC_2.25.
18304         * math/Makefile (libm-support): Add fesetexcept.
18305         (tests): Add test-fesetexcept and test-fesetexcept-traps.
18306         * math/test-fesetexcept.c: New file.
18307         * math/test-fesetexcept-traps.c: Likewise.
18308         * sysdeps/nacl/libm.abilist: Update.
18309         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18310         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18311         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18312         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18313         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18314         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18315         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18316         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18317         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18318         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18319         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18320         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18322         Likewise.
18323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18324         Likewise.
18325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18326         Likewise.
18327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18328         Likewise.
18329         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18330         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18331         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18332         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18333         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18335         Likewise.
18336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18337         Likewise.
18338         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18339         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18340         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18342 2016-08-16  Florian Weimer  <fweimer@redhat.com>
18344         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
18345         New.
18346         (do_test): Apply default_stack_size_in_mb if not set.
18347         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
18349 2016-08-15  Andreas Schwab  <schwab@suse.de>
18351         [BZ #20435]
18352         CVE-2016-6323
18353         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
18354         as .cantunwind.
18356 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
18358         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
18359         comment from fraiseexcpt.c.
18361         * math/test-fexcept.c (feraiseexcept_exact): New function.
18362         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
18363         (test_except): Likewise.
18365 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
18367         [BZ #20455]
18368         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
18369         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
18370         to be restored.
18372         * math/test-fexcept-traps.c: New file.
18373         * math/test-fexcept.c: Likewise.
18374         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
18375         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
18376         macro.
18377         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
18378         (EXCEPTION_SET_FORCES_TRAP): Likewise.
18380 2016-08-09  Torvald Riegel  <triegel@redhat.com>
18382         * include/atomic.h (atomic_fetch_and_relaxed,
18383         atomic_fetch_and_release, atomic_fetch_or_release,
18384         atomic_fetch_xor_release): New.
18386 2016-08-06  Christian Seiler  <christian@iwakd.de>
18388         [BZ #20444]
18389         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
18390         MACH_PORT_NULL.
18392 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18394         * math/s_fdim.c: Avoid alias renamed.
18395         * math/s_fdimf.c: Likewise.
18396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18397         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18398         Add s_fdimf-vis3, s_fdim-vis3.
18399         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18400         (CFLAGS-s_fdim-vis3.c): Likewise.
18401         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
18402         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
18404 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18407         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18408         Remove s_fdimf-vis3, s_fdim-vis3.
18409         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
18410         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
18411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
18412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
18413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
18414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
18415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
18416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
18417         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
18418         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
18420 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18422         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
18423         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
18424         -Wa,-Av9a -mvis.
18426 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18428         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
18429         LIT() to individual constants in simple expressions
18430         after splitting on spaces.
18431         (_apply_lit): Rename replaced version, and use it to
18432         apply to what appears to be a token.
18434         * math/libm-test.inc: Fix many, many issues with
18435         spacing.
18437 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
18439         * math/math.h: Move comment about <bits/mathdef.h> definitions
18440         above inclusion of <bits/mathdef.h>.  Do not mention
18441         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
18443 2016-08-05  Torvald Riegel  <triegel@redhat.com>
18445         * include/atomic.h (atomic_exchange_relaxed): New.
18447 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
18449         * math/e_scalb.c: Do not include <fenv.h>.
18450         (invalid_fn): Do calculation resulting in NaN instead of raising
18451         FE_INVALID and returning a NaN explicitly.
18452         * math/e_scalbf.c: Do not include <fenv.h>.
18453         (invalid_fn): Do calculation resulting in NaN instead of raising
18454         FE_INVALID and returning a NaN explicitly.
18455         * math/e_scalbl.c: Do not include <fenv.h>.
18456         (invalid_fn): Do calculation resulting in NaN instead of raising
18457         FE_INVALID and returning a NaN explicitly.
18459 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
18461         * po/de.po: Updated from Translation Project.
18462         * po/fi.po: Likewise.
18463         * po/sv.po: Likewise.
18465 2016-08-04  Florian Weimer  <fweimer@redhat.com>
18467         [BZ #20452]
18468         Use sysdep.o from libc.a in static libraries.
18469         * sysdeps/unix/sysv/linux/i386/Makefile
18470         (libpthread-shared-only-routines): Add sysdep.
18471         (librt-shared-only-routines): Likewise.
18473 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18475         * math/tgmath.h (nextdown): Define if
18476         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
18477         (nextup): Likewise.
18479         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
18480         macro.
18481         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18482         Document.
18483         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18484         Document macro.
18485         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
18486         (exp10f): Likewise.
18487         (exp10l): Likewise.
18488         * math/bits/mathcalls.h (exp10): Declare if
18489         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
18491         * manual/arith.texi (nextup): Fix typo in last change.
18493 2016-08-03  Zack Weinberg  <zackw@panix.com>
18495         [BZ #19239]
18496         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
18497         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
18498         define major, minor, and makedev to issue deprecation warnings on use.
18499         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
18500         previously-activated deprecation warnings for these macros and prevent
18501         subsequent inclusions of this header from having any effect.
18502         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
18503         including <sys/sysmacros.h>, and undefine it again afterward.
18505 2016-08-03  Zack Weinberg  <zackw@panix.com>
18507         * sysdeps/generic/sys/sysmacros.h: Delete file.
18508         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
18509         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
18510         * bits/sysmacros.h: ... here; this encoding is now the generic
18511         encoding.  Now defines only the following macros:
18512         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
18513         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
18514         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
18516         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
18517         bits/sysmacros.h and the above new macros to generate the
18518         public implementations of major, minor, and makedev.
18519         * misc/tst-makedev.c: New test.
18520         * include/sys/sysmacros.h: New wrapper.
18522         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
18523         (routines): Add makedev.
18524         (tests): Add tst-makedev.
18525         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
18526         gnu_dev_makedev.
18527         * posix/Makefile (headers): Remove sys/sysmacros.h.
18528         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
18530         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
18531         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
18532         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
18533         * sysdeps/unix/sysv/linux/alpha/libc.abilist
18534         * sysdeps/unix/sysv/linux/arm/libc.abilist
18535         * sysdeps/unix/sysv/linux/hppa/libc.abilist
18536         * sysdeps/unix/sysv/linux/i386/libc.abilist
18537         * sysdeps/unix/sysv/linux/ia64/libc.abilist
18538         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18539         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
18540         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
18541         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18542         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18543         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18544         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18545         * sysdeps/unix/sysv/linux/nios2/libc.abilist
18546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18550         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
18551         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
18552         * sysdeps/unix/sysv/linux/sh/libc.abilist
18553         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18554         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18557         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
18558         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
18559         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
18560         Add GLIBC_2.25.
18562         * include/features.h (__glibc_clang_prereq): New macro.
18563         * misc/sys/cdefs.h (__glibc_clang_has_extension)
18564         (__attribute_deprecated_msg__): New macros.
18566 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18568         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
18569         macro.
18570         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
18571         * manual/arith.texi (issignaling): Document as ISO from TS
18572         18661-1:2014.
18573         (nextup): Likewise.
18574         (nextupf): Likewise.
18575         (nextupl): Likewise.
18576         (nextdown): Likewise.
18577         (nextdownf): Likewise.
18578         (nextdownl): Likewise.
18579         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
18580         macro.
18581         * math/math.h: Define
18582         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18583         <bits/libc-header-start.h> instead of including <features.h>.
18584         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
18585         [__USE_GNU].
18586         * math/bits/mathcalls.h (nextdown): Declare if
18587         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
18588         (nextup): Likewise.
18589         (__issignaling): Likewise.
18591 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18593         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
18594         check, and remove __glibc_likely hint
18595         from FP_INFINITE check.
18596         * s_csinhf.c (__csinhf): Likewise.
18598         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
18599         hint from FP_INFINITE check.
18600         * s_csinhl.c (__csinhl): Likewise.
18602 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18604         * math/Makefile (libm-calls): Insert F placeholder into
18605         object names.  Move w_lgamma_compat* routines into
18606         (libm-compat-calls): New variable.
18607         (libm-compat-calls-ldouble-yes): New variable.
18608         (calls): Insert F placeholder.
18609         (generated): Redefine using new type-foreach macro call.
18610         (routines): Likewise.
18612         (types): New variable to hold a list of symbolic names
18613         for each type supported by the target machine.
18614         (libm-routines): Redefine using new types variable.
18615         (type-foreach): macro to replace fooF with the
18616         appropriately suffixed foo for each types.
18618         (type-ldouble-suffix): New variable.
18619         (type-ldouble-routines): Likewise.
18620         (type-ldouble-yes): Likewise.
18621         (type-double-suffix): Likewise.
18622         (type-double-routines): Likewise.
18623         (type-float-suffix): Likewise.
18624         (type-float-routines): Likewise.
18626         (dbl-only-routines): Remove.
18627         (long-c-yes): Likewise.
18628         (long-m-routines): Likewise.
18629         (long-m-support): Likewise.
18630         (long-m-yes): Likewise.
18631         (test-longdouble-yes): Likewise.
18633         (test-float.o): Simplify by increasing the scope of the
18634         recipe which adds libm-test.stmp to the vector types.
18635         (test-ifloat.o): Likewise.
18636         (test-float-finite.o): Likewise.
18637         (test-double.o): Likewise
18638         (test-idouble.o): Likewise.
18639         (test-double-finite.o): Likewise.
18640         (test-ldouble.o): Likewise
18641         (test-ildoubl.o): Likewise.
18642         (test-ldouble-finite.o): Likewise.
18644         (libm-tests): Redefine type tests using foreach and the
18645         list of types in types.
18647         (CPPFLAGS-test-ildoubl.c): Rename to
18648         (CPPFLAGS-test-ildouble.c): New variable
18650         * math/test-ildoubl.c: Rename to
18651         * math/test-ildouble.c: New file.
18653 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18655         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
18656         Use fabsl instead of fabs.
18657         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
18658         Likewise.
18659         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
18660         Add long double suffix to constant to ensure proper
18661         promotion to long double.
18663 2016-08-03  Tom Tromey  <tom@tromey.com>
18665         [BZ #20311]
18666         * nptl_db/Makefile (headers): Add proc_service.h.
18667         * nptl_db/proc_service.h: Add include guard.  Use
18668         __BEGIN/__END_DECLS.
18669         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
18670         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
18671         arguments.
18674 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18676         [BZ #17730]
18677         Avoid using memalign for TCB allocations.
18678         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
18679         (_dl_allocate_tls_storage): Use malloc and manual alignment.
18680         Avoid alignment gap in the TLS_DTV_AT_TP case.
18681         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
18682         determine the pointer to free.
18683         * nptl/tst-tls3-malloc.c: New test.
18684         * nptl/Makefile (tests): Add it.
18685         (tst-tls3-malloc): Link with libdl, libpthread.
18686         (LDFLAGS-tst-tls3-malloc): Set.
18687         (tst-tls3-malloc.out): Depend on DSO used in test.
18689 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18691         [BZ #17730]
18692         Avoid using memalign for TLS allocations.
18693         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
18694         is_static member with to_free member.
18695         (union dtv): Use struct dtv_pointer.
18696         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
18697         dtv_pointer instead of is_static.
18698         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
18699         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
18700         instead of val.
18701         (allocate_dtv_entry): New function.
18702         (allocate_and_init): Return struct dtv_pointer.  Call
18703         allocate_dtv_entry instead of __libc_memalign.
18704         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
18705         instead of val.
18706         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
18707         instead of is_static.  Adjust call to allocate_and_init.
18708         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
18709         struct dtv_pointer instead of val.
18711 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18713         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
18714         (MALLOC_ALIGN_MASK): Move ...
18715         * malloc/malloc-internal.h: ... to here.
18716         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
18718 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18720         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
18721         (UDP_ENCAP_GTP1U): Likewise.
18723         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
18724         (PF_MAX): Update value.
18725         (AF_QIPCRTR): New macro.
18727 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
18729         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
18730         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18731         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18732         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18733         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18734         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18735         s_truncf-vis3, s_trunc-vis3.
18736         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18737         (CFLAGS-s_ceil-vis3.c): Likewise.
18738         (CFLAGS-s_floorf-vis3.c): Likewise.
18739         (CFLAGS-s_floor-vis3.c): Likewise.
18740         (CFLAGS-s_truncf-vis3.c): Likewise.
18741         (CFLAGS-s_trunc-vis3.c): Likewise.
18742         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
18743         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18744         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
18745         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18746         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
18747         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18748         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
18749         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18750         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
18751         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18752         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
18753         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18755 2016-08-02  David S. Miller  <davem@davemloft.net>
18757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18758         (__nearbyint_vis3): Don't check for sNaN before float register is
18759         loaded with the incoming argument.
18760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18761         (__nearbyintf_vis3): Likewise.
18762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
18763         Likewise.
18764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
18765         Likewise.
18767         * string/test-strncmp.c (do_test_limit): Make sure the test data
18768         stream is aligned as required for the type "CHAR".
18769         (do_test): Likewise.
18771 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
18773         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
18774         by beq instructions jumping to the end of the function.
18775         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
18776         clobber list. Use "i" constraint instead of "X".
18777         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
18778         of "X".
18780 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
18782         * bits/libc-header-start.h: New file.
18783         * Makefile (headers): Add bits/libc-header-start.h.
18784         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
18785         (__GLIBC_USE): New macro.
18786         * libio/stdio.h: Define
18787         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18788         <bits/libc-header-start.h> instead of including <features.h>.
18789         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
18790         (open_memstream): Likewise.
18791         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
18792         (__asprintf): Likewise.
18793         (asprintf): Likewise.
18794         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
18795         (getdelim): Likewise.
18796         (getline): Likewise.
18797         * string/string.h: Define
18798         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18799         <bits/libc-header-start.h> instead of including <features.h>.
18800         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
18801         (strndup): Likewise.
18802         * wcsmbs/wchar.h: Define
18803         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18804         <bits/libc-header-start.h> instead of including <features.h>.
18805         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
18806         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
18808 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18810         Support linking against compatibility symbols, for use in tests.
18811         * include/libc-symbols.h (symbol_version_reference): New macro.
18812         (symbol_version): Use it.
18813         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
18814         (compat_symbol): Use compat_symbol_reference.
18815         (compat_symbol_1, compat_symbol_2): Remove.
18816         (compat_symbol_reference, compat_symbol_reference_1)
18817         (compat_symbol_reference_2): New macro.  Use
18818         symbol_version_reference.
18820 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18822         [BZ #19469]
18823         * malloc/Makefile (CPPFLAGS): Compile tests with
18824         -DTEST_NO_MALLOPT.
18825         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
18827 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
18829         [BZ #20033]
18830         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
18831         finite version.
18832         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
18833         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
18834         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
18835         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
18836         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
18837         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
18838         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
18839         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
18840         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
18841         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
18842         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
18843         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
18844         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
18845         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
18846         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
18847         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
18848         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
18849         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
18850         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
18851         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
18852         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
18853         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
18854         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
18855         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
18856         in zero power.
18858 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18860         [BZ #20370]
18861         * malloc/arena.c (get_free_list): Update comment.  Assert that
18862         arenas on the free list have no attached threads.
18863         (remove_from_free_list): New function.
18864         (reused_arena): Call it.
18866 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
18868         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
18869         when it is a NaN.
18870         [_IEEE_FP_INEXACT] Remove.
18871         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
18872         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
18873         when it is a NaN.
18874         [_IEEE_FP_INEXACT] Remove.
18875         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
18876         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
18877         when it is a NaN.
18878         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
18879         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
18880         when its absolute value is greater than 0x1.0p52.
18881         [_IEEE_FP_INEXACT] Remove.
18882         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
18883         when its absolute value is greater than 0x1.0p23.
18884         [_IEEE_FP_INEXACT] Remove.
18886 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
18888         * version.h (RELEASE): Set to "development"
18889         (VERSION): Set to 2.24.90.
18890         * NEWS: Add 2.25 section.
18892         * version.h (RELEASE): Set to "stable"
18893         (VERSION): Set to 2.24.
18894         * include/features.h (__GLIBC_MINOR__): Set to 24.
18896         * NEWS: Add 2.24 fixed bugs.
18897         * po/libc.pot: Regenerate.
18899 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
18901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18902         [$(subdir) = math] (libm-sysdep_routines): Remove.
18903         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18904         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18905         s_truncf-vis3, s_trunc-vis3.
18906         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
18908         file.
18909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
18910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
18911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
18915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
18916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
18918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
18919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
18920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
18921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
18922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
18923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
18924         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18927         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
18928         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
18929         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
18930         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
18931         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18932         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18933         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18934         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18935         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18936         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
18937         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18938         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18939         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
18940         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18941         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18942         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
18943         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
18944         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
18945         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
18946         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18947         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18948         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
18949         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
18950         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
18951         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
18953 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
18955         [BZ #20384]
18956         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
18957         test-double-libmvec-sincos-avx-main.o,
18958         test-double-libmvec-sincos-avx2-main.o,
18959         test-double-libmvec-sincos-main.o,
18960         test-float-libmvec-sincosf-avx-main.o,
18961         test-float-libmvec-sincosf-avx2-main.o and
18962         test-float-libmvec-sincosf-main.o.
18963         test-float-libmvec-sincosf-avx512-main.o.
18964         ($(objpfx)test-double-libmvec-sincos): Also link with
18965         $(objpfx)test-double-libmvec-sincos-main.o.
18966         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
18967         $(objpfx)test-double-libmvec-sincos-avx-main.o.
18968         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
18969         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
18970         ($(objpfx)test-float-libmvec-sincosf): Also link with
18971         $(objpfx)test-float-libmvec-sincosf-main.o.
18972         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
18973         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
18974         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
18975         test-double-libmvec-sincos-avx512-main.o and
18976         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
18977         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
18978         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
18979         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
18980         (CFLAGS-test-double-libmvec-sincos.c): Removed.
18981         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
18982         (CFLAGS-test-double-libmvec-sincos-main.c): New.
18983         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
18984         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
18985         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
18986         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
18987         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
18988         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
18989         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
18990         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
18991         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
18992         -DREQUIRE_AVX2.
18993         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
18994         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
18995         -DREQUIRE_AVX512F.
18996         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
18997         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
18998         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
18999         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
19000         file.
19001         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
19002         Likewise.
19003         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
19004         Likewise.
19005         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
19006         Likewise.
19007         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
19008         Likewise.
19009         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
19010         Likewise.
19011         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
19012         Likewise.
19013         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
19014         Likewise.
19016 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
19018         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
19020 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
19022         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
19023         and typo in a comment about AT_HWCAP entry.
19025 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19027         * sysdeps/aarch64/libm-test-ulps: Updated.
19029 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19031         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
19032         of r13 as it is not restored in mvcle case.
19034 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
19036         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
19037         Rename "ret" to "__ret".
19038         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
19039         inline_syscall5, inline_syscall6): Likewise.
19041 2016-07-19   Will Newton  <will.newton@gmail.com>
19043         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
19044         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
19045         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
19046         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
19047         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
19049 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
19051         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
19052         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
19053         -mfpmath=387 with $(rtld-CFLAGS).
19054         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
19055         $(rtld-CFLAGS).
19057 2016-07-18   Ross Burton  <ross.burton@intel.com>
19058              Khem Raj  <raj.khem@gmail.com>
19060         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
19061         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
19062         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
19063         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
19064         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
19065         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
19066         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
19067         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
19068         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
19069         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
19070         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
19071         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
19072         R_METAG_TLS_DTPOFF): New.
19074 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
19075             Matt Clay  <mclay@lycos.com>
19077         [BZ #20357]
19078         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
19079         to call __mpsin/__mpcos and to negate values.
19080         * math/auto-libm-test-in: Add test.
19081         * math/auto-libm-test-out: Regenerate.
19083 2016-07-18  Zack Weinberg  <zackw@panix.com>
19085         * grp/Makefile: Don't install the internal header grp-merge.h.
19087 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19089         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19091 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19093         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
19095 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19097         [BZ #15368]
19098         * sysdeps/unix/sysv/linux/nptl-signals.h
19099         (__nptl_clear_internal_signals): New function.
19100         (__libc_signal_block_all): Likewise.
19101         (__libc_signal_block_app): Likewise.
19102         (__libc_signal_restore_set): Likewise.
19103         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
19104         implementation.
19105         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
19106         the cached pid/tid value in pthread structure.
19108 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
19110         [BZ #20347]
19111         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19113 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
19115         [BZ #20348]
19116         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
19117         preadv64, pwrite64 and pwritev64.
19119 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
19121         [BZ #20350]
19122         * posix/tst-preadwrite.c: Renamed to ...
19123         * posix/tst-preadwrite-common.c: This.
19124         (PREAD): Removed.
19125         (PWRITE): Likewise.
19126         (STRINGIFY): Likewise.
19127         (STRINGIFY2): Likewise.
19128         (do_prepare): Make it static and remove function arguments.
19129         (do_test): Likewise.
19130         (PREPARE): Updated.
19131         (TEST_FUNCTION): New.
19132         (name): Make it static.
19133         (fd): Likewise.
19134         (do_prepare): Use create_temp_file.
19135         (do_test): Renamed to ...
19136         (do_test_with_offset): This.  Make it static and accept offset.
19137         Properly check return value of PWRITE and PREAD.  Return bytes
19138         read.  Don't close fd nor unlink name.
19139         * posix/tst-preadwrite.c: Rewrite.
19140         * posix/tst-preadwrite64.c: Likewise.
19142 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
19144         [BZ #20309]
19145         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
19146         -mtls-dialect=gnu2 works.
19147         * configure: Regenerated.
19148         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
19149         (tests): Add tst-gnu2-tls1.
19150         (modules-names): Add tst-gnu2-tls1mod.
19151         ($(objpfx)tst-gnu2-tls1): New.
19152         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
19153         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
19154         * elf/tst-gnu2-tls1.c: New file.
19155         * elf/tst-gnu2-tls1mod.c: Likewise.
19156         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
19157         bytes for push in the PLT entry to align the stack.
19159 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
19161         [BZ #20349]
19162         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
19164 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19166         [BZ #18707]
19167         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
19168         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
19170 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19172         * sysdeps/unix/sysv/linux/sysdep.h
19173         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
19174         guards.
19175         * misc/tst-preadvwritev-common.c: New file.
19176         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
19177         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
19178         a check for files larger than 2GB.
19180         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19181         (__ASSUME_OFF_DIFF_OFF64): Remove define.
19182         * sysdeps/unix/sysv/linux/pread.c
19183         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
19184         __OFF_T_MATCHES_OFF64_T.
19185         * sysdeps/unix/sysv/linux/pread64.c
19186         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
19187         * sysdeps/unix/sysv/linux/preadv.c
19188         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
19189         * sysdeps/unix/sysv/linux/preadv64.c
19190         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
19191         * sysdeps/unix/sysv/linux/pwrite.c
19192         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
19193         * sysdeps/unix/sysv/linux/pwrite64.c
19194         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
19195         * sysdeps/unix/sysv/linux/pwritev.c
19196         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
19197         * sysdeps/unix/sysv/linux/pwritev64.c
19198         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
19200 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
19202         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19203         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
19205 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
19207         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
19209 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
19211         [BZ #20240]
19212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
19213         (CFLAGS-s_modf-ppc32.c): New variable.
19214         (CFLAGS-s_modff-ppc32.c): Likewise.
19215         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19216         (CFLAGS-s_modf-ppc64.c): Likewise.
19217         (CFLAGS-s_modff-ppc64.c): Likewise.
19219 2016-07-07  Andreas Schwab  <schwab@suse.de>
19221         [BZ #20263]
19222         * nptl/tst-robust10.c: New test.
19223         * nptl/Makefile (tests): Add tst-robust10.
19225 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
19227         [BZ #20263]
19228         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
19230 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
19232         * sysdeps/s390/linkmap.h (struct link_map_machine):
19233         Remove member gotplt and add member jmprel.
19234         * sysdeps/s390/s390-32/dl-machine.h
19235         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
19236         instead of gotplt with &got[3].
19237         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
19238         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19240 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
19242         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
19244 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19246         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
19247         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
19248         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19249         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
19250         * libio/vtables.c (_IO_vtable_check)
19251         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19252         * libio/libioP.h (IO_set_accept_foreign_vtables)
19253         [!PTR_MANGLE]: Do not call PTR_MANGLE.
19255 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
19257         [BZ #20314]
19258         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
19259         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
19260         $(common-objpfx)cmath.
19261         ($(common-objpfx)cstdlib): New target.
19262         ($(common-objpfx)cmath): Likewise.
19264 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
19266         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
19268 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19270         [BZ #20327]
19271         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
19272         are not part of the string.
19274 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19276         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
19277         * nptl/tst-cancel4-common.h (fifoname): New variable.
19278         (fifofd): Likewise.
19279         (cl_fifo): New function.
19280         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
19281         SIGINT.
19282         (tf_open): Add early cancel test.
19284 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
19286         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
19288 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
19290         * sysdeps/generic/ldsodefs.h
19291         (dl_symbol_visibility_binds_local_p): New inline function.
19292         * elf/dl-addr.c (determine_info): Treat hidden and internal
19293         symbols as local.
19294         * elf/dl-lookup.c (do_lookup_x): Likewise.
19295         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
19297 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
19299         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
19300         invalid exception for a sNaN input.
19301         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19302         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
19303         (__nearbyint_vis3): Likewise
19304         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
19305         (__nearbyintf_vis3): Likewise
19306         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
19307         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19308         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
19309         Likewise.
19310         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
19311         Likewise.
19313 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
19315         [BZ #20139]
19316         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
19317         (HAVE_AVX512DQ_ASM_SUPPORT): This.
19318         * sysdeps/x86_64/configure.ac: Require assembler from binutils
19319         2.24 or above.
19320         (HAVE_AVX512_ASM_SUPPORT): Removed.
19321         (HAVE_AVX512DQ_ASM_SUPPORT): New.
19322         * sysdeps/x86_64/configure: Regenerated.
19323         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
19324         check unconditional.
19325         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19326         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19327         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19328         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
19329         Likewise.
19330         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19331         Likewise.
19332         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
19333         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
19334         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19335         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19336         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19337         Likewise.
19338         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19339         Likewise.
19340         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19341         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19342         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
19343         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
19344         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
19345         Likewise.
19346         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
19347         Likewise.
19348         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
19349         Likewise.
19350         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
19351         Likewise.
19352         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
19353         Likewise.
19354         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
19355         Likewise.
19356         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
19357         Likewise.
19358         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
19359         Likewise.
19360         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
19361         Likewise.
19362         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
19363         Likewise.
19364         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
19365         Likewise.
19367 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
19369         [BZ #20024]
19370         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
19371         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
19372         of this implementation of vector function.
19373         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19374         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19375         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
19376         Likewise.
19377         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19378         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19379         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
19380         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
19381         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
19382         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
19383         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
19384         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
19385         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
19386         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
19387         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
19388         for testing vector sincos with fixed ABI.
19389         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19390         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19391         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19392         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19393         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19394         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19395         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19396         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
19397         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
19398         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
19399         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
19400         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
19401         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
19402         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
19403         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19404         * sysdeps/x86_64/fpu/Makefile: Added new tests.
19406 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
19408         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
19410 2016-06-30  Anton Blanchard  <anton@samba.org>
19412         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19413         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
19414         s_sinf-ppc64.
19415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
19416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
19417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
19418         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
19420 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19423         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19424         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
19425         e_expf-ppc64.
19426         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
19427         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
19428         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
19429         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
19431 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
19433         [BZ #20277]
19434         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
19435         when SHARED is defined.
19437 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
19439         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
19440         (index_arch_Prefer_ERMS): Likewise.
19441         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
19442         __memcpy_erms for Prefer_ERMS.
19443         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19444         (__memmove_erms): Enabled for libc.a.
19445         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
19446         __memmove_erms or Prefer_ERMS.
19447         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
19448         __mempcpy_erms for Prefer_ERMS.
19449         * sysdeps/x86_64/multiarch/memset.S (memset): Return
19450         __memset_erms for Prefer_ERMS.
19452 2016-06-30  Andreas Schwab  <schwab@suse.de>
19454         [BZ #20262]
19455         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
19456         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
19457         of memory.
19459 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
19461         [BZ #18645]
19462         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
19463         (test-extras): Add tst-cleanupx4aux.
19464         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
19465         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
19466         tst-cleanupx4aux.o.
19467         * nptl/tst-cleanupx4aux.c: New file.
19469 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
19471         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19473 2016-06-29  Andreas Schwab  <schwab@suse.de>
19475         [BZ #20260]
19476         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
19477         address before the beginning of the string as an integer to avoid
19478         array-bounds warning.
19480 2016-06-28  Richard Henderson  <rth@redhat.com>
19482         * elf/elf.h (EM_BPF): New.
19483         (EM_NUM): Update.
19484         (R_BPF_NONE, R_BPF_MAP_FD): New.
19486         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
19487         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
19488         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
19489         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
19490         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
19491         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
19492         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
19493         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
19494         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
19495         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
19496         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
19497         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
19498         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
19499         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
19500         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
19501         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
19502         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
19503         (EM_NUM): Update.
19505 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
19507         [BZ #18960]
19508         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
19509         Set _nl_current_LC_CATEGORY_used to two instead of one.
19511 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
19513         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
19514         (do_test): ... this.
19515         (TEST_FUNCTION): New macro.
19516          Include test-skeleton.c.
19517         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
19518         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
19520 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
19522         [BZ #15479]
19523         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
19524         floating-point environment rather than just control word.
19525         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19526         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
19527         floating-point environment, with "invalid" exceptions merged in,
19528         rather than just control word.
19529         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
19530         * math/libm-test.inc (trunc_test_data): Do not allow spurious
19531         "inexact" exceptions.
19533         [BZ #15479]
19534         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
19535         floating-point environment rather than just control word.
19536         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19537         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
19538         floating-point environment, with "invalid" exceptions merged in,
19539         rather than just control word.
19540         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
19541         * math/libm-test.inc (floor_test_data): Do not allow spurious
19542         "inexact" exceptions.
19544         [BZ #15479]
19545         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
19546         floating-point environment rather than just control word.
19547         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19548         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
19549         floating-point environment, with "invalid" exceptions merged in,
19550         rather than just control word.
19551         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
19552         * math/libm-test.inc (ceil_test_data): Do not allow spurious
19553         "inexact" exceptions.
19555 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
19557         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
19558         __libc_vfork.
19559         (__vfork) [IS_IN (libc)]: Remove alias.
19560         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
19561         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19562         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19564 2016-06-24  Torvald Riegel  <triegel@redhat.com>
19566         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
19567         of atomic_compare_and_exchange_bool_rel.
19568         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19569         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
19570         catomic_compare_and_exchange_bool_rel): Remove.
19571         * sysdeps/aarch64/atomic-machine.h
19572         (atomic_compare_and_exchange_bool_rel): Likewise.
19573         * sysdeps/alpha/atomic-machine.h
19574         (atomic_compare_and_exchange_bool_rel): Likewise.
19575         * sysdeps/arm/atomic-machine.h
19576         (atomic_compare_and_exchange_bool_rel): Likewise.
19577         * sysdeps/mips/atomic-machine.h
19578         (atomic_compare_and_exchange_bool_rel): Likewise.
19579         * sysdeps/microblaze/atomic-machine.h
19580         ( __arch_compare_and_exchange_bool_8_rel,
19581         __arch_compare_and_exchange_bool_16_rel): Likewise.
19582         * sysdeps/powerpc/atomic-machine.h
19583         ( __arch_compare_and_exchange_bool_8_rel,
19584         __arch_compare_and_exchange_bool_16_rel): Likewise.
19585         * sysdeps/powerpc/powerpc32/atomic-machine.h
19586         ( __arch_compare_and_exchange_bool_32_rel,
19587         __arch_compare_and_exchange_bool_64_rel): Likewise.
19588         * sysdeps/powerpc/powerpc64/atomic-machine.h
19589         ( __arch_compare_and_exchange_bool_32_rel,
19590         __arch_compare_and_exchange_bool_64_rel): Likewise.
19591         * sysdeps/tile/atomic-machine.h
19592         (atomic_compare_and_exchange_bool_rel): Likewise.
19594 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
19596         [BZ #20296]
19597         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
19598         when either argument is a NaN.
19599         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19600         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
19602         * math/libm-test.inc (snan_value_ld): New macro.
19603         (isgreater_test_data): Add sNaN tests.
19604         (isgreaterequal_test_data): Likewise.
19605         (isless_test_data): Likewise.
19606         (islessequal_test_data): Likewise.
19607         (islessgreater_test_data): Likewise.
19608         (isunordered_test_data): Likewise.
19609         (nextafter_test_data): Likewise.
19610         (nexttoward_test_data): Likewise.
19611         (remainder_test_data): Likewise.
19612         (remquo_test_data): Likewise.
19613         (significand_test_data): Likewise.
19614         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
19616 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
19618         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
19619         environment macros are defined.
19620         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
19622 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19624         [BZ #20191]
19625         Implement vtable verification in libio.
19626         * Makerules (shlib.lds): Place __libc_IO_vtables section.
19627         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
19628         * debug/vdprintf_chk.c (__vdprintf_chk): Call
19629         _IO_new_file_init_internal instead of _IO_file_init.
19630         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
19631         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
19632         * libio/Makefile (routines): Add vtables.
19633         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
19634         (_IO_init): Remove, not for internal use.
19635         (_IO_init_internal): Declare, internal replacement for _IO_init.
19636         (_IO_file_init): Remove, not for internal use.
19637         (_IO_new_file_init): Remove, not for internal use.
19638         (_IO_new_file_init_internal): Declare, internal replacement for
19639         _IO_new_file_init.
19640         (_IO_old_file_init): Remove, not for internal use.
19641         (_IO_old_file_init_internal): Declare, internal replacement for
19642         _IO_old_file_init.
19643         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
19644         internal use.
19645         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
19646         Declare.
19647         (libio_vtable): New macro.
19648         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
19649         functions.
19650         * libio/fileops.c (_IO_new_file_init_internal): Rename from
19651         _IO_new_file_init.
19652         (_IO_new_file_init): New externally visible wrapper which disables
19653         vtable verification.
19654         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
19655         Define as vtables.
19656         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
19657         (_IO_init): New externally visible wrapper which disables
19658         vtable verification.
19659         * libio/iofdopen.c (_IO_new_fdopen): Call
19660         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
19661         comment.
19662         * libio/iofopen.c (__fopen_internal): Call
19663         _IO_new_file_init_internal instead of _IO_file_init.
19664         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
19665         Define as vtables.
19666         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
19667         _IO_new_file_init_internal instead of _IO_file_init.
19668         * libio/iopopen.c (_IO_new_popen): Likewise.
19669         (_IO_proc_jumps): Define as vtable.
19670         * libio/iovdprintf.c (_IO_vdprintf): Call
19671         _IO_new_file_init_internal instead of _IO_file_init.
19672         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
19673         (__open_memstream): Call _IO_init_internal instead of _IO_init.
19674         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
19675         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
19676         _IO_old_file_init.
19677         (_IO_old_file_init): New externally visible wrapper which disables
19678         vtable verification.
19679         (_IO_old_file_jumps): Define as vtable.
19680         * libio/oldiofdopen.c (_IO_old_fdopen): Call
19681         _IO_old_file_init_internal instead of _IO_old_file_init.
19682         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19683         * libio/oldiopopen.c (_IO_old_popen): Likewise.
19684         (_IO_old_proc_jumps): Define as vtable.
19685         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
19686         Define as vtables.
19687         * libio/vtables.c: New file.
19688         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
19689         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
19690         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
19691         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
19692         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
19693         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
19694         instead of _IO_init.
19696 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19698         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
19700 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19702         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
19703         potentially unused.
19705 2016-06-22  Florian Weimer  <fweimer@redhat.com>
19707         * test-skeleton.c (write_message): New function.
19708         * malloc/tst-mallocfork2.c (write_message): Remove.
19709         * debug/tst-longjmp_chk2.c (write_indented): New function.
19710         (write_message): Remove.
19711         (stackoverflow_handler): Call write_indented.
19713 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
19715         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
19716         "inexact" exceptions after fnstenv.
19717         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19718         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19719         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19721 2015-06-22  Zack Weinberg  <zackw@panix.com>
19723         * sysdeps/generic/bits/hwcap.h: Moved to ...
19724         * bits/hwcap.h: Here.
19726 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
19728         * sysdeps/aarch64/memcpy.S (memcpy):
19729         Further tuning for performance.
19731 2016-06-21  Florian Weimer  <fweimer@redhat.com>
19733         [BZ #20284]
19734         * malloc/arena.c (reused_arena): Do not return NULL if we start
19735         out with a non-corrupted arena.
19737 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19739         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
19740         * misc/tst-preadvwritev.c: New file.
19741         * misc/tst-preadvwritev64.c: Likewise.
19742         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
19743         usage.
19744         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
19745         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
19746         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
19747         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
19749 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
19751         [BZ #19654]
19752         * sysdeps/x86_64/fpu/Makefile: Added new tests.
19753         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
19754         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
19755         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
19756         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
19757         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
19758         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
19759         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
19760         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
19761         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
19762         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
19763         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
19764         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
19765         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
19766         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
19767         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
19768         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
19769         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
19770         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
19771         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
19772         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
19773         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
19774         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
19775         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
19776         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
19777         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
19779 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
19781         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
19782         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
19784 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
19786         * sysdeps/aarch64/memcpy.S (memcpy):
19787         Rewrite of optimized memcpy and memmove.
19788         * sysdeps/aarch64/memmove.S (memmove): Remove
19789         memmove code (merged into memcpy.S).
19791 2016-06-20  Florian Weimer  <fweimer@redhat.com>
19793         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
19794         * sysdeps/generic/dl-dtv.h: New file.
19795         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19796         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
19797         (dtv_t): Remove.
19798         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19799         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
19800         (dtv_t): Remove.
19801         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19802         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
19803         (dtv_t): Remove.
19804         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19805         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
19806         (dtv_t): Remove.
19807         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19808         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
19809         (dtv_t): Remove.
19810         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19811         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
19812         (dtv_t): Remove.
19813         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19814         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
19815         (dtv_t): Remove.
19816         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
19817         (dtv_t): Remove.
19818         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19819         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
19820         (dtv_t): Remove.
19821         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19822         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
19823         (dtv_t): Remove.
19824         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19825         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
19826         (dtv_t): Remove.
19827         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19828         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
19829         (dtv_t): Remove.
19830         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19831         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
19832         (dtv_t): Remove.
19833         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19834         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
19835         (dtv_t): Remove.
19836         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19837         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
19838         (dtv_t): Remove.
19839         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19840         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
19841         (dtv_t): Remove.
19843 2016-06-20  Florian Weimer  <fweimer@redhat.com>
19845         Revert symbol poisoning of  __malloc_initialize_hook.
19846         * include/stdc-predef.h (__malloc_initialize_hook): Remove
19847         poisoning.
19848         * malloc/Makefile: Remove un-poisoning.
19849         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
19850         instead of old__malloc_initialize_hook.
19851         * malloc/malloc-hooks.h: Likewise.
19852         * malloc/malloc.c: Likewise.
19853         * malloc/mcheck-init.c: Likewise.
19855 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
19857         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
19859 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
19861         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
19862         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
19863         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19864         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19866 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19868         * NEWS: Mention addition of nextup and nextdown.
19869         * manual/arith.texi: Document nextup and nextdown.
19870         * manual/libm-err-tab.pl: Add nextup and nextdown.
19871         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
19872         * math/Versions (libm): Add GLIBC_2.24.
19873         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
19874         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19875         Add new test.
19876         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
19877         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
19878         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
19879         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
19880         (nextup_test_data): Likewise.
19881         (nextdown_test_data): Likewise.
19882         * math/s_nextdown.c: New file.
19883         * math/s_nextdownf.c: Likewise.
19884         * math/s_nextdownl.c: Likewise.
19885         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
19886         F(nextup): New function.
19887         F(nextdown): Likewise.
19888         * math/tgmath.h: Add nextup and nextdown.
19889         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
19890         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
19891         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
19892         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
19893         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
19894         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
19895         Add nextup and nextdown.
19896         (CFLAGS-nldbl-nextup.c): New variable.
19897         (CFLAGS-nldbl-nextdown.c): Likewise.
19898         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
19899         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
19900         * sysdeps/nacl/libm.abilist: Update.
19901         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19902         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19903         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19904         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19905         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19906         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19907         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19908         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19909         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19910         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19911         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19912         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19915         Likewise.
19916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19918         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19919         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19920         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19921         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19922         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
19924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
19925         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19926         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19927         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
19928         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19930 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19932         * manual/pattern.texi: Fix typos & grammar errors.
19934 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19936         * manual/search.texi: Fix typos & grammar errors.
19938 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19940         * manual/message.texi: Fix typos & grammar errors.
19942 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
19944         * manual/contrib.texi: Fix spelling typos.
19945         * manual/crypt.texi: Likewise.
19946         * manual/filesys.texi: Likewise.
19947         * manual/locale.texi: Likewise.
19948         * manual/message.texi: Likewise.
19949         * manual/nss.texi: Likewise.
19950         * manual/string.texi: Likewise.
19952 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19954         * manual/locale.texi: Fix typos & grammar errors.
19956 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19958         * manual/charset.texi: Fix typos & grammar errors.
19960 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19962         * manual/string.texi: Fix typos.
19964 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19966         * manual/ctype.texi: Fix typos.
19968 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19970         * manual/memory.texi: Fix various typos & grammar errors.
19972 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
19974         [BZ #20255]
19975         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
19976         * math/libm-test.inc (fdim_test_data): Add another test.
19978         [BZ #6796]
19979         [BZ #20255]
19980         [BZ #20256]
19981         * math/s_fdim.c: Include <math_private.h>.
19982         (__fdim): Use math_narrow_eval on result.
19983         * math/s_fdimf.c: Include <math_private.h>.
19984         (__fdimf): Use math_narrow_eval on result.
19985         * sysdeps/i386/fpu/s_fdim.S: Remove file.
19986         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
19987         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
19988         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
19989         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
19990         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
19991         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
19992         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
19993         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
19994         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
19995         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
19996         * math/libm-test.inc (fdim_test_data): Expect errno setting on
19997         overflow.  Add sNaN tests.
19999         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
20000         fpclassify.
20001         * math/s_fdimf.c (__fdimf): Likewise.
20002         * math/s_fdiml.c (__fdiml): Likewise.
20004 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20006         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20007         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
20008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20009         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
20010         ifunc'ed strcasecmp/strncasecmp.
20011         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
20012         [EALIGN]: Removed.
20013         [END]: Likewise.
20014         [__strcasecmp]: Define instead of the above to control symbol name.
20015         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
20016         for __strcasecmp_power8.
20017         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
20018         for __strncasecmp_power8.
20019         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
20020         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
20021         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
20022         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
20023         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
20024         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
20026 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
20028         [BZ #20252]
20029         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
20030         arguments when second argument is a NaN.
20031         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
20032         qNaN tests.
20034         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
20035         (conj_test_data): Likewise.
20036         (copysign_test_data): Likewise.
20037         (creal_test_data): Likewise.
20038         (fma_test_data): Likewise.
20039         (fmod_test_data): Likewise.
20041         [BZ #20250]
20042         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
20043         itself.
20044         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
20045         zero input to itself.
20046         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
20047         Likewise.
20048         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
20049         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
20050         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20051         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
20052         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
20054 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20056         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
20057         * nptl/tst-cancel4-common.c: New file.
20058         * nptl/tst-cancel4-common.h: Likewise.
20059         * nptl/tst-cancel4.c: Move common definitions to
20060         tst-cancel4-common.{c,h} file.
20061         * nptl/tst-cancel4_1.c: New test.
20062         * nptl/tst-cancel4_2.c: New test.
20064 2016-06-13  Florian Weimer  <fweimer@redhat.com>
20066         [BZ #20248]
20067         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
20068         (write_message): New function.
20069         (stackoverflow_handler): Call it instead of printf, to avoid
20070         excessive stack usage by printf.
20071         (do_test): Restore SIGSEGV, SIGBUS default handlers.
20073 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20075         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
20076         (prio_inherit_missing): Remove define.
20077         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20078         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20079         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
20080         Likewise.
20081         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20082         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20083         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20084         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20085         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20086         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20088 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20090         [BZ #19670]
20091         [BZ #19672]
20093         * io/test-lfs.c (do_prepare): Use xmalloc.
20094         * io/tst-fcntl.c (do_prepare): Likewise.
20095         * libio/tst-fopenloc.c (do_bz17916): Likewise.
20096         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
20097         * login/tst-utmp.c (do_prepare): Likewise.
20098         * posix/tst-exec.c (do_prepare): Likewise.
20099         * posix/tst-pathconf.c (prepare): Likewise.
20100         * posix/tst-spawn.c (do_prepare): Likewise.
20101         * posix/tst-truncate.c (do_prepare): Likewise.
20102         * rt/tst-aio.c (do_prepare): Likewise.
20103         * rt/tst-aio64.c (do_prepare): Likewise.
20105 2016-06-11  Florian Weimer  <fweimer@redhat.com>
20107         [BZ #20237]
20108         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
20109         (get*ent): Set entidx to NULL during initialization.  If entidx is
20110         NULL, start iteration from the beginning.
20112 2016-06-11  Florian Weimer  <fweimer@redhat.com>
20114         * malloc/malloc.c (musable): Return correct size for dumped fake
20115         mmapped chunk.
20117 2016-06-11  Florian Weimer  <fweimer@redhat.com>
20119         [BZ #20222]
20120         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
20121         (_IO_cookie_write): Likewise.
20122         (_IO_cookie_seek): Likewise.
20123         (_IO_cookie_close): Likewise.
20124         (_IO_old_cookie_seek): Likewise.
20125         (set_callbacks): New function.
20126         (_IO_cookie_init): Call set_callbacks to copy callbacks.
20128 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
20130         * locale/programs/localedef.c (oldstyle_tables): Remove.
20131         * locale/programs/localedef.h (oldstyle_tables): Likewise.
20133 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
20135         [BZ #20240]
20136         * math/Makefile (CFLAGS-s_modf.c): New variable.
20137         (CFLAGS-s_modff.c): Likewise.
20138         (CFLAGS-s_modfl.c): Likewise.
20139         * math/libm-test.inc (modf_test_data): Add sNaN tests.
20141 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
20143         [BZ #20215]
20144         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
20145         [!__GNUC_PREREQ (3,2)]: Likewise.
20147 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
20149         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
20150         (msghdr.msg_controllen): Likewise.
20151         (cmsghdr.cmsg_len): Likewise.
20152         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
20153         ptw-oldsendmsg.
20154         (CFLAGS-oldrecvmsg.c): Remove rule.
20155         (CFLAGS-oldsendmsg.c): Likewise.
20156         (CFLAGS-recvmsg.c): Add rule.
20157         (CFLAGS-sendmsg.c): Likewise.
20158         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
20159         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
20160         (CFLAGS-recvmsg.c): Remove rule.
20161         (CFLAGS-sendmsg.c): Likewise.
20162         (CFLAGS-oldrecvmsg.c): Likewise.
20163         (CFLAGS-oldsendmsg.c): Likewise.
20164         (CFLAGS-recvmmsg.c): Likewise.
20165         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
20166         to kernel defined interfaces.
20167         (msghdr.msg_controllen): Likewise.
20168         (cmsghdr.cmsg_len): Likewise.
20169         (msghdr.__glibc_reserved1): Remove member.
20170         (msghdr.__glibc_reserved2): Likewise.
20171         (cmsghdr.__glibc_reserved1): Likewise.
20172         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
20173         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
20174         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20175         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
20176         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
20177         version.
20178         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20179         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
20180         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20181         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
20182         Remove recvmsg and sendmsg.
20183         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
20184         Likewise.
20185         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20186         Likewise.
20187         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20188         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20189         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20190         Likewise.
20191         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20192         Likewise.
20193         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
20194         [libc] (GLIBC_2.24): Likewise.
20195         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20196         Likewise.
20197         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20198         Likewise.
20199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20200         [libc] (GLIBC_2.24): Likewise.
20201         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20202         Likewise.
20203         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
20204         Likewise.
20205         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
20206         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20207         Likewise.
20208         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20209         Likewise.
20210         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20211         Likewise.
20212         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
20213         Likewise.
20214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
20215         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
20216         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
20217         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
20218         version for {recv,send,recm,sendm}msg.
20219         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20220         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20221         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20222         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20223         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20224         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20225         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20226         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20227         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20228         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20229         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20230         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20232         Likewise.
20233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20234         Likewise.
20235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20237         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20238         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20239         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20240         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20241         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20242         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20245         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20246         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20247         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20249 2016-06-10  Florian Weimer  <fweimer@redhat.com>
20251         [BZ #19564]
20252         Remove __malloc_initialize_hook from the API.
20253         * malloc/malloc.h (__malloc_initialize_hook): Remove.
20254         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
20255         #pragma GCC poison.
20256         * malloc/malloc-hooks.h: New file.
20257         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
20258         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
20259         (old__malloc_initialize_hook): Rename from
20260         __malloc_initialize_hook to evade poisoning.  Turn into compat
20261         symbol.
20262         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
20263         __malloc_initialize_hook.
20264         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
20265         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
20266         * manual/memory.texi (Hooks for Malloc): Remove
20267         __malloc_initialize_hook.  Adjust hook example.
20269 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
20271         [BZ #20235]
20272         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
20273         itself.
20274         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20275         * math/libm-test.inc (log2_test_data): Add sNaN tests.
20277         [BZ #20234]
20278         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
20279         infinity or NaN input to itself.
20281         [BZ #20233]
20282         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
20283         to itself.
20285         [BZ #20232]
20286         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
20287         itself.
20289 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
20291         * sysdeps/x86_64/start.S (_start): Always indirect branch to
20292         __libc_start_main via GOT.
20294 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
20296         * sysdeps/x86_64/memcopy.h: New file.
20297         * sysdeps/x86_64/wordcopy.c: Likewise.
20299 2016-06-09  Florian Weimer  <fweimer@redhat.com>
20301         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
20302         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
20303         <cstdlib>.
20304         (optimization_barrier): New.
20305         (do_test): Use it.  Call quick_exit in the global namespace.
20306         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
20307         instead of <cstdlib>, <thread>.
20308         (optimization_barrier): New.
20309         (non_main_thread): Adjust declaration.  Call optimization_barrier.
20310         Call quick_exit in the global namespace.
20311         (do_test): Call optimization_barrier.  Use pthread_create,
20312         pthread_join instead of std::thread.
20314 2016-06-09  Andreas Schwab  <schwab@suse.de>
20316         [BZ #19755]
20317         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
20318         new entries in auto-propagate mode.
20319         * nscd/grpcache.c (cache_addgr): Likewise.
20321 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20323         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
20324         New functions.
20325         (add_temp_file): Use them.
20327 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
20329         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
20331 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
20333         [BZ #20229]
20334         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
20335         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
20336         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
20338         [BZ #20228]
20339         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
20340         itself.
20341         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20342         * math/libm-test.inc (log10_test_data): Add sNaN tests.
20344         [BZ #20227]
20345         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
20346         itself.
20347         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20348         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20349         * math/libm-test.inc (log_test_data): Add sNaN tests.
20351         [BZ #20226]
20352         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
20353         itself.
20354         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20355         * math/libm-test.inc (exp_test_data): Add sNaN tests.
20356         (exp10_test_data): Likewise.
20357         (expm1_test_data): Likewise.
20359         [BZ #20225]
20360         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
20361         itself.
20362         * math/s_ldexpf.c (__ldexpf): Likewise.
20363         * math/s_ldexpl.c (__ldexpl): Likewise.
20364         * math/w_scalbln.c (__w_scalbln): Likewise.
20365         * math/w_scalblnf.c (__w_scalblnf): Likewise.
20366         * math/w_scalblnl.c (__w_scalblnl): Likewise.
20367         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
20368         (scalbln_test_data): Likewise.
20370         [BZ #20224]
20371         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
20372         argument to itself.
20373         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
20375 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
20377         [BZ #19776]
20378         * sysdeps/x86_64/memcpy.S: Make it dummy.
20379         * sysdeps/x86_64/mempcpy.S: Likewise.
20380         * sysdeps/x86_64/memmove.S: New file.
20381         * sysdeps/x86_64/memmove_chk.S: Likewise.
20382         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
20383         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
20384         * sysdeps/x86_64/memmove.c: Removed.
20385         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20386         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20387         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
20388         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20389         Likewise.
20390         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20391         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20392         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20393         memcpy-sse2-unaligned, memmove-avx-unaligned,
20394         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
20395         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20396         (__libc_ifunc_impl_list): Replace
20397         __memmove_chk_avx512_unaligned_2 with
20398         __memmove_chk_avx512_unaligned.  Remove
20399         __memmove_chk_avx_unaligned_2.  Replace
20400         __memmove_chk_sse2_unaligned_2 with
20401         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
20402         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
20403         with __memmove_avx512_unaligned.  Replace
20404         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
20405         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
20406         with __memcpy_chk_avx512_unaligned.  Remove
20407         __memcpy_chk_avx_unaligned_2.  Replace
20408         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
20409         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
20410         Replace __memcpy_avx512_unaligned_2 with
20411         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
20412         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
20413         with __mempcpy_chk_avx512_unaligned.  Remove
20414         __mempcpy_chk_avx_unaligned_2.  Replace
20415         __mempcpy_chk_sse2_unaligned_2 with
20416         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
20417         Replace __mempcpy_avx512_unaligned_2 with
20418         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
20419         Replace __mempcpy_sse2_unaligned_2 with
20420         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
20421         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
20422         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
20423         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
20424         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
20425         (ENTRY): Removed.
20426         (END): Likewise.
20427         (ENTRY_CHK): Likewise.
20428         (libc_hidden_builtin_def): Likewise.
20429         Don't include ../memcpy.S.
20430         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
20431         __memcpy_chk_avx512_unaligned_erms and
20432         __memcpy_chk_avx512_unaligned.  Use
20433         __memcpy_chk_avx_unaligned_erms and
20434         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20435         Default to __memcpy_chk_sse2_unaligned.
20436         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20437         Change function suffix from unaligned_2 to unaligned.
20438         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
20439         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
20440         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
20441         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
20442         (ENTRY): Removed.
20443         (END): Likewise.
20444         (ENTRY_CHK): Likewise.
20445         (libc_hidden_builtin_def): Likewise.
20446         Don't include ../mempcpy.S.
20447         (mempcpy): New.  Add a weak alias.
20448         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
20449         __mempcpy_chk_avx512_unaligned_erms and
20450         __mempcpy_chk_avx512_unaligned.  Use
20451         __mempcpy_chk_avx_unaligned_erms and
20452         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20453         Default to __mempcpy_chk_sse2_unaligned.
20455 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
20457         [BZ #19881]
20458         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
20459         into ...
20460         * sysdeps/x86_64/memset.S: This.
20461         (__bzero): Removed.
20462         (__memset_tail): Likewise.
20463         (__memset_chk): Likewise.
20464         (memset): Likewise.
20465         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
20466         defined.
20467         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
20468         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
20469         (__memset_zero_constant_len_parameter): Check SHARED instead of
20470         PIC.
20471         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20472         memset-avx2 and memset-sse2-unaligned-erms.
20473         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20474         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
20475         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
20476         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20477         (__bzero): Enabled.
20478         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
20479         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
20480         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
20481         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
20482         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20483         (memset): Removed.
20484         (__memset_chk): Likewise.
20485         (MEMSET_SYMBOL): New.
20486         (libc_hidden_builtin_def): Replace __memset_sse2 with
20487         __memset_sse2_unaligned.
20488         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
20489         __memset_chk_sse2 and __memset_chk_avx2 with
20490         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
20491         Use __memset_chk_sse2_unaligned_erms or
20492         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
20493         __memset_chk_avx512_unaligned_erms and
20494         __memset_chk_avx512_unaligned.
20496 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20498         * math/gen-auto-libm-test.c (fp_format_desc): remove
20499         suffix member.
20500         (output_generic_value): Remove usage of suffix member,
20501         and the resulting unuse of the fp_format argument.
20502         (output_for_one_input_case): Remove unused fp_format
20503         parameter.
20505         * math/auto-libm-test-out: Regenerate.
20507         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
20508         usage with TEST_COND_ibm128.
20509         (TEST_COND_flt_32): Remove.
20510         (TEST_COND_dbl_64): Remove.
20511         (TEST_COND_ldbl_96_intel): Remove.
20512         (TEST_COND_ldbl_96_m68k): Remove.
20513         (TEST_COND_ldbl_128): Remove.
20515 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20517         * auto-libm-test-in:
20518         Replace flt-32 usage with binary32.
20519         Replace dbl-64 usage with binary64.
20520         Replace ldbl-intel-96 usage with intel96.
20521         Replace ldbl-m68k-96 usage with m68k96.
20522         Replace ldbl-128ibm usage with ibm128.
20523         Replace ldbl-128 usage with binary128.
20525         * auto-libm-test-out: Regenerate.
20527 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20529         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
20530         (parse_ulps): Dynamically generate type name matching
20531         string from all_floats.
20532         (get_ulps): Generate the ulps as an array instead.
20533         (output_ulps): Dynamically compose the type based
20534         on the number of supported formats, and print
20535         the indices as type specific helper macros.
20537         * math/libm-test.inc: Remove comment about CHOOSE.
20538         (ulp_data): Generate the type in libm-test-ulps.h.
20539         (ULP_IDX): New macro.
20540         (find_ulps): Update usage of max_ulp.
20542         * math/test-double-vlen2.h (CHOOSE): Remove.
20543         * math/test-double-vlen4.h (CHOOSE): Likewise.
20544         * math/test-double-vlen8.h (CHOOSE): Likewise.
20545         * math/test-float.c (CHOOSE): Likewise.
20546         * math/test-float-finite.c (CHOOSE): Likewise.
20547         * math/test-double.c (CHOOSE): Likewise.
20548         * math/test-double-finite.c (CHOOSE): Likewise.
20549         * math/test-idouble.c (CHOOSE): Likewise.
20550         * math/test-ifloat.c (CHOOSE): Likewise.
20551         * math/test-ildoubl.c (CHOOSE): Likewise.
20552         * math/test-ldouble-finite.c (CHOOSE): Likewise.
20553         * math/test-ldouble.c (CHOOSE): Likewise.
20555         * math/test-float.h (TEST_FLOAT): Remove.
20556         * math/test-double.h (TEST_DOUBLE): Likewise.
20557         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
20559 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20561         * math/gen-libm-test.pl: (apply_lit): New subroutine.
20562         (parse_args): Strip C suffix from floating point literals
20563         typed with 'f' and wrap them with LIT().
20565         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
20566         (test_ff_f_data_nexttoward): Rename to
20567         (test_fj_f_data): New struct.
20568         (nexttoward_test_data): Relabel tests as
20569         TEST_fj_f instead of TEST_ff_f.
20571 2016-06-08  Florian Weimer  <fweimer@redhat.com>
20573         Emacs bug 23726.
20574         * malloc/malloc.c (dumped_main_arena_start): Update comment.
20575         (__libc_realloc): Correct size computation for dumped fake mmapped
20576         chunks.
20578 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
20580         [BZ #20219]
20581         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
20582         to itself.
20583         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
20585         [BZ #20218]
20586         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
20587         to itself.
20588         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
20590 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
20592         [BZ #20195]
20593         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
20594         check to ...
20595         (init_cpu_features): Here.
20597 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
20599         [BZ #20214]
20600         * sysdeps/unix/sysv/linux/bits/in.h
20601         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20602          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
20603         Define to 1.
20604         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20605          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
20606         Define to 0.
20607         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
20608         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
20610 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
20612         [BZ #20198]
20613         * stdlib/Makefile (tests): Add tst-quick_exit, and
20614         tst-thread-quick_exit.
20615         [ifeq ($(have-cxx-thread_local),yes)]
20616         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
20617         (CFLAGS-tst-thread-quick_exit.o): Likewise.
20618         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
20619         (LDLIBS-tst-thread-quick_exit): Likewise.
20620         [ifneq ($(have-cxx-thread_local),yes)]
20621         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
20622         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
20623         If run_dtors is true call __call_tls_dtors.
20624         (exit): Call __run_exit_handlers with run_dtors set to true.
20625         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
20626         definition.
20627         * stdlib/quick_exit.c (quick_exit): Remove function.
20628         (__new_quick_exit): New function.
20629         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
20630         function.
20631         * stdlib/tst-quick_exit.cc: New file.
20632         * stdlib/tst-thread-quick_exit.cc: New file.
20633         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
20634         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
20635         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
20636         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
20637         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
20638         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
20639         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
20640         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
20641         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
20642         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
20643         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
20644         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
20645         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
20646         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
20647         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
20648         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
20650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
20651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
20652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
20653         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
20654         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
20655         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
20656         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
20657         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
20658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
20659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
20660         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
20661         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
20662         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
20664 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
20666         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
20667         a typo in comments.
20669 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
20671         [BZ #20213]
20672         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
20673         argument to itself.
20674         * math/libm-test.inc (asin_test_data): Add sNaN tests.
20676 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20678         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
20679         required flags.
20680         (CFLAGS-pwritev64.c): Likewise.
20681         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
20682         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20683         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
20684         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20685         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
20686         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
20687         syscall from auto-generation.
20688         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
20689         [WORDSIZE == 64] (pwritev64): Remove macro.
20690         [!PWRITEV] (PWRITEV): Likewise.
20691         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20692         [!PWRITEV] (PWRITE): Likewise.
20693         [!PWRITEV] (OFF_T): Likewise.
20694         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20695         (LO_HI_LONG): Remove macro.
20696         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
20697         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
20698         (PWRITEV): Remove macro.
20699         (PWRITEV_REPLACEMENTE): Likewise.
20700         (PWRITE): Likewise.
20701         (OFF_T): Likewise.
20702         (pwritev64): New function.
20703         * nptl/tst-cancel4.c (tf_writev): Add test.
20705         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
20706         required flags.
20707         (CFLAGS-preadv64.c): Likewise.
20708         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
20709         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20710         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
20711         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
20712         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
20713         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
20714         syscall from auto-generation.
20715         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
20716         [WORDSIZE == 64] (preadv64): Remove macro.
20717         [!PREADV] (PREADV): Likewise.
20718         [!PREADV] (PREADV_REPLACEMENT): Likewise.
20719         [!PREADV] (PREAD): Likewise.
20720         [!PREADV] (OFF_T): Likewise.
20721         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
20722         (LO_HI_LONG): Remove macro.
20723         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
20724         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
20725         (PREADV): Remove macro.
20726         (PREADV_REPLACEMENTE): Likewise.
20727         (PREAD): Likewise.
20728         (OFF_T): Likewise.
20729         (preadv64): New function.
20730         * nptl/tst-cancel4.c (tf_preadv): Add test.
20732 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
20734         [BZ #20212]
20735         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
20736         argument to itself.
20737         * math/libm-test.inc (acos_test_data): Add sNaN tests.
20739 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20741         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
20742         New symbol defined as libc_hidden_def.
20743         (strcasestr): Became a weak alias to __strcasestr.
20744         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
20745         according to multi-arch support.  Move __stpncpy hidden
20746         definition from here to...
20747         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
20748         symbol stpncpy.
20749         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
20750         libc_hidden_builtin_def.
20751         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
20752         memset symbol to use when multi-arch support is available.
20754 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
20756         * dlfcn/tst-rec-dlopen.c: Include string.h.
20758 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20760         * manual/install.texi: Remove mention of --without-tls
20761         * INSTALL: Regenerate.
20763 2016-06-05  Florian Weimer  <fweimer@redhat.com>
20765         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
20766         Remove.
20767         (call_function, interposed_malloc_called): New variables.
20768         (malloc): New function.
20769         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
20770         and clear call_function as needed.
20772 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
20774         * include/wchar.h (__wmemset): Use __typeof.
20776 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
20778         * include/wchar.h (__wmemset): Declare function without typeof.
20780 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
20782         [BZ #20205]
20783         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
20784         exponent when incrementing negative subnormal with low mantissa
20785         word zero.
20786         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20787         Add another test.
20789 2016-06-03  Florian Weimer  <fweimer@redhat.com>
20791         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
20792         __wmemset instead of wmemset.
20794 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
20796         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
20797         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
20798         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
20799         __USE_KERNEL_IPV6_DEFS to 0.
20800         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
20801         Update comment.
20803 2016-06-01  Florian Weimer  <fweimer@redhat.com>
20805         [BZ #19861]
20806         Do not use IFUNC resolver with potentially unrelocated symbol.
20807         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
20808         (DEFINE_FORK): Remove macro and inline definition.
20809         (fork_alias): Renamed from fork_ifunc.
20810         (__fork_alias): Renamed from __fork_ifunc.
20812 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
20814         [BZ 19653]
20815         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
20816         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
20818 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20820         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
20821         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
20822         i386-linux-gnu).
20823         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
20824         Set to no.
20825         * sysdeps/mach/hurd/configure: Refresh.
20827 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20829         [BZ #20178]
20830         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
20831         on failure instead of exit.
20833 2016-05-30  Roland McGrath  <roland@hack.frob.com>
20835         [BZ #3629]
20836         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
20837         of POSIX.1-2008.
20839 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20841         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
20842           Use PLT entry for calling _hurd_self_sigstate.
20844 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
20846         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
20847         available logical processors with SMT level type sharing L2
20848         cache for Intel processors.
20850 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
20852         [BZ #20160]
20853         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
20854         argument to itself before returning the result.
20855         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
20856         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
20857         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
20858         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20859         Likewise.
20860         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20861         Likewise.
20862         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
20863         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
20864         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20865         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20866         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
20867         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
20869         [BZ #20160]
20870         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
20871         argument to itself before returning the result.
20872         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
20873         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
20874         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
20875         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
20876         Likewise.
20877         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20878         Likewise.
20879         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
20880         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
20881         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
20882         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20883         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
20884         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
20886 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20888         * libm-test.inc: Replace usage of M_El with
20889         (lit_e): New macro.
20891 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20893         * libm-test.inc: Replace usage of M_PI_4l with
20894         (lit_pi_4_d): New macro.
20896 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20898         * libm-test.inc: Replace usage of M_PIl with
20899         (lit_pi): New macro.
20901 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20903         * libm-test.inc: Replace usage of M_PI2l with
20904         (lit_pi_2_d): New macro.
20906         * math/test-double.h (LITM): New macro.
20907         * math/test-float.h (LITM): Likewise.
20908         * math/test-ldouble.h (LITM): Likewise.
20910 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20912         * libm-test.inc (M_PI_34l): Rename to
20913         (lit_pi_3_m_4_d): New Macro.
20914         (M_PI_34_LOG10El): Rename to
20915         (lit_pi_3_m_4_ln10_m_d): New Macro.
20916         (M_PI2_LOG10El): Rename to
20917         (lit_pi_2_ln10_m_d):  New Macro.
20918         (M_PI4_LOG10El): Rename to
20919         (lit_pi_4_ln10_m_d):  New Macro.
20920         (M_PI_LOG10El): Rename to
20921         (lit_pi_ln10_d):  New Macro.
20923 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
20925         [BZ #20157]
20926         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
20927         determine whether to negate low half if [_ARCH_PPCGR], and integer
20928         comparison otherwise.
20929         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
20930         determine whether to negate low half.
20932         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
20933         (NO_TEST_INLINE_DOUBLE): Likewise.
20934         (TEST_COND_x86_64): Likewise.
20935         (TEST_COND_x86): Likewise.
20936         (M_PI_6l): Likewise.
20938 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20940         * math/libm-test.inc:
20941         (TEST_FLOAT): Change usage to TEST_COND_binary32.
20942         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
20943         (TEST_LDOUBLE): Update usage to evaluate as true if
20944         the guarded tests match the property being tested.
20945         (LDBL_MAX_EXP): Change to MAX_EXP.
20946         (LDBL_MIN_EXP): Change to MIN_EXP.
20947         (LDBL_MANT_DIG): Change to MANT_DIG, except for
20948         nexttoward tests.
20950 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20952         * math/libm-test.inc:
20953         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
20954         (TYPE_MIN): Likewise.
20955         (TYPE_TRUE_MIN): Likewise.
20956         (TYPE_MAX): Likewise.
20957         (MIN_EXP): Likewise.
20958         (MAX_EXP): Likewise.
20959         (MANT_DIG): Likewise.
20961         (FSTR_MAX): New macro.
20962         (__CONCATX): Likewise.
20963         (QTYPE_STR): Likewise.
20964         (TEST_COND_binary32): Likewise.
20965         (TEST_COND_binary64): Likewise.
20966         (TEST_COND_binary128): Likewise.
20967         (TEST_COND_ibm128): Likewise.
20968         (TEST_COND_intel96): Likewise.
20969         (TEST_COND_m68k96): Likewise.
20971         (TEST_COND_flt_32): Redefine as equivalent format test macro.
20972         (TEST_COND_dbl_64): Likewise.
20973         (TEST_COND_ldbl_96_intel): Likewise.
20974         (TEST_COND_ldbl_96_m68k): Likewise.
20975         (TEST_COND_ldbl_128): Likewise.
20976         (TEST_COND_ldbl_128ibm): Likewise.
20978         (plus_zero): Redefine using LIT macro.
20979         (minus_zero): Likewise.
20980         (plus_infty): Redefine as (INF).
20981         (minux_infty): Redefine as (-INF).
20982         (max_value): Redefine as TYPE_MAX.
20983         (min_value): Redefine as TYPE_MIN.
20984         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
20986         (print_float): Refactor to use snprintf to convert FLOAT values
20987         to string. This brings it closer to dropin replacement of strtof
20988         for the TS 18661 defined types.
20989         (update_stats): Likewise.
20990         (print_complex_function_ulps): Likewise.
20991         (print_max_error): Likewise.
20992         (print_complex_max_error): Likewise.
20993         (check_float_internal): Likewise.
20995         * math/test-float.h (PREFIX): New macro.
20996         (LIT): Likewise.
20997         (TYPE_STR): Likewise.
20998         (FTOSTR): Likewise.
21000         * math/test-double.h (PREFIX): New macro.
21001         (LIT): Likewise.
21002         (TYPE_STR): Likewise.
21003         (FTOSTR): Likewise.
21005         * math/test-ldouble.h (PREFIX): New macro.
21006         (LIT): Likewise.
21007         (TYPE_STR): Likewise.
21008         (FTOSTR): Likewise.
21010 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
21012         [BZ #20156]
21013         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
21014         to itself when zero or not finite.
21015         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
21016         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21017         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
21018         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
21020 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
21022         [BZ #20153]
21023         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
21024         x * x + x for infinities and NaNs.
21026         [BZ #20151]
21027         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
21028         argument to itself before returning result.
21029         (__ieee754_y0l): Likewise.
21030         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21031         (__ieee754_y1l).
21033         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
21034         (atan_test_data): Likewise.
21035         (ceil_test_data): Likewise.
21036         (cos_test_data): Likewise.
21037         (cosh_test_data): Likewise.
21038         (erf_test_data): Likewise.
21039         (exp2_test_data): Likewise.
21040         (fabs_test_data): Likewise.
21041         (floor_test_data): Likewise.
21042         (ilogb_test_data): Likewise.
21043         (j0_test_data): Likewise.
21044         (j1_test_data): Likewise.
21045         (jn_test_data): Likewise.
21046         (lgamma_test_data): Likewise.
21047         (lrint_test_data): Likewise.
21048         (llrint_test_data): Likewise.
21049         (logb_test_data): Likewise.
21050         (lround_test_data): Likewise.
21051         (llround_test_data): Likewise.
21052         (nearbyint_test_data): Likewise.
21053         (rint_test_data): Likewise.
21054         (round_test_data): Likewise.
21055         (sin_test_data): Likewise.
21056         (sincos_test_data): Likewise.
21057         (sinh_test_data): Likewise.
21058         (sqrt_test_data): Likewise.
21059         (tan_test_data): Likewise.
21060         (tanh_test_data): Likewise.
21061         (tgamma_test_data): Likewise.
21062         (trunc_test_data): Likewise.
21063         (y0_test_data): Likewise.
21064         (y1_test_data): Likewise.
21065         (yn_test_data): Likewise.
21067         * math/libm-test.inc: Update comment about NaN testing.
21068         (TEST_SNAN): New macro.
21069         (snan_value): Likewise.
21070         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
21071         (fpclassify_test_data): Add sNaN tests.
21072         (isfinite_test_data): Likewise.
21073         (isinf_test_data): Likewise.
21074         (isnan_test_data): Likewise.
21075         (isnormal_test_data): Likewise.
21076         (issignaling_test_data): Likewise.
21077         (signbit_test_data): Likewise.
21078         * math/gen-libm-test.pl (%beautify): Add snan_value.
21079         (show_exceptions): Add argument $test_snan.
21080         (parse_args): Handle snan_value as non-finite.  Update call to
21081         show_exceptions.
21082         * math/Makefile (libm-test-no-inline-cflags): Add
21083         -fsignaling-nans.
21085 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21087         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
21088         (CFLAGS-oldsendmsg.c): Add rule.
21089         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
21090         Correct recvmsg symbol name.
21091         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
21092         Likewise.
21094 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21096         * sysdeps/unix/sysv/linux/Makefile
21097         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
21098         oldsendmmsg.
21099         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
21100         sendmmsg.
21101         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21102         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21103         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21104         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21106         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21107         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21109         Likewise.
21110         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21111         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
21112         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
21113         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
21114         iovlen and controllen fields to adjust to POSIX specification.
21115         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21117         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
21118         and change to correct expected type.
21119         (msghdr.msg_controllen): Likewise.
21120         (cmsghdr.cmsg_len): Likewise.
21121         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
21122         expected POSIX assumption about the size.
21123         (msghdr.msg_controllen): Likewise.
21124         (msghdr.__glibc_reserved1): Likewise.
21125         (msghdr.__glibc_reserved2): Likewise.
21126         (cmsghdr.cmsg_len): Likewise.
21127         (cmsghdr.__glibc_reserved1): Likewise.
21128         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
21129         Add ptw-oldrecvmsg and ptw-oldsendmsg.
21130         (CFLAGS-sendmsg.c): Remove rule.
21131         (CFLAGS-recvmsg.c): Likewise.
21132         (CFLAGS-oldsendmsg.c): Add rule.
21133         (CFLAGS-oldrecvmsg.c): Likewise.
21134         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
21135         recvmsg and sendmsg.
21136         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
21137         Likewise.
21138         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
21139         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
21140         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
21141         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
21142         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
21143         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
21144         Likewise.
21145         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
21146         Likewise.
21147         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
21148         Likewise.
21149         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
21150         Likewise.
21151         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
21152         Likewise.
21153         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
21154         Likewise.
21155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
21156         (GLIBC_2.24): Likewise.
21157         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
21158         Likewise.
21159         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
21160         Likewise.
21161         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
21162         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
21163         Likewise.
21164         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
21165         Likewise.
21166         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
21167         Likewise.
21168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
21169         (GLIBC_2.24): Likewise.
21170         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
21171         Likewise.
21172         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
21173         Likewise.
21174         * sysdeps/unix/sysv/linux/Makefile
21175         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
21176         (CFLAGS-sendmsg.c): Add rule.
21177         (CFLAGS-recvmsg.c): Likewise.
21178         (CFLAGS-oldsendmsg.c): Likewise.
21179         (CFLAGS-oldrecvmsg.c): Likewise.
21180         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
21181         initialization.
21182         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
21183         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
21184         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
21185         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
21186         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
21187         iovlen and controllen fields to adjust to POSIX specification.
21188         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
21189         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
21190         added recvmsg and sendmsg.
21191         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21192         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21193         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21194         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21195         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21196         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21197         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21198         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21199         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
21200         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21201         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21202         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
21203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21204         Likewise.
21205         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
21206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21207         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21208         Likewise.
21209         Likewise.
21210         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21211         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21212         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21213         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21214         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21215         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
21217         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
21219         Likewise.
21220         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21221         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21223         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
21224         from auto-generation.
21225         (sendmsg): Likewise.
21226         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
21227         (sendmsg): Likewise.
21228         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
21229         (sendmsg): Likewise.
21230         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
21231         (sendmsg): Likewise.
21232         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
21233         (sendmsg): Likewise.
21234         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
21235         (sendmsg): Likewise.
21236         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
21237         Likewise.
21238         (sendmsg): Likewise.
21239         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
21240         (sendmsg): Likewise.
21241         * sysdeps/unix/sysv/linux/i386/kernel-features.h
21242         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21243         Remove.
21244         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21245         Likewise.
21246         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21247         Undefine.
21248         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21249         Likewise.
21250         * sysdeps/unix/sysv/linux/kernel-features.h
21251         (__ASSUME_SENDMSG_SYSCALL): Define.
21252         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21253         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21254         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21255         Remove.
21256         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21257         Likewise.
21258         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21259         Undefine.
21260         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21261         Likewise.
21262         * sysdeps/unix/sysv/linux/s390/kernel-features.h
21263         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21264         Remove.
21265         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21266         Likewise.
21267         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21268         Undefine.
21269         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21270         Likewise.
21271         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21272         (__ASSUME_SENDMSG_SYSCALL): Undefine.
21273         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21274         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21275         (__ASSUME_SENDMSG_SYSCALL): Likewise.
21276         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21277         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21278         (__ASSUME_SENDMSG_SYSCALL): Likewise.
21279         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21281 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21283         * stdlib/gen-tst-strtod-round.c: Add backslash to
21284         compile command in comment.
21285         (printfp): Remove the literal suffix, and define an infinite
21286         value as INF to avoid expansion clash with INFINITY.
21287         (round_str): Remove the literal suffix.
21288         (round_for_all): Likewise, remove the now duplicate ldbl-64
21289         entry, and remove some magic constants.
21291         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
21292         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
21293         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
21294         (_CONCAT): New macro.
21295         (CONCAT): Likewise.
21296         (CHOOSE_ld): Likewise.
21297         (CHOOSE_f): Likewise.
21298         (CHOOSE_d): Likewise.
21299         (FTYPE_MEMBER): Likewise.
21300         (BOOL_MEMBER): Likewise.
21301         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
21302         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
21303         (_XNTRY): Likewise.
21304         (XNTRY): Likewise.
21305         (_ENTRY): Likewise.
21306         (ENTRY): Likewise.
21307         (test_exactness): Generate members via macro.
21308         (test_results): Likewise.
21309         (test): Update members.
21310         (TEST): Redefine using new macros.
21311         (INF): New macro.
21312         (fetestmodes): New structure.
21313         (do_test): Refactor to be type generic.
21314         (test_in_one_mode): Refactor duplicate code into
21315         (GEN_ONE_TEST): New macro.
21317         * stdlib/tst-strtod-round-data.h: Regenerate.
21319         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
21320         Extend to pass additional arbitrary parameters to
21321         generators.
21323 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
21325         [BZ #15479]
21326         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
21327         floating-point state after first floating-point operation on
21328         input.  Restore full floating-point state instead of just rounding
21329         mode.
21330         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
21331         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
21332         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
21333         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
21334         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
21336         [BZ #15479]
21337         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
21338         floating-point state after first floating-point operation on
21339         input.  Restore full floating-point state instead of just rounding
21340         mode.
21341         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
21342         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21343         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
21344         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21345         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21347 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21349         [BZ #19727]
21350         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
21351         valid high surrogate.
21352         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
21353         of an utf16 surrogate.
21354         * iconv/gconv_simple.c (BODY): Likewise.
21355         * iconvdata/bug-iconv12.c: New file.
21356         * iconvdata/Makefile (tests): Add bug-iconv12.
21358 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21360         [BZ #19726]
21361         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
21362         outptrp in case of an illegal input.
21363         * iconv/tst-iconv6.c: New file.
21364         * iconv/Makefile (tests): Add tst-iconv6.
21366 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21368         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
21369         an error in case of a value in range of an utf16 low surrogate.
21371 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21373         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
21374         an error in case of a value in range of an utf16 low surrogate.
21376 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21378         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
21379         Move to ...
21380         * sysdeps/s390/Makefile: ... here.
21381         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
21382         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
21383         (BRANCH_ON_COUNT): New define.
21384         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
21385         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
21386         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
21387         run on s390-32, too.
21388         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
21389         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
21390         run on s390-32, too.
21391         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
21392         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
21393         run on s390-32, too.
21395 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21397         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
21398         etf3eh or new vector loop-variant.
21400 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21402         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
21403         etf3eh or new vector loop-variant.
21405 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21407         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
21408         or new vector loop-variant.
21410 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21412         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
21413         Rename to TR_LOOP and usage of tr instead of troo instruction.
21415 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21417         * sysdeps/s390/multiarch/gconv_simple.c: New File.
21418         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
21420 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21422         * sysdeps/s390/multiarch/8bit-generic.c: New File.
21423         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
21424         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
21425         New override define.
21426         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
21428 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21430         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
21431         * sysdeps/s390/configure.ac: Add test for S390 vector register
21432         support in gcc.
21433         * sysdeps/s390/configure: Regenerated.
21435 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21437         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
21438         Install file from $(objpfx)gconv-modules.
21439         ($(objpfx)gconv-modules): Concatenate architecture specific file
21440         in variable sysdeps-gconv-modules and gconv-modules in src dir.
21441         * sysdeps/s390/gconv-modules: New file.
21442         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
21443         Deleted.
21444         ($(objpfx)gconv-modules-s390): Deleted.
21445         (sysdeps-gconv-modules): New variable.
21447 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
21449         [BZ #15479]
21450         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
21451         of immediate operand to rounding instruction.
21452         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
21453         Likewise.
21454         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
21455         Likewise.
21456         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
21457         Likewise.
21459 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21461         * math/libm-test.inc (MIN_EXP): Directly define as
21462         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
21464 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21466         * math/libm-test.inc (MANT_DIG): Directly define as
21467         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
21469 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21471         * stdlib/gen-tst-strtod-round.c (main):
21472           Change usage to more closely match the generated
21473           output.  Add usage and compilation instructions.
21474           (string_to_fp): Add and use FILE* parameter as
21475           output target.
21476           (print_fp): Likewise.
21477           (round_str): Likewise.
21478           (round_for_all): Likewise.
21479         * stdlib/tst-strtod-round.c (tests): Move into
21480         * stdlib/tst-strtod-round-data.h: New file.
21482 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
21484         [BZ #15479]
21485         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
21486         (__round): Do not force "inexact" exception.
21487         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
21488         variable.
21489         (__round): Do not force "inexact" exception.
21490         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
21491         (__roundf): Do not force "inexact" exception.
21492         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
21493         (__roundl): Do not force "inexact" exception.
21494         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
21495         (__roundl): Do not force "inexact" exception.
21496         * math/libm-test.inc (round_test_data): Do not allow spurious
21497         "inexact" exceptions.
21499         [BZ #15479]
21500         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
21501         exception in comment.
21502         (huge): Remove variable.
21503         (__floor): Do not force "inexact" exception.
21504         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
21505         "inexact" exception in comment.
21506         (huge): Remove variable.
21507         (__floor): Do not force "inexact" exception.
21508         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
21509         exception in comment.
21510         (huge): Remove variable.
21511         (__floorf): Do not force "inexact" exception.
21512         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
21513         exception in comment.
21514         (huge): Remove variable.
21515         (__floorl): Do not force "inexact" exception.
21517         [BZ #15479]
21518         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
21519         exception in comment.
21520         (huge): Remove variable.
21521         (__ceil): Do not force "inexact" exception.
21522         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
21523         "inexact" exception in comment.
21524         (huge): Remove variable.
21525         (__ceil): Do not force "inexact" exception.
21526         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
21527         (__ceilf): Do not force "inexact" exception.
21528         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
21529         exception in comment.
21530         (huge): Remove variable.
21531         (__ceill): Do not force "inexact" exception.
21533 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
21535         * config.h.in (BIND_NOW): New.
21536         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
21537         * configure: Regenerated.
21538         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
21539         indirect branch via the GOT slot.
21541 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21543         [BZ #19765]
21544         * sysdeps/s390/mempcpy.S: New File.
21545         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
21546         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
21547         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21548         Add mempcpy variants.
21549         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
21550         (memcpy): Adjust to be usable from mempcpy entry point.
21551         (__memcpy_mvcle): Likewise.
21552         * sysdeps/s390/s390-64/memcpy.S: Likewise.
21553         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
21554         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
21555         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
21556         (__memcpy_z10): Likewise.
21557         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21559 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21561         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
21562         Remove __GI_ symbol.
21563         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
21564         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
21565         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
21566         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21567         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
21568         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
21570 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21572         * sysdeps/s390/s390-64/memcpy.S (memcpy):
21573         Use cghi instead of chi to compare 64bit value.
21575 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21577         * sysdeps/s390/s390-32/memcpy.S (memcpy):
21578         Jump to 1MB check before executing mvc-loop.
21580 2016-05-24  Florian Weimer  <fweimer@redhat.com>
21582         [BZ #6527]
21583         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
21584         unconditionally.
21585         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
21587 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21589         * stdlib/tst-strtod6.c (do_test): Use new type generic
21590         invocation of the test function.
21591         (test): Refactor into ...
21592         (TEST_STRTOD): New macro base function.
21594 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21596         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
21597         (TEST_STRTOD): New macro.
21598         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
21600 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21602         * stdlib/tst-strtod6.c (do_test): Use new type generic
21603         invocation of the test function.
21604         (test): Refactor into ...
21605         (TEST_STRTOD): New macro base function.
21607 2016-05-23  Florian Weimer  <fweimer@redhat.com>
21609         CVE-2016-4429
21610         [BZ #20112]
21611         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
21612         payload.
21614 2016-05-23  Florian Weimer  <fweimer@redhat.com>
21616         [BZ #20111]
21617         * bits/sockaddr.h (_SS_SIZE): Define.
21618         * bits/socket.h (_SS_SIZE): Remove.
21619         (_SS_PADSIZE): Adjust to account for all padding.
21620         (struct sockaddr_storage): Update comment.  Avoid implicit
21621         padding.
21622         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
21623         (_SS_PADSIZE): Adjust to account for all padding.
21624         (struct sockaddr_storage): Update comment.  Avoid implicit
21625         padding.
21626         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
21627         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
21628         (_SS_PADSIZE): Adjust to account for all padding.
21629         (struct sockaddr_storage): Update comment.  Avoid implicit
21630         padding.
21631         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
21632         __SS_SIZE is 126 in this version.
21633         * inet/tst-sockaddr.c: New file.
21634         * inet/Makefile (tests): Add tst-sockaddr.c
21635         (tst-sockaddr.c): Compile with non-strict aliasing.
21637 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
21639         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
21640         [XPG3 || XPG4].
21641         (NL_ARGMAX): Also expect for [XPG3].
21642         (NL_LANGMAX): Likewise.
21643         (NL_MSGMAX): Likewise.
21644         (NL_NMAX): Likewise.
21645         (NL_SETMAX): Likewise.
21646         (NL_TEXTMAX): Likewise.
21647         (NZERO): Likewise.
21648         (TMP_MAX): Likewise.
21649         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
21650         variable.
21652         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
21653         (PF_MAX): Update value.
21654         (AF_KCM): New macro.
21655         (SOL_NETBEUI): Likewise.
21656         (SOL_LLC): Likewise.
21657         (SOL_DCCP): Likewise.
21658         (SOL_NETLINK): Likewise.
21659         (SOL_TIPC): Likewise.
21660         (SOL_RXRPC): Likewise.
21661         (SOL_PPPOL2TP): Likewise.
21662         (SOL_BLUETOOTH): Likewise.
21663         (SOL_PNPIPE): Likewise.
21664         (SOL_RDS): Likewise.
21665         (SOL_IUCV): Likewise.
21666         (SOL_CAIF): Likewise.
21667         (SOL_ALG): Likewise.
21668         (SOL_NFC): Likewise.
21669         (SOL_KCM): Likewise.
21670         (MSG_BATCH): New enum value and macro.
21672 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
21674         [BZ #18185]
21675         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
21676         sharing L2 cache to 2 for Knights Landing.
21678 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
21680         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
21681         (FTW_DP): Do not expect for [XPG3 || XPG4].
21682         (FTW_SL): Do not expect for [XPG3].
21683         (FTW_SLN): Likewise.
21684         (FTW_PHYS): Likewise.
21685         (FTW_MOUNT): Likewise.
21686         (FTW_DEPTH): Likewise.
21687         (FTW_CHDIR): Likewise.
21688         (nftw): Likewise.
21689         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
21690         variable.
21692 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
21694         * manual/errno.texi: Fix various typos & grammar errors.
21696 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
21698         * manual/intro.texi: Fix duplicated typo.
21700 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
21702         [BZ #13304]
21703         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
21704         <float.h>, <math_private.h> and <stdlib.h>.
21705         (add_split): New function.
21706         (mul_split): Likewise.
21707         (ext_val): New typedef.
21708         (store_ext_val): New function.
21709         (mul_ext_val): New function.
21710         (compare): New function.
21711         (add_split_ext): New function.
21712         (__fmal): After checking for Inf, NaN and zero, compute result as
21713         an exact sum of scaled double values in round-to-nearest before
21714         adding those up and adjusting for other rounding modes.
21715         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
21716         tests of fma.
21717         * math/auto-libm-test-out: Regenerated.
21719 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21721         [BZ #20119]
21722         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
21723         processor level type mask for CPUID with EAX == 11.
21725 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21727         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
21728         logical threads if the HTT bit is 0.
21729         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
21730         (index_cpu_HTT): Likewise.
21731         (reg_HTT): Likewise.
21733 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21735         [BZ #20115]
21736         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
21737         Remove alignments on jump targets.
21739 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
21741         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
21742         (getpwent): Likewise.
21743         (setpwent): Likewise.
21744         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
21745         variable.
21747         * conform/data/search.h-data (insque): Do not expect for [XPG3].
21748         (remque): Likewise.
21749         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
21750         variable.
21752 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
21754         * math/libm-test.inc: Update comment not to refer to signs of NaNs
21755         not being tested.
21757 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21759         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21760         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
21761         call.
21762         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21763         (__condvar_cleanup1): Likewise.
21765 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21767         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
21768         New
21769         (__pthread_unwind): Renamed to ...
21770         (PTHREAD_UNWIND): This.
21771         (__pthread_enable_asynccancel): Replace
21772         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
21774 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
21776         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
21777         (CLONE_NEWCGROUP): New macro.
21779         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
21780         (Q_GETNEXTQUOTA): New macro.
21782 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21784         [BZ #19907]
21785         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
21786         buffer updated by the previous run.
21787         * string/test-memcpy.c (do_one_test): Likewise.
21788         * benchtests/bench-memmove.c (do_one_test): Add a comment.
21789         * string/test-memmove.c (do_one_test): Likewise.
21791 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
21793         [BZ #20094]
21794         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
21795         not [__USE_XOPEN].
21796         (unlockpt): Likewise.
21797         (ptsname): Likewise.
21798         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
21799         variable.
21801         [BZ #20076]
21802         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
21803         instead of [__USE_UNIX98].
21804         (S_ISSOCK): Likewise.
21805         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
21806         variable.
21808         [BZ #20074]
21809         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
21810         [__USE_POSIX].
21811         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
21812         variable.
21814         [BZ #20051]
21815         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
21816         (ttyslot): Do not declare.
21817         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
21818         (ttyslot): New prototype.
21819         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
21820         variable.
21821         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21823 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21825         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
21827 2016-05-13  Florian Weimer  <fweimer@redhat.com>
21829         Fix race condition in tst-mallocfork2, use fewer resources.
21830         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
21831         to current process group.
21832         (signal_sender): Yield in the non-sleeping case.
21834 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
21836         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
21837         (ecvt): Likewise.
21838         (fcvt): Likewise.
21839         (gcvt): Likewise.
21840         (getsubopt): Likewise.
21841         (grantpt): Likewise.
21842         (initstate): Likewise.
21843         (l64a): Likewise.
21844         (mktemp): Likewise.
21845         (mkstemp): Likewise.
21846         (ptsname): Likewise.
21847         (random): Likewise.
21848         (realpath): Likewise.
21849         (setstate): Likewise.
21850         (srandom): Likewise.
21851         (ttyslot): Likewise.
21852         (unlockpt): Likewise.
21853         (valloc): Likewise.
21855         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
21856         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
21857         variable.
21859 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21861         [BZ #20072]
21862         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
21863         init_cpu_features only if SHARED is defined.
21864         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
21866 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21868         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
21869         non-inclusive caches on Intel processors.
21871 2016-05-13  Florian Weimer  <fweimer@redhat.com>
21873         * malloc/malloc.c (dumped_main_arena_start)
21874         (dumped_main_arena_end): New variables.
21875         (DUMPED_MAIN_ARENA_CHUNK): New macro.
21876         (do_check_chunk): Skip dumped fake mmapped chunks.
21877         (munmap_chunk): Likewise.
21878         (__libc_free): Do not adjust statistics for fake mmapped chunks.
21879         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
21880         mmapped chunks.
21881         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
21882         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
21883         and dumped_main_arena_end to cover the dumped heap.
21885 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
21887         * conform/data/time.h-data (getdate_err): Do not expect for
21888         [XPG3].
21889         (getdate): Likewise.
21890         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
21891         variable.
21893         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
21894         (F_ULOCK): Likewise.
21895         (F_TEST): Likewise.
21896         (F_TLOCK): Likewise.
21897         (useconds_t): Likewise.
21898         (intptr_t): Do not expect for [XPG3] or [XPG4].
21899         (brk): Do not expect for [XPG3]
21900         (fchown): Likewise.
21901         (fchdir): Likewise.
21902         (ftruncate): Likewise.
21903         (getdtablesize): Likewise.
21904         (gethostid): Likewise.
21905         (getpagesize): Likewise.
21906         (getpgid): Likewise.
21907         (getsid): Likewise.
21908         (getwd): Likewise.
21909         (lchown): Likewise.
21910         (lockf): Likewise.
21911         (readlink): Likewise.
21912         (sbrk): Likewise.
21913         (setpgrp): Likewise.
21914         (setregid): Likewise.
21915         (setreuid): Likewise.
21916         (symlink): Likewise.
21917         (sync): Likewise.
21918         (truncate): Likewise.
21919         (ualarm): Likewise.
21920         (usleep): Likewise.
21921         (vfork): Likewise.
21922         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
21923         variable.
21925         [BZ #20054]
21926         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
21927         not [__USE_UNIX98].
21928         * conform/data/unistd.h-data (gethostname): Do not expect for
21929         [XPG3].
21931         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
21932         [!POSIX] (S_IFBLK): Likewise.
21933         [!POSIX] (S_IFCHR): Likewise.
21934         [!POSIX] (S_IFIFO): Likewise.
21935         [!POSIX] (S_IFREG): Likewise.
21936         [!POSIX] (S_IFDIR): Likewise.
21937         [!POSIX] (S_IFLNK): Likewise.
21938         [!POSIX] (S_IFSOCK): Likewise.
21939         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
21940         variable.
21941         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21943 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
21945         * sysdeps/aarch64/memset.S (__memset):
21946         Rewrite of optimized memset.
21948 2016-05-12  Florian Weimer  <fweimer@redhat.com>
21950         [BZ #19703]
21951         Partially async-signal-safe fork for single-threaded processes.
21952         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
21953         variable.  Do not acquire and reset/release malloc and libio locks
21954         in single-threaded processes.
21955         * malloc/tst-mallocfork2.c: New file.
21956         * malloc/Makefile (tests): Add it.
21958 2016-05-12  Florian Weimer  <fweimer@redhat.com>
21960         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
21961         argument.  Use scratch buffer instead of extend_alloca.
21962         (gethosts): Use scratch buffer instead of extend_alloca.
21963         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
21964         extend_alloca.
21965         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
21967 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
21969         [BZ #20055]
21970         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
21971         instead of [__USE_UNIX98].
21972         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
21973         [__USE_UNIX98].
21974         * conform/data/termios.h-data (tcgetsid): Do not expect for
21975         [XPG3].
21976         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
21977         variable.
21978         (test-xfail-XPG4/termios.h/conform): Likewise.
21980 2016-05-11  Florian Weimer  <fweimer@redhat.com>
21982         Do not use mcheck in localedef.
21983         * locale/programs/localedef.c (turn_on_mcheck)
21984         (__malloc_initialize_hook): Remove.
21986 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21988         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
21989         * sysdeps/s390/s390-64/Makefile: Likewise.
21991 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21993         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
21994         Remove ifunc-defines.sym.
21995         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
21996         Likewise.
21997         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
21998         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21999         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
22000         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
22001         rtld-global-offsets.sym.
22002         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
22003         * sysdeps/x86/cpu-features-offsets.sym: This.
22004         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
22005         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
22007 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
22009         [BZ #20073]
22010         * io/sys/stat.h (fchmod): Declare for
22011         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
22012         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
22013         variable.
22015         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
22016         [XPG3] (S_IFSOCK): Likewise.
22017         [XPG3] (S_ISVTX): Likewise.
22018         [XPG3] (S_ISLNK): Likewise.
22019         [XPG3] (S_ISSOCK): Likewise.
22020         [XPG3] (fchmod): Likewise.
22021         [XPG3] (lstat): Likewise.
22022         [XPG3] (mknod): Likewise.
22024         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
22025         [XPG3].  Expect type long and XFAIL for [XPG4].
22026         (st_blocks): Likewise.
22028         [BZ #20044]
22029         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
22030         (pthread_atfork): New prototype.
22031         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
22032         variable.
22034         [BZ #20043]
22035         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
22036         prototype.
22038 2016-05-10  Florian Weimer  <fweimer@redhat.com>
22040         [BZ #20017]
22041         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
22042         gmtime.
22044 2016-05-10  Florian Weimer  <fweimer@redhat.com>
22046         [BZ #19994]
22047         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
22048         flag in _res.options.
22050 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
22052         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
22053         [XPG3 || XPG4].
22054         (blksize_t): Likewise.
22055         (clockid_t): Likewise.
22056         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
22057         variable.
22058         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22060 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
22062         * sysdeps/unix/sysv/linux/s390/init-first.c:
22063         Add VDSO_SYMBOL(getcpu).
22064         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
22065         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
22066         Add VDSO_SYMBOL(getcpu).
22067         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
22068         New define HAVE_GETCPU_VSYSCALL.
22069         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22071 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
22073         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
22074         instead of <sysdeps/x86_64/cacheinfo.c>.
22075         * sysdeps/x86_64/cacheinfo.c: Moved to ...
22076         * sysdeps/x86/cacheinfo.c: Here.
22078 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22080         * malloc/malloc-internal.h: Adjust header file guard.
22082 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22084         [BZ #19787]
22085         * inet/getnameinfo.c (check_sprintf_result): New function.
22086         (CHECKED_SNPRINTF): New macro.
22087         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
22088         to the host buffer.
22089         (gni_host_local): Use checked_copy to copy the host name.
22090         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
22091         (gni_serv_local): Use checked_copy to copy the service name.
22092         (getnameinfo): Remove unnecessary truncation of result buffers.
22094 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22096         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
22097         in case of inet_ntop failure.
22099 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22101         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
22102         avoid long lines.
22103         (gni_host_inet_numeric): Likewise.  Reduce scope of local
22104         variables.
22105         (gni_host_inet, gni_host_local): Add comment.
22106         (gni_host): Add comment.  Use temporary to avoid long lines.
22108 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22110         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
22111         registers specifiers where general purpose registers specifiers should
22112         have been used.
22114 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22116         [BZ #19779]
22117         CVE-2016-1234
22118         Avoid copying names of directory entries.
22119         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
22120         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
22121         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
22122         (struct readdir_result): New type.
22123         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
22124         (GL_READDIR): New macros.
22125         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
22126         (convert_dirent, convert_dirent64): New functions.
22127         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
22128         convert_dirent64.  Adjust references to the readdir result.
22129         * sysdeps/unix/sysv/linux/i386/glob64.c:
22130         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
22131         * posix/bug-glob2.c (LONG_NAME): Define.
22132         (filesystem): Add LONG_NAME.
22133         (my_DIR): Increase the size of room_for_dirent.
22135 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
22137         [BZ #20041]
22138         * misc/sys/select.h (__need_timespec): Only define if
22139         [__USE_XOPEN2K].
22140         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
22141         variable.
22142         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22143         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22144         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22146 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22147             Segher Boessenkool  <segher@gcc.gnu.org>
22149         [BZ #20004]
22150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
22151         (__novec_swapcontext): Add missing load.
22153 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
22155         [BZ #20023]
22156         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
22157         <time.h>.
22158         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
22159         variable.
22160         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22162 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
22165         flags CLONE_VM compare.
22167 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22169         [BZ #20031]
22170         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
22171         completely empty.
22173 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22175         [BZ #19573]
22176         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
22177         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
22178         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
22179         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
22180         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
22181         (hesiod_free_list): Mark as hidden.
22182         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
22183         res_set, res_get.
22184         * hesiod/hesiod.c: Remove unnecessary forward declarations.
22185         (init, __hesiod_res_get, __hesiod_res_set): Remove.
22186         (hesiod_init): Remove obsolete res_ninit call.
22187         (hesiod_end): Do not free resolver state.  Do not invoke callback.
22188         (hesiod_bind): Do not call init.
22189         (get_txt_records): Use res_mkquery, res_send instead of
22190         res_nmkquery, res_nsend.
22191         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
22192         instead of _nss_hesiod_init.
22193         (_nss_hesiod_initgroups_dyn): Likewise.
22194         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
22195         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
22196         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
22198 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22200         * hesiod/hesiod_p.h (DEF_RHS): Remove.
22201         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
22203 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22205         * hesiod/hesiod.h: Remove RCS keyword.
22206         * hesiod/hesiod_p.h: Likewise.
22208         * hesiod/hesiod.c: Likewise.
22210 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
22212         [BZ #12450]
22213         * locale/iso-639.def: Add Samogitian/sgs.
22215 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
22217         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
22219         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
22221 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
22222             Carlos O'Donell  <carlos@redhat.com>
22224         [BZ #19072]
22225         * grp/Makefile (headers): Add grp-merge.h
22226         (routines): Add grp-merge.
22227         * grp/getgrgid_r.c: Include grp-merge.h.
22228         (DEEPCOPY_FN): Define.
22229         (MERGE_FN): Define.
22230         * grp/getgrname_r.c: Include grp-merge.h.
22231         (DEEPCOPY_FN): Define.
22232         (MERGE_FN): Define.
22233         * grp/grp-merge.c: New file.
22234         * grp/grp-merge.h: New file.
22235         * include/grp-merge.h: New file.
22236         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
22237         __copy_grp@GLIBC_PRIVATE.
22238         * manual/nss.texi (Actions in the NSS configuration): Describe
22239         return, continue, and merge.
22240         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
22241         (DEEPCOPY_FN): Define.
22242         (MERGE_FN): Define.
22243         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
22244         (DEEPCOPY_FN): Define.
22245         (MERGE_FN): Define.
22246         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
22247         [!MERGE_FN]: Define __merge_einval.
22248         (CHECK_MERGE): Define.
22249         (REENTRANT_NAME): Process merge if do_merge is true.
22250         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
22251         (__nss_getent_r): Likewise.
22252         * nss/nsswitch.c (nss_parse_service_list): Likewise.
22253         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
22255 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22257         [BZ #20012]
22258         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
22259         length to calculate the buffer to read.
22260         (fmemopen_write): Set the buffer position based on bytes written.
22261         (fmemopen_seek): Return EINVAL for invalid whence modes.
22263         [BZ #19957]
22264         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
22265         tst-getpid2.
22266         (test): Add tst-clone2.
22267         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
22268         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
22269         pid/tid fields for CLONE_VM.
22270         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
22271         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
22272         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
22273         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
22274         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22275         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22276         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22277         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22279         Likewise.
22280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22281         Likewise.
22282         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22283         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22284         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22285         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22286         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22287         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22288         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22289         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
22291 2016-04-29  Florian Weimer  <fweimer@redhat.com>
22293         [BZ #19642]
22294         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
22295         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
22296         (gni_serv_local, gni_serv): New functions extracted from
22297         getnameinfo.
22298         (getnameinfo): Call gni_host and gni_serv to perform the
22299         processing.  Always free scratch buffer.
22301 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22303         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
22304         remaining bytes in the dest string, with zeros.
22306 2016-04-29  Florian Weimer  <fweimer@redhat.com>
22308         [BZ #20010]
22309         CVE-2016-3706
22310         * sysdeps/posix/getaddrinfo.c
22311         (convert_hostent_to_gaih_addrtuple): New function.
22312         (gethosts): Call convert_hostent_to_gaih_addrtuple.
22313         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
22314         AF_INET data.
22316 2016-04-29  Florian Weimer  <fweimer@redhat.com>
22318         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
22319         callback function gl_readdir.
22320         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
22321         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
22322         (glob_in_dir): Remove len.  Use strdup instead of malloc and
22323         memcpy to copy the name.
22324         * manual/pattern.texi (Calling Glob): Document requirements for
22325         implementations of the gl_readdir callback function.
22326         * manual/examples/mkdirent.c: New example.
22327         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
22328         per the manual guidance.
22329         * posix/tst-gnuglob.c (my_readdir): Likewise.
22331 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
22333         [BZ #20014]
22334         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
22335         not [__USE_POSIX].
22336         (getchar_unlocked): Likewise.
22337         (putc_unlocked): Likewise.
22338         (putchar_unlocked): Likewise.
22339         (flockfile): Likewise.
22340         (ftrylockfile): Likewise.
22341         (funlockfile): Likewise.
22342         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
22343         variable.
22344         (test-xfail-XPG4/stdio.h/conform): Likewise.
22346         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
22347         Expect constant.
22348         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
22349         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
22350         variable.
22351         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22352         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22354         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
22355         [__USE_LARGEFILE64] (off64_t): Likewise.
22356         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
22357         variable.
22359 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22361         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
22363 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22365         * resolv/inet_addr.c: Reindent preprocessor conditionals.
22366         * resolv/res_init.c: Likewise.
22367         * resolv/res_mkquery.c: Likewise.
22369 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22371         * resolv/res_init.c (isascii): Do not define.  Use definition in
22372         <ctype.h>.
22373         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
22374         (LOG_AUTH): Remove.
22375         (SPRINTF): Remove, adjust caller.
22376         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
22378 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22380         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
22381         SUNSECURITY conditional.
22382         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
22384 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22386         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
22387         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
22388         Remove BSD-related preprocessor conditionals.
22389         * conf/portability.h: Remove.
22391 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22393         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
22394         * resolv/res_data.c: Likewise.
22396 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22398         * resolv/res_comp.c: Remove code conditional on __ultrix__.
22399         * resolv/res_data.c: Remove code conditional on ultrix.
22401 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22403         * resolv/res_init.c (RFC1535): Do not define.  Remove
22404         RFC1535 preprocessor conditionals.
22405         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
22406         because there configuration options which make the resolver
22407         behavior different.
22409 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22411         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
22412         RESOLVSORT preprocessor conditionals.
22413         * resolv/nss_dns/dns-host.c: Likewise.
22414         * resolv/res_init.c: Likewise.
22416 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22418         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
22419         is never defined.
22421 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22423         * inet/inet_lnaof.c: Remove SCSS keyword.
22424         * inet/inet_mkadr.c: Likewise.
22425         * inet/inet_net.c: Likewise.
22426         * inet/inet_netof.c: Likewise.
22427         * inet/rcmd.c: Likewise.
22428         * inet/rexec.c: Likewise.
22429         * inet/ruserpass.c: Likewise.
22431 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22433         * resolv/inet_addr.c: Remove _LIBC conditionals.
22434         * resolv/res_data.c: Likewise.
22435         * resolv/res_init.c: Likewise.
22436         * resolv/res_mkquery.c: Likewise.
22437         * resolv/res_libc.c: Update comment.
22438         * resolv/README: Update.
22440 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22442         * resolv/gethnamaddr.c: Remove SCSS keyword.
22443         * resolv/herror.c: Likewise.
22444         * resolv/inet_addr.c: Likewise.
22445         * resolv/inet_net_ntop.c: Likewise.
22446         * resolv/inet_net_pton.c: Likewise.
22447         * resolv/inet_neta.c: Likewise.
22448         * resolv/inet_ntop.c: Likewise.
22449         * resolv/inet_pton.c: Likewise.
22450         * resolv/ns_date.c: Remove RCS keyword.
22451         * resolv/ns_name.c: Likewise.
22452         * resolv/ns_netint.c: Likewise.
22453         * resolv/ns_parse.c: Likewise.
22454         * resolv/ns_print.c: Likewise.
22455         * resolv/ns_samedomain.c: Likewise.
22456         * resolv/ns_ttl.c: Likewise.
22457         * resolv/nsap_addr.c: Likewise.
22458         * resolv/res_comp.c: Remove SCSS and RCS keyword.
22459         * resolv/res_data.c: Remove RCS keyword.
22460         * resolv/res_debug.c: Remove SCSS and RCS keyword.
22461         * resolv/res_init.c: Likewise.
22462         * resolv/res_mkquery.c: Likewise.
22463         * resolv/res_query.c: Likewise.
22464         * resolv/res_send.c: Likewise.
22466 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
22468         * conform/data/stdio.h-data (fdopen): Expect also for
22469         [XPG3 || XPG4].
22471         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
22472         (fseeko): Likewise.
22473         (ftello): Likewise.
22474         (ftrylockfile): Likewise.
22475         (funlockfile): Likewise.
22476         (getc_unlocked): Likewise.
22477         (getchar_unlocked): Likewise.
22478         (putc_unlocked): Likewise.
22479         (putchar_unlocked): Likewise.
22481 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22483         [BZ #19868]
22484         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
22485         DNS packet syntax checks (which were not needed before).  Skip
22486         over non-PTR records.
22488 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22490         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
22491         definition.  Include <stddef.h> instead.
22493 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22495         [BZ #19831]
22496         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
22497         function.
22498         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
22499         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
22501 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22503         [BZ #19862]
22504         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
22505         (getanswer_r): Do not call syslog.
22506         (gaih_getanswer_slice): Likewise.
22507         * resolv/gethnamaddr.c (AskedForGot): Remove.
22508         (getanswer): Do not call syslog.
22509         (gethostbyaddr): Likewise.
22511 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
22513         * conform/data/signal.h-data (union sigval): Expect also if
22514         [XOPEN2K].
22515         (struct sigevent): Likewise.
22516         (SIGEV_NONE): Likewise.
22517         (SIGEV_SIGNAL): Likewise.
22518         (SIGEV_THREAD): Likewise.
22519         (SIGRTMIN): Likewise.
22520         (SIGRTMAX): Likewise.
22521         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
22522         variable.
22523         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22525 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22527         [BZ #19830]
22528         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
22529         (gaih_getanswer_slice): Likewise.
22530         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
22531         Also check for availability of RR metadata.
22533 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22535         [BZ #19825]
22536         * resolv/res_send.c (send_vc): Remove early *resplen2
22537         initialization.  Set *resplen2 on socket error.  Call
22538         close_and_return_error for other errors.
22540 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
22542         * sysdeps/unix/sysv/linux/netiucv/iucv.h
22543         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
22544         (SCM_IUCV_TRGCLS): New define.
22546 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22548         [BZ #20005]
22549         * libio/fmemopen.c (fmemopen_write): Update internal position after
22550         write.
22551         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
22552         * stdio-common/tst-fmemopen4.c: New file..
22554 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
22556         [BZ #19996]
22557         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
22558         not [__USE_XOPEN2K].
22559         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
22560         variable.
22562         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
22563         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
22564         variable.
22566         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
22567         [__USE_XOPEN2K8].
22568         [__USE_LARGEFILE64] (off64_t): Likewise.
22569         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
22570         variable.
22572 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
22574         [BZ #19989]
22575         * libio/stdio.h (cuserid): Do not declare if
22576         [__USE_XOPEN2K && !__USE_GNU].
22577         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
22578         variable.
22580 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22582         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22583         (sysdep_routines): Add P8 and PPC64 strcspn targets.
22584         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22585         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
22586         ifunc'ed strcspn.
22587         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22588         [EALIGN]: Removed.
22589         [END]: Likewise
22590         [STRSPN]: Define instead of the above to control symbol name.
22591         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
22592         New file.
22593         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
22594         Likewise.
22595         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
22596         Likewise.
22597         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
22598         Likewise.
22599         * sysdeps/powerpc/powerpc64/power8/strspn.S:
22600         [INITIAL_MASK]: New macro.
22601         [STRCSPN]: Likewise.
22602         [UPDATE_MASK]: Likewise.
22603         [USE_AS_STRCSPN]: Likewise.
22605 2016-04-25  Florian Weimer  <fweimer@redhat.com>
22607         [BZ #19931]
22608         * stdio-common/tst-vfprintf-width-prec.c: New file.
22609         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
22610         (tests-special): Add tst-vfprintf-width-prec-mem.out.
22611         (generated): Add mtrace-related files.
22612         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
22613         (tst-%-mem.out): New pattern rule, replaces
22614         tst-printf-bz18872-mem.out.
22615         * stdio-common/vfprintf.c (vfprintf): When handling a precision
22616         specifier, deallocate any previously allocated work buffer.
22618 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
22620         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
22621         Add nop before __startcontext, add explaining comments.
22623 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
22625         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
22626         any more. Notably since IPV6_PKTINFO has been reintroduced with a
22627         completely different API.
22629         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
22630         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
22631         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
22632         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
22633         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
22634         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
22635         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
22636         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
22637         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
22638         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
22640 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
22642         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
22644 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
22646         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
22647         when it is the default of 0.
22649 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22651         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
22652         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22653         (sysdep_routines): Add new strcasestr targets.
22654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22655         (__libc_ifunc_impl_list): Likewise.
22656         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
22657         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
22658         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
22659         * sysdeps/powerpc/powerpc64/power8/Makefile:
22660         New file to add strcasestr-ppc64 to sysdep_routines.
22661         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
22662         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
22664 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
22666         * benchtests/Makefile (wcsmbs-benchset): Include only for
22667         native builds and runs.
22668         (LOCALES): Likewise.
22669         (bench-build): Build timing-type here instead of the bench
22670         target.  Generate locale only for native builds.
22671         * benchtests/README: Add note for cross-building.
22673         * benchtests/Makefile (bench-clean): Clean up extra-objs.
22675         * benchtests/README: Update README to include instructions on
22676         using bench-build.
22678         * Makefile.in (bench-build): New target.
22679         * Rules (PHONY): Add bench-build target.
22680         * benchtests/Makefile (bench): Depend on bench-build.
22681         (bench-build): New target.
22683 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22685         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
22686         profil_reply_port.
22687         (profile_waiter): Do not initialize profil_reply_port.
22688         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
22689         frequency instead of tick length in us.
22691 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
22693         [BZ #18712]
22694         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
22695         (__old_mempcpy_small): Likewise.
22696         (__old_strcpy_small): Likewise.
22697         (__old_stpcpy_small): Likewise.
22698         (__old_strpbrk_c2): Fix compat symbol name.
22699         (__old_strpbrk_c3): Likewise.
22700         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
22701         (__mempcpy_small): Remove.
22702         (__strcpy_small): Remove.
22703         (__stpcpy_small): Remove.
22705 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
22707         [BZ #19400]
22708         * locale/iso-639.def: Add the Talossan/tzl language.
22710 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
22712         [BZ #16983]
22713         * locale/programs/ld-address.c (address_finish): Update postal_fmt
22714         comment.  Add "ln" to strchr check on postal_fmt.
22716 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
22718         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
22719         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
22720         tel_dom_fmt.
22722 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22724         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22725         (sysdep_routines): Added __strlen_power8.
22726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
22727         __strlen_power8 entry.
22728         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
22729         Implementation for POWER8.
22730         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
22731         for __strlen_power8.
22732         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
22733         Implementation for POWER8.
22735 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
22737         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
22739 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
22741         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
22742         Goldmont and Airmont processors.
22744 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
22746         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
22747         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
22748         (__STRING2_SMALL_GET32): Remove.
22749         (memset): Remove.
22750         (__memset_1): Remove.
22751         (__memset_gc): Remove.
22752         (__mempcpy): Remove.
22753         (mempcpy): Remove.
22754         (__mempcpy_args): Remove.
22755         (strchr): Remove.
22756         (strcpy): Remove.
22757         (strcpy_args): Remove.
22758         (__stpcpy_args): Remove.
22759         (__strcmp_cc): Remove.
22760         (__strcmp_gc): Remove.
22761         (strstr): Remove.
22763 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
22765         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
22766         * nis/nis_call.c (nis_server_cache_add): Likewise.
22768 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22770         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
22772 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22774         * malloc/arena.c (__malloc_fork_lock_parent)
22775         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
22776         internal_function attribute.
22778 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
22780         * stdio-common/printf_fp.c (__printf_fp_l):
22781         Rename ___printf_fp_l to __printf_fp_l and
22782         remove strong alias. Use libc_hidden_def instead
22783         of ldbl_hidden_def macro.
22785 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22787         Remove malloc hooks from fork handler.  They are no longer needed
22788         because malloc runs right before fork, and no malloc calls from
22789         other fork handlers are not possible anymore.
22790         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
22791         declarations.
22792         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
22793         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
22794         (atfork_recursive_cntr): Remove.
22795         (__malloc_fork_lock_parent): Do not override malloc hooks and
22796         thread_arena.
22797         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
22798         thread_arena.
22799         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
22800         thread_arena instead of save_arena.
22802 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22804         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
22805         (thread_atfork, thread_atfork_static): Remove.
22806         * sysdeps/mach/hurd/malloc-machine.h:
22807         (thread_atfork, thread_atfork_static): Remove.
22809 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22811         [BZ #19431]
22812         Run the malloc fork handler as late as possible to avoid deadlocks.
22813         * malloc/malloc-internal.h: New file.
22814         * malloc/malloc.c: Include it.
22815         * malloc/arena.c (ATFORK_MEM): Remove.
22816         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
22817         Update comment.
22818         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
22819         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
22820         Remove outdated comment.
22821         (ptmalloc_init): Do not call thread_atfork.  Remove
22822         thread_atfork_static.
22823         * malloc/tst-malloc-fork-deadlock.c: New file.
22824         * Makefile (tests): Add tst-malloc-fork-deadlock.
22825         (tst-malloc-fork-deadlock): Link against libpthread.
22826         * manual/memory.texi (Aligned Memory Blocks): Update safety
22827         annotation comments.
22828         * sysdeps/nptl/fork.c (__libc_fork): Call
22829         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
22830         __malloc_fork_unlock_child.
22831         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
22833 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22835         [BZ #19613]
22836         Remove union wait.
22837         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
22838         (w_stopsig, w_stopval): Remove.
22839         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
22840         stat_loc argument.
22841         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
22842         (__WAIT_STATUS_DEFN): Remove.
22843         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22844         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
22845         (wait, wait3, wait4): Use int * for the stat_loc argument.
22846         * posix/wait.c (__wait): Likewise.
22847         * posix/wait3.c (__wait3): Likewise.
22848         * posix/wait4.c (__wait4): Likewise.
22849         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
22850         (__WAIT_STATUS_DEFN): Remove.
22851         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22852         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
22853         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
22854         argument.
22855         * sysdeps/posix/wait.c (__libc_wait): Likewise.
22856         * sysdeps/posix/wait3.c (__wait3): Likewise.
22857         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
22858         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22859         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
22860         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
22861         stat_loc argument.
22862         * manual/process.texi (BSD Wait Functions): Remove union wait.
22864 2016-04-13  Andreas Schwab  <schwab@suse.de>
22866         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
22867         (test-extras): Add tst-tlsalign-vars.
22868         * math/Makefile: Wrap long lines.
22869         (libm-vec-test-wrappers): Define.
22870         (test-extras): Add $(libm-vec-test-wrappers).
22871         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
22872         * nss/Makefile (extra-test-objs): Add nss_test1.os.
22873         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
22874         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
22875         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
22876         (extra-test-objs): Add corresponding objects.
22878 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
22880         [BZ #19928]
22881         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
22882         New.
22883         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
22884         times of shared cache size.
22885         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
22886         (VMOVNT): New.
22887         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
22888         (VMOVNT): Likewise.
22889         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
22890         (VMOVNT): Likewise.
22891         (VMOVU): Changed to movups for smaller code sizes.
22892         (VMOVA): Changed to movaps for smaller code sizes.
22893         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
22894         comments.
22895         (PREFETCH): New.
22896         (PREFETCH_SIZE): Likewise.
22897         (PREFETCHED_LOAD_SIZE): Likewise.
22898         (PREFETCH_ONE_SET): Likewise.
22899         Rewrite to use forward and backward loops, which move 4 vector
22900         registers at a time, to support overlapping addresses and use
22901         non temporal store if size is above the threshold and there is
22902         no overlap between destination and source.
22904 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
22906         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
22907         Include dl-vdso.
22908         * sysdeps/unix/sysv/linux/mips/Versions: Add
22909         __vdso_clock_gettime.
22910         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
22911         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
22912         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
22913         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
22914         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
22915         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
22916         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22917         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22918         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22920 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22922         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
22923         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
22924         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22925         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22926         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22927         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22930         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
22931         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
22932         syscalls generation.
22933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22934         [__NR_pwrite64] (__NR_write): Remove define.
22935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22936         [__NR_pwrite64] (__NR_write): Remove define.
22937         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
22938         Remove define.
22939         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
22940         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
22941         Remove define.
22942         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
22943         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
22944         Linux implementation as base.
22945         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22947         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
22948         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
22949         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22950         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
22952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22953         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
22954         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
22955         syscall generation.
22956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22957         [__NR_pread64] (__NR_pread): Remove define.
22958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22959         [__NR_pread64] (__NR_pread): Likewise.
22960         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
22961         define.
22962         (__libc_pread): Use SYSCALL_LL macro on offset argument.
22963         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
22964         Remove define.
22965         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
22966         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
22967         Linux implementation as base.
22968         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22969         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22970         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22972         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
22973         definition.
22974         (__ALIGNMENT_COUNT): Likewise.
22975         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
22976         (__ALIGNMENT_COUNT): Likewise.
22977         (SYSCALL_LL): New define.
22978         (SYSCALL_LL64): Likewise.
22979         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
22980         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
22981         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
22982         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
22984         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22985         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
22986         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22987         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22988         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22989         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22991 2016-04-11  Florian Weimer  <fweimer@redhat.com>
22993         [BZ #19865]
22994         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
22995         original buffer before retry.
22997 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22999         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
23000         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
23001         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
23002         GLRO(dl_auxv) list.
23003         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
23004         including <ldsodefs.h>.
23005         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
23007 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
23009         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
23010         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
23011         $(CPPFLAGS).
23013 2016-04-09  Khem Raj  <raj.khem@gmail.com>
23015         [BZ #17950]
23016         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
23017         Add -mfpmath=387.
23019 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
23021         * sysdeps/i386/configure.ac: Change == to = when calling test.
23022         * sysdeps/x86_64/configure.ac: Likewise.
23023         * sysdeps/i386/configure: Regenerated.
23024         * sysdeps/x86_64/configure: Likewise.
23026 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
23028         [BZ #16137]
23029         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
23030         * benchtests/bench-strcoll.c (input_files): Likewise.
23031         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
23032         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
23033         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
23035 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
23037         [BZ #19929]
23038         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
23039         [__USE_XOPEN2K8 && !__USE_GNU].
23040         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
23041         variable.
23043         [BZ #19925]
23044         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
23045         define if [!__USE_MISC && __USE_XOPEN2K].
23046         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
23047         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
23048         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
23049         Likewise.
23050         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
23051         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
23052         variable.
23053         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23055 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23057         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
23058         (sysdep_routines): Add new strspn targets.
23059         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23060         (__libc_ifunc_impl_list): Add strspn.
23061         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
23062         New file.
23063         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
23064         Likewise.
23065         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
23066         Likewise.
23067         * sysdeps/powerpc/powerpc64/power8/strspn.S:
23068         Likewise.
23070 2016-04-07  Florian Weimer  <fweimer@redhat.com>
23072         * misc/hsearch_r.c: Include <limits.h>.
23074 2016-04-07  Florian Weimer  <fweimer@redhat.com>
23076         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
23078 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
23080         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
23081         (MEMCPY_SYMBOL): New.
23082         (MEMPCPY_SYMBOL): Likewise.
23083         (MEMMOVE_CHK_SYMBOL): Likewise.
23084         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
23085         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
23086         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
23087         Provide alias for memcpy in libc.a and ld.so.
23089 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
23091         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
23092         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
23093         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
23094         Disabled fro now.
23095         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
23096         symbols.  Properly check USE_MULTIARCH on __memset symbols.
23098 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
23100         * benchtests/Makefile (string-benchset): Add memcpy-large,
23101         memmove-large and memset-large.
23102         * benchtests/bench-memcpy-large.c: New file.
23103         * benchtests/bench-memmove-large.c: Likewise.
23104         * benchtests/bench-memmove-large.c: Likewise.
23105         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
23107 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
23109         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
23110         32-bit displacement to avoid long nop between instructions.
23112 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
23114         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
23115         a comment on VMOVU and VMOVA.
23117 2016-04-04  Florian Weimer  <fweimer@redhat.com>
23119         [BZ #19633]
23120         Use specified locale for number formatting in strfmon_l.
23121         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
23122         (__nl_lookup_word): New inline functions.
23123         * include/printf.h (__print_fp_l): Declare.
23124         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
23125         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
23126         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
23127         (___printf_fp): New function.
23128         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
23129         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
23130         * stdlib/tst-strfmon_l.c (do_test): New test.
23131         * stdlib/Makefile (tests): Add kt.
23132         (LOCALES): Build additional locales.
23133         (tst-strfmon_l.out): Require locales.
23135 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
23137         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
23138         if not in libc.
23139         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23140         Likewise.
23141         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
23142         Likewise.
23143         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23144         Likewise.
23146 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
23148         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23149         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
23150         with unaligned_erms.
23151         (__memmove_erms): Skip if source == destination.
23152         (__memmove_unaligned_erms): Don't check source == destination
23153         first.
23155 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23157         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23158         bit_arch_Fast_Copy_Backward for Intel Core proessors.
23160 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23162         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
23163         * string/strspn.c (strspn): Likewise.
23165 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23167         * benchtests/bench-memset.c (do_test): Support 64-byte
23168         alignment.
23169         (test_main): Test 64-byte alignment.
23171 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23173         * benchtests/bench-memmove.c (test_main): Test 64-byte
23174         alignment.
23176 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23178         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
23180 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23182         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
23183         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
23184         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
23186         * string/strpbrk.c (strpbrk): Rewrite function.
23187         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
23188         (__strpbrk_c2): Likewise.
23189         (__strpbrk_c3): Likewise.
23190         * string/string-inlines.c
23191         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
23192         Likewise.
23193         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
23194         Likewise.
23196         * string/strspn.c (strcspn): Rewrite function.
23197         * string/bits/string2.h (strspn): Use __builtin_strcspn.
23198         (__strspn_c1): Remove inline function.
23199         (__strspn_c2): Likewise.
23200         (__strspn_c3): Likewise.
23201         * string/string-inlines.c
23202         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
23203         compatibility symbol.
23204         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
23205         Likewise.
23206         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
23207         Likewise.
23208         * string/string-inlines.c: Include generic version.
23210 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
23211             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23213         * string/Version (libc): Add GLIBC_2.24.
23214         * string/strcspn.c (strcspn): Rewrite function.
23215         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
23216         (__strcspn_c1): Remove inline function.
23217         (__strcspn_c2): Likewise.
23218         (__strcspn_c3): Likewise.
23219         * string/string-inline.c
23220         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
23221         compatibility symbol.
23222         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
23223         Likewise.
23224         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
23225         Likewise.
23226         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
23228 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23230         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23231         Use ahi instead of aghi to adjust stack pointer.
23233 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23235         [BZ #19853]
23236         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
23237         TEST to take significant digits as second parameter.
23238         [TEST]: Redefine in terms of TEST_N taking 30
23239         significant digits.
23240         (do_test): Add test case to demonstrate precision
23241         failure in the ldbl-128ibm printf.
23242         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
23243         (__mpn_extract_long_double): Carry 7 extra intermediate
23244         bits of precision to aide computing difference when
23245         signs differ.
23247 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
23249         [BZ #19881]
23250         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23251         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
23252         memset-avx512-unaligned-erms.
23253         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23254         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
23255         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
23256         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
23257         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
23258         __memset_sse2_unaligned_erms, __memset_erms,
23259         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
23260         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
23261         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
23262         file.
23263         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23264         Likewise.
23265         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
23266         Likewise.
23267         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
23268         Likewise.
23270 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
23272         [BZ #19776]
23273         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23274         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
23275         memmove-avx512-unaligned-erms.
23276         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23277         (__libc_ifunc_impl_list): Test
23278         __memmove_chk_avx512_unaligned_2,
23279         __memmove_chk_avx512_unaligned_erms,
23280         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
23281         __memmove_chk_sse2_unaligned_2,
23282         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
23283         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
23284         __memmove_avx512_unaligned_erms, __memmove_erms,
23285         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
23286         __memcpy_chk_avx512_unaligned_2,
23287         __memcpy_chk_avx512_unaligned_erms,
23288         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
23289         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
23290         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
23291         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
23292         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
23293         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
23294         __mempcpy_chk_avx512_unaligned_erms,
23295         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
23296         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
23297         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
23298         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
23299         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
23300         __mempcpy_erms.
23301         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
23302         file.
23303         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23304         Likewise.
23305         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
23306         Likewise.
23307         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23308         Likewise.
23310 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23312         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
23313         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
23314         (La_s390_64_regs): Likewise.
23315         (La_s390_32_retval): Append vector register lrv_v24.
23316         (La_s390_64_retval): Likeweise.
23317         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
23318         Handle extended structs La_s390_32_regs and La_s390_32_retval.
23319         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
23320         Handle extended structs La_s390_64_regs and La_s390_64_retval.
23322 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23324         [BZ #19916]
23325         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
23326         to create a non-vector/vector version for _dl_runtime_resolve and
23327         _dl_runtime_profile. Move implementation to ...
23328         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
23329         (_dl_runtime_resolve) Save and restore fpr/vrs.
23330         (_dl_runtime_profile) Save and restore vrs and fix some issues
23331         if _dl_call_pltexit is called.
23332         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
23333         Choose the correct resolver function if running on a machine with vx.
23334         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
23335         to create a non-vector/vector version for _dl_runtime_resolve and
23336         _dl_runtime_profile. Move implementation to ...
23337         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
23338         (_dl_runtime_resolve) Save and restore fpr/vrs.
23339         (_dl_runtime_profile) Save and restore vrs and fix some issues
23340         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
23341         Choose the correct resolver function if running on a machine with vx.
23343 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23345         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
23347 2016-03-31  Florian Weimer  <fweimer@redhat.com>
23349         [BZ #19509]
23350         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
23351         skip_map != NULL.
23352         * elf/tst-dlsym-error.c: New file.
23353         * elf/Makefile (tests): Add tst-dlsym-error.
23354         (tst-dlsym-error): Link against libdl.
23356 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
23358         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23359         (__ASSUME_FUTIMESAT): Remove macro.
23360         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
23362 2016-03-29  Florian Weimer  <fweimer@redhat.com>
23364         [BZ #19879]
23365         CVE-2016-3075
23366         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
23367         copy name.
23369 2016-03-29  Florian Weimer  <fweimer@redhat.com>
23371         [BZ #19837]
23372         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
23373         error if parse_line fails.
23375 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23377         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
23378         (index_cpu_ERMS): Likewise.
23379         (reg_ERMS): Likewise.
23381 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
23383         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
23384         PER_LINUX_FDPIC): Add.
23386 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23388         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23389         memcpy-avx512-no-vzeroupper.
23390         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
23391         to ...
23392         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
23393         (MEMCPY): Don't define.
23394         (MEMCPY_CHK): Likewise.
23395         (MEMPCPY): Likewise.
23396         (MEMPCPY_CHK): Likewise.
23397         (MEMPCPY_CHK): Renamed to ...
23398         (__mempcpy_chk_avx512_no_vzeroupper): This.
23399         (MEMPCPY_CHK): Renamed to ...
23400         (__mempcpy_chk_avx512_no_vzeroupper): This.
23401         (MEMCPY_CHK): Renamed to ...
23402         (__memmove_chk_avx512_no_vzeroupper): This.
23403         (MEMCPY): Renamed to ...
23404         (__memmove_avx512_no_vzeroupper): This.
23405         (__memcpy_avx512_no_vzeroupper): New alias.
23406         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
23408 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23410         [BZ #18858]
23411         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23412         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
23413         and mempcpy-avx512-no-vzeroupper.
23414         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
23415         New.
23416         (MEMPCPY): Likewise.
23417         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
23418         (MEMPCPY_CHK): New.
23419         (MEMPCPY): Likewise.
23420         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
23421         (MEMPCPY): Likewise.
23422         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
23423         (MEMPCPY): Likewise.
23424         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
23425         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
23426         Likewise.
23427         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
23428         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
23430 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23431              Amit Pawar  <Amit.Pawar@amd.com>
23433         [BZ #19583]
23434         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23435         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
23436         processors.  Set Fast_Copy_Backward for AMD Excavator
23437         processors.
23438         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
23439         New.
23440         (index_arch_Fast_Unaligned_Copy): Likewise.
23441         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
23442         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
23444 2016-03-25  Florian Weimer  <fweimer@redhat.com>
23446         [BZ #19791]
23447         * resolv/res_send.c (close_and_return_error): New function.
23448         (send_dg): Initialize *resplen2 after reopen failure.  Call
23449         close_and_return_error for error returns.  On error paths without
23450         __res_iclose, initialze *resplen2 explicitly.  Update comment for
23451         successful return.
23453 2016-03-25  Florian Weimer  <fweimer@redhat.com>
23455         [BZ #19860]
23456         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
23457         zero if the compiler does not provide the AVX512F bit.
23459 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
23461         [BZ #19848]
23462         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
23463         from 8 to 4.
23464         (__ieee754_powl): Compare integer exponent against 4 not 8.
23465         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
23466         from 8 to 4.
23467         (__ieee754_powl): Compare integer exponent against 4 not 8.
23468         * math/auto-libm-test-in: Add more tests of pow.
23469         * math/auto-libm-test-out: Regenerated.
23470         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
23471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23473 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
23475         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
23476         Make code unconditional.
23477         [!__NR_utimensat]: Remove conditional code.
23478         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
23479         Make code unconditional.
23480         [!__NR_utimensat]: Remove conditional code.
23481         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
23482         Make code unconditional.
23483         [!__NR_utimensat]: Remove conditional code.
23485 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
23487         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
23488         Make code unconditional.
23490 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
23492         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
23493         call-clobbered %eax on retry path.
23494         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23496 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23498         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
23499         Don't set %rcx twice before "rep movsb".
23501 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23503         [BZ #19583]
23504         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
23505         inline.  Check family before setting family, model and
23506         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
23507         bits here.
23508         (init_cpu_features): Replace HAS_CPU_FEATURE and
23509         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
23510         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
23511         for Intel processors with usable AVX2.  Call get_common_indeces
23512         for other processors with family == NULL.
23513         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
23514         (CPU_FEATURES_ARCH_P): Likewise.
23515         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
23516         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
23518 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23520         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
23521         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
23522         $(shared-thread-library) instead of hardcoding the path to libpthread.
23524 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
23526         * sysdeps/unix/sysv/linux/kernel-features.h
23527         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
23528         * sysdeps/unix/sysv/linux/getdents.c
23529         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
23530         [!have_no_getdents64_defined]: Likewise.
23531         (__GETDENTS): Remove __have_no_getdents64 conditional.
23533 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
23535         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
23536         Remove macro.
23537         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
23538         <kernel-features.h>.
23539         (signalfd) [__NR_signalfd4]: Make code unconditional.
23540         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
23542 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23544         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
23545         style.
23547 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23549         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
23550         (__pthread_enable_asynccancel): Use JUMPTARGET to call
23551         __pthread_unwind.
23552         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23553         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
23554         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23555         (__condvar_cleanup1): Likewise.
23557 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
23559         [BZ #19822]
23560         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
23561         move it to the final $@ location.
23563 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23565         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
23566         access where posix_spawn success and pid argument is null.
23567         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
23568         success case.
23570 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
23572         * sysdeps/mach/hurd/i386/c++-types.data: New file.
23574         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
23576         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
23577         and __fcntl.
23578         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
23579         __fcntl only.
23580         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
23581         adding attribute_hidden to __open and __fcntl.
23583         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
23584         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
23585         depend on libc-modules.h,
23586         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
23588 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
23590         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
23591         Remove macro.
23592         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
23593         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
23594         entry.
23596         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
23597         Remove macro.
23598         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
23599         include <kernel-features.h>.
23600         [!__ASSUME_FALLOCATE]: Remove conditional code.
23601         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
23603 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23605         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
23606         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
23607         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
23608         (_ZGVdN4v_cos_avx2): Likewise.
23609         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
23610         (_ZGVdN4v_cos): Likewise.
23611         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
23612         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
23613         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
23614         (_ZGVdN4v_exp_avx2): Likewise.
23615         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
23616         (_ZGVdN4v_exp): Likewise.
23617         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
23618         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
23619         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
23620         (_ZGVdN4v_log_avx2): Likewise.
23621         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
23622         (_ZGVdN4v_log): Likewise.
23623         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
23624         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
23625         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
23626         (_ZGVdN4vv_pow_avx2): Likewise.
23627         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
23628         (_ZGVdN4vv_pow): Likewise.
23629         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
23630         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
23631         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
23632         (_ZGVdN4v_sin_avx2): Likewise.
23633         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
23634         (_ZGVdN4v_sin): Likewise.
23635         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
23636         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
23637         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
23638         (_ZGVdN4vvv_sincos_avx2): Likewise.
23639         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
23640         (_ZGVdN4vvv_sincos): Likewise.
23641         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
23642         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
23643         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
23644         (_ZGVbN4v_cosf_sse4): Likewise.
23645         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
23646         (_ZGVdN8v_cosf_avx2): Likewise.
23647         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
23648         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
23649         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
23650         (_ZGVbN4v_expf_sse4): Likewise.
23651         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
23652         (_ZGVdN8v_expf_avx2): Likewise.
23653         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
23654         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
23655         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
23656         (_ZGVbN4v_logf_sse4): Likewise.
23657         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
23658         (_ZGVdN8v_logf_avx2): Likewise.
23659         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
23660         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
23661         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
23662         (_ZGVbN4vv_powf_sse4): Likewise.
23663         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
23664         (_ZGVdN8vv_powf_avx2): Likewise.
23665         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23666         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
23667         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23668         (_ZGVbN4vvv_sincosf_sse4): Likewise.
23669         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23670         (_ZGVdN8vvv_sincosf_avx2): Likewise.
23671         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
23672         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
23673         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
23674         (_ZGVbN4v_sinf_sse4): Likewise.
23675         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
23676         (_ZGVdN8v_sinf_avx2): Likewise.
23677         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23678         Use JUMPTARGET to call callee.
23679         (WRAPPER_IMPL_SSE2_ff): Likewise.
23680         (WRAPPER_IMPL_SSE2_fFF): Likewise.
23681         (WRAPPER_IMPL_AVX): Likewise.
23682         (WRAPPER_IMPL_AVX_ff): Likewise.
23683         (WRAPPER_IMPL_AVX_fFF): Likewise.
23684         (WRAPPER_IMPL_AVX512): Likewise.
23685         (WRAPPER_IMPL_AVX512_ff): Likewise.
23686         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23687         Likewise.
23688         (WRAPPER_IMPL_SSE2_ff): Likewise.
23689         (WRAPPER_IMPL_SSE2_fFF): Likewise.
23690         (WRAPPER_IMPL_AVX): Likewise.
23691         (WRAPPER_IMPL_AVX_ff): Likewise.
23692         (WRAPPER_IMPL_AVX_fFF): Likewise.
23693         (WRAPPER_IMPL_AVX512): Likewise.
23694         (WRAPPER_IMPL_AVX512_ff): Likewise.
23695         (WRAPPER_IMPL_AVX512_fFF): Likewise.
23697 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23699         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
23700         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
23701         qualifier.
23702         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
23703         internal_function qualifiers.
23705 2016-03-15  Carlos O'Donell <carlos@redhat.com>
23707         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
23708         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
23709         * math/atest-exp.c (exp_mpn): Mark chk unused.
23710         * math/atest-exp2.c (exp_mpn): Likewise.
23711         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
23712         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
23714 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
23716         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
23717         Remove macro.
23718         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
23719         <kernel-features.h>.
23720         [__NR_ppoll]: Make code unconditional.
23721         [!__ASSUME_PPOLL]: Remove conditional code.
23723         * sysdeps/unix/sysv/linux/kernel-features.h
23724         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
23725         (__ASSUME_ACCEPT4): Likewise.
23726         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23727         Define.
23728         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
23729         Likewise.
23730         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23731         Likewise.
23732         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
23733         Likewise.
23734         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
23735         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
23736         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23737         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23738         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23739         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23740         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23741         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23742         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23743         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23744         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23745         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23746         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23747         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23748         * sysdeps/unix/sysv/linux/i386/kernel-features.h
23749         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23750         Likewise.
23751         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23752         Likewise.
23753         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23754         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23755         0x040300].
23756         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23757         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23758         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23759         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23760         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23761         0x030300].
23762         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
23763         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23764         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23765         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23766         0x040300].
23767         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23768         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23769         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23770         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23771         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23772         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23773         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23774         0x030300].
23775         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23776         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23777         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23778         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23779         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23780         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23781         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23782         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23783         * sysdeps/unix/sysv/linux/s390/kernel-features.h
23784         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23785         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23786         0x040300].
23787         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23788         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23789         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23790         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23791         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23792         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23793         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23794         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23795         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23796         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23797         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23798         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23799         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23800         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23801         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
23802         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23803         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23804         Likewise.
23805         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23806         Likewise.
23808 2016-03-15  Andreas Schwab  <schwab@suse.de>
23810         [BZ #19257]
23811         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
23812         statp->_u._ext.nscount as loop count.
23814 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
23816         * math/test-signgam-finite-c99.c: Also #undef
23817         __LIBC_INTERNAL_MATH_INLINES.
23818         * math/test-signgam-main.c: Likewise.
23820 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
23822         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
23823         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
23824         (MADV_FREE): Likewise.
23825         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
23826         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
23827         EPOLLEXCLUSIVE.
23829 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
23831         * timezone/README: Remove mention of checktab.awk. Mention wiki
23832         SharedSourceFiles.
23834 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
23836         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
23837         WUNTRACED.
23839 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23841         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
23842         order to match the type of p when calling atomic_exchange_acq().
23844 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23846         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
23847         cfi_offset calls.
23848         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
23849         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
23850         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
23851         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
23852         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
23854 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
23856         * timezone/checktab.awk: Removed.
23858 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
23860         * manual/math.texi (Errors in Math Functions): Document relaxed
23861         accuracy goals for IBM long double.
23862         * math/libm-test.inc (test_exceptions): Always allow spurious
23863         "underflow" and "inexact" exceptions for IBM long double.
23865 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
23867         [BZ #19762]
23868         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23869         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
23870         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
23871         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
23872         (bit_arch_*): This for feature array.
23873         (bit_*): Renamed to ...
23874         (bit_cpu_*): This for cpu array.
23875         (index_*): Renamed to ...
23876         (index_arch_*): This for feature array.
23877         (index_*): Renamed to ...
23878         (index_cpu_*): This for cpu array.
23879         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
23880         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
23881         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
23882         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
23883         bit_##name with index_cpu_##name and bit_cpu_##name.
23884         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
23885         bit_##name with index_arch_##name and bit_arch_##name.
23887 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
23889         [BZ #19792]
23890         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
23891         Terminate FDE before return label.
23893 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
23895         [BZ #19790]
23896         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
23897         (rintl): Define as macro.
23898         [USE_AS_NEARBYINTL] (__rintl): Likewise.
23899         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
23900         of fesetround.  Ensure results are evaluated before end of scope.
23901         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
23902         USE_AS_NEARBYINTL and include s_rintl.c.
23903         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
23904         Disable exception traps in new environment.
23905         (libc_feholdsetround_ppc_ctx): Likewise.
23907 2016-03-08  Roland McGrath  <roland@hack.frob.com>
23909         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
23910         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
23911         (tst_audit10_aux) [__AVX512F__]: ... here.
23913 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
23915         * include/sys/auxv.h: New file.
23917 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
23919         [BZ #19759]
23920         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
23922 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23924         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
23925         operand modifier.
23926         (feclearexcept): Likewise.
23928 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23930         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
23931         to reflect the entire 32-bit HWCAP.
23932         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
23933         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
23935 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
23937         [BZ #19783]
23938         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
23939         $(test-via-rtld-prefix).
23940         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
23942 2016-03-08  Florian Weimer  <fweimer@redhat.com>
23944         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
23945         union wait.  Report any non-zero exit status as error.
23947 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23949         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
23950         configured with --enable-hardcoded-path-in-tests.
23952 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
23954         [BZ #19677]
23955         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
23956         (__ieee754_remainderl): Put zero low parts in canonical form.
23957         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
23958         file.  Based on
23959         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
23960         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
23961         with wrapper round test-fmodrem-ldbl-128ibm.c.
23962         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
23963         file.
23964         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
23965         Likewise.
23966         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
23967         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
23969 2016-03-07  Florian Weimer  <fweimer@redhat.com>
23971         [BZ #19610]
23972         * elf/ldconfig.c (opt_link): Update comment.
23973         (options): Update help string for option -X.
23974         (search_dir): Unlink stale symbolic link only if updating symbolic
23975         links.
23976         * elf/tst-ldconfig-X.sh: New file.
23977         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
23978         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
23980 2016-03-07  Andreas Schwab  <schwab@suse.de>
23982         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
23983         needed arguments.
23985 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
23987         [BZ #15333]
23988         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
23989         to lstat64.
23991 2016-03-07  Florian Weimer  <fweimer@redhat.com>
23993         * libio/filedoalloc.c (isatty): Remove.
23994         (local_isatty): Add comment.  Call __isatty directly.
23995         (_IO_file_doallocate): Update comment.  Assume _LIBC.
23996         * libio/wfiledoalloc.c (isatty): Remove.
23997         (_IO_wfile_doallocate): Update comment.
23999 2016-03-07  Florian Weimer  <fweimer@redhat.com>
24001         [BZ #19269]
24002         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
24003         tst-audit4-aux.o.
24004         (tst-audit10): Depend on tst-audit10-aux.o.
24005         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
24006         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
24007         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
24008         instead of inline AVX code.
24009         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
24010         instead of inline AVX512 code.
24011         * sysdeps/x86_64/tst-audit4-aux.c: New file
24012         * sysdeps/x86_64/tst-audit10-aux.c: New file
24014         [BZ #19648]
24015         * test-skeleton.c (main): Do not set RLIMIT_DATA.
24017 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24019         [BZ #14750]
24020         [BZ #10354]
24021         [BZ #18433]
24022         * include/sched.h (__clone): Add hidden prototype.
24023         (__clone2): Likewise.
24024         * include/unistd.h (__dup): Likewise.
24025         * posix/Makefile (tests): Add tst-spawn2.
24026         * posix/tst-spawn2.c: New file.
24027         * sysdeps/posix/dup.c (__dup): Add hidden definition.
24028         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
24029         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
24030         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
24031         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
24032         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
24033         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
24034         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
24035         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
24036         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
24037         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
24038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
24039         Likewise.
24040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24041         Likewise.
24042         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
24043         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
24044         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
24045         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
24046         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
24047         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
24048         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
24049         * sysdeps/unix/sysv/linux/nptl-signals.h
24050         (____nptl_is_internal_signal): New function.
24051         * sysdeps/unix/sysv/linux/spawni.c: New file.
24053         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
24054         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
24055         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
24056         * posix/tst-execvp2.c (do_test): Likewise.
24057         * posix/tst-execvp3.c (do_test): Likewise.
24058         * posix/tst-execvp4.c (do_test): Likewise.
24059         * posix/tst-execvpe1.c: New file.
24060         * posix/tst-execvpe2.c: Likewise.
24061         * posix/tst-execvpe3.c: Likewise.
24062         * posix/tst-execvpe4.c: Likewise.
24063         * posix/tst-execvpe5.c: Likewise.
24064         * posix/tst-execvpe6.c: Likewise.
24066         [BZ #19534]
24067         * posix/execl.c (execl): Remove dynamic memory allocation.
24068         * posix/execle.c (execle): Likewise.
24069         * posix/execlp.c (execlp): Likewise.
24071 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
24073         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
24074         Replace .text with .text.avx512.
24075         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
24076         Likewise.
24078 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
24080         * sysdeps/generic/libnsl.abilist: New file.
24081         * sysdeps/generic/libutil.abilist: New file.
24083 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
24085         [BZ #19762]
24086         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
24087         HAS_ARCH_FEATURE with Fast_Rep_String.
24088         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
24089         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
24090         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
24091         Likewise.
24092         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
24093         Likewise.
24094         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
24095         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
24096         Likewise.
24097         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
24098         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
24099         Likewise.
24101 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
24103         [BZ #19745]
24104         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
24105         with *%rax in call.
24107 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
24109         [BZ #19745]
24110         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
24111         with *__libc_start_main@GOTPCREL(%rip) in call.
24113 2016-03-04  Roland McGrath  <roland@hack.frob.com>
24115         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
24116         inside conditional for nonempty $(CXX).
24118         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
24119         nonempty.
24121         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
24122         to test for empty $(CXX) rather than $(CXX) of "no".
24124 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
24126         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
24128 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
24129             H.J. Lu  <hongjiu.lu@intel.com>
24131         [BZ #18880]
24132         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
24133         instead of Slow_BSF, and also check for Fast_Copy_Backward to
24134         enable __memcpy_ssse3_back.
24136 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
24138         [BZ #19758]
24139         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
24140         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
24142 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
24144         [BZ #19490]
24145         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
24146         (__fentry__): Likewise.
24148 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
24150         * gmon/Makefile (noprof): Add $(sysdep_noprof).
24151         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
24153 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
24155         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
24156         __mcount_internal directly.
24157         (C_LABEL(__fentry__)): Likewise.
24158         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
24159         directly.
24161 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
24163         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24164         (__start_context): Call __setcontext directly.
24166 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
24168         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24169         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24170         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
24171         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24172         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24173         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24174         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
24175         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24176         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24177         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
24178         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24179         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24180         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24181         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24182         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24183         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24184         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
24185         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24186         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24187         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24188         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
24189         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24190         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24191         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24192         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
24193         Remove conditional code.
24194         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24195         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
24196         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24197         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24198         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
24199         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24200         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24201         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
24202         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24203         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24204         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24205         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24207 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
24209         * NEWS (2.23): Fix typo in bug 19048 text.
24211 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
24213         [BZ #14259]
24214         * Makeconfig: Rename msgcatdir to localedir.
24215         Rename inst_msgcatdir to inst_localedir.
24216         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
24217         * config.make.in: Add localedir.
24218         * elf/Makefile ($(objpfx)sotruss): Use localedir.
24219         (ldd-rewrite): Likewise.
24220         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
24221         (install-others): Use inst_localedir.
24222         (CPPFLAGS): Use localedir.
24223         * locale/Makefile (locale-CPPFLAGS): Likewise.
24224         * po/Makefile (mo-installed): Use inst_localedir.
24226         [BZ #19575]
24227         * localedata/charmaps/GB18030: Update comments regarding PAU to
24228         non-PUA mappings.
24230 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
24232         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
24233         test for header.
24234         * sysdeps/unix/sysv/linux/configure: Regenerated.
24235         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
24236         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
24237         Remove conditional code.
24238         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
24240         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
24241         Define to 3.2.0.
24242         (arch_minimum_kernel): Likewise.
24243         * sysdeps/unix/sysv/linux/configure: Regenerated.
24244         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
24245         Define to 2.6.32.
24246         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
24247         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
24248         (arch_minimum_kernel): Define to 2.6.32.
24249         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
24250         * README: Document Linux 3.2 requirement.
24251         * manual/install.texi (Linux): Document Linux 3.2 headers
24252         requirement.
24253         * INSTALL: Regenerated.
24255 2016-02-24  Andreas Schwab  <schwab@suse.de>
24257         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
24258         if !NO_LONG_DOUBLE.
24260 2016-02-22  Roland McGrath  <roland@hack.frob.com>
24262         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
24263         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
24265 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
24267         [BZ #19512]
24268         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
24270 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
24272         * posix/tst-dir.c: Include libc-internal.h.
24274 2016-02-20  Florian Weimer  <fweimer@redhat.com>
24276         [BZ #19056]
24277         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
24278         * manual/filesys.texi (Reading/Closing Directory): Mention
24279         deprecaion.
24280         * posix/tst-dir.c (main): Disable deprecation warning in test.
24282 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
24284         [BZ #19679]
24285         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
24286         Renamed to ...
24287         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
24288         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24289         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
24290         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24291         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24292         * sysdeps/x86_64/dl-trampoline.h
24293         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24294         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24296 2016-02-19  Mark Wielaard  <mjw@redhat.com>
24298         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
24300 2016-02-19  Mark Wielaard  <mjw@redhat.com>
24302         * elf/elf.h (R_386_GOT32X): New.
24303         (R_386_NUM): Update.
24304         (R_X86_64_GOTPCRELX: New.
24305         (R_X86_64_REX_GOTPCRELX): New.
24306         (R_X86_64_NUM): Update.
24308 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
24310         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
24312 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
24314         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
24315         assign attr->stackaddr to it, and adjust it down when
24316         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
24317         [_STACK_GROWS_UP]: Delete assert.
24318         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
24319         Implement stack grows up logic.
24320         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
24321         stack grows up logic.
24323 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24325         * NEWS: Update with 2.24 template.
24327 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
24329         [BZ #19678]
24330         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24331         Ensure +0.0 is returned when taking the next value below the least
24332         positive value.
24334 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24336         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
24337         available.  Do not define NO_THREADS.
24338         * malloc/malloc.c: Do not check NO_THREADS.
24339         * malloc/arena.c: Likewise.
24341 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24343         * malloc/malloc.c (__libc_mallinfo): Update comment.
24344         (struct malloc_par): Remove max_total_mem member, it was always 0.
24345         (int_mallinfo): Store 0 into usmblks (no functional change).
24346         * malloc/hooks.c (struct malloc_state): Document that
24347         max_total_mem is always 0.
24348         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
24349         always 0.
24350         * manual/memory.texi (Statistics of Malloc): Likewise.
24352 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24354         * malloc/malloc.c (sysmalloc): Do not update arena_max.
24355         * malloc/arena.c (arena_max): Remove.
24356         (heap_trim, _int_new_arena): Do not update arena_max.
24358 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24360         * resolv/res_init.c (res_ninit): Update comment.
24362 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24364         [BZ #19505]
24365         * posix/spawn_int.h: Add headers and include guard.
24366         (__spawn_valid_fd): New function.
24367         * posix/spawn_faction_addopen.c
24368         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
24369         * posix/spawn_faction_addclose.c
24370         (posix_spawn_file_actions_addclose): Likewise.
24371         * posix/spawn_faction_adddup2.c
24372         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
24373         second file descriptor.
24374         * posix/spawn_valid_fd.c: New file.
24375         * posix/tst-posix_spawn-fd.c: New file.
24376         * posix/Makefile (routines): Add spawn_valid_fd.
24377         (tests): Add tst-posix_spawn-fd.
24379 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24381         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
24382         (do_test): Limit the number of arenas, so that we can use fewer
24383         outer threads.  Limit timeout to 3 seconds, in preparation for a
24384         larger TIMEOUT value.
24386 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
24388         [BZ #19674]
24389         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
24390         sign in overflowing and underflowing results when overflow or
24391         underflow is detected early.  Include sign in result before rather
24392         than after scaling.
24394         [BZ #19603]
24395         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24396         (__ieee754_remainderl): Adjust sign of integer version of low part
24397         when taking absolute value of high part.
24398         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24399         * math/libm-test.inc (remainder_test_data): Add another test.
24400         (remquo_test_data): Likewise.
24402 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
24404         [BZ #19602]
24405         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
24406         equal high parts and both low parts zero specially.
24407         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
24408         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
24409         Add test-fmodl-ldbl-128ibm.
24411         [BZ #19595]
24412         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
24413         common logic for all cases of shifting subnormal results.  Do not
24414         insert sign bit in shifted mantissa.  Always pass -1023 as biased
24415         exponent to ldbl_insert_mantissa in subnormal case.
24417         [BZ #19594]
24418         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
24419         on high and low parts then adjust result and use
24420         ldbl_canonicalize_int if needed.
24422         [BZ #19593]
24423         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
24424         on high part and __floor or __ceil on low part then use
24425         ldbl_canonicalize_int if needed.
24427         [BZ #19592]
24428         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
24429         high and low parts then use ldbl_canonicalize_int if needed.
24431         [BZ #17899]
24432         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
24433         New function.
24434         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
24435         on high and low parts then use ldbl_canonicalize_int if needed.
24437 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24439         * configure: Regenerated.
24441         * po/libc.pot: Regenerated.
24443         * po/be.po: Updated translation.
24444         * po/bg.po: Likewise.
24445         * po/ca.po: Likewise.
24446         * po/cs.po: Likewise.
24447         * po/da.po: Likewise.
24448         * po/el.po: Likewise.
24449         * po/eo.po: Likewise.
24450         * po/es.po: Likewise.
24451         * po/fi.po: Likewise.
24452         * po/fr.po: Likewise.
24453         * po/gl.po: Likewise.
24454         * po/hr.po: Likewise.
24455         * po/hu.po: Likewise.
24456         * po/ia.po: Likewise.
24457         * po/id.po: Likewise.
24458         * po/it.po: Likewise.
24459         * po/ja.po: Likewise.
24460         * po/lt.po: Likewise.
24461         * po/nb.po: Likewise.
24462         * po/nl.po: Likewise.
24463         * po/pt_BR.po: Likewise.
24464         * po/rw.po: Likewise.
24465         * po/sk.po: Likewise.
24466         * po/sl.po: Likewise.
24467         * po/sv.po: Likewise.
24468         * po/tr.po: Likewise.
24469         * po/zh_CN.po: Likewise.
24470         * po/zh_TW.po: Likewise.
24472         * version.h (RELEAES): Set to "development".
24473         (VERSION): Set to 2.23.90.
24475         * version.h (RELEASE): Set to "stable".
24476         (VERSION): Set to 2.23.
24477         * include/feature.h (__GLIBC_MINOR__): Set to 23.
24479         * NEWS: Updated fixed bugs.
24481 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
24482             Wilco Dijkstra  <wdijkstr@arm.com>
24484         [BZ #19462]
24485         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
24486         (_STRING_INLINE_unaligned): This.
24487         * include/string.h: Include <string_private.h>.
24488         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
24489         _STRING_INLINE_unaligned.
24490         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
24491         (_STRING_INLINE_unaligned): New.
24492         * sysdeps/aarch64/string_private.h: New file.
24493         * sysdeps/generic/string_private.h: Likewise.
24494         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
24495         * sysdeps/s390/string_private.h: Likewise.
24496         * sysdeps/x86/string_private.h: Likewise.
24497         * sysdeps/m68k/m680x0/m68020/bits/string.h
24498         (_STRING_ARCH_unaligned): Renamed to ...
24499         (_STRING_INLINE_unaligned): This.
24500         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
24501         to ...
24502         (_STRING_INLINE_unaligned): This.
24503         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
24504         to ...
24505         (_STRING_INLINE_unaligned): This.
24506         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
24507         to ...
24508         (_STRING_INLINE_unaligned): This.
24510 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
24511             H.J. Lu  <hongjiu.lu@intel.com>
24513         [BZ #19590]
24514         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
24515         relocation.
24517 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
24519         [BZ #18665]
24520         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
24521         *herrno_p.
24522         (gaih_getanswer): Document functional behviour. Return tryagain
24523         if any result is tryagain.
24524         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
24525         when freed.
24526         * resolv/res_send.c: Add copyright text.
24527         (__libc_res_nsend): Document that MAXPACKET is expected.
24528         (send_vc): Document. Remove buffer reuse.
24529         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
24530         size of the buffer. Add Dprint for truncated UDP buffer.
24532 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
24534         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
24535         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
24536         * INSTALL: Regenerate.
24538 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
24539             Jonathan Wakely  <jwakely@redhat.com>
24540             Carlos O'Donell  <carlos@redhat.com>
24542         [BZ 19439]
24543         * math/Makefile (tests): Add test-math-isinff.
24544         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
24545         * math/bits/mathcalls.h [__USE_MISC]: Use
24546         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
24547         functions not in C++11 and which don't conflict e.g. isinff,
24548         isinfl etc.
24549         * math/test-math-isinff.cc: New file.
24551 2016-02-12  Florian Weimer  <fweimer@redhat.com>
24553         * misc/bug18240.c (do_test): Set RLIMIT_AS.
24555 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24557         [BZ #19529]
24558         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
24560 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24562         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24564 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
24566         [BZ #19550]
24567         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
24568         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
24569         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
24570         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
24571         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
24572         New syscall entry.
24573         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
24574         New syscall entry.
24575         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
24576         syscall entry.
24578 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
24580         [BZ #18240]
24581         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
24582         unsigned int wraparound.
24584 2016-01-27  Florian Weimer  <fweimer@redhat.com>
24586         [BZ #18240]
24587         * misc/bug18240.c: New test.
24588         * misc/Makefile (tests): Add it.
24590 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
24591             Joseph Myers  <joseph@codesourcery.com>
24593         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
24594         load in branch delay slot when less than a word of input left.
24596 2016-01-27  Andreas Schwab  <schwab@suse.de>
24598         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
24599         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
24600         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
24601         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
24603 2016-01-26  David S. Miller  <davem@davemloft.net>
24605         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
24607 2016-01-25  David S. Miller  <davem@davemloft.net>
24609         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
24610         __sqrtl_finite.
24611         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
24612         instead using versioned_symbol.
24613         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
24614         of entries.
24616         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
24617         __sqrtl_finite to GLIBC_2.23
24619 2016-01-25  Ricchard Henderson  <rth@redhat.com>
24621         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24623 2016-01-25  Andreas Schwab  <schwab@suse.de>
24625         [BZ #17514]
24626         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
24627         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
24628         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
24629         * nptl/tst-mutex-errorcheck.c: New file.
24631 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24633         [BZ #18560]
24634         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
24635         (IPCOP_semop): Likewise.
24636         (IPCOP_semget): Likewise.
24637         (IPCOP_semctl): Likewise.
24638         (IPCOP_msgsnd): Likewise.
24639         (IPCOP_msgrcv): Likewise.
24640         (IPCOP_msgget): Likewise.
24641         (IPCOP_msgctl): Likewise.
24642         (IPCOP_shmat): Likewise.
24643         (IPCOP_shmdt): Likewise.
24644         (IPCOP_shmget): Likewise.
24645         (IPCOP_shmctl): Likewise.
24647 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
24649         * string/tst-endian.c: Include <libc-internal.h>.
24650         (do_test): Ignore tautological-compare warnings around
24651         "htobeXX (beXXtoh (i)) != i" and
24652         "htoleXX (leXXtoh (i)) != i" if-statements.
24654 2016-01-24  David S. Miller  <davem@davemloft.net>
24656         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
24657         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
24658         alias.
24659         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24660         __sqrtl_finite.
24662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24664 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
24666         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
24667         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
24668         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24670 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24672         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
24673         (thread_func): Use new function to simplify barrier check.
24674         (do_test): Use new function to simplify checking barrier exit
24675         code, and actually join the child thread.
24677 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24679         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
24680         semicolon.
24681         (__libc_tend): Likewise.
24682         (__libc_tabort): Likewise.
24684 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
24686         * sysdeps/nios2/libm-test-ulps: Update.
24687         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
24688         (__gtsf2): Likewise.
24689         (__unorddf2): Likewise.
24690         (__unordsf2): Likewise.
24691         (__ledf2): Likewise.
24693 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
24695         * nis/nis_table.c (__follow_path): Disable diagnostic for
24696         uninitialized variable that is a false positive for gcc 4.7.
24697         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
24699 2016-01-20  Roland McGrath  <roland@hack.frob.com>
24701         * sysdeps/nacl/lowlevellock-futex.h
24702         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
24703         Always evaluate PRIVATE argument.
24705 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
24707         [BZ #19490]
24708         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
24709         (pthread_cond_broadcast): Use ENTRY/END
24710         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
24711         (pthread_cond_signal): Likewise.
24712         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
24713         Likewise.
24714         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
24715         Likewise.
24716         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
24717         Likewise.
24719 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
24721         * sysdeps/ieee754/dbl-64/s_finite.c
24722         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
24723         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
24724         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
24725         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
24726         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
24728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
24729         (__gtsf2): Add as optional for libc.so.
24730         (__unordsf2): Likewise.
24731         (__signbit): Remove for libc.so.
24732         (__signbitl): Likewise.
24734 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24736         * iconvdata/bug-iconv11.c (test_ibm93x):
24737         Use %zu printf format specifier for size_t argument.
24739 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
24741         * math/gen-libm-test.pl (parse_ulps): Do not reduce
24742         already-recorded ulps.
24743         * sysdeps/arm/libm-test-ulps: Regenerated.
24744         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24745         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24746         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24748 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24749             Paul Pluzhnikov  <ppluzhnikov@google.com>
24751         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
24752         assembler not supporting AVX-512.
24754 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
24756         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24758 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
24760         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24761         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24763         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24765         * sysdeps/arm/libm-test-ulps: Regenerated.
24767 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
24769         [BZ #19451]
24770         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
24772 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
24774         [BZ #19486]
24775         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
24776         * sysdeps/generic/fix-fp-int-convert-overflow.h
24777         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
24778         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
24779         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
24780         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
24781         Likewise.
24782         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
24783         Avoid conversions to long int where inexact exceptions
24784         could be raised.
24785         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
24786         Likewise.
24787         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
24788         Avoid conversions to long long int where inexact exceptions
24789         could be raised.
24790         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
24791         Likewise.
24793 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
24795         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
24796         * configure: Regenerated.
24798 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
24800         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
24802 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
24804         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
24805         outside of comment.
24807 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24809         * nptl/tst-barrier1.c: Add description on first line.
24810         * nptl/tst-barrier2.c: Likewise.
24811         * nptl/tst-barrier3.c: Likewise.
24812         * nptl/tst-barrier4.c: Likewise.
24813         * nptl/tst-barrier5.c: Likewise.
24815 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24817         [BZ #18868]
24818         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
24820 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
24822         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
24823         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
24824         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
24825         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
24826         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
24827         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
24828         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24829         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24830         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24831         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24832         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24834 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24836         [BZ #13065]
24837         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
24838         new implementation.
24839         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
24840         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
24841         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
24842         (BARRIER_IN_THRESHOLD): New macro.
24843         * nptl/pthread_barrierattr_setpshared.c
24844         (pthread_barrierattr_setpshared): Clean up.
24845         * nptl/tst-barrier4.c: Correct comment.
24846         * nptl/tst-barrier5.c: New file.
24847         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
24848         (gen-as-const-headers): Remove lowlevelbarrier.sym.
24849         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
24850         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
24851         * nptl/lowlevelbarrier.sym: Remove.
24852         * nptl/DESIGN-barrier.txt: Remove.
24853         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
24854         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
24855         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
24856         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
24857         error.
24858         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
24859         implementation.
24861 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24863         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
24864         (do_child): Mask SIGRTMIN while thr is running.
24866 2016-01-15  Martin Sebor  <msebor@redhat.com>
24868         [BZ #19432]
24869         * iconvdata/Makefile: Add bug-iconv11.
24870         * iconvdata/bug-iconv11.c: New test.
24871         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
24872         * iconvdata/ibm933.c: Same.
24873         * iconvdata/ibm935.c: Same.
24874         * iconvdata/ibm937.c: Same.
24875         * iconvdata/ibm939.c: Same.
24877 2016-01-15  Martin Sebor  <msebor@redhat.com>
24879         [BZ #19443]
24880         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
24881         [DEBUG] (_ufc_set_bits): Declare used.
24882         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
24883         [DEBUG] (print_all): Declare used.
24884         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
24885         operands of the ternary ?: expression to target type.
24886         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
24887         calling the undeclared abort.
24888         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
24890 2016-01-15  Martin Sebor  <msebor@redhat.com>
24892         [BZ #18755]
24893         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
24894         warnings.
24895         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
24896         (__gai_create_helper_thread): Same.
24897         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
24898         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
24899         to suppress -Wmaybe-uninitialized warnings.
24901 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
24903         [BZ #19465]
24904         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
24905         inside if.
24906         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24907         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24908         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24910 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
24912         [BZ #19466]
24913         * time/tst-mktime2.c (time_t_max): Removed.
24914         (time_t_min): Likewise.
24915         (TYPE_SIGNED): New.
24916         (TYPE_MINIMUM): Likewise.
24917         (TYPE_MAXIMUM): Likewise.
24918         (TIME_T_MIN): Likewise.
24919         (TIME_T_MAX): Likewise.
24920         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
24921         and TIME_T_MIN.
24922         (do_test): Likewise.
24924 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
24926         [BZ #19467]
24927         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
24928         index_Fast_Unaligned_Load flag for Excavator family CPUs.
24930 2016-01-02  Marcin Koƛcielnicki  <koriakin@0x04.net>
24932         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
24934 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
24936         * benchtests/Makefile (PYTHON): Define.
24937         (bench-func): Use $(PYTHON) to run python scripts.
24938         ($(objpfx)bench-%.c): Likewise.
24940 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
24942         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
24943         leading slash when `file_name' is "/".
24945 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
24947         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
24948         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
24949         Likewise.
24950         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
24951         Likewise.
24952         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
24953         Likewise.
24954         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
24955         enum constant and macro.
24956         (PTRACE_SETSIGMASK): Likewise.
24957         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24958         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24959         (PTRACE_GETSIGMASK): Likewise.
24960         (PTRACE_SETSIGMASK): Likewise.
24961         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24962         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
24963         Likewise.
24964         (PTRACE_SETSIGMASK): Likewise.
24965         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24966         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
24967         (PTRACE_GETSIGMASK): Likewise.
24968         (PTRACE_SETSIGMASK): Likewise.
24969         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24970         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
24971         Likewise.
24972         (PTRACE_SETSIGMASK): Likewise.
24973         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24974         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
24975         Likewise.
24976         (PTRACE_SETSIGMASK): Likewise.
24977         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24978         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
24979         Likewise.
24980         (PTRACE_SETSIGMASK): Likewise.
24981         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24983 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
24984             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24986         [BZ #19439]
24987         * math/bits/mathcalls.h
24988         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
24989         prototype.
24990         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
24992 2016-01-11  Andreas Schwab  <schwab@suse.de>
24994         [BZ #19253]
24995         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
24996         cache when TZDEFRULES was used.
24997         * time/tst-tzname.c: New file.
24998         * time/Makefile (test): Add tst-tzname.
24999         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
25000         * timezone/Makefile (test-zones): Add $(posixrules-file).
25001         ($(testdata)/$(posixrules-file)): New rule.
25003 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
25005         Fix doc quoting problems with Texinfo 5
25006         Without this change, in the info file output, Texinfo 5 quotes code
25007         in text with undirected single quotes 'like this' and generates
25008         code examples that with many PDF readers cannot be cut out of PDFs
25009         and pasted into code.
25010         * manual/libc.texinfo: Configure the libc manual like the GNU
25011         Emacs manual, by using @documentencoding and setting
25012         txicodequoteundirected and txicodequotebacktick.  This way,
25013         Texinfo 5 quotes code in text with directed single quotes â€˜like
25014         this’ and produces examples that can be cut out of PDFs.  This
25015         change causes Texinfo 5 to generate info files that contain UTF-8
25016         characters in the set {'‘', '’', '“', '”', 'Ä', 'Ă€', 'ö', '−',
25017         '–', '—', '©', '⇒', '‱', '
'}, which is OK nowadays.
25019 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25021         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
25022         __libc_tabort, __libc_tend): New wrappers that enforce compiler
25023         barriers to their respective compiler built-ins.
25024         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
25025         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
25026         * sysdeps/powerpc/sysdep.h: Likewise.
25027         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
25028         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
25029         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
25031 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
25033         * scripts/config.guess: Revert previous shebang change.
25034         * scripts/config.sub: Likewise.
25035         * scripts/mkinstalldirs: Likewise.
25037 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25039         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
25040         PPC_FEATURE2_HAS_IEEE128.
25041         * sysdeps/powerpc/dl-procinfo.c:
25042         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
25044 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
25046         [BZ #19415]
25047         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
25048         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
25049         (_dl_lookup_address): Rewrite using function resolver trampoline.
25050         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
25051         two bits in address.
25053 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
25055         * longlong.h: Change !__SHMEDIA__ to
25056         (!defined (__SHMEDIA__) || !__SHMEDIA__).
25057         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
25059 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
25060             Joseph Myers  <joseph@codesourcery.com>
25061             Mark Shinwell  <shinwell@codesourcery.com>
25062             Andrew Stubbs  <ams@codesourcery.com>
25063             Rich Felker <dalias@libc.org>
25065         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
25067 2016-01-07  Richard Henderson  <rth@redhat.com>
25069         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
25071 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
25073         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
25074         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
25075         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25076         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25077         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
25079 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
25080             Joseph Myers  <joseph@codesourcery.com>
25082         * timezone/private.h: Update from tzcode 2015g.
25083         * timezone/tzfile.h: Likewise.
25084         * timezone/tzselect.ksh: Likewise.
25085         * timezone/zdump.c: Likewise.
25086         * timezone/zic.c: Likewise.
25087         * timezone/ialloc.c: Remove file.
25088         * timezone/scheck.c: Likewise.
25089         * timezone/Makefile (extra-objs): Remove variable.
25090         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
25091         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
25092         -Wno-maybe-uninitialized.
25093         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
25094         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
25095         (CFLAGS-ialloc.c): Remove variable.
25096         (CFLAGS-scheck.c): Likewise.
25097         * timezone/README: Update list of files from tzcode.
25099 2016-01-07  Khem Raj  <raj.khem@gmail.com>
25101         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
25102         instead of __fxprintf when _LIBC is undefined.
25104 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
25106         * catgets/test-gencat.sh: Remove space after shebang.
25107         * conform/GlibcConform.pm: Likewise.
25108         * conform/check-header-lists.sh: Likewise.
25109         * conform/conformtest.pl: Likewise.
25110         * conform/linknamespace.pl: Likewise.
25111         * conform/list-header-symbols.pl: Likewise.
25112         * debug/catchsegv.sh: Likewise.
25113         * elf/genrtldtbl.awk: Likewise.
25114         * elf/tst-pathopt.sh: Likewise.
25115         * elf/tst-rtld-load-self.sh: Likewise.
25116         * grp/tst_fgetgrent.sh: Likewise.
25117         * iconvdata/gen-8bit-gap-1.sh: Likewise.
25118         * iconvdata/gen-8bit-gap.sh: Likewise.
25119         * iconvdata/gen-8bit.sh: Likewise.
25120         * iconvdata/run-iconv-test.sh: Likewise.
25121         * intl/tst-gettext.sh: Likewise.
25122         * intl/tst-gettext2.sh: Likewise.
25123         * intl/tst-gettext4.sh: Likewise.
25124         * intl/tst-gettext6.sh: Likewise.
25125         * intl/tst-translit.sh: Likewise.
25126         * io/ftwtest-sh: Likewise.
25127         * libio/test-freopen.sh: Likewise.
25128         * locale/gen-translit.pl: Likewise.
25129         * malloc/tst-mtrace.sh: Likewise.
25130         * manual/check-safety.sh: Likewise.
25131         * manual/libc-texinfo.sh: Likewise.
25132         * manual/tsort.awk: Likewise.
25133         * manual/xtract-typefun.awk: Likewise.
25134         * nptl/tst-cancel-wrappers.sh: Likewise.
25135         * nptl/tst-tls6.sh: Likewise.
25136         * posix/globtest.sh: Likewise.
25137         * posix/tst-getconf.sh: Likewise.
25138         * posix/wordexp-tst.sh: Likewise.
25139         * scripts/check-c++-types.sh: Likewise.
25140         * scripts/check-local-headers.sh: Likewise.
25141         * scripts/config.guess: Likewise.
25142         * scripts/config.sub: Likewise.
25143         * scripts/cpp: Likewise.
25144         * scripts/cross-test-ssh.sh: Likewise.
25145         * scripts/documented.sh: Likewise.
25146         * scripts/evaluate-test.sh: Likewise.
25147         * scripts/gen-libc-abis: Likewise.
25148         * scripts/gen-sorted.awk: Likewise.
25149         * scripts/list-fixed-bugs.py: Likewise.
25150         * scripts/merge-test-results.sh: Likewise.
25151         * scripts/mkinstalldirs: Likewise.
25152         * scripts/rellns-sh: Likewise.
25153         * scripts/test-installation.pl: Likewise.
25154         * scripts/update-copyrights: Likewise.
25155         * stdio-common/tst-printf.sh: Likewise.
25156         * stdio-common/tst-unbputc.sh: Likewise.
25157         * stdlib/tst-fmtmsg.sh: Likewise.
25158         * stdlib/tst-setcontext3.sh: Likewise.
25159         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
25160         * sysdeps/unix/make-syscalls.sh: Likewise.
25162 2016-01-06  John David Anglin  <dave.anglin@bell.net>
25164         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
25165         asm stw with atomic_exchange_rel.  Add explanatory comment.
25166         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
25167         Likewise.
25169 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
25171         [BZ #19122]
25172         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
25173         * sysdeps/generic/dl-unistd.h: New file.
25174         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
25176 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
25178          [BZ #19122]
25179          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
25180          * sysdeps/generic/dl-mman.h: New file.
25181          * sysdeps/mach/hurd/dl-mman.h: Likewise.
25183 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
25185         * manual/texinfo.tex: Update to version 2016-01-04.21 with
25186         trailing whitespace removed.
25187         * scripts/config.guess: Update to version 2016-01-01.
25188         * scripts/config.sub: Update to version 2016-01-01.
25189         * scripts/move-if-change: Update from gnulib.
25191 2016-01-04  Anton Blanchard  <anton@samba.org>
25193         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
25194         for array indices.
25195         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
25197 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
25199         * NEWS: Update copyright dates.
25200         * catgets/gencat.c (print_version): Likewise.
25201         * csu/version.c (banner): Likewise.
25202         * debug/catchsegv.sh: Likewise.
25203         * debug/pcprofiledump.c (print_version): Likewise.
25204         * debug/xtrace.sh (do_version): Likewise.
25205         * elf/ldconfig.c (print_version): Likewise.
25206         * elf/ldd.bash.in: Likewise.
25207         * elf/pldd.c (print_version): Likewise.
25208         * elf/sotruss.sh: Likewise.
25209         * elf/sprof.c (print_version): Likewise.
25210         * iconv/iconv_prog.c (print_version): Likewise.
25211         * iconv/iconvconfig.c (print_version): Likewise.
25212         * locale/programs/locale.c (print_version): Likewise.
25213         * locale/programs/localedef.c (print_version): Likewise.
25214         * login/programs/pt_chown.c (print_version): Likewise.
25215         * malloc/memusage.sh (do_version): Likewise.
25216         * malloc/memusagestat.c (print_version): Likewise.
25217         * malloc/mtrace.pl: Likewise.
25218         * manual/libc.texinfo: Likewise.
25219         * nptl/version.c (banner): Likewise.
25220         * nscd/nscd.c (print_version): Likewise.
25221         * nss/getent.c (print_version): Likewise.
25222         * nss/makedb.c (print_version): Likewise.
25223         * posix/getconf.c (main): Likewise.
25224         * scripts/test-installation.pl: Likewise.
25225         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25227         * All files with FSF copyright notices: Update copyright dates
25228         using scripts/update-copyrights.
25229         * intl/plural.c: Regenerated.
25230         * locale/programs/charmap-kw.h: Likewise.
25231         * locale/programs/locfile-kw.h: Likewise.
25233 2016-01-02  Helge Deller  <deller@gmx.de>
25235         [BZ #19285]
25236         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
25237         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
25238         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
25239         (MADV_xxK_PAGES): Remove.
25241 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
25243         [BZ #15421]
25244         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
25245         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
25246         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
25247         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
25249 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
25251         [BZ #19408]
25252         * sysdeps/unix/sysv/linux/personality.c: New file.
25253         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
25254         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
25255         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
25256         (sysdep_routines): Add personality.
25257         (tests): Add tst-personality.
25258         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
25259         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
25260         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
25261         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
25262         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
25263         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
25264         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
25265         Likewise.
25266         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
25267         Likewise.
25268         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
25269         Likewise.
25270         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
25271         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
25272         Likewise.
25274 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
25276         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
25277         (PATH_ARM_SYSTYPE): Remove.
25278         (PATH_CPUINFO): Likewise.
25279         (IO_BASE_FOOTBRIDGE): Likewise.
25280         (IO_SHIFT_FOOTBRIDGE): Likewise.
25281         (struct platform): Likewise.
25282         (init_iosys): Remove compatibility code for 2.4 kernels.
25283         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
25285 2015-12-29  Florian Weimer  <fweimer@redhat.com>
25287         * malloc/tst-malloc-thread-fail.c: New file.
25288         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
25289         (tst-malloc-thread-fail): Link against libpthread.
25291 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
25293         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
25294         (get_parser): New function.
25295         (main): New function.
25297 2015-12-29  Rob Wu  <rob@robwu.nl>
25299         [BZ #19369]
25300         * resolv/res_init.c (__res_vinit): Reset defdname before use.
25302 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
25304         [BZ #19270]
25305         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25307 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
25309         [BZ #15421]
25310         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
25312 2015-12-23  Torvald Riegel  <triegel@redhat.com>
25314         [BZ #13690]
25315         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
25316         after releasing it.
25317         (__lll_robust_unlock): Likewise.
25318         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25319         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
25320         (lll_robust_unlock): Likewise.
25321         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
25322         Prevent warnings in callers.
25324 2015-12-23  Florian Weimer  <fweimer@redhat.com>
25326         * malloc/arena.c (list_lock): Update comment.
25328 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25330         * sysdeps/powerpc/hwcapinfo.c: Export symbol
25331         __parse_hwcap_and_convert_at_platform to libc.a.
25333 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25335         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
25336         platform and feature support for POWER9.
25337         * sysdeps/powerpc/dl-procinfo.h: Likewise.
25338         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
25339         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
25340         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
25341         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
25342         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
25343         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
25344         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
25346 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25348         Harmonize generic stdio-lock support with nptl
25350         This fixes build when _IO_funlockfile is a macro, fixes build where
25351         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
25352         stack unwind.
25354         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
25355         _IO_release_lock ): Use cleanup attribute on new
25356         _IO_acquire_lock_file variable instead of assuming that
25357         _IO_release_lock will be called.
25358         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
25359         _IO_acquire_lock_needs_exceptions_enabled.
25360         (_IO_acquire_lock_clear_flags2): New macro.
25362 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25364         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
25366 2015-12-21  Florian Weimer  <fweimer@redhat.com>
25368         [BZ #19182]
25369         * malloc/arena.c (list_lock): Document lock ordering requirements.
25370         (free_list_lock): New lock.
25371         (ptmalloc_lock_all): Comment on free_list_lock.
25372         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
25373         (detach_arena): Update comment.  free_list_lock is now needed.
25374         (_int_new_arena): Use free_list_lock around detach_arena call.
25375         Acquire arena lock after list_lock.  Add comment, including FIXME
25376         about incorrect synchronization.
25377         (get_free_list): Switch to free_list_lock.
25378         (reused_arena): Acquire free_list_lock around detach_arena call
25379         and attached threads counter update.  Add two FIXMEs about
25380         incorrect synchronization.
25381         (arena_thread_freeres): Switch to free_list_lock.
25382         * malloc/malloc.c (struct malloc_state): Update comments to
25383         mention free_list_lock.
25385 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
25387         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
25388         Remove functions.
25389         (sloww, sloww1): Accept argument to offset quadrant.
25390         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
25391         quadrant.
25392         (__sin, __cos): Consolidate common code into new functions.
25393         (reduce_sincos_1, do_sincos_1): New functions.
25394         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25396         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
25397         code to new functions.
25398         (reduce_sincos_2, do_sincos_2): New functions.
25399         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25401         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
25402         common code for sincos.
25403         (__cos) [!IN_SINCOS]: Likewise.
25404         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
25405         New function.
25406         (__sincos): Use it.
25408 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
25410         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
25411         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
25412         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25414 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
25416         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
25417         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
25418         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
25419         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
25420         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25421         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
25422         index_Prefer_No_VZEROUPPER): New feature.
25423         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
25424         Prefer_No_VZEROUPPER for Knights Landing.
25426 015-12-18  Torvald Riegel  <triegel@redhat.com>
25428         * math/atest-exp2.c (mp_exp_m1): Remove.
25430 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25432         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
25433         syscalls.
25434         (__SYSCALL0): New macro.
25435         (__SYSCALL1): Likewise.
25436         (__SYSCALL2): Likewise.
25437         (__SYSCALL3): Likewise.
25438         (__SYSCALL4): Likewise.
25439         (__SYSCALL5): Likewise.
25440         (__SYSCALL6): Likewise.
25441         (__SYSCALL_CONCAT_X): Likewise.
25442         (__SYSCALL_CONCAT): Likewise.
25443         (__SYSCALL_DIST): Likewise.
25444         (__SYSCALL_CALL): Likewise.
25446 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
25448         [BZ #19363]
25449         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
25451 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25453         [BZ #19375]
25454         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
25455         negative subnormals.
25457 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
25459         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25460         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
25461         (INTERNAL_SYSCALL_NCS): Use it.
25462         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25464 2015-12-16  Florian Weimer  <fweimer@redhat.com>
25466         [BZ #19243]
25467         * malloc/arena.c (get_free_list): Remove assert and adjust
25468         reference count handling.  Add comment about reused_arena
25469         interaction.
25470         (reused_arena): Add comments abount get_free_list interaction.
25471         * malloc/tst-malloc-thread-exit.c: New file.
25472         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
25473         (tst-malloc-thread-exit): Link against libpthread.
25475 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
25477         [BZ #19367]
25478         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
25479         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
25480         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
25481         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
25482         (index_Prefer_MAP_32BIT_EXEC): Likewise.
25484 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
25486         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
25487         Silvermont optimizations for Knights Landing.
25489 2015-12-15  Andreas Schwab  <schwab@suse.de>
25491         [BZ #17197]
25492         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
25493         immediately after emitting SI.
25494         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
25495         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
25496         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
25497         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
25498         * iconvdata/bug-iconv10.c: New file.
25499         * iconvdata/Makefile (tests): Add bug-iconv10.
25500         ($(objpfx)bug-iconv10.out): New rule.
25502 2015-12-15  Florian Weimer  <fweimer@redhat.com>
25504         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
25505         aliasing violation.
25507 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
25509         [BZ #18472]
25510         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
25511         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
25512         conditionals for them.
25513         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
25514         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
25515         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
25516         sys/kdaemon.h.
25517         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
25518         compat-only syscall, obsoleted in glibc 2.23.
25519         (create_module): Likewise.
25520         (get_kernel_syms): Likewise.
25521         (query_module): Likewise.
25522         (uselib): Likewise.
25523         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
25525 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
25527         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
25528         <linux/version.h>.
25529         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
25530         conditional code.
25531         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
25532         and ioshift_name initialization.
25534 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25536         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25537         Fix indentation.
25539 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25541         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
25543 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25545         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
25547 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
25548             Jakub Wilk  <jwilk@debian.org>
25550         [BZ #19347]
25551         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
25552         to change the group of the device to the tty group.
25554 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
25556         Split large string section; add truncation advice
25557         * manual/examples/strncat.c: Remove.
25558         This example was misleading, as the code would have undefined
25559         behavior if "hello" was longer than SIZE.  Anyway, the manual
25560         shouldn't encourage strncpy+strncat for this sort of thing.
25561         * manual/string.texi (Copying Strings and Arrays): Split into
25562         three sections Copying Strings and Arrays, Concatenating Strings,
25563         and Truncating Strings, as this section was way too long.  All
25564         cross-referenced changed.  Add advice about string-truncation
25565         functions.  Remove misleading strncat example.
25567 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
25569         * manual/nss.texi (NSS Modules Interface): Document
25570         NSS_STATUS_NOTFOUND and SUCCESS.
25572 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
25574         [BZ 18568]
25575         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25576         201505L, for Unicode 8.
25578 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
25580         * locale/C-translit.h: Regenerate.
25582 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
25584         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
25585         and U+0153.
25587 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
25589         [BZ #19351]
25590         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
25591         expanding log(1+z), compare z rather than its square with epsilon
25592         to determine when to avoid evaluating the expansion.
25594         [BZ #19350]
25595         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25596         Increase overflow threshold.
25598         [BZ #19349]
25599         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
25600         when small.
25602         * sysdeps/unix/sysv/linux/i386/kernel-features.h
25603         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25604         New macro.
25605         [__LINUX_KERNEL_VERSION >= 0x040300]
25606         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25607         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25608         Likewise.
25609         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25610         Likewise.
25611         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25612         Likewise.
25613         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25614         Likewise.
25615         [__LINUX_KERNEL_VERSION >= 0x040300]
25616         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25617         [__LINUX_KERNEL_VERSION >= 0x040300]
25618         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25619         [__LINUX_KERNEL_VERSION >= 0x040300]
25620         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25621         [__LINUX_KERNEL_VERSION >= 0x040300]
25622         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25623         [__LINUX_KERNEL_VERSION >= 0x040300]
25624         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25625         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25626         Likewise.
25627         [__LINUX_KERNEL_VERSION >= 0x040300]
25628         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25629         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25630         Likewise.
25631         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25632         Likewise.
25633         [__LINUX_KERNEL_VERSION >= 0x040300]
25634         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25635         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25636         Likewise.
25637         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25638         Likewise.
25639         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25640         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
25641         Likewise.
25642         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
25643         Likewise.
25644         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25645         Likewise.
25646         [__LINUX_KERNEL_VERSION >= 0x040300]
25647         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25648         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25649         Likewise.
25650         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25651         Likewise.
25652         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25653         Likewise.
25654         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25655         Likewise.
25656         [__LINUX_KERNEL_VERSION >= 0x040300]
25657         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25658         [__LINUX_KERNEL_VERSION >= 0x040300]
25659         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25660         [__LINUX_KERNEL_VERSION >= 0x040300]
25661         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25662         [__LINUX_KERNEL_VERSION >= 0x040300]
25663         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25664         [__LINUX_KERNEL_VERSION >= 0x040300]
25665         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25666         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25667         Likewise.
25668         [__LINUX_KERNEL_VERSION >= 0x040300]
25669         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25670         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25671         Likewise.
25672         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25673         Likewise.
25674         [__LINUX_KERNEL_VERSION >= 0x040300]
25675         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25676         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25677         Likewise.
25678         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25679         Likewise.
25680         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25681         (__ASSUME_SOCKET_SYSCALL): Likewise.
25682         (__ASSUME_BIND_SYSCALL): Likewise.
25683         (__ASSUME_CONNECT_SYSCALL): Likewise.
25684         (__ASSUME_LISTEN_SYSCALL): Likewise.
25685         (__ASSUME_ACCEPT_SYSCALL): Likewise.
25686         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25687         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25688         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25689         (__ASSUME_SEND_SYSCALL): Likewise.
25690         (__ASSUME_SENDTO_SYSCALL): Likewise.
25691         (__ASSUME_RECV_SYSCALL): Likewise.
25692         (__ASSUME_RECVFROM_SYSCALL): Likewise.
25693         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
25694         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25695         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25696         (__ASSUME_SENDMSG_SYSCALL): Likewise.
25697         (__ASSUME_RECVMSG_SYSCALL): Likewise.
25698         * sysdeps/unix/sysv/linux/sh/kernel-features.h
25699         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
25700         Likewise.
25701         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
25702         Likewise.
25703         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
25704         Likewise.
25705         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
25706         Likewise.
25707         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
25708         Likewise.
25709         [__LINUX_KERNEL_VERSION >= 0x020625]
25710         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25711         [__LINUX_KERNEL_VERSION >= 0x020625]
25712         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25713         [__LINUX_KERNEL_VERSION >= 0x020625]
25714         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25715         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
25716         Likewise.
25717         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
25718         Likewise.
25719         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
25720         Likewise.
25721         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
25722         Likewise.
25723         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
25724         Likewise.
25725         [__LINUX_KERNEL_VERSION >= 0x020625]
25726         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25727         [__LINUX_KERNEL_VERSION >= 0x020625]
25728         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25729         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
25730         Likewise.
25731         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
25732         Likewise.
25734 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
25736         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
25737         record the current if the current ABI and CPU support the FP64
25738         extension.
25739         (has-modd-spreg): Define to record the current if the current ABI and
25740         CPU support 32-bit floating point values in odd FPU registers.
25741         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25742         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
25743         $(has-modd-spreg) equals yes.
25744         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
25745         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
25746         $(has-modd-spreg) equal yes.
25748 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
25750         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
25751         basename.
25753 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
25755         * benchtests/Makefile (bench-math): Move ffs and ffsll...
25756         (bench-string): ... here.
25757         (bench): Add bench-string.
25758         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
25759         to *-benchset to reflect what they are.
25760         (benchset): Adjust.
25762         * benchtests/sincos-inputs: Add inputs from sin-inputs and
25763         cos-inputs.
25765 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
25767         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
25768         __attribute__ ((__simd__)) for vector math function declarations.
25770 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25772         Fix typo in strncat, wcsncat manual entries
25773         * manual/string.texi (Copying and Concatenation): Fix typos in
25774         sample implementations of strncat and wcsncat, by having them use
25775         the old value of the destination length, not the new one.
25777 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
25779         [BZ #16961]
25780         [BZ #16962]
25781         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
25782         string on the stack for strtod.
25783         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
25784         a string on the stack for strtof.
25785         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
25786         constructing a string on the stack for strtold.
25787         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
25788         __strtold_nan to GLIBC_PRIVATE.
25789         * math/test-nan-overflow.c: New file.
25790         * math/test-nan-payload.c: Likewise.
25791         * math/Makefile (tests): Add test-nan-overflow and
25792         test-nan-payload.
25794 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25796         Consistency about byte vs character in string.texi
25797         * manual/string.texi (String and Array Utilities):
25798         Distinguish more carefully among bytes, multibyte characters,
25799         and wide characters.  Use "byte" when talking about C 'char',
25800         to distinguish it more clearly from multibyte characters.
25801         Say "wide character" or "multibyte character" instead of
25802         "character", when a wide or multibyte character is intended.
25803         Similarly for "multibyte string" versus "string".
25804         Define these terms more carefully.
25806 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
25808         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
25809         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
25810         Likewise.
25811         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25812         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25813         * sysdeps/sh/math_private.h: New file.
25814         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
25815         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
25816         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
25817         long double function name.
25818         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25819         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25820         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25821         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25822         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25824         Remove __finitel, __isinfl, and __isnanl.
25825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25826         Likewise.
25827         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25829         Remove __finitel.
25830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25831         Likewise.
25832         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25834 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
25836         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
25837         installed libmvec_nonshared.a.
25839 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25841         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
25842         (sysdep_routines): Likewise.
25843         (sysdep-rtld-routines): Likewise.
25844         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
25845         [$(subdir) = nptl](tests-static): test-get_hwcap-static
25846         * sysdeps/powerpc/Versions: Added new
25847         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
25848         * sysdeps/powerpc/hwcapinfo.c: New file.
25849         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
25850         and parse hwcap, hwcap2 and platform number information.
25851         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
25852         to store HWCAP+HWCAP2 and platform number.
25853         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
25854         for HWCAP+HWCAP2 and platform number in the TCB.
25855         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
25856         the HWCAP, HWCAP2 and platform number in the TCB.
25857         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
25858         (TLS_INIT_TP): Included calls to add the hwcap and
25859         at_platform values in the TCB in TP initialization.
25860         (TLS_DEFINE_INIT_TP): Likewise.
25861         (THREAD_GET_HWCAP): New macro.
25862         (THREAD_SET_HWCAP): Likewise.
25863         (THREAD_GET_AT_PLATFORM): Likewise.
25864         (THREAD_SET_AT_PLATFORM): Likewise.
25865         * sysdeps/powerpc/powerpc32/dl-machine.h:
25866         (dl_platform_init): New function that calls
25867         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
25868         powerpc32.
25869         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
25870         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
25871         this functionality, static linking case.
25872         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
25873         linking case.
25874         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
25875         __parse_hwcap_and_convert_at_platform for the static linking case.
25876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
25877         Included the new __parse_hwcap_and_convert_at_platform symbol in the
25878         ABI list for GLIBC 2.23.
25879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
25880         Likewise.
25881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
25882         Likewise.
25884 2015-12-02  Ludovic CourtĂšs  <ludo@gnu.org>
25886         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
25887         * configure: Regenerate.
25888         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
25889         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
25891 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
25893         * iconvdata/ibm930.c: Add comment explaining encoding uses.
25894         * iconvdata/ibm933.c: Likewise.
25895         * iconvdata/ibm935.c: Likewise.
25896         * iconvdata/ibm937.c: Likewise.
25897         * iconvdata/ibm939.c: Likewise.
25899 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25901         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
25902         pthread_join.
25903         * nptl/tst-cancel21.c (tf): Likewise.
25905 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
25907         [BZ #19313]
25908         * bits/typesizes.h (__CPU_MASK_TYPE): New.
25909         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25910         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25911         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
25912         Likewise.
25913         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
25914         Likewise.
25915         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
25916         Likewise.
25917         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
25918         Likewise.
25919         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
25920         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
25921         unsigned long int with __CPU_MASK_TYPE.
25923 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25925         * sysdeps/aarch64/libm-test-ulps: Regenerated.
25927 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
25929         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
25930         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
25931         t512.x.
25932         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
25934 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
25936         [BZ #19214]
25937         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
25938         argument to return extended model.  Update family and model
25939         with extended family and model when family == 0x0f.
25940         (init_cpu_features): Updated.
25942 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25944         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
25945         signed off_t, so 32bit bigger than 2GiB values are fine actually.
25947         * sysdeps/mach/hurd/mmap64.c: New file.
25949 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
25951         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
25952         rights for its main user thread in NEWTASK.
25954 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
25956         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
25957         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
25959 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
25961         [BZ #14259]
25962         * Makeconfig: Rename localedir to complocaledir.
25963         Rename inst_localedir to inst_complocaledir.
25964         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
25965         * config.make.in: Use complocaledir and libc_cv_complocaledir.
25966         * configure.ac: Use libc_cv_complocaledir.
25967         * configure: Regenerate.
25968         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
25969         -DCOMPLOCALEDIR.
25970         * locale/findlocale.c: Use COMPLOCALEDIR.
25971         * locale/loadarchive.c: Likewise.
25972         * locale/programs/locale.c: Likewise.
25973         * locale/programs/localedef.c: Likewise.
25974         * locale/programs/locarchive.c: Likewise.
25975         * localedata/Makefile: Use inst_complocaledir.
25976         * sysdeps/gnu/configure: Regenerate.
25977         * sysdeps/hppa/configure: Regenerate.
25978         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
25979         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
25981         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
25982         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
25983         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
25984         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
25986 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
25988         [BZ #19058]
25989         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
25990         AS_NEEDED.
25991         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
25992         workaround.
25993         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
25994         libmvec-static-only-routines): Added new file.
25995         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
25997 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25999         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
26000         of interrupted RPC instead of restoring it.
26002         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
26003         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
26004         libc_hidden_def.
26005         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
26006         into initialized data instead of common. Define rtld_hidden_data_def.
26007         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
26008         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
26009         libc_hidden_def.
26010         (if_freenameindex): Add libc_hidden_weak.
26011         (if_nameindex): Add libc_hidden_weak.
26012         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
26013         __open64.
26014         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
26015         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
26016         * sysdeps/mach/nanosleep.c: Include <time.h>
26017         (__nanosleep): Rename to __libc_nanosleep.
26018         (__nanosleep): Add weak_alias.
26019         (nanosleep): Update alias.
26021 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
26023         * stdlib/strtod_nan.c: New file.
26024         * stdlib/strtod_nan_double.h: Likewise.
26025         * stdlib/strtod_nan_float.h: Likewise.
26026         * stdlib/strtod_nan_main.c: Likewise.
26027         * stdlib/strtod_nan_narrow.h: Likewise.
26028         * stdlib/strtod_nan_wide.h: Likewise.
26029         * stdlib/strtof_nan.c: Likewise.
26030         * stdlib/strtold_nan.c: Likewise.
26031         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
26032         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
26033         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
26034         * wcsmbs/wcstod_nan.c: Likewise.
26035         * wcsmbs/wcstof_nan.c: Likewise.
26036         * wcsmbs/wcstold_nan.c: Likewise.
26037         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
26038         strtold_nan.
26039         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
26040         wcstof_nan.
26041         * include/stdlib.h (__strtof_nan): Declare and use
26042         libc_hidden_proto.
26043         (__strtod_nan): Likewise.
26044         (__strtold_nan): Likewise.
26045         (__wcstof_nan): Likewise.
26046         (__wcstod_nan): Likewise.
26047         (__wcstold_nan): Likewise.
26048         * include/wchar.h (____wcstoull_l_internal): Declare.
26049         * stdlib/strtod_l.c: Do not include <ieee754.h>.
26050         (____strtoull_l_internal): Remove declaration.
26051         (STRTOF_NAN): Define macro.
26052         (SET_MANTISSA): Remove macro.
26053         (STRTOULL): Likewise.
26054         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
26055         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
26056         (STRTOF_NAN): Define macro.
26057         (SET_MANTISSA): Remove macro.
26058         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
26059         (SET_MANTISSA): Remove macro.
26060         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
26061         macro.
26062         (SET_MANTISSA): Remove macro.
26063         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
26064         macro.
26065         (SET_MANTISSA): Remove macro.
26066         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
26067         (SET_MANTISSA): Remove macro.
26068         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
26069         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
26070         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
26072         [BZ #19266]
26073         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
26074         upper case and lower case letters inside NAN(), not using TOLOWER.
26075         * stdlib/tst-strtod-nan-locale-main.c: New file.
26076         * stdlib/tst-strtod-nan-locale.c: Likewise.
26077         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
26078         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
26079         Depend on $(gen-locales).
26080         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
26081         * wcsmbs/tst-wcstod-nan-locale.c: New file.
26082         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
26083         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
26084         Depend on $(gen-locales).
26085         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
26087 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
26089         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
26091         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
26092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
26093         __finitel, __isinfl, and __isnanl.
26094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
26095         Likewise.
26096         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
26098         __finitel.
26099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26100         Likewise.
26101         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26103 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
26105         * malloc/memusage.c (me): Remove redundant getenv call.
26107 2015-10-24  Florian Weimer  <fweimer@redhat.com>
26109         [BZ #19143]
26110         [BZ #19164]
26111         * nptl/check-cpuset.h: Remove.
26112         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26113         Remove CPU set size check.
26114         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26115         Likewise.
26116         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
26117         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
26118         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
26119         (__pthread_setaffinity_new): Remove CPU set size check.
26120         * sysdeps/unix/sysv/linux/sched_setaffinity.c
26121         (__kernel_cpumask_size): Remove.
26122         (__sched_setaffinity_new): Remove CPU set size check.
26123         * manual/threads.texi (Default Thread Attributes): Remove stale
26124         reference to check_cpuset_attr, determine_cpumask_size in comment.
26125         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
26126         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
26127         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
26128         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
26129         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
26130         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
26131         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
26132         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
26133         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
26134         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
26135         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
26136         skeleton test file.
26137         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
26138         tst-affinity-pid.
26140 2015-11-24  Florian Weimer  <fweimer@redhat.com>
26142         * scripts/update-abilist.sh: New file.
26143         * Makefile (+subdir_targets): Add subdir_update-all-abi.
26144         * Makerules (update-all-abi-%, update-all-abi)
26145         (subdir_update-all-abi): New targets.
26146         * elf/Makefile (update-all-abi): New target.
26148 2015-11-24  Florian Weimer  <fweimer@redhat.com>
26150         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
26151         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
26152         (__libc_lock_define_initialized): Use it.
26153         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
26154         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
26155         * malloc/malloc.c (main_arena): Likewise.
26156         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26157         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26159 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
26161         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
26162         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
26163         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26164         (PTRACE_O_MASK): Update value.
26165         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
26166         New value in enum __ptrace_setoptions.
26167         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26168         (PTRACE_O_MASK): Update value.
26169         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
26170         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26171         (PTRACE_O_MASK): Update value.
26172         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
26173         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26174         (PTRACE_O_MASK): Update value.
26175         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
26176         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26177         (PTRACE_O_MASK): Update value.
26178         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
26179         New value in enum __ptrace_setoptions.
26180         (PTRACE_O_MASK): Update value.
26181         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
26182         New value in enum __ptrace_setoptions.
26183         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26184         (PTRACE_O_MASK): Update value.
26186         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
26187         New macro.
26188         (PACKET_AUXDATA): Likewise.
26189         (PACKET_ORIGDEV): Likewise.
26190         (PACKET_VERSION): Likewise.
26191         (PACKET_HDRLEN): Likewise.
26192         (PACKET_RESERVE): Likewise.
26193         (PACKET_TX_RING): Likewise.
26194         (PACKET_LOSS): Likewise.
26195         (PACKET_VNET_HDR): Likewise.
26196         (PACKET_TX_TIMESTAMP): Likewise.
26197         (PACKET_TIMESTAMP): Likewise.
26198         (PACKET_FANOUT): Likewise.
26199         (PACKET_TX_HAS_OFF): Likewise.
26200         (PACKET_QDISC_BYPASS): Likewise.
26201         (PACKET_ROLLOVER_STATS): Likewise.
26202         (PACKET_FANOUT_DATA): Likewise.
26203         (PACKET_MR_UNICAST): Likewise.
26205         [BZ #19242]
26206         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
26207         (TOUPPER): Likewise.
26208         * stdlib/tst-strtol-locale-main.c: New file.
26209         * stdlib/tst-strtol-locale.c: Likewise.
26210         * stdlib/Makefile (tests): Add tst-strtol-locale.
26211         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
26212         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
26213         Depend on $(gen-locales).
26214         * wcsmbs/tst-wcstol-locale.c: New file.
26215         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
26216         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
26217         tr_TR.ISO-8859-9.
26218         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
26219         Depend on $(gen-locales).
26221 2015-11-20  Roland McGrath  <roland@hack.frob.com>
26223         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
26224         __glibc_likely instead of __builtin_expect.  After falling back to
26225         dyncode_create in a non-ET_DYN case, use the allocate_code_data
26226         system interface to register the code pages as occupied.
26228 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
26230         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26231         [!ARM_MATH_PRIVATE_H].
26232         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
26233         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26234         [!HPPA_MATH_PRIVATE_H].
26235         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
26236         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
26237         to [!I386_MATH_PRIVATE_H].
26238         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
26239         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
26240         Change guard to [!M68K_MATH_PRIVATE_H].
26241         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
26242         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
26243         guard to [!MICROBLAZE_MATH_PRIVATE_H].
26244         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
26245         macro.
26246         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26247         [!MIPS_MATH_PRIVATE_H].
26248         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
26249         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26250         [!NIO2_MATH_PRIVATE_H].
26251         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
26252         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26253         [!TILE_MATH_PRIVATE_H].
26254         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
26256         [BZ #15421]
26257         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
26258         initialize with 0 and define as weak alias of __signgam.
26259         * include/math.h [!_ISOMAC] (__signgam): Declare.
26260         * math/Makefile (libm-calls): Add w_lgamma_compat.
26261         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
26262         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
26263         test-signgam-ullong-init.
26264         (tests-static): Add test-signgam-uchar-static,
26265         test-signgam-uchar-init-static, test-signgam-uint-static,
26266         test-signgam-uint-init-static, test-signgam-ullong-static and
26267         test-signgam-ullong-init-static.
26268         (CFLAGS-test-signgam-uchar.c): New variable.
26269         (CFLAGS-test-signgam-uchar-init.c): Likewise.
26270         (CFLAGS-test-signgam-uchar-static.c): Likewise.
26271         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
26272         (CFLAGS-test-signgam-uint.c): Likewise.
26273         (CFLAGS-test-signgam-uint-init.c): Likewise.
26274         (CFLAGS-test-signgam-uint-static.c): Likewise.
26275         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
26276         (CFLAGS-test-signgam-ullong.c): Likewise.
26277         (CFLAGS-test-signgam-ullong-init.c): Likewise.
26278         (CFLAGS-test-signgam-ullong-static.c): Likewise.
26279         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
26280         * math/Versions (libm): Add GLIBC_2.23.
26281         * math/lgamma-compat.h: New file.
26282         * math/test-signgam-main.c: Likewise.
26283         * math/test-signgam-uchar-init-static.c: Likewise.
26284         * math/test-signgam-uchar-init.c: Likewise.
26285         * math/test-signgam-uchar-static.c: Likewise.
26286         * math/test-signgam-uchar.c: Likewise.
26287         * math/test-signgam-uint-init-static.c: Likewise.
26288         * math/test-signgam-uint-init.c: Likewise.
26289         * math/test-signgam-uint-static.c: Likewise.
26290         * math/test-signgam-uint.c: Likewise.
26291         * math/test-signgam-ullong-init-static.c: Likewise.
26292         * math/test-signgam-ullong-init.c: Likewise.
26293         * math/test-signgam-ullong-static.c: Likewise.
26294         * math/test-signgam-ullong.c: Likewise.
26295         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
26296         wrapper of w_lgamma_main.c.
26297         * math/w_lgamma_compat.c: New file.
26298         * math/w_lgamma_compatf.c: Likewise.
26299         * math/w_lgamma_compatl.c: Likewise.
26300         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
26301         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
26302         defining compatibility symbols.
26303         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
26304         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
26305         wrapper of w_lgammaf_main.c.
26306         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
26307         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
26308         defining compatibility symbols.
26309         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
26310         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
26311         wrapper of w_lgammal_main.c.
26312         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
26313         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
26314         defining compatibility symbols.
26315         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
26316         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
26317         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
26318         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
26319         <lgamma-compat.h>.
26320         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
26321         (__ieee754_gamma): Define as alias.
26322         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
26323         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
26324         <lgamma-compat.h>.
26325         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
26326         (__ieee754_gammaf): Define as alias.
26327         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
26328         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
26329         <lgamma-compat.h>.
26330         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
26331         (__ieee754_gammal): Define as alias.
26332         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
26333         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
26334         <math/w_lgamma_compat.c>.
26335         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
26336         Define as alias of __lgamma_compat and use in defining lgammal.
26337         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
26338         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
26339         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
26340         (USE_AS_COMPAT): New macro.
26341         (LGAMMA_OLD_VER): Undefine and redefine.
26342         (lgammal): Do not define here.
26343         (gammal): Only define here if [GAMMA_ALIAS].
26344         * conform/linknamespace.pl (@whitelist): Remove signgam.
26345         * sysdeps/nacl/libm.abilist: Update.
26346         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26347         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26348         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26349         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26350         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26351         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26352         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26353         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26354         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26355         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26356         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26357         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26359         Likewise.
26360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26361         Likewise.
26362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26363         Likewise.
26364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26365         Likewise.
26366         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26367         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26368         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26369         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26370         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26372         Likewise.
26373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26374         Likewise.
26375         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26376         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26377         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26379 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26381         [BZ #16364]
26382         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
26383         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
26385 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26387         * sysdeps/s390/fpu/bits/mathinline.h:
26388         Use __asm__ [__volatile__] instead of asm [volatile].
26389         * sysdeps/s390/abort-instr.h: Likewise.
26390         * sysdeps/s390/atomic-machine.h: Likewise.
26391         * sysdeps/s390/bits/string.h: Likewise.
26392         * sysdeps/s390/dl-tls.h: Likewise.
26393         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26394         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26395         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26396         * sysdeps/s390/fpu/fesetround.c: Likewise.
26397         * sysdeps/s390/fpu/fpu_control.h: Likewise.
26398         * sysdeps/s390/fpu/s_fma.c: Likewise.
26399         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
26400         * sysdeps/s390/memusage.h: Likewise.
26401         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
26402         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
26403         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
26404         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
26405         * sysdeps/s390/nptl/tls.h: Likewise.
26406         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
26407         * sysdeps/s390/s390-32/backtrace.c: Likewise.
26408         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26409         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
26410         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26411         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26412         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
26413         * sysdeps/s390/s390-64/backtrace.c: Likewise.
26414         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26415         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
26416         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
26417         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26418         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26419         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
26420         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26421         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26422         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
26423         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26424         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
26425         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26426         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
26427         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26428         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
26430 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26431             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26433         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26434         Add lwarx hint, and use macro for acquire instruction.
26435         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26436         Likewise.
26437         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
26438         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
26439         update to use new atomic macros.
26441 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26443         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26444         (__lll_trylock_elision): Fix setting of adapt_count.
26445         * sysdeps/unix/sysv/linux/powerpc/htm.h
26446         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
26447         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
26448         (_ABORT_SYSCALL): Renumber, and clarify definition.
26449         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
26451 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26453         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
26454         after system headers to prevent MIN/MAX redefinition.  Define
26455         HAVE_ALLOCA to preserve builtin alloca usage.
26457 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
26459         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
26460         static and don't set or restore rounding.
26461         (__cos)[IN_SINCOS]: Likewise.
26462         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
26463         (__sincos): Set and restore rounding mode.  Remove check for infinite
26464         or NaN input.
26466         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
26468         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
26469         as used.
26471 2015-11-16  Florian Weimer  <fweimer@redhat.com>
26473         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
26475 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26477         * config.make.in (have-glob-dat-reloc): New.
26478         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
26479         target supports GLOB_DAT relocaton. AC_SUBST.
26480         * configure: Regenerated.
26481         * elf/Makefile (tests): Add tst-prelink.
26482         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26483         (tst-prelink-ENV): New.
26484         ($(objpfx)tst-prelink-conflict.out): Likewise.
26485         ($(objpfx)tst-prelink-cmp.out): Likewise.
26486         * sysdeps/x86/tst-prelink.c: Moved to ...
26487         * elf/tst-prelink.c: Here.
26488         * sysdeps/x86/tst-prelink.exp: Moved to ...
26489         * elf/tst-prelink.exp: Here.
26490         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
26491         (tst-prelink-ENV): Removed.
26492         ($(objpfx)tst-prelink-conflict.out): Likewise.
26493         ($(objpfx)tst-prelink-cmp.out): Likewise.
26494         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
26496 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
26498         [BZ #14551]
26499         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
26500         (__mpn_construct_long_double): If high part overflows to infinity,
26501         set errno and recompute overflowed result of the correct sign.
26502         * sysdeps/ieee754/ldbl-128ibm/Makefile
26503         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
26504         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
26505         $(libm).
26506         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
26508 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
26510         [BZ #15479]
26511         [BZ #19238]
26512         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
26513         floating-point state after first operation on input.  Restore full
26514         state rather than just rounding mode.
26515         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
26516         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
26517         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
26519         [BZ #19235]
26520         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
26521         add 0.5 to integer arguments.
26522         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
26523         Likewise.
26524         (.LC2): New object.
26526 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
26528         * scripts/pylintrc (reports): Set to no.
26530 2015-11-10  Roland McGrath  <roland@hack.frob.com>
26532         * elf/dl-load.c (open_verify): Take new argument FD.
26533         Skip __open call if passed FD is not -1.
26534         (_dl_map_object, open_path): Update callers.
26535         * elf/dl-sysdep-open.h: New file.
26536         * elf/dl-load.c: Include it.
26537         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
26538         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
26539         * sysdeps/nacl/dl-sysdep-open.h: New file.
26540         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
26541         from libc to rtld.
26543 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
26545         [BZ #19228]
26546         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
26547         and restore full floating-point state.
26548         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26549         Likewise.
26550         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
26551         Likewise.
26552         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
26553         Likewise.
26554         * math/test-nearbyint-except-2.c: New file.
26555         * math/Makefile (tests): Add test-nearbyint-except-2.
26557 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
26559         [BZ #19178]
26560         * sysdeps/x86/Makefile (tests): Add tst-prelink.
26561         (tst-prelink-ENV): New.
26562         ($(objpfx)tst-prelink-conflict.out): Likewise.
26563         ($(objpfx)tst-prelink-cmp.out): Likewise.
26564         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26565         * sysdeps/x86/tst-prelink.c: New file.
26566         * sysdeps/x86/tst-prelink.exp: Likewise.
26568 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
26570         * math/auto-libm-test-in: Add another test of pow.
26571         * math/auto-libm-test-out: Regenerated.
26572         * math/libm-test.inc (pow_test_data): Add another test.
26574 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26576         [BZ #19219]
26577         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
26578         weak_alias to nearbyintl.
26580 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
26582         * sysdeps/aarch64/bits/string.h: New file.
26583         (_STRING_ARCH_unaligned): Define.
26585 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
26587         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
26588         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26589         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26590         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
26591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
26593 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
26595         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
26596         for original name of the DSO.  Add it to the name list of the DSO
26597         if it is actually given.
26598         (_dl_map_object): Keep track of whether an audit module rewrote
26599         the file name.  If yes, pass the original name to
26600         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
26601         debugging is enabled, log the change of the file name.
26602         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
26603         _dl_map_object_from_fd.
26604         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
26605         * elf/tst-audit11.c: New file
26606         * elf/tst-auditmod11.c: New file.
26607         * elf/tst-audit11mod1.c: New file.
26608         * elf/tst-audit11mod2.c: New file.
26609         * elf/tst-audit11mod2.map: New file.
26610         * elf/tst-audit12.c: New file
26611         * elf/tst-auditmod12.c: New file.
26612         * elf/tst-audit12mod1.c: New file.
26613         * elf/tst-audit12mod2.c: New file.
26614         * elf/tst-audit12mod2.map: New file.
26615         * elf/tst-audit12mod3.c: New file.
26617 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
26619         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
26620         Don't create weak aliases,
26621         because versioned symbols are created later.
26622         * sysdeps/s390/s390-32/setjmp.S
26623         (setjmp, _setjmp): Remove weak and rename to an unique name
26624         in SHARED case due to existing versioned symbols.
26625         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26626         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
26627         (getcontext): Create weak alias only in non SHARED case.
26628         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26630 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
26632         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
26633         (__ASSUME_*_SYSCALL) Define new macros.
26634         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
26635         Remove socketcall syscalls.
26636         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
26637         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
26638         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
26639         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
26640         * sysdeps/unix/sysv/linux/send.c (__libc_send):
26641         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
26643 2015-11-09  Florian Weimer  <fweimer@redhat.com>
26645         [BZ #12926]
26646         Terminate process on invalid netlink response.
26647         * sysdeps/unix/sysv/linux/netlinkaccess.h
26648         (__netlink_assert_response): Declare.
26649         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
26650         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
26651         (sysdep_routines): Add netlink_assert_response.
26652         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
26653         __netlink_assert_response.
26654         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
26655         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
26656         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
26657         __netlink_assert_response.
26659 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26661         [BZ #19178]
26662         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
26663         (RTYPE_CLASS_PLT): Likewise.
26664         (RTYPE_CLASS_COPY): Likewise.
26665         (RTYPE_CLASS_TLS): Likewise.
26666         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
26667         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
26668         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
26669         DL_DEBUG_PRELINK.
26671 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
26673         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
26674         calls with argument -0.5.
26675         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
26677         * configure.ac (libc_cv_z_nodelete): Remove configure test.
26678         (libc_cv_z_nodlopen): Likewise.
26679         (libc_cv_z_initfirst): Likewise.
26680         * configure: Regenerated.
26682 2015-11-06  Florian Weimer  <fweimer@redhat.com>
26684         Simplify abilist format to be line-based.
26685         * scripts/abilist.awk: Collect descriptors in the descs variable.
26686         (emit): Write descs variable and sort it
26687         externally, with sort.
26688         * sysdeps/**/*.abilist: Convert to new format.
26690 2015-11-06  Mark Wielaard  <mjw@redhat.com>
26692         [BZ #11460]
26693         * io/Makefile (routines): Add fts64.
26694         (tests): Add tst-fts and tst-fts-lfs.
26695         (CFLAGS-fts64.c): New.
26696         * io/Versions (GLIBC_2.23): New.
26697         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
26698         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
26699         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
26700         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
26701         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
26702         (FTSENT64): Likewise.
26703         (fts64_children): Likewise.
26704         (fts64_close): Likewise.
26705         (fts64_open): Likewise.
26706         (fts64_read): Likewise.
26707         (fts64_set): Likewise.
26708         * io/fts64.c: New file.
26709         * io/tst-fts.c: New test.
26710         * io/tst-fts-lfs.c: Likewise.
26711         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
26712         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
26713         fts64_set.
26714         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26715         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26716         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26717         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26718         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26719         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26720         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26721         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26722         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26723         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26724         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26725         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26726         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26728         Likewise.
26729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26730         Likewise.
26731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
26733         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26734         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26735         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26736         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26737         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26740         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26741         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26742         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26743         * sysdeps/wordsize-64/fts.c: New file.
26744         * sysdeps/wordsize-64/fts64.c: Likewise.
26745         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
26746         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
26747         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
26748         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
26750 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
26752         * math/libm-test.inc (NON_FINITE): New macro.
26753         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
26754         * math/gen-libm-test.pl (show_exceptions): Add argument
26755         $non_finite.
26756         (parse_args): Update call to show_exceptions.
26757         * math/test-math-finite.h: New file.
26758         * math/test-math-no-finite.h: Likewise.
26759         * math/test-double-finite.c: Likewise.
26760         * math/test-float-finite.c: Likewise.
26761         * math/test-ldouble-finite.c: Likewise.
26762         * math/test-double.c: Include "test-math-no-finite.h".
26763         * math/test-float.c: Include "test-math-no-finite.h".
26764         * math/test-ldouble.c: Include "test-math-no-finite.h".
26765         * math/test-math-inline.h (TEST_FINITE): New macro.
26766         * math/test-math-vector.h (TEST_FINITE): Likewise.
26767         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
26768         (libm-tests): Add test-float-finite and test-double-finite.
26769         ($(objpfx)test-float-finite.o): New dependency on
26770         $(objpfx)libm-test.stmp.
26771         ($(objpfx)test-double-finite.o): Likewise.
26772         ($(objpfx)test-ldouble-finite.o): Likewise.
26773         (libm-test-no-inline-cflags): New variable.
26774         (libm-test-finite-cflags): Likewise.
26775         (CFLAGS-test-float-finite.c): Likewise.
26776         (CFLAGS-test-double-finite.c): Likewise.
26777         (CFLAGS-test-ldouble-finite.c): Likewise.
26778         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
26779         (CFLAGS-test-double.c): Likewise.
26780         (CFLAGS-test-ldouble.c): Likewise.
26782 2015-11-05  Roland McGrath  <roland@hack.frob.com>
26784         * io/fcntl.c (__fcntl): Add ... to prototype.
26785         * misc/ioctl.c (__ioctl): Likewise.
26786         * misc/syscall.c (syscall): Likewise.
26788 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
26790         * scripts/list-fixed-bugs.py: New file.
26792         [BZ #19213]
26793         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
26794         returned for argument 1.
26795         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
26796         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
26797         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
26798         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
26799         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
26800         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
26802         [BZ #19211]
26803         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
26804         __USE_XOPEN], not if [!__USE_ISOC99].
26805         (lgammaf): Likewise.
26806         (lgammal): Likewise.
26807         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
26808         (gammaf): Likewise.
26809         (gammal): Likewise.
26810         * math/test-signgam-finite-c11.c: New file.
26811         * math/test-signgam-finite-c99.c: Likewise.
26812         * math/test-signgam-finite.c: Likewise.
26813         * math/Makefile (tests): Add test-signgam-finite,
26814         test-signgam-finite-c99 and test-signgam-finite-c11.
26815         (CFLAGS-test-signgam-finite.c): New variable.
26816         (CFLAGS-test-signgam-finite-c99.c): Likewise.
26817         (CFLAGS-test-signgam-finite-c11.c): Likewise.
26819         [BZ #19212]
26820         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
26821         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
26822         500].
26823         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
26824         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
26825         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
26826         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
26827         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
26828         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
26829         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
26830         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
26831         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
26832         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
26834         [BZ #19209]
26835         * math/bits/math-finite.h (ldexp): Remove declaration.
26836         (ldexpf): Likewise.
26837         (ldexpl): Likewise.
26839         [BZ #19205]
26840         * math/bits/math-finite.h (acosf): Condition declaration on
26841         [__USE_ISOC99].
26842         (acosl): Likewise.
26843         (acoshf): Likewise.
26844         (acoshl): Likewise.
26845         (asinf): Likewise.
26846         (asinl): Likewise.
26847         (atan2f): Likewise.
26848         (atan2l): Likewise.
26849         (atanhf): Likewise.
26850         (atanhl): Likewise.
26851         (coshf): Likewise.
26852         (coshl): Likewise.
26853         (expf): Likewise.
26854         (expl): Likewise.
26855         (fmodf): Likewise.
26856         (fmodl): Likewise.
26857         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
26858         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
26859         (j0l): Likewise.
26860         (y0f): Likewise.
26861         (y0l): Likewise.
26862         (j1f): Likewise.
26863         (j1l): Likewise.
26864         (y1f): Likewise.
26865         (y1l): Likewise.
26866         (jnf): Likewise.
26867         (jnl): Likewise.
26868         (ynf): Likewise.
26869         (ynl): Likewise.
26870         (lgammaf_r): Condition declaration on [__USE_ISOC99].
26871         (lgammal_r): Likewise.
26872         (__lgamma_r_finite): New declaration.
26873         (__lgammaf_r_finite): Likewise.
26874         (__lgammal_r_finite): Likewise.
26875         (lgamma): Use __lgamma_r_finite.
26876         (lgammaf): Condition definition on [__USE_ISOC99].  Use
26877         __lgammaf_r_finite.
26878         (lgammal): Condition definition on [__USE_ISOC99].  Use
26879         __lgammal_r_finite.
26880         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
26881         __lgamma_r_finite.
26882         (gammaf): Condition definition on [__USE_ISOC99].  Use
26883         __lgammaf_r_finite.
26884         (gammal): Condition definition on [__USE_ISOC99].  Use
26885         __lgammal_r_finite.
26886         (logf): Condition declaration on [__USE_ISOC99].
26887         (logl): Likewise.
26888         (log10f): Likewise.
26889         (log10l): Likewise.
26890         (ldexpf): Likewise.
26891         (ldexpl): Likewise.
26892         (powf): Likewise.
26893         (powl): Likewise.
26894         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
26895         __USE_ISOC99].
26896         (remainderf): Condition declaration on [__USE_ISOC99].
26897         (remainderl): Likewise.
26898         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
26899         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
26900         (scalbl): Likewise.
26901         (sinhf): Condition declaration on [__USE_ISOC99].
26902         (sinhl): Likewise.
26903         (sqrtf): Likewise.
26904         (sqrtl): Likewise.
26906 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
26908         * sysdeps/arm/atomic-machine.h
26909         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26910         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26911         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
26912         Remove conditional code.
26913         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26914         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26915         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
26916         Change conditional to [__ASSEMBLER__].
26917         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26918         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
26919         [!__ASSEMBLER__].
26920         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
26921         code.
26922         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
26923         conditional macro definitions.
26924         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
26925         (__arch_compare_and_exchange_val_16_acq): Likewise.
26926         (__arch_compare_and_exchange_val_32_acq): Likewise.
26927         (atomic_exchange_and_add): Likewise.
26928         (atomic_add): Likewise.
26929         (atomic_add_negative): Likewise.
26930         (atomic_add_zero): Likewise.
26931         (atomic_bit_set): Likewise.
26932         (atomic_bit_test_set): Likewise.
26933         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
26934         code unconditional.
26935         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26937         * math/test-math-errno.h: New file.
26938         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
26939         empty.
26940         (TEST_ERRNO): New macro.
26941         (TEST_EXCEPTIONS): Likewise.
26942         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
26943         (TEST_EXCEPTIONS): Likewise.
26944         * math/test-math-vector.h (TEST_ERRNO): Likewise.
26945         * math/test-double.c: Include "test-math-errno.h".
26946         * math/test-float.c: Likewise.
26947         * math/test-ldouble.c: Likewise.
26948         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
26949         code unconditional.
26950         (test_exceptions): Only run code if TEST_EXCEPTIONS.
26951         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
26952         unconditional.
26953         (test_errno): Only run code if TEST_ERRNO.
26954         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
26956 2015-11-04  Florian Weimer  <fweimer@redhat.com>
26958         * nptl/tst-once5.cc: Remove attribution.
26960 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
26962         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
26963         sqrt, tan, tanh, y0, y1 and yn.
26964         * math/auto-libm-test-out: Regenerated.
26965         * math/libm-test.inc (scalb_test_data): Add more tests.
26966         (scalbn_test_data): Likewise.
26967         (scalbln_test_data): Likewise.
26968         (signbit_test_data): Likewise.
26969         (sin_test_data): Likewise.
26970         (sincos_test_data): Likewise.
26971         (sinh_test_data): Likewise.
26972         (sqrt_test_data): Likewise.
26973         (tan_test_data): Likewise.
26974         (tanh_test_data): Likewise.
26975         (tgamma_test_data): Likewise.
26976         (y0_test_data): Likewise.
26977         (y1_test_data): Likewise.
26978         (yn_test_data): Likewise.
26979         (significand_test_data): Likewise.
26980         * sysdeps/i386/fpu/libm-test-ulps: Update.
26982 2015-11-03  David Kastrup  <dak@gnu.org>
26984         [BZ #18604]
26985         * assert/assert.h (assert): Don't macro-expand failed assertion
26986         expression in error message.
26987         * malloc/malloc.c (assert): Likewise.
26989 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
26991         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
26992         test.
26993         * configure: Regenerated.
26995 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
26997         * math/libm-test.inc (modf_test_data): Add more tests.
26998         (nearbyint_test_data): Likewise.
26999         (nextafter_test_data): Likewise.
27000         (nexttoward_test_data): Likewise.
27001         (pow_test_data): Likewise.
27002         (remainder_test_data): Likewise.
27003         (remquo_test_data): Likewise.
27004         (rint_test_data): Likewise.
27006         [BZ #19201]
27007         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27008         Check for zero remainder in case of large exponents and ensure
27009         correct sign of result in that case.
27010         * math/libm-test.inc (remainder_test_data): Add more tests.
27012         [BZ #6799]
27013         * math/s_nextafter.c: Include <errno.h>.
27014         (__nextafter): Set errno on overflow and underflow.
27015         * math/s_nexttowardf.c: Include <errno.h>.
27016         (__nexttowardf): Set errno on overflow and underflow.
27017         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
27018         (__nextafterl): Set errno on overflow and underflow.
27019         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
27020         (__nexttoward): Set errno on overflow and underflow.
27021         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
27022         (__nexttowardf): Set errno on overflow and underflow.
27023         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
27024         (__nextafterf): Set errno on overflow and underflow.
27025         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
27026         (__nextafterl): Set errno on overflow and underflow.
27027         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
27028         (__nexttoward): Set errno on overflow and underflow.
27029         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
27030         (__nexttowardf): Set errno on overflow and underflow.
27031         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
27032         (__nextafterl): Set errno on overflow and underflow.
27033         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
27034         (__nexttoward): Set errno on overflow and underflow.
27035         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
27036         (__nexttowardf): Set errno on overflow and underflow.
27037         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
27038         (__nexttoward): Set errno on overflow and underflow.
27039         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
27040         (__nexttowardf): Set errno on overflow and underflow.
27041         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
27042         (__nldbl_nexttowardf): Set errno on overflow and underflow.
27043         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
27044         (__nextafterl): Set errno on overflow and underflow.
27045         * math/libm-test.inc (nextafter_test_data): Do not allow errno
27046         setting to be missing on overflow.  Add more tests.
27047         (nexttoward_test_data): Likewise.
27049         * configure.ac (libc_cv_initfini_array): Remove configure test.
27050         * configure: Regenerated.
27052 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
27054         [BZ #19189]
27055         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
27056         non-finite argument handle arguments with negative sign.
27058         * math/libm-test.inc (j0_test_data): Do not test sign of zero
27059         result from infinite argument.
27060         (j1_test_data): Likewise.
27061         (jn_test_data): Likewise.
27062         (y0_test_data): Likewise.
27063         (y1_test_data): Likewise.
27064         (yn_test_data): Likewise.
27066         [BZ #16171]
27067         * math/w_remainder.c (drem): Define as weak alias of __remainder.
27068         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
27069         * math/w_remainderf.c (dremf): Define as weak alias of
27070         __remainderf.
27071         * math/w_remainderl.c (dreml): Define as weak alias of
27072         __remainderl.
27073         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
27074         __remainder.
27075         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
27076         __remainderf.
27077         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
27078         __remainderl.
27079         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
27080         weak alias of remainderl.
27081         * sysdeps/ieee754/ldbl-opt/w_remainder.c
27082         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
27083         alias of __remainder.
27084         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
27085         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
27086         strong alias of __remainderl.
27087         (dreml): Use long_double_symbol.
27088         * math/Makefile (libm-calls): Remove w_drem.
27089         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
27090         (CFLAGS-nldbl-drem.c): Remove variable.
27091         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
27092         * math/w_drem.c: Remove file.
27093         * math/w_dremf.c: Likewise.
27094         * math/w_dreml.c: Likewise.
27095         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
27096         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
27097         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
27099         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
27100         * sysdeps/i386/configure: Regenerated.
27101         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
27102         * sysdeps/x86_64/configure: Regenerated.
27104         * configure.ac (libc_cv_asm_protected_directive): Remove configure
27105         test.
27106         (libc_cv_visibility_attribute): Likewise.
27107         (libc_cv_protected_data): Test unconditionally.
27108         (libc_cv_broken_visibility_attribute): Remove configure test.
27109         (libc_cv_have_sdata_section): Test unconditionally.
27110         * configure: Regenerated.
27112         * include/libc-internal.h (libc_max_align_t): Remove typedef.
27113         * include/scratch_buffer.h: Include <stddef.h> instead of
27114         <libc-internal.h>.
27115         (struct scratch_buffer): Use max_align_t instead of
27116         libc_max_align_t.
27118 2015-10-29  Florian Weimer  <fweimer@redhat.com>
27120         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
27121         instead of extend_alloca.  Change control flow to avoid a goto.
27122         Remove assert which is trivially always true.
27124 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
27126         [BZ #16068]
27127         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
27128         (FE_ALL_EXCEPT_X86): New macro.
27129         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27130         FE_ALL_EXCEPT.  Ensure precision control is included in
27131         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27132         handle "denormal operand exception" and clear FZ and DAZ bits.
27133         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
27134         (FE_ALL_EXCEPT_X86): New macro.
27135         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27136         FE_ALL_EXCEPT.  Ensure precision control is included in
27137         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27138         handle "denormal operand exception" and clear FZ and DAZ bits.
27139         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
27140         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
27141         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27142         test-fenv-x87 and test-fenv-sse-2.
27143         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
27145         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
27146         * math/test-double.h (BUILD_COMPLEX): New macro.
27147         * math/test-float.h (BUILD_COMPLEX): Likewise.
27148         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
27150         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
27151         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
27152         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
27153         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
27154         instead of DBL_DENORM_MIN in comment.
27155         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
27156         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27157         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
27158         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
27159         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
27160         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27162 2015-10-28  Florian Weimer  <fweimer@redhat.com>
27164         [BZ #19048]
27165         * malloc/malloc.c (struct malloc_state): Update comment.  Add
27166         attached_threads member.
27167         (main_arena): Initialize attached_threads.
27168         * malloc/arena.c (list_lock): Update comment.
27169         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
27170         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
27171         (deattach_arena): New function.
27172         (_int_new_arena): Initialize arena reference count and deattach
27173         replaced arena.
27174         (get_free_list, reused_arena): Update reference count and deattach
27175         replaced arena.
27176         (arena_thread_freeres): Update arena reference count and only put
27177         unreferenced arenas on the free list.
27179 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
27181         [BZ #19181]
27182         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
27183         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
27184         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
27185         * math/test-fenv-clear-main.c: New file.
27186         * math/test-fenv-clear.c: Likewise.
27187         * math/Makefile (tests): Add test-fenv-clear.
27188         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
27189         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27190         test-fenv-clear-sse.
27191         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
27193         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
27194         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
27195         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
27197 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27199         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
27200         static libc.
27202 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
27204         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
27205         test.
27206         * sysdeps/i386/configure: Regenerated.
27207         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
27208         test.
27209         * sysdeps/x86_64/configure: Regenerated.
27210         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
27211         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27212         memset-avx2 unconditionally instead of conditionally on
27213         [$(config-cflags-avx2) = yes].
27214         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27215         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
27216         unconditional.
27217         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
27218         * sysdeps/x86_64/multiarch/memset_chk.S
27219         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
27220         to [IS_IN (libc) && SHARED].
27222 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
27224         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
27225         configure test.
27226         * sysdeps/arm/configure: Regenerated.
27227         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
27228         Define variable if not already defined.
27230         [BZ #17404]
27231         * sysdeps/mips/atomic-machine.h
27232         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
27233         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
27234         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
27236         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
27237         unconditional.
27238         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
27239         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27240         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
27241         unconditional.
27242         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27243         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
27244         unconditional.
27245         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27246         * stdlib/setenv.c
27247         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
27248         code unconditional.
27249         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
27250         Remove conditional code.
27251         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27252         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
27253         unconditional.
27254         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27255         code.
27256         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27257         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
27258         unconditional.
27259         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27260         code.
27261         * sysdeps/ieee754/ldbl-128/k_tanl.c
27262         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27263         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27264         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
27265         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27266         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27267         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
27268         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
27269         unconditional.
27270         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27271         code.
27272         * sysdeps/ieee754/ldbl-96/k_tanl.c
27273         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27274         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27276         * nptl/tst-initializers1-c11.c: New file.
27277         * nptl/tst-initializers1-gnu11.c: Likewise.
27278         * nptl/Makefile (tests): Add these new tests.
27279         (CFLAGS-tst-initializers1-c11.c): New variable.
27280         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
27282         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
27283         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
27284         instead of -std=gnu99.
27285         * configure.ac (systemtap): Test with -std=gnu11 instead of
27286         -std=gnu99.
27287         * configure: Regenerated.
27288         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
27289         in compilation command in comment.
27291         * sysdeps/nptl/configure.ac: Remove file.
27292         * sysdeps/nptl/configure: Remove generated file.
27293         * configure.ac (libc_cv_forced_unwind): Do not substitute.
27294         * configure: Regenerated.
27295         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
27296         * config.make.in (have-forced-unwind): Remove variable.
27297         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27298         unconditional.
27299         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
27300         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
27301         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
27302         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
27303         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27304         unconditional.
27306 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27308         [BZ #19174]
27309         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
27310         .skip_lock_out_of_tbegin_retries.
27311         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27312         (__lll_lock_elision): Likewise, and respect a value of
27313         try_tbegin <= 0.
27315 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27317         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
27318         statement.
27320 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
27322         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
27323         variable.
27324         (test-xfail-ISO11/stdalign.h/conform): Likewise.
27325         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
27327         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
27328         of -std=c1x -D_ISOC11_SOURCE.
27330         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
27331         * configure: Regenerated.
27332         * manual/install.texi (Tools for Compilation): Document
27333         requirement for GCC 4.7 or later.
27334         * INSTALL: Regenerated.
27336 2015-10-27  Ludovic CourtĂšs  <ludo@gnu.org>
27338         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
27339         on CNT to a conditional jump to 'puntdata'.
27341 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
27343         * configure.ac (libc_cv_gcc___thread): Remove configure test.
27344         (libc_cv_gcc_tls_model_attr): Likewise.
27345         * configure: Regenerated.
27347         * configure.ac (libc_cv_need_minus_P): Remove configure test.
27348         * configure: Regenerated.
27349         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
27351 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
27353         * configure.ac (old_glibc_headers): Remove configure test.
27354         * configure: Regenerated.
27355         * config.make.in (old-glibc-headers): Remove variable.
27356         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
27357         (install): Remove dependency on remove-old-headers.
27358         (headers2_0): Remove variable.
27359         (remove-old-headers): Remove rule.
27361         * configure.ac (libc_cv_dot_text): Remove configure test.
27362         (libc_cv_asm_set_directive): Use .text instead of
27363         ${libc_cv_dot_text} in configure test.
27364         * configure: Regenerated.
27366 2015-10-26  Florian Weimer  <fweimer@redhat.com>
27368         [BZ #19168]
27369         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27371 2015-10-26  Florian Weimer  <fweimer@redhat.com>
27373         * configure.ac (CXX): Clear the variable if the C++ toolchain does
27374         not support static linking.
27375         * configure: Regenerate.
27377 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
27379         * math/libm-test.inc (check_float_internal): Do not special-case
27380         errors up to 0.5 ulp.
27382         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27383         log2.
27384         * math/auto-libm-test-out: Regenerated.
27385         * math/libm-test.inc (MAX_EXP): New macro.
27386         (ilogb_test_data): Add more tests.
27387         (isfinite_test_data): Likewise.
27388         (isgreater_test_data): Likewise.
27389         (isgreaterequal_test_data): Likewise.
27390         (isinf_test_data): Likewise.
27391         (isless_test_data): Likewise.
27392         (islessequal_test_data): Likewise.
27393         (islessgreater_test_data): Likewise.
27394         (isnan_test_data): Likewise.
27395         (isnormal_test_data): Likewise.
27396         (issignaling_test_data): Likewise.
27397         (isunordered_test_data): Likewise.
27398         (j0_test_data): Likewise.
27399         (j1_test_data): Likewise.
27400         (jn_test_data): Likewise.
27401         (lgamma_test_data): Likewise.
27402         (log_test_data): Likewise.
27403         (log10_test_data): Likewise.
27404         (log1p_test_data): Likewise.
27405         (log2_test_data): Likewise.
27406         (logb_test_data): Likewise.
27407         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27409         [BZ #18611]
27410         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
27411         avoid excess range and precision on underflow.
27412         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27413         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
27414         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27415         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
27416         underflow.
27417         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27418         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27419         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27420         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27421         * math/auto-libm-test-in: Do not allow missing errno setting for
27422         tests of j1 and jn.
27423         * math/auto-libm-test-out: Regenerated.
27425 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
27427         [BZ #15491]
27428         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
27429         floating-point environment instead of clearing all exceptions.
27430         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
27431         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
27432         merging in "invalid" exceptions from frndint.
27433         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
27434         * math/test-nearbyint-except.c: New file.
27435         * math/Makefile (tests): Add test-nearbyint-except.
27437 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
27439         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
27441         * sysdeps/tile/libm-test-ulps: Regenerated.
27443 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
27446         (__NR_sync_file_range2): Assume it is always defined.
27447         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27448         (__NR_sync_file_range): Assume it is always defined.
27450 2015-10-22  Andreas Schwab  <schwab@suse.de>
27452         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27453         INTERNAL_SYSCALL_ERRNO.
27454         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27455         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27456         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27457         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27458         Likewise.
27459         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27461 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27463         * io/tst-fcntl.c (fd): New static variable.
27464         (do_prepare): Open temporary file here....
27465         (do_test): ...not here.
27467         * io/ftwtest-sh: Also trap on exit to remove temporary files.
27469 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
27471         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
27472         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27473         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27474         Moved before "#ifdef __ASSEMBLER__".
27476 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27478         [BZ #19156]
27479         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
27480         arguments very close to 0.
27482 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
27484         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
27485         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
27487 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
27489         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27490         New.  Defined for GCC 5 and above when not compiling for
27491         profiling.
27492         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27494         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27495         Renamed to ...
27496         (CFLAGS-epoll_pwait.o): This.
27497         (CFLAGS-mmap.c): Renamed to ...
27498         (CFLAGS-mmap.o): This.
27499         (CFLAGS-mmap64.c): Renamed to ...
27500         (CFLAGS-mmap64.o): This.
27501         (CFLAGS-epoll_pwait.os): New.
27502         (CFLAGS-mmap.os): Likewise.
27503         (CFLAGS-mmap64.os): Likewise.
27504         (CFLAGS-semtimedop.os): Likewise.
27505         (CFLAGS-semtimedop.c): Renamed to ...
27506         (CFLAGS-semtimedop.o): This.
27508 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27510         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
27511         warning message.
27513 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27515         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
27516         * Makefile ($(objpfx)c++-types-check.out): Filter out
27517         $(+gccwarn-c) instead of -Wstrict-prototypes.
27519         * io/fts.c (fts_open): Convert to prototype-style function
27520         definition.
27521         * malloc/mcheck.c (mcheck): Likewise.
27522         (mcheck_pedantic): Likewise.
27523         * posix/regexec.c (re_search_2_stub): Likewise.  Use
27524         internal_function.
27525         (re_search_internal): Likewise.
27526         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
27527         prototype-style function definition.
27528         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27529         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
27530         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
27531         (xdr_utmpptr): Likewise.
27532         (xdr_utmparr): Likewise.
27533         (xdr_utmpidle): Likewise.
27534         (xdr_utmpidleptr): Likewise.
27535         (xdr_utmpidlearr): Likewise.
27537         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
27538         log, log10 and log2.
27539         * math/auto-libm-test-out: Regenerated.
27540         * math/libm-test.inc (fmod_test_data): Add more tests.
27541         (fpclassify_test_data): Likewise.
27542         (frexp_test_data): Likewise.
27543         (hypot_test_data): Likewise.
27544         (ilogb_test_data): Likewise.
27546 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
27548         * debug/fortify_fail.c (__fortify_fail): Convert to
27549         prototype-style function definition.  Use internal_function.
27550         * libio/genops.c (save_for_backup): Convert to prototype-style
27551         function definition.
27552         * libio/wgenops.c (save_for_wbackup): Likewise.
27553         * login/grantpt.c (grantpt): Likewise.
27554         * login/ptsname.c (ptsname): Likewise.
27555         (__ptsname_r): Likewise.
27556         * login/unlockpt.c (unlockpt): Likewise.
27557         * mach/msgserver.c (__mach_msg_server): Likewise.
27558         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
27559         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
27560         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
27561         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
27562         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
27563         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
27564         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
27565         Likewise.
27566         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
27567         internal_function.
27568         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
27569         prototype-style function definition.
27570         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
27571         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
27572         (__pthread_create_2_0): Likewise.
27573         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
27574         * nptl/register-atfork.c (__register_atfork): Likewise.
27575         * posix/glob.c (glob): Likewise.
27576         * posix/regcomp.c (re_comp): Likewise.
27577         * posix/regexec.c (re_exec): Likewise.
27578         * stdlib/add_n.c [__STDC__]: Make code unconditional.
27579         [!__STDC__]: Remove conditional code.
27580         * stdlib/cmp.c [__STDC__]: Make code unconditional.
27581         [!__STDC__]: Remove conditional code.
27582         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
27583         [!__STDC__]: Remove conditional code.
27584         * stdlib/divrem.c [__STDC__]: Make code unconditional.
27585         [!__STDC__]: Remove conditional code.
27586         * stdlib/lshift.c [__STDC__]: Make code unconditional.
27587         [!__STDC__]: Remove conditional code.
27588         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
27589         [!__STDC__]: Remove conditional code.
27590         * stdlib/mul.c [__STDC__]: Make code unconditional.
27591         [!__STDC__]: Remove conditional code.
27592         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
27593         [!__STDC__]: Remove conditional code.
27594         * stdlib/rshift.c [__STDC__]: Make code unconditional.
27595         [!__STDC__]: Remove conditional code.
27596         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
27597         function definition.
27598         (STRTOF): Likewise.
27599         * stdlib/strtod_l.c (__STRTOF): Likewise.
27600         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
27601         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
27602         (__strtol_l): Likewise.
27603         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
27604         [!__STDC__]: Remove conditional code.
27605         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
27606         definition.
27607         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27608         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27609         type.
27610         (__strcasecmp): Convert to prototype-style function definition.
27611         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
27612         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27613         type.
27614         (__strncasecmp): Convert to prototype-style function definition.
27615         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
27616         * sunrpc/xdr.c (xdr_union): Likewise.
27617         * sunrpc/xdr_array.c (xdr_array): Likewise.
27618         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
27619         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
27620         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
27621         Likewise.
27622         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
27623         Likewise.
27624         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
27625         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27626         Likewise.
27627         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
27628         (LOCALE_PARAM_PROTO): Likewise.
27629         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
27630         argument type.
27631         (ut_argument_spec): Remove macro.
27632         (ut_argument_spec_iso): Rename to ut_argument_spec.
27633         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
27634         prototype-style function definition.
27635         (memcpy_uppcase): Likewise.
27636         (__strftime_internal): Likewise.
27637         (my_strftime): Likewise.
27638         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
27639         (LOCALE_PARAM_DECL): Likewise.
27640         [_LIBC] (LOCALE_PARAM): Include argument type.
27641         (__strptime_internal): Convert to prototype-style function
27642         definition.
27643         (strptime): Likewise.
27644         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27645         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27646         type.
27647         (__wcscasecmp): Convert to prototype-style function definition.
27648         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
27649         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27650         type.
27651         (__wcsncasecmp): Convert to prototype-style function definition.
27653         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
27654         function definition.
27655         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27656         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27657         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
27658         * elf/dl-minimal.c (_itoa): Likewise.
27659         * hurd/hurdmalloc.c (malloc): Likewise.
27660         (free): Likewise.
27661         (realloc): Likewise.
27662         * inet/inet6_option.c (inet6_option_space): Likewise.
27663         (inet6_option_init): Likewise.
27664         (inet6_option_append): Likewise.
27665         (inet6_option_alloc): Likewise.
27666         (inet6_option_next): Likewise.
27667         (inet6_option_find): Likewise.
27668         * io/ftw.c (FTW_NAME): Likewise.
27669         (NFTW_NAME): Likewise.
27670         (NFTW_NEW_NAME): Likewise.
27671         (NFTW_OLD_NAME): Likewise.
27672         * libio/iofwide.c (_IO_fwide): Likewise.
27673         * libio/strops.c (_IO_str_init_static_internal): Likewise.
27674         (_IO_str_init_static): Likewise.
27675         (_IO_str_init_readonly): Likewise.
27676         (_IO_str_overflow): Likewise.
27677         (_IO_str_underflow): Likewise.
27678         (_IO_str_count): Likewise.
27679         (_IO_str_seekoff): Likewise.
27680         (_IO_str_pbackfail): Likewise.
27681         (_IO_str_finish): Likewise.
27682         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
27683         (_IO_wstr_overflow): Likewise.
27684         (_IO_wstr_underflow): Likewise.
27685         (_IO_wstr_count): Likewise.
27686         (_IO_wstr_seekoff): Likewise.
27687         (_IO_wstr_pbackfail): Likewise.
27688         (_IO_wstr_finish): Likewise.
27689         * locale/programs/localedef.c (normalize_codeset): Likewise.
27690         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27691         (add_locales_to_archive): Likewise.
27692         (delete_locales_from_archive): Likewise.
27693         * malloc/malloc.c (__libc_mallinfo): Likewise.
27694         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
27695         * misc/tsearch.c (__tfind): Likewise.
27696         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
27697         * nptl/pthread_attr_getdetachstate.c
27698         (__pthread_attr_getdetachstate): Likewise.
27699         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27700         Likewise.
27701         * nptl/pthread_attr_getinheritsched.c
27702         (__pthread_attr_getinheritsched): Likewise.
27703         * nptl/pthread_attr_getschedparam.c
27704         (__pthread_attr_getschedparam): Likewise.
27705         * nptl/pthread_attr_getschedpolicy.c
27706         (__pthread_attr_getschedpolicy): Likewise.
27707         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
27708         Likewise.
27709         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
27710         Likewise.
27711         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27712         Likewise.
27713         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27714         Likewise.
27715         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
27716         (__pthread_attr_init_2_0): Likewise.
27717         * nptl/pthread_attr_setdetachstate.c
27718         (__pthread_attr_setdetachstate): Likewise.
27719         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27720         Likewise.
27721         * nptl/pthread_attr_setinheritsched.c
27722         (__pthread_attr_setinheritsched): Likewise.
27723         * nptl/pthread_attr_setschedparam.c
27724         (__pthread_attr_setschedparam): Likewise.
27725         * nptl/pthread_attr_setschedpolicy.c
27726         (__pthread_attr_setschedpolicy): Likewise.
27727         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
27728         Likewise.
27729         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
27730         Likewise.
27731         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27732         Likewise.
27733         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27734         Likewise.
27735         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
27736         Likewise.
27737         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
27738         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
27739         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
27740         use internal_function.
27741         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
27742         prototype-style function definition.
27743         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27744         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
27745         internal_function.
27746         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
27747         Convert to prototype-style function definition.
27748         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27749         Likewise.
27750         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
27751         Likewise.
27752         (__pthread_mutex_unlock): Likewise.
27753         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
27754         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
27755         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
27756         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
27757         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
27758         * nss/makedb.c (process_input): Likewise.
27759         * posix/fnmatch.c (__strchrnul): Likewise.
27760         (__wcschrnul): Likewise.
27761         (fnmatch): Likewise.
27762         * posix/fnmatch_loop.c (FCT): Likewise.
27763         * posix/glob.c (globfree): Likewise.
27764         (__glob_pattern_type): Likewise.
27765         (__glob_pattern_p): Likewise.
27766         * posix/regcomp.c (re_compile_pattern): Likewise.
27767         (re_set_syntax): Likewise.
27768         (re_compile_fastmap): Likewise.
27769         (regcomp): Likewise.
27770         (regerror): Likewise.
27771         (regfree): Likewise.
27772         * posix/regexec.c (regexec): Likewise.
27773         (re_match): Likewise.
27774         (re_search): Likewise.
27775         (re_match_2): Likewise.
27776         (re_search_2): Likewise.
27777         (re_search_stub): Likewise.  Use internal_function
27778         (re_copy_regs): Likewise.
27779         (re_set_registers): Convert to prototype-style function
27780         definition.
27781         (prune_impossible_nodes): Likewise.  Use internal_function.
27782         * resolv/inet_net_pton.c (inet_net_pton): Convert to
27783         prototype-style function definition.
27784         (inet_net_pton_ipv4): Likewise.
27785         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27786         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
27787         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
27788         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
27789         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27790         Make variadic.
27791         * time/strptime_l.c (localtime_r): Convert to prototype-style
27792         function definition.
27793         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27794         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27795         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27796         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27798         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
27799         definition.
27800         (_ufc_doit_r): Likewise.
27801         * crypt/crypt_util.c (_ufc_copymem): Likewise.
27802         (_ufc_output_conversion_r): Likewise.
27803         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
27804         * inet/rcmd.c (rcmd_af): Likewise.
27805         (rcmd): Likewise.
27806         (ruserok_af): Likewise.
27807         (ruserok): Likewise.
27808         (ruserok2_sa): Likewise.
27809         (ruserok_sa): Likewise.
27810         (iruserok_af): Likewise.
27811         (iruserok): Likewise.
27812         (__ivaliduser): Likewise.
27813         (__validuser2_sa): Likewise.
27814         * inet/rexec.c (rexec_af): Likewise.
27815         (rexec): Likewise.
27816         * inet/ruserpass.c (ruserpass): Likewise.
27817         * locale/programs/xmalloc.c (xcalloc): Likewise.
27818         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
27819         * math/w_drem.c (__drem): Likewise.
27820         * math/w_dremf.c (__dremf): Likewise.
27821         * math/w_dreml.c (__dreml): Likewise.
27822         * misc/daemon.c (daemon): Likewise.
27823         * resolv/res_debug.c (p_fqnname): Likewise.
27824         * stdlib/div.c (div): Likewise.
27825         * string/memcmp.c (memcmp_bytes): Likewise.
27826         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
27827         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
27829         * crypt/cert.c (main): Convert to prototype-style function
27830         definition.
27831         * io/pipe.c (__pipe): Likewise.
27832         * io/pipe2.c (__pipe2): Likewise.
27833         * misc/futimesat.c (futimesat): Likewise.
27834         * misc/utimes.c (__utimes): Likewise.
27835         * posix/execve.c (__execve): Likewise.
27836         * posix/execvp.c (execvp): Likewise.
27837         * posix/execvpe.c (__execvpe): Likewise.
27838         * posix/fexecve.c (fexecve): Likewise.
27839         * socket/socketpair.c (socketpair): Likewise.
27840         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27841         * stdlib/erand48.c (erand48): Likewise.
27842         * stdlib/erand48_r.c (__erand48_r): Likewise.
27843         * stdlib/jrand48.c (jrand48): Likewise.
27844         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
27845         * stdlib/lcong48.c (lcong48): Likewise.
27846         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
27847         * stdlib/nrand48.c (nrand48): Likewise.
27848         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
27849         * stdlib/seed48.c (seed48): Likewise.
27850         * stdlib/seed48_r.c (__seed48_r): Likewise.
27851         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
27852         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
27853         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
27855 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
27857         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
27858         * configure: Regenerated.
27859         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
27860         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
27861         unconditional.
27862         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27863         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27864         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27865         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
27866         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
27867         unconditional.
27868         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27870         * posix/Makefile (CFLAGS-regex.c): Remove variable.
27871         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
27873         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
27874         function definition.
27875         * crypt/crypt_util.c (__encrypt_r): Likewise.
27876         * libio/genops.c (_IO_no_init): Likewise.
27877         * libio/iofopncook.c (_IO_fopencookie): Likewise.
27878         (_IO_old_fopencookie): Likewise.
27879         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27880         * libio/iogetline.c (_IO_getline): Likewise.
27881         (_IO_getline_info): Likewise.
27882         * libio/iogetwline.c (_IO_getwline): Likewise.
27883         (_IO_getwline_info): Likewise.
27884         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
27885         * libio/vswprintf.c (_IO_vswprintf): Likewise.
27886         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
27887         (find_entry): Likewise.
27888         (iterate_table): Likewise.
27889         (lookup): Likewise.
27890         * login/forkpty.c (forkpty): Likewise.
27891         * misc/hsearch_r.c (__hsearch_r): Likewise.
27892         * misc/select.c (__select): Likewise.
27893         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
27894         Likewise.
27895         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
27896         Likewise.
27897         * nptl/old_pthread_cond_timedwait.c
27898         (__pthread_cond_timedwait_2_0): Likewise.
27899         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27900         * nptl/pthread_barrierattr_getpshared.c
27901         (pthread_barrierattr_getpshared): Likewise.
27902         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
27903         Likewise.
27904         * nptl/pthread_mutex_setprioceiling.c
27905         (pthread_mutex_setprioceiling): Likewise.
27906         * nptl/pthread_mutexattr_getprioceiling.c
27907         (pthread_mutexattr_getprioceiling): Likewise.
27908         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
27909         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27910         Likewise.
27911         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27912         Likewise.
27913         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
27914         Likewise.
27915         * socket/recvfrom.c (__recvfrom): Likewise.
27916         * socket/sendto.c (__sendto): Likewise.
27917         * socket/setsockopt.c (__setsockopt): Likewise.
27918         * stdio-common/_itoa.c (_itoa): Likewise.
27919         * stdio-common/_itowa.c (_itowa): Likewise.
27920         * stdio-common/reg-printf.c (__register_printf_specifier):
27921         Likewise.
27922         (__register_printf_function): Likewise.
27923         * stdio-common/tempname.c (__path_search): Likewise.
27924         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
27925         * stdlib/mul_1.c (mpn_mul_1): Likewise.
27926         * stdlib/random_r.c (__initstate_r): Likewise.
27927         * stdlib/setenv.c (__add_to_environ): Likewise.
27928         * stdlib/submul_1.c (mpn_submul_1): Likewise.
27929         * streams/getpmsg.c (getpmsg): Likewise.
27930         * streams/putmsg.c (putmsg): Likewise.
27931         * streams/putpmsg.c (putpmsg): Likewise.
27932         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
27933         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
27934         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
27935         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
27936         * sunrpc/pm_getport.c (pmap_getport): Likewise.
27937         * sunrpc/svc_udp.c (cache_get): Likewise.
27938         * sunrpc/xdr_array.c (xdr_vector): Likewise.
27939         * sysdeps/mach/hurd/getcwd.c
27940         (__canonicalize_directory_name_internal): Likewise.
27941         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
27942         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
27943         * sysdeps/mach/hurd/select.c (__select): Likewise.
27944         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27945         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
27946         * sysdeps/sparc/nptl/pthread_barrier_init.c
27947         (__pthread_barrier_init): Likewise.
27948         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
27949         (__pthread_cond_timedwait): Likewise.
27950         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
27951         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
27952         Likewise.
27953         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
27954         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
27955         Likewise.
27956         * sysvipc/semtimedop.c (semtimedop): Likewise.
27957         * time/setitimer.c (__setitimer): Likewise.
27958         * time/strftime_l.c (emacs_strftime): Likewise.
27960 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
27962         * config.make.in (have-ssp): Delete.
27963         (stack-protector): New variable.
27964         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
27965         cache test for -fstack-protector-strong.  Export stack_protector to
27966         the best ssp flag.
27967         * configure: Regenerated.
27968         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
27969         * nscd/Makefile (CFLAGS-nscd): Likewise.
27970         * resolv/Makefile (CFLAGS-libresolv): Likewise.
27972 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
27974         [BZ #19122]
27975         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
27976         attribute_hidden.
27978 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27980         [BZ #18743]
27981         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
27982         code to...
27983         (ELIDE_LOCK): ...here.
27984         (__get_new_count): New function with part of the code from
27985         __elide_lock that updates the value of adapt_count after a
27986         transaction abort.
27987         (__elided_trylock): Moved this code to...
27988         (ELIDE_TRYLOCK): ...here.
27990 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
27992         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
27993         * configure: Regenerate.
27994         * INSTALL: Regenerate.
27995         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
27996         and tweak grammar.
27998 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
28000         * login/programs/pt_chown.c: Include signal.h
28001         (main): Clear any signal mask from the parent process.
28003 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
28005         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
28006         * configure: Regenerated.
28007         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
28008         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
28009         $(gnu89-inline-CFLAGS).
28011         * configure.ac (libc_cv_asm_weak_directive): Remove configure
28012         test.
28013         (libc_cv_asm_weakext_directive): Likewise.
28014         * configure: Regenerated.
28015         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
28016         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
28017         * include/libc-symbols.h
28018         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
28019         #error.
28020         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
28021         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
28023         * sysdeps/arm/backtrace.c (__backtrace): Convert to
28024         prototype-style function definition.
28025         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
28026         * sysdeps/i386/ffs.c (__ffs): Likewise.
28027         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28028         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
28029         Likewise.
28030         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28031         Likewise.
28032         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28033         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
28034         Likewise.
28035         * sysdeps/m68k/ffs.c (__ffs): Likewise.
28036         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
28037         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
28038         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
28039         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
28040         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
28041         * sysdeps/mach/hurd/access.c (__access): Likewise.
28042         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
28043         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
28044         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28045         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
28046         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
28047         (cthread_getspecific): Likewise.
28048         (cthread_setspecific): Likewise.
28049         (__libc_getspecific): Likewise.
28050         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
28051         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
28052         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
28053         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
28054         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
28055         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
28056         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
28057         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
28058         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
28059         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
28060         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
28061         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
28062         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
28063         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
28064         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
28065         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
28066         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
28067         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
28068         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
28069         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
28070         * sysdeps/mach/hurd/link.c (__link): Likewise.
28071         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
28072         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
28073         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28074         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
28075         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28076         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
28077         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
28078         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
28079         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
28080         * sysdeps/mach/hurd/rename.c (rename): Likewise.
28081         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
28082         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28083         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
28084         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
28085         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
28086         * sysdeps/mach/hurd/send.c (__send): Likewise.
28087         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
28088         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
28089         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
28090         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
28091         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
28092         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
28093         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
28094         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
28095         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
28096         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
28097         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
28098         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
28099         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
28100         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
28101         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
28102         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28103         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
28104         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28105         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
28106         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
28107         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
28108         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
28109         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
28110         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
28111         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
28112         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
28113         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
28114         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
28115         * sysdeps/posix/alarm.c (alarm): Likewise.
28116         * sysdeps/posix/cuserid.c (cuserid): Likewise.
28117         * sysdeps/posix/dirfd.c (dirfd): Likewise.
28118         * sysdeps/posix/dup.c (__dup): Likewise.
28119         * sysdeps/posix/dup2.c (__dup2): Likewise.
28120         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
28121         (main): Likewise.
28122         * sysdeps/posix/flock.c (__flock): Likewise.
28123         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
28124         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
28125         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
28126         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
28127         * sysdeps/posix/isatty.c (__isatty): Likewise.
28128         * sysdeps/posix/killpg.c (killpg): Likewise.
28129         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28130         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
28131         * sysdeps/posix/raise.c (raise): Likewise.
28132         * sysdeps/posix/remove.c (remove): Likewise.
28133         * sysdeps/posix/rename.c (rename): Likewise.
28134         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
28135         * sysdeps/posix/seekdir.c (seekdir): Likewise.
28136         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28137         * sysdeps/posix/sigignore.c (sigignore): Likewise.
28138         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
28139         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
28140         * sysdeps/posix/sigset.c (sigset): Likewise.
28141         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
28142         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
28143         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
28144         * sysdeps/posix/time.c (time): Likewise.
28145         * sysdeps/posix/ttyname.c (getttyname): Likewise.
28146         (ttyname): Likewise.
28147         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
28148         * sysdeps/posix/utime.c (utime): Likewise.
28149         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
28150         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
28151         Likewise.
28152         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
28153         (pthread_spin_trylock): Likewise.
28154         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
28155         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
28156         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
28157         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
28158         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
28159         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
28160         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
28161         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
28162         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
28163         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
28164         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
28165         * sysdeps/s390/ffs.c (__ffs): Likewise.
28166         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
28167         Likewise.
28168         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28169         Likewise.
28170         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
28171         Likewise.
28172         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
28173         (pthread_barrier_destroy): Likewise.
28174         * sysdeps/sparc/nptl/pthread_barrier_wait.c
28175         (__pthread_barrier_wait): Likewise.
28176         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
28177         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28178         (__pthread_barrier_wait): Likewise.
28179         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
28180         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
28181         (memcmp_not_common_alignment): Likewise.
28182         (MEMCMP): Likewise.
28183         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
28184         (_wordcopy_fwd_dest_aligned): Likewise.
28185         (_wordcopy_bwd_aligned): Likewise.
28186         (_wordcopy_bwd_dest_aligned): Likewise.
28187         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
28188         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
28189         * sysdeps/unix/bsd/stty.c (stty): Likewise.
28190         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
28191         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
28192         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
28193         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
28194         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
28195         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
28196         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
28197         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
28198         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
28199         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
28200         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
28201         * sysdeps/unix/stime.c (stime): Likewise.
28202         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
28203         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
28204         Likewise.  Use internal_function.
28205         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
28206         Convert to prototype-style function definition.
28207         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28208         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28209         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
28210         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28211         Likewise.  Use internal_function.
28212         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
28213         prototype-style function definition
28214         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28215         Likewise.
28216         (__getlogin_r): Likewise.
28217         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
28218         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
28219         (__pthread_cond_broadcast): Likewise.
28220         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
28221         (__pthread_cond_destroy): Likewise.
28222         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
28223         (__pthread_cond_init): Likewise.
28224         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
28225         (__pthread_cond_signal): Likewise.
28226         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
28227         (__pthread_cond_wait): Likewise.
28228         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
28229         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
28230         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
28231         Likewise.
28232         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
28233         Likewise.
28234         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28235         Likewise.
28236         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
28237         Likewise.
28238         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
28239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
28240         (__ftruncate64): Likewise.
28241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
28242         (truncate64): Likewise.
28243         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
28244         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
28245         (pthread_getcpuclockid): Likewise.
28246         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28247         Likewise.
28248         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28249         Likewise.
28250         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
28251         Likewise.
28252         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
28253         Likewise.
28254         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
28255         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
28256         (__libc_sigaction): Likewise.
28257         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
28258         Likewise.
28259         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28260         (__sigprocmask): Likewise.
28261         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
28262         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
28263         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
28264         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
28265         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28266         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
28267         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28268         Likewise.
28269         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
28270         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
28271         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28272         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
28273         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
28274         Likewise.
28275         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28276         (__sigprocmask): Likewise.
28277         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
28278         (cfgetispeed): Likewise.
28279         (cfsetospeed): Likewise.
28280         (cfsetispeed): Likewise.
28281         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
28282         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
28283         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28284         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
28285         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
28286         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
28287         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
28288         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
28289         Likewise.
28290         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
28291         Likewise.
28292         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
28293         Likewise.
28294         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28295         Likewise.
28296         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
28298 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28300         sunrpc: Rewrite with explicit TLS access using __thread.
28301         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
28302         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
28303         directly.
28304         (__rpc_thread_variables): Access thread_rpc_vars directly.
28305         Eliminate redundant assignment of the tvp variable.
28307 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28309         malloc: Rewrite with explicit TLS access using __thread.
28310         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
28311         (tsd_setspecific, tsd_getspecific): Remove.
28312         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
28313         (tsd_setspecific, tsd_getspecific): Likewise.
28314         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
28315         (tsd_setspecific, tsd_getspecific): Likewise.
28316         * malloc/arena.c (thread_arena): New TLS variable.
28317         (arena_key): Remove variable.
28318         (arena_get): Use thread_arena.
28319         (arena_lookup): Remove macro.
28320         (malloc_atfork, free_atfork, ptmalloc_lock_all)
28321         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
28322         (_int_new_arena, get_free_list, reused_arena)
28323         (arena_thread_freeres): Use thread_arena.
28324         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
28325         tsd_getspecific, tsd_setspecific from safety annotations.
28326         (Allocating Cleared Space): Remove arena_lookup from safety
28327         annotations.
28329 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28331         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
28332         struct scratch_buffer instead of extend_alloca.
28334 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28336         * sysdeps/unix/sysv/linux/kernel-features.h
28337         (__ASSUME_SOCK_CLOEXEC): Remove.
28338         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
28339         (__have_paccept): Remove unused macro.
28340         * include/unistd.h (__have_sock_cloexec): Remove declaration.
28341         * misc/syslog.c (openlog_internal): Remove fallback code for
28342         !__ASSUME_SOCK_CLOEXEC.
28343         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
28344         missing SOCK_CLOEXEC.
28345         * nscd/connections.c (have_sock_cloexec): Remove definition.
28346         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28347         * nscd/nscd_helper.c (open_socket): Remove fallback code for
28348         !__ASSUME_SOCK_CLOEXEC.
28349         * resolv/res_send.c (__have_o_nonblock): Remove definition.
28350         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28351         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
28352         definition.
28353         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
28354         code for !__ASSUME_SOCK_CLOEXEC.
28356 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28358         [BZ #18982]
28359         * manual/stdio.texi (Variable Arguments Output): Add portability
28360         note, explaining that vfprintf clobbers the va_list pointer.
28362 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
28364         * math/libm-test.inc (fabs_test_data): Add more tests.
28365         (fdim_test_data): Likewise.
28366         (fma_test_data): Likewise.
28367         (fmax_test_data): Likewise.
28368         (fmin_test_data): Likewise.
28369         (fmod_test_data): Likewise.
28371 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
28373         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
28374         data.
28376 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
28378         * math/libm-test.inc (ceil_test_data): Add more tests and more
28379         expectations for "inexact".
28380         (floor_test_data): Add more tests.
28381         (round_test_data): Likewise.
28382         (trunc_test_data): Likewise.
28384         * crypt/cert.c (good_bye): Convert to prototype-style function
28385         definition.
28386         (get8): Likewise.
28387         (put8): Likewise.
28388         * crypt/crypt-entry.c (crypt): Likewise.
28389         (__fcrypt): Likewise.
28390         * crypt/crypt_util.c (_ufc_prbits): Likewise.
28391         (_ufc_set_bits): Likewise.
28392         (_ufc_clearmem): Likewise.
28393         (__init_des_r): Likewise.
28394         (shuffle_sb): Likewise.
28395         (shuffle_sb): Likewise.
28396         (_ufc_setup_salt_r): Likewise.
28397         (_ufc_mk_keytab_r): Likewise.
28398         (_ufc_dofinalperm_r): Likewise.
28399         (encrypt): Likewise.
28400         (__setkey_r): Likewise.
28401         (setkey): Likewise.
28402         * crypt/md5.c (md5_init_ctx): Likewise.
28403         (md5_read_ctx): Likewise.
28404         (md5_finish_ctx): Likewise.
28405         (md5_stream): Likewise.
28406         (md5_buffer): Likewise.
28407         (md5_process_bytes): Likewise.
28408         * crypt/sha256.c (__sha256_init_ctx): Likewise.
28409         (__sha256_finish_ctx): Likewise.
28410         (__sha256_process_bytes): Likewise.
28411         * crypt/sha512.c (__sha512_init_ctx): Likewise.
28412         (__sha512_finish_ctx): Likewise.
28413         (__sha512_process_bytes): Likewise.
28414         * ctype/isctype.c (__isctype): Likewise.
28415         * debug/backtrace.c (__backtrace): Likewise.
28416         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
28417         * debug/fgets_chk.c (__fgets_chk): Likewise.
28418         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
28419         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
28420         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28421         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28422         * debug/memset_chk.c (__memset_chk): Likewise.
28423         * debug/strcat_chk.c (__strcat_chk): Likewise.
28424         * debug/strncat_chk.c (__strncat_chk): Likewise.
28425         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
28426         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
28427         * dirent/dirfd.c (dirfd): Likewise.
28428         * dirent/getdents.c (__getdirentries): Likewise.
28429         * dirent/getdents64.c (getdirentries64): Likewise.
28430         * dirent/rewinddir.c (__rewinddir): Likewise.
28431         * dirent/seekdir.c (seekdir): Likewise.
28432         * dirent/telldir.c (telldir): Likewise.
28433         * elf/sln.c (makesymlinks): Likewise.
28434         (makesymlink): Likewise.
28435         * gmon/gmon.c (__moncontrol): Likewise.
28436         (__monstartup): Likewise.
28437         (write_hist): Likewise.
28438         (write_call_graph): Likewise.
28439         (write_bb_counts): Likewise.
28440         * grp/setgroups.c (setgroups): Likewise.
28441         * inet/inet_lnaof.c (inet_lnaof): Likewise.
28442         * inet/inet_net.c (inet_network): Likewise.
28443         * inet/inet_netof.c (inet_netof): Likewise.
28444         * inet/rcmd.c (rresvport_af): Likewise.
28445         (rresvport): Likewise.
28446         * io/access.c (__access): Likewise.
28447         * io/chdir.c (__chdir): Likewise.
28448         * io/chmod.c (__chmod): Likewise.
28449         * io/chown.c (__chown): Likewise.
28450         * io/close.c (__close): Likewise.
28451         * io/creat.c (creat): Likewise.
28452         * io/creat64.c (creat64): Likewise.
28453         * io/dup.c (__dup): Likewise.
28454         * io/dup2.c (__dup2): Likewise.
28455         * io/dup3.c (__dup3): Likewise.
28456         * io/euidaccess.c (__euidaccess): Likewise.
28457         * io/faccessat.c (faccessat): Likewise.
28458         * io/fchmod.c (__fchmod): Likewise.
28459         * io/fchmodat.c (fchmodat): Likewise.
28460         * io/fchown.c (__fchown): Likewise.
28461         * io/fchownat.c (fchownat): Likewise.
28462         * io/fcntl.c (__fcntl): Likewise.
28463         * io/flock.c (__flock): Likewise.
28464         * io/fts.c (fts_load): Likewise.
28465         (fts_close): Likewise.
28466         (fts_read): Likewise.
28467         (fts_set): Likewise.
28468         (fts_children): Likewise.
28469         (fts_build): Likewise.
28470         (fts_stat): Likewise.
28471         (fts_sort): Likewise.
28472         (fts_alloc): Likewise.
28473         (fts_lfree): Likewise.
28474         (fts_palloc): Likewise.
28475         (fts_padjust): Likewise.
28476         (fts_maxarglen): Likewise.
28477         (fts_safe_changedir): Likewise.
28478         * io/getwd.c (getwd): Likewise.
28479         * io/isatty.c (__isatty): Likewise.
28480         * io/lchown.c (__lchown): Likewise.
28481         * io/link.c (__link): Likewise.
28482         * io/linkat.c (linkat): Likewise.
28483         * io/lseek.c (__libc_lseek): Likewise.
28484         * io/mkdir.c (__mkdir): Likewise.
28485         * io/mkdirat.c (mkdirat): Likewise.
28486         * io/mkfifo.c (mkfifo): Likewise.
28487         * io/mkfifoat.c (mkfifoat): Likewise.
28488         * io/open.c (__libc_open): Likewise.
28489         * io/open64.c (__libc_open64): Likewise.
28490         * io/readlink.c (__readlink): Likewise.
28491         * io/readlinkat.c (readlinkat): Likewise.
28492         * io/rmdir.c (__rmdir): Likewise.
28493         * io/symlink.c (__symlink): Likewise.
28494         * io/symlinkat.c (symlinkat): Likewise.
28495         * io/ttyname.c (ttyname): Likewise.
28496         * io/ttyname_r.c (__ttyname_r): Likewise.
28497         * io/umask.c (__umask): Likewise.
28498         * io/unlink.c (__unlink): Likewise.
28499         * io/unlinkat.c (unlinkat): Likewise.
28500         * io/utime.c (utime): Likewise.
28501         * libio/clearerr.c (clearerr): Likewise.
28502         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
28503         * libio/feof.c (_IO_feof): Likewise.
28504         * libio/feof_u.c (feof_unlocked): Likewise.
28505         * libio/ferror.c (_IO_ferror): Likewise.
28506         * libio/ferror_u.c (ferror_unlocked): Likewise.
28507         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28508         * libio/fileno.c (__fileno): Likewise.
28509         * libio/fputc.c (fputc): Likewise.
28510         * libio/fputc_u.c (fputc_unlocked): Likewise.
28511         * libio/fputwc.c (fputwc): Likewise.
28512         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
28513         * libio/freopen.c (freopen): Likewise.
28514         * libio/freopen64.c (freopen64): Likewise.
28515         * libio/fseek.c (fseek): Likewise.
28516         * libio/fseeko.c (fseeko): Likewise.
28517         * libio/fseeko64.c (fseeko64): Likewise.
28518         * libio/ftello.c (__ftello): Likewise.
28519         * libio/ftello64.c (ftello64): Likewise.
28520         * libio/fwide.c (fwide): Likewise.
28521         * libio/genops.c (_IO_un_link): Likewise.
28522         (_IO_link_in): Likewise.
28523         (_IO_least_marker): Likewise.
28524         (_IO_switch_to_main_get_area): Likewise.
28525         (_IO_switch_to_backup_area): Likewise.
28526         (_IO_switch_to_get_mode): Likewise.
28527         (_IO_free_backup_area): Likewise.
28528         (_IO_switch_to_put_mode): Likewise.
28529         (__overflow): Likewise.
28530         (__underflow): Likewise.
28531         (__uflow): Likewise.
28532         (_IO_setb): Likewise.
28533         (_IO_doallocbuf): Likewise.
28534         (_IO_default_underflow): Likewise.
28535         (_IO_default_uflow): Likewise.
28536         (_IO_default_xsputn): Likewise.
28537         (_IO_sgetn): Likewise.
28538         (_IO_default_xsgetn): Likewise.
28539         (_IO_sync): Likewise.
28540         (_IO_default_setbuf): Likewise.
28541         (_IO_default_seekpos): Likewise.
28542         (_IO_default_doallocate): Likewise.
28543         (_IO_init): Likewise.
28544         (_IO_old_init): Likewise.
28545         (_IO_default_sync): Likewise.
28546         (_IO_default_finish): Likewise.
28547         (_IO_default_seekoff): Likewise.
28548         (_IO_sputbackc): Likewise.
28549         (_IO_sungetc): Likewise.
28550         (_IO_set_column): Likewise.
28551         (_IO_set_column): Likewise.
28552         (_IO_adjust_column): Likewise.
28553         (_IO_get_column): Likewise.
28554         (_IO_init_marker): Likewise.
28555         (_IO_remove_marker): Likewise.
28556         (_IO_marker_difference): Likewise.
28557         (_IO_marker_delta): Likewise.
28558         (_IO_seekmark): Likewise.
28559         (_IO_unsave_markers): Likewise.
28560         (_IO_nobackup_pbackfail): Likewise.
28561         (_IO_default_pbackfail): Likewise.
28562         (_IO_default_seek): Likewise.
28563         (_IO_default_stat): Likewise.
28564         (_IO_default_read): Likewise.
28565         (_IO_default_write): Likewise.
28566         (_IO_default_showmanyc): Likewise.
28567         (_IO_default_imbue): Likewise.
28568         (_IO_iter_next): Likewise.
28569         (_IO_iter_file): Likewise.
28570         * libio/getc.c (_IO_getc): Likewise.
28571         * libio/getwc.c (_IO_getwc): Likewise.
28572         * libio/iofclose.c (_IO_new_fclose): Likewise.
28573         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28574         * libio/iofflush.c (_IO_fflush): Likewise.
28575         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
28576         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
28577         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
28578         * libio/iofgets.c (_IO_fgets): Likewise.
28579         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
28580         * libio/iofgetws.c (fgetws): Likewise.
28581         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
28582         * libio/iofopen64.c (_IO_fopen64): Likewise.
28583         * libio/iofopncook.c (_IO_cookie_read): Likewise.
28584         (_IO_cookie_write): Likewise.
28585         (_IO_cookie_seek): Likewise.
28586         (_IO_cookie_close): Likewise.
28587         (_IO_cookie_seekoff): Likewise.
28588         (_IO_old_cookie_seek): Likewise.
28589         * libio/iofputs.c (_IO_fputs): Likewise.
28590         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
28591         * libio/iofputws.c (fputws): Likewise.
28592         * libio/iofputws_u.c (fputws_unlocked): Likewise.
28593         * libio/iofread.c (_IO_fread): Likewise.
28594         * libio/iofread_u.c (__fread_unlocked): Likewise.
28595         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
28596         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28597         * libio/ioftell.c (_IO_ftell): Likewise.
28598         * libio/iofwrite.c (_IO_fwrite): Likewise.
28599         * libio/iogetdelim.c (_IO_getdelim): Likewise.
28600         * libio/iogets.c (_IO_gets): Likewise.
28601         * libio/iopadn.c (_IO_padn): Likewise.
28602         * libio/iopopen.c (_IO_new_proc_open): Likewise.
28603         (_IO_new_popen): Likewise.
28604         (_IO_new_proc_close): Likewise.
28605         * libio/ioputs.c (_IO_puts): Likewise.
28606         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
28607         (_IO_seekoff): Likewise.
28608         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
28609         (_IO_seekpos): Likewise.
28610         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
28611         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
28612         * libio/ioungetc.c (_IO_ungetc): Likewise.
28613         * libio/ioungetwc.c (ungetwc): Likewise.
28614         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28615         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
28616         * libio/iowpadn.c (_IO_wpadn): Likewise.
28617         * libio/libc_fatal.c (__libc_fatal): Likewise.
28618         * libio/memstream.c (__open_memstream): Likewise.
28619         (_IO_mem_sync): Likewise.
28620         (_IO_mem_finish): Likewise.
28621         * libio/oldfileops.c (_IO_old_file_init): Likewise.
28622         (_IO_old_file_close_it): Likewise.
28623         (_IO_old_file_finish): Likewise.
28624         (_IO_old_file_fopen): Likewise.
28625         (_IO_old_file_attach): Likewise.
28626         (_IO_old_file_setbuf): Likewise.
28627         (_IO_old_do_write): Likewise.
28628         (old_do_write): Likewise.
28629         (_IO_old_file_underflow): Likewise.
28630         (_IO_old_file_overflow): Likewise.
28631         (_IO_old_file_sync): Likewise.
28632         (_IO_old_file_seekoff): Likewise.
28633         (_IO_old_file_write): Likewise.
28634         (_IO_old_file_xsputn): Likewise.
28635         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
28636         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28637         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
28638         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
28639         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28640         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
28641         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
28642         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
28643         (_IO_old_popen): Likewise.
28644         (_IO_old_proc_close): Likewise.
28645         * libio/oldpclose.c (__old_pclose): Likewise.
28646         * libio/pclose.c (__new_pclose): Likewise.
28647         * libio/peekc.c (_IO_peekc_locked): Likewise.
28648         * libio/putc.c (_IO_putc): Likewise.
28649         * libio/putc_u.c (putc_unlocked): Likewise.
28650         * libio/putchar.c (putchar): Likewise.
28651         * libio/putchar_u.c (putchar_unlocked): Likewise.
28652         * libio/putwc.c (putwc): Likewise.
28653         * libio/putwc_u.c (putwc_unlocked): Likewise.
28654         * libio/putwchar.c (putwchar): Likewise.
28655         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
28656         * libio/rewind.c (rewind): Likewise.
28657         * libio/setbuf.c (setbuf): Likewise.
28658         * libio/setlinebuf.c (setlinebuf): Likewise.
28659         * libio/vasprintf.c (_IO_vasprintf): Likewise.
28660         * libio/vscanf.c (_IO_vscanf): Likewise.
28661         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
28662         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
28663         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28664         * libio/wgenops.c (_IO_least_wmarker): Likewise.
28665         (_IO_switch_to_main_wget_area): Likewise.
28666         (_IO_switch_to_wbackup_area): Likewise.
28667         (_IO_wsetb): Likewise.
28668         (_IO_wdefault_pbackfail): Likewise.
28669         (_IO_wdefault_finish): Likewise.
28670         (_IO_wdefault_uflow): Likewise.
28671         (__woverflow): Likewise.
28672         (__wuflow): Likewise.
28673         (__wunderflow): Likewise.
28674         (_IO_wdefault_xsputn): Likewise.
28675         (_IO_wdefault_xsgetn): Likewise.
28676         (_IO_wdoallocbuf): Likewise.
28677         (_IO_wdefault_doallocate): Likewise.
28678         (_IO_switch_to_wget_mode): Likewise.
28679         (_IO_free_wbackup_area): Likewise.
28680         (_IO_switch_to_wput_mode): Likewise.
28681         (_IO_sputbackwc): Likewise.
28682         (_IO_sungetwc): Likewise.
28683         (_IO_adjust_wcolumn): Likewise.
28684         (_IO_init_wmarker): Likewise.
28685         (_IO_wmarker_delta): Likewise.
28686         (_IO_seekwmark): Likewise.
28687         (_IO_unsave_wmarkers): Likewise.
28688         * libio/wmemstream.c (open_wmemstream): Likewise.
28689         (_IO_wmem_sync): Likewise.
28690         (_IO_wmem_finish): Likewise.
28691         * locale/nl_langinfo.c (nl_langinfo): Likewise.
28692         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
28693         * locale/programs/simple-hash.c (init_hash): Likewise.
28694         (delete_hash): Likewise.
28695         (insert_entry): Likewise.
28696         (set_entry): Likewise.
28697         (next_prime): Likewise.
28698         (is_prime): Likewise.
28699         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
28700         (xmalloc): Likewise.
28701         (xrealloc): Likewise.
28702         * locale/programs/xstrdup.c (xstrdup): Likewise.
28703         * localedata/collate-test.c (xstrcoll): Likewise.
28704         * localedata/xfrm-test.c (xstrcmp): Likewise.
28705         * login/getlogin_r.c (__getlogin_r): Likewise.
28706         * login/getpt.c (__posix_openpt): Likewise.
28707         * login/login_tty.c (login_tty): Likewise.
28708         * login/setlogin.c (setlogin): Likewise.
28709         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
28710         (mach_msg_destroy_port): Likewise.
28711         (mach_msg_destroy_memory): Likewise.
28712         * malloc/mcheck.c (flood): Likewise.
28713         * misc/acct.c (acct): Likewise.
28714         * misc/brk.c (__brk): Likewise.
28715         * misc/chflags.c (chflags): Likewise.
28716         * misc/chroot.c (chroot): Likewise.
28717         * misc/fchflags.c (fchflags): Likewise.
28718         * misc/fstab.c (getfsspec): Likewise.
28719         (getfsfile): Likewise.
28720         * misc/fsync.c (fsync): Likewise.
28721         * misc/ftruncate.c (__ftruncate): Likewise.
28722         * misc/ftruncate64.c (__ftruncate64): Likewise.
28723         * misc/getdomain.c (getdomainname): Likewise.
28724         (getdomainname): Likewise.
28725         * misc/gethostname.c (__gethostname): Likewise.
28726         * misc/getpass.c (getpass): Likewise.
28727         * misc/getttyent.c (skip): Likewise.
28728         (value): Likewise.
28729         * misc/gtty.c (gtty): Likewise.
28730         * misc/hsearch.c (hsearch): Likewise.
28731         (hcreate): Likewise.
28732         * misc/hsearch_r.c (__hcreate_r): Likewise.
28733         (__hdestroy_r): Likewise.
28734         * misc/ioctl.c (__ioctl): Likewise.
28735         * misc/mkdtemp.c (mkdtemp): Likewise.
28736         * misc/mkostemp.c (mkostemp): Likewise.
28737         * misc/mkostemp64.c (mkostemp64): Likewise.
28738         * misc/mkostemps.c (mkostemps): Likewise.
28739         * misc/mkostemps64.c (mkostemps64): Likewise.
28740         * misc/mkstemp.c (mkstemp): Likewise.
28741         * misc/mkstemp64.c (mkstemp64): Likewise.
28742         * misc/mkstemps.c (mkstemps): Likewise.
28743         * misc/mkstemps64.c (mkstemps64): Likewise.
28744         * misc/mktemp.c (__mktemp): Likewise.
28745         * misc/preadv.c (preadv): Likewise.
28746         * misc/preadv64.c (preadv64): Likewise.
28747         * misc/pwritev.c (pwritev): Likewise.
28748         * misc/pwritev64.c (pwritev64): Likewise.
28749         * misc/readv.c (__readv): Likewise.
28750         * misc/revoke.c (revoke): Likewise.
28751         * misc/setdomain.c (setdomainname): Likewise.
28752         * misc/setegid.c (setegid): Likewise.
28753         * misc/seteuid.c (seteuid): Likewise.
28754         * misc/sethostid.c (sethostid): Likewise.
28755         * misc/sethostname.c (sethostname): Likewise.
28756         * misc/setregid.c (__setregid): Likewise.
28757         * misc/setreuid.c (__setreuid): Likewise.
28758         * misc/sstk.c (sstk): Likewise.
28759         * misc/stty.c (stty): Likewise.
28760         * misc/syscall.c (syscall): Likewise.
28761         * misc/syslog.c (setlogmask): Likewise.
28762         * misc/truncate.c (__truncate): Likewise.
28763         * misc/truncate64.c (truncate64): Likewise.
28764         * misc/ualarm.c (ualarm): Likewise.
28765         * misc/usleep.c (usleep): Likewise.
28766         * misc/ustat.c (ustat): Likewise.
28767         * misc/writev.c (__writev): Likewise.
28768         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
28769         * nptl/old_pthread_cond_broadcast.c
28770         (__pthread_cond_broadcast_2_0): Likewise.
28771         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
28772         Likewise.
28773         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
28774         Likewise.
28775         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
28776         Likewise.
28777         * nptl/pt-raise.c (raise): Likewise.
28778         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
28779         Likewise.
28780         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
28781         * nptl/pthread_barrierattr_destroy.c
28782         (pthread_barrierattr_destroy): Likewise.
28783         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28784         Likewise.
28785         * nptl/pthread_barrierattr_setpshared.c
28786         (pthread_barrierattr_setpshared): Likewise.
28787         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28788         Likewise.
28789         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
28790         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28791         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
28792         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
28793         Likewise.
28794         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
28795         Likewise.
28796         * nptl/pthread_condattr_getpshared.c
28797         (pthread_condattr_getpshared): Likewise.
28798         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
28799         Likewise.
28800         * nptl/pthread_condattr_setpshared.c
28801         (pthread_condattr_setpshared): Likewise.
28802         * nptl/pthread_detach.c (pthread_detach): Likewise.
28803         * nptl/pthread_equal.c (__pthread_equal): Likewise.
28804         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
28805         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
28806         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
28807         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
28808         Likewise.
28809         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
28810         Likewise.
28811         * nptl/pthread_mutex_getprioceiling.c
28812         (pthread_mutex_getprioceiling): Likewise.
28813         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
28814         Likewise.
28815         * nptl/pthread_mutexattr_getprotocol.c
28816         (pthread_mutexattr_getprotocol): Likewise.
28817         * nptl/pthread_mutexattr_getpshared.c
28818         (pthread_mutexattr_getpshared): Likewise.
28819         * nptl/pthread_mutexattr_getrobust.c
28820         (pthread_mutexattr_getrobust): Likewise.
28821         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28822         Likewise.
28823         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
28824         Likewise.
28825         * nptl/pthread_mutexattr_setprioceiling.c
28826         (pthread_mutexattr_setprioceiling): Likewise.
28827         * nptl/pthread_mutexattr_setprotocol.c
28828         (pthread_mutexattr_setprotocol): Likewise.
28829         * nptl/pthread_mutexattr_setpshared.c
28830         (pthread_mutexattr_setpshared): Likewise.
28831         * nptl/pthread_mutexattr_setrobust.c
28832         (pthread_mutexattr_setrobust): Likewise.
28833         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
28834         Likewise.
28835         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
28836         Likewise.
28837         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
28838         Likewise.
28839         * nptl/pthread_rwlockattr_getkind_np.c
28840         (pthread_rwlockattr_getkind_np): Likewise.
28841         * nptl/pthread_rwlockattr_getpshared.c
28842         (pthread_rwlockattr_getpshared): Likewise.
28843         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
28844         Likewise.
28845         * nptl/pthread_rwlockattr_setkind_np.c
28846         (pthread_rwlockattr_setkind_np): Likewise.
28847         * nptl/pthread_rwlockattr_setpshared.c
28848         (pthread_rwlockattr_setpshared): Likewise.
28849         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
28850         Likewise.
28851         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
28852         Likewise.
28853         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
28854         Likewise.
28855         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
28856         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
28857         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
28858         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
28859         * nptl/sem_close.c (sem_close): Likewise.
28860         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
28861         * nptl/sem_init.c (__old_sem_init): Likewise.
28862         * nptl/sigaction.c (__sigaction): Likewise.
28863         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28864         * posix/_exit.c (_exit): Likewise.
28865         * posix/alarm.c (alarm): Likewise.
28866         * posix/confstr.c (confstr): Likewise.
28867         * posix/fpathconf.c (__fpathconf): Likewise.
28868         * posix/getgroups.c (__getgroups): Likewise.
28869         * posix/getpgid.c (__getpgid): Likewise.
28870         * posix/group_member.c (__group_member): Likewise.
28871         * posix/pathconf.c (__pathconf): Likewise.
28872         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
28873         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
28874         * posix/setgid.c (__setgid): Likewise.
28875         * posix/setpgid.c (__setpgid): Likewise.
28876         * posix/setuid.c (__setuid): Likewise.
28877         * posix/sleep.c (__sleep): Likewise.
28878         * posix/sysconf.c (__sysconf): Likewise.
28879         * posix/times.c (__times): Likewise.
28880         * posix/uname.c (__uname): Likewise.
28881         * posix/waitid.c (__waitid): Likewise.
28882         * pwd/getpw.c (__getpw): Likewise.
28883         * resolv/base64.c (b64_pton): Likewise.
28884         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28885         * resolv/gethnamaddr.c (Dprintf): Likewise.
28886         (gethostbyname): Likewise.
28887         (gethostbyname2): Likewise.
28888         (gethostbyaddr): Likewise.
28889         (_sethtent): Likewise.
28890         (_gethtbyname): Likewise.
28891         (_gethtbyname2): Likewise.
28892         (_gethtbyaddr): Likewise.
28893         (map_v4v6_address): Likewise.
28894         (map_v4v6_hostent): Likewise.
28895         (addrsort): Likewise.
28896         (ht_sethostent): Likewise.
28897         (ht_gethostbyname): Likewise.
28898         (ht_gethostbyaddr): Likewise.
28899         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
28900         (inet_net_ntop_ipv4): Likewise.
28901         * resolv/inet_neta.c (inet_neta): Likewise.
28902         * resolv/inet_ntop.c (inet_ntop): Likewise.
28903         (inet_ntop4): Likewise.
28904         (inet_ntop6): Likewise.
28905         * resolv/inet_pton.c (__inet_pton): Likewise.
28906         (inet_pton4): Likewise.
28907         (inet_pton6): Likewise.
28908         * resolv/res_debug.c (loc_aton): Likewise.
28909         (loc_ntoa): Likewise.
28910         * resource/getpriority.c (__getpriority): Likewise.
28911         * resource/getrusage.c (__getrusage): Likewise.
28912         * resource/nice.c (nice): Likewise.
28913         * resource/setpriority.c (__setpriority): Likewise.
28914         * resource/setrlimit64.c (setrlimit64): Likewise.
28915         * resource/vlimit.c (vlimit): Likewise.
28916         * resource/vtimes.c (vtimes): Likewise.
28917         * rt/aio_error.c (aio_error): Likewise.
28918         * rt/aio_return.c (aio_return): Likewise.
28919         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
28920         * signal/kill.c (__kill): Likewise.
28921         * signal/killpg.c (killpg): Likewise.
28922         * signal/raise.c (raise): Likewise.
28923         * signal/sigaction.c (__sigaction): Likewise.
28924         * signal/sigaddset.c (sigaddset): Likewise.
28925         * signal/sigaltstack.c (sigaltstack): Likewise.
28926         * signal/sigandset.c (sigandset): Likewise.
28927         * signal/sigblock.c (__sigblock): Likewise.
28928         * signal/sigdelset.c (sigdelset): Likewise.
28929         * signal/sigempty.c (sigemptyset): Likewise.
28930         * signal/sigfillset.c (sigfillset): Likewise.
28931         * signal/sighold.c (sighold): Likewise.
28932         * signal/sigignore.c (sigignore): Likewise.
28933         * signal/sigintr.c (siginterrupt): Likewise.
28934         * signal/sigisempty.c (sigisemptyset): Likewise.
28935         * signal/sigismem.c (sigismember): Likewise.
28936         * signal/signal.c (signal): Likewise.
28937         * signal/sigorset.c (sigorset): Likewise.
28938         * signal/sigpause.c (__sigpause): Likewise.
28939         * signal/sigpending.c (sigpending): Likewise.
28940         * signal/sigprocmask.c (__sigprocmask): Likewise.
28941         * signal/sigrelse.c (sigrelse): Likewise.
28942         * signal/sigreturn.c (__sigreturn): Likewise.
28943         * signal/sigset.c (sigset): Likewise.
28944         * signal/sigsetmask.c (__sigsetmask): Likewise.
28945         * signal/sigstack.c (sigstack): Likewise.
28946         * signal/sigsuspend.c (__sigsuspend): Likewise.
28947         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
28948         * signal/sysv_signal.c (__sysv_signal): Likewise.
28949         * socket/accept.c (accept): Likewise.
28950         * socket/accept4.c (__libc_accept4): Likewise.
28951         * socket/bind.c (__bind): Likewise.
28952         * socket/connect.c (__connect): Likewise.
28953         * socket/getpeername.c (getpeername): Likewise.
28954         * socket/getsockname.c (__getsockname): Likewise.
28955         * socket/getsockopt.c (getsockopt): Likewise.
28956         * socket/listen.c (__listen): Likewise.
28957         * socket/recv.c (__recv): Likewise.
28958         * socket/recvmsg.c (__recvmsg): Likewise.
28959         * socket/send.c (__send): Likewise.
28960         * socket/sendmsg.c (__sendmsg): Likewise.
28961         * socket/shutdown.c (shutdown): Likewise.
28962         * socket/sockatmark.c (sockatmark): Likewise.
28963         * socket/socket.c (__socket): Likewise.
28964         * stdio-common/ctermid.c (ctermid): Likewise.
28965         * stdio-common/cuserid.c (cuserid): Likewise.
28966         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
28967         * stdio-common/remove.c (remove): Likewise.
28968         * stdio-common/rename.c (rename): Likewise.
28969         * stdio-common/renameat.c (renameat): Likewise.
28970         * stdio-common/tempname.c (__gen_tempname): Likewise.
28971         * stdio-common/xbug.c (InitBuffer): Likewise.
28972         (AppendToBuffer): Likewise.
28973         (ReadFile): Likewise.
28974         * stdlib/a64l.c (a64l): Likewise.
28975         * stdlib/drand48_r.c (drand48_r): Likewise.
28976         * stdlib/getcontext.c (getcontext): Likewise.
28977         * stdlib/getenv.c (getenv): Likewise.
28978         * stdlib/l64a.c (l64a): Likewise.
28979         * stdlib/llabs.c (llabs): Likewise.
28980         * stdlib/lldiv.c (lldiv): Likewise.
28981         * stdlib/lrand48_r.c (lrand48_r): Likewise.
28982         * stdlib/mrand48_r.c (mrand48_r): Likewise.
28983         * stdlib/putenv.c (putenv): Likewise.
28984         * stdlib/random.c (__srandom): Likewise.
28985         (__initstate): Likewise.
28986         (__setstate): Likewise.
28987         * stdlib/random_r.c (__srandom_r): Likewise.
28988         (__setstate_r): Likewise.
28989         (__random_r): Likewise.
28990         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
28991         * stdlib/setcontext.c (setcontext): Likewise.
28992         * stdlib/setenv.c (setenv): Likewise.
28993         (unsetenv): Likewise.
28994         * stdlib/srand48.c (srand48): Likewise.
28995         * stdlib/srand48_r.c (__srand48_r): Likewise.
28996         * stdlib/swapcontext.c (swapcontext): Likewise.
28997         * stdlib/system.c (__libc_system): Likewise.
28998         * stdlib/tst-strtod.c (expand): Likewise.
28999         * stdlib/tst-strtol.c (expand): Likewise.
29000         * stdlib/tst-strtoll.c (expand): Likewise.
29001         * streams/fattach.c (fattach): Likewise.
29002         * streams/fdetach.c (fdetach): Likewise.
29003         * streams/getmsg.c (getmsg): Likewise.
29004         * streams/isastream.c (isastream): Likewise.
29005         * string/ffs.c (__ffs): Likewise.
29006         * string/ffsll.c (ffsll): Likewise.
29007         * string/memcmp.c (memcmp_common_alignment): Likewise.
29008         (memcmp_not_common_alignment): Likewise.
29009         (MEMCMP): Likewise.
29010         * string/memcpy.c (memcpy): Likewise.
29011         * string/memmove.c (MEMMOVE): Likewise.
29012         * string/memset.c (memset): Likewise.
29013         * string/rawmemchr.c (RAWMEMCHR): Likewise.
29014         * string/strchrnul.c (STRCHRNUL): Likewise.
29015         * string/strerror.c (strerror): Likewise.
29016         * string/strndup.c (__strndup): Likewise.
29017         * string/strverscmp.c (__strverscmp): Likewise.
29018         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
29019         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
29020         (clnttcp_freeres): Likewise.
29021         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
29022         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
29023         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
29024         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
29025         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
29026         (xdr_callhdr): Likewise.
29027         * sunrpc/rpcinfo.c (udpping): Likewise.
29028         (tcpping): Likewise.
29029         (pstatus): Likewise.
29030         (pmapdump): Likewise.
29031         (brdcst): Likewise.
29032         (deletereg): Likewise.
29033         (getprognum): Likewise.
29034         (getvers): Likewise.
29035         (get_inet_address): Likewise.
29036         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
29037         * sunrpc/svc_udp.c (svcudp_create): Likewise.
29038         (svcudp_stat): Likewise.
29039         (svcudp_recv): Likewise.
29040         (svcudp_reply): Likewise.
29041         (svcudp_getargs): Likewise.
29042         (svcudp_freeargs): Likewise.
29043         (svcudp_destroy): Likewise.
29044         * sunrpc/xdr.c (xdr_bytes): Likewise.
29045         (xdr_netobj): Likewise.
29046         (xdr_string): Likewise.
29047         (xdr_wrapstring): Likewise.
29048         * sunrpc/xdr_float.c (xdr_float): Likewise.
29049         (xdr_double): Likewise.
29050         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
29051         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
29052         * sysvipc/ftok.c (ftok): Likewise.
29053         * sysvipc/msgctl.c (msgctl): Likewise.
29054         * sysvipc/msgget.c (msgget): Likewise.
29055         * sysvipc/msgrcv.c (msgrcv): Likewise.
29056         * sysvipc/msgsnd.c (msgsnd): Likewise.
29057         * sysvipc/semget.c (semget): Likewise.
29058         * sysvipc/semop.c (semop): Likewise.
29059         * sysvipc/shmat.c (shmat): Likewise.
29060         * sysvipc/shmctl.c (shmctl): Likewise.
29061         * sysvipc/shmdt.c (shmdt): Likewise.
29062         * sysvipc/shmget.c (shmget): Likewise.
29063         * termios/cfmakeraw.c (cfmakeraw): Likewise.
29064         * termios/speed.c (cfgetospeed): Likewise.
29065         (cfgetispeed): Likewise.
29066         (cfsetospeed): Likewise.
29067         (cfsetispeed): Likewise.
29068         * termios/tcflow.c (tcflow): Likewise.
29069         * termios/tcflush.c (tcflush): Likewise.
29070         * termios/tcgetattr.c (__tcgetattr): Likewise.
29071         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
29072         * termios/tcgetsid.c (tcgetsid): Likewise.
29073         * termios/tcsendbrk.c (tcsendbreak): Likewise.
29074         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
29075         * time/adjtime.c (__adjtime): Likewise.
29076         * time/dysize.c (dysize): Likewise.
29077         * time/ftime.c (ftime): Likewise.
29078         * time/getitimer.c (__getitimer): Likewise.
29079         * time/gettimeofday.c (__gettimeofday): Likewise.
29080         * time/gmtime.c (__gmtime_r): Likewise.
29081         (gmtime): Likewise.
29082         * time/localtime.c (__localtime_r): Likewise.
29083         (localtime): Likewise.
29084         * time/offtime.c (__offtime): Likewise.
29085         * time/settimeofday.c (__settimeofday): Likewise.
29086         * time/stime.c (stime): Likewise.
29087         * time/strftime_l.c (tm_diff): Likewise.
29088         (iso_week_days): Likewise.
29089         * time/strptime.c (strptime): Likewise.
29090         * time/time.c (time): Likewise.
29091         * time/timespec_get.c (timespec_get): Likewise.
29092         * time/tzset.c (tzset_internal): Likewise.
29093         (compute_change): Likewise.
29094         (__tz_compute): Likewise.
29095         * wcsmbs/btowc.c (__btowc): Likewise.
29096         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
29097         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
29098         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
29099         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
29100         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
29101         * wcsmbs/wcscat.c (__wcscat): Likewise.
29102         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29103         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
29104         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
29105         * wcsmbs/wcscspn.c (wcscspn): Likewise.
29106         * wcsmbs/wcsdup.c (wcsdup): Likewise.
29107         * wcsmbs/wcslen.c (__wcslen): Likewise.
29108         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
29109         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
29110         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
29111         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
29112         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29113         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
29114         * wcsmbs/wcsspn.c (wcsspn): Likewise.
29115         * wcsmbs/wcsstr.c (wcsstr): Likewise.
29116         * wcsmbs/wcstok.c (wcstok): Likewise.
29117         * wcsmbs/wctob.c (wctob): Likewise.
29118         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
29119         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29120         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
29121         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
29122         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
29123         * wcsmbs/wmemset.c (__wmemset): Likewise.
29124         * wctype/wcfuncs.c (__towlower): Likewise.
29125         (__towupper): Likewise.
29127         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
29128         (lll_unlock_elision): Add adapt_count parameter.
29130 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
29132         * sysdeps/nptl/configure.ac: Do not give errors based on the
29133         results of top-level configure tests.
29134         * sysdeps/nptl/configure: Regenerated.
29136         * configure.ac (libc_cv_Bgroup): Remove configure test.
29137         * configure: Regenerated.
29138         * config.make.in (have-Bgroup): Remove variable.
29140         * configure.ac (sizeof_long_double): Remove configure test.
29141         * configure: Regenerated.
29142         * config.make.in (sizeof-long-double): Remove variable.
29144         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
29145         * configure: Regenerated.
29146         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
29147         variable.
29148         (exceptions): Likewise.
29149         * sysdeps/arm/configure: Regenerated.
29150         * config.make.in (exceptions): Remove variable.
29151         * Makeconfig (uses-callbacks): Use -fexceptions instead of
29152         $(exceptions).
29153         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
29154         (CFLAGS-vdprintf_chk.c): Likewise.
29155         (CFLAGS-printf_chk.c): Likewise.
29156         (CFLAGS-fprintf_chk.c): Likewise.
29157         (CFLAGS-vprintf_chk.c): Likewise.
29158         (CFLAGS-vfprintf_chk.c): Likewise.
29159         (CFLAGS-gets_chk.c): Likewise.
29160         (CFLAGS-fgets_chk.c): Likewise.
29161         (CFLAGS-fgets_u_chk.c): Likewise.
29162         (CFLAGS-fread_chk.c): Likewise.
29163         (CFLAGS-fread_u_chk.c): Likewise.
29164         (CFLAGS-wprintf_chk.c): Likewise.
29165         (CFLAGS-fwprintf_chk.c): Likewise.
29166         (CFLAGS-vwprintf_chk.c): Likewise.
29167         (CFLAGS-vfwprintf_chk.c): Likewise.
29168         (CFLAGS-fgetws_chk.c): Likewise.
29169         (CFLAGS-fgetws_u_chk.c): Likewise.
29170         * libio/Makefile (CFLAGS-fileops.c): Likewise.
29171         (CFLAGS-fputc.c): Likewise.
29172         (CFLAGS-fputwc.c): Likewise.
29173         (CFLAGS-freopen64.c): Likewise.
29174         (CFLAGS-freopen.c): Likewise.
29175         (CFLAGS-fseek.c): Likewise.
29176         (CFLAGS-fseeko64.c): Likewise.
29177         (CFLAGS-fseeko.c): Likewise.
29178         (CFLAGS-ftello64.c): Likewise.
29179         (CFLAGS-ftello.c): Likewise.
29180         (CFLAGS-fwide.c): Likewise.
29181         (CFLAGS-genops.c): Likewise.
29182         (CFLAGS-getc.c): Likewise.
29183         (CFLAGS-getchar.c): Likewise.
29184         (CFLAGS-getwc.c): Likewise.
29185         (CFLAGS-getwchar.c): Likewise.
29186         (CFLAGS-iofclose.c): Likewise.
29187         (CFLAGS-iofflush.c): Likewise.
29188         (CFLAGS-iofgetpos64.c): Likewise.
29189         (CFLAGS-iofgetpos.c): Likewise.
29190         (CFLAGS-iofgets.c): Likewise.
29191         (CFLAGS-iofgetws.c): Likewise.
29192         (CFLAGS-iofputs.c): Likewise.
29193         (CFLAGS-iofputws.c): Likewise.
29194         (CFLAGS-iofread.c): Likewise.
29195         (CFLAGS-iofsetpos64.c): Likewise.
29196         (CFLAGS-iofsetpos.c): Likewise.
29197         (CFLAGS-ioftell.c): Likewise.
29198         (CFLAGS-iofwrite.c): Likewise.
29199         (CFLAGS-iogetdelim.c): Likewise.
29200         (CFLAGS-iogetline.c): Likewise.
29201         (CFLAGS-iogets.c): Likewise.
29202         (CFLAGS-iogetwline.c): Likewise.
29203         (CFLAGS-ioputs.c): Likewise.
29204         (CFLAGS-ioseekoff.c): Likewise.
29205         (CFLAGS-ioseekpos.c): Likewise.
29206         (CFLAGS-iosetbuffer.c): Likewise.
29207         (CFLAGS-iosetvbuf.c): Likewise.
29208         (CFLAGS-ioungetc.c): Likewise.
29209         (CFLAGS-ioungetwc.c): Likewise.
29210         (CFLAGS-oldfileops.c): Likewise.
29211         (CFLAGS-oldiofclose.c): Likewise.
29212         (CFLAGS-oldiofgetpos64.c): Likewise.
29213         (CFLAGS-oldiofgetpos.c): Likewise.
29214         (CFLAGS-oldiofsetpos64.c): Likewise.
29215         (CFLAGS-oldiofsetpos.c): Likewise.
29216         (CFLAGS-peekc.c): Likewise.
29217         (CFLAGS-putc.c): Likewise.
29218         (CFLAGS-putchar.c): Likewise.
29219         (CFLAGS-putwc.c): Likewise.
29220         (CFLAGS-putwchar.c): Likewise.
29221         (CFLAGS-rewind.c): Likewise.
29222         (CFLAGS-wfileops.c): Likewise.
29223         (CFLAGS-wgenops.c): Likewise.
29224         (CFLAGS-oldiofopen.c): Likewise.
29225         (CFLAGS-iofopen.c): Likewise.
29226         (CFLAGS-iofopen64.c): Likewise.
29227         (CFLAGS-oldtmpfile.c): Likewise.
29228         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
29229         (CFLAGS-fprintf.c): Likewise.
29230         (CFLAGS-printf.c): Likewise.
29231         (CFLAGS-vfwprintf.c): Likewise.
29232         (CFLAGS-vfscanf.c): Likewise.
29233         (CFLAGS-vfwscanf.c): Likewise.
29234         (CFLAGS-fscanf.c): Likewise.
29235         (CFLAGS-scanf.c): Likewise.
29236         (CFLAGS-isoc99_vfscanf.c): Likewise.
29237         (CFLAGS-isoc99_vscanf.c): Likewise.
29238         (CFLAGS-isoc99_fscanf.c): Likewise.
29239         (CFLAGS-isoc99_scanf.c): Likewise.
29240         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
29241         (CFLAGS-isoc99_fwscanf.c): Likewise.
29242         (CFLAGS-isoc99_vwscanf.c): Likewise.
29243         (CFLAGS-isoc99_vfwscanf.c): Likewise.
29245         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
29246         after mkstemp64.
29247         * login/tst-utmp.c (do_prepare): Likewise.
29248         * rt/tst-aio.c (do_prepare): Likewise.
29249         * rt/tst-aio64.c (do_prepare): Likewise.
29251 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29253         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
29254         (__lll_lock_elision): Remove adapt_count decrement...
29255         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
29256         (__lll_trylock_elision): Likewise.
29257         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
29258         (__lll_unlock_elision): ... to here. And utilize
29259         new adapt_count parameter.
29260         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29261         (__lll_unlock_elision): Update to include adapt_count
29262         parameter.
29263         (lll_unlock_elision): Pass pointer to adapt_count
29264         variable.
29266 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29268         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
29269         Add elision adapt_count parameter to list of arguments.
29270         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29271         (lll_unlock_elision): Update with new parameter list
29272         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
29273         (lll_unlock_elision): Likewise.
29274         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
29275         (lll_unlock_elision): Likewise.
29277 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29279         [BZ #19122]
29280         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
29281         attribute_hidden.
29283         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
29284         attribute_hidden.
29285         [IS_IN (rtld)] (__strdup): Likewise.
29286         [IS_IN (rtld)] (__strerror_r): Likewise.
29287         [IS_IN (rtld)] (__strsep_g): Likewise.
29288         [IS_IN (rtld)] (memchr): Likewise.
29289         [IS_IN (rtld)] (memcmp): Likewise.
29290         [IS_IN (rtld)] (memcpy): Likewise.
29291         [IS_IN (rtld)] (memmove): Likewise.
29292         [IS_IN (rtld)] (memset): Likewise.
29293         [IS_IN (rtld)] (rawmemchr): Likewise.
29294         [IS_IN (rtld)] (stpcpy): Likewise.
29295         [IS_IN (rtld)] (strchr): Likewise.
29296         [IS_IN (rtld)] (strcmp): Likewise.
29297         [IS_IN (rtld)] (strlen): Likewise.
29298         [IS_IN (rtld)] (strnlen): Likewise.
29299         [IS_IN (rtld)] (strsep): Likewise.
29301         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
29302         attribute_hidden.
29303         [IS_IN (rtld)] (__strtoul_internal): Likewise.
29305         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
29306         attribute_hidden.
29307         [IS_IN (rtld)] (__libc_sigaction): Likewise.
29309         * include/setjmp.h (__longjmp): Add attribute_hidden.
29310         [IS_IN (rtld)] (__sigsetjmp): Likewise.
29312         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
29313         Add attribute_hidden.
29315         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
29316         [IS_IN (rtld)] (__open): Likewise.
29317         [IS_IN (rtld)] (__fcntl): Likewise.
29319         * include/dirent.h (__opendirat): Add attribute_hidden.
29320         (__getdents): Likewise.
29321         (__getdents64): Likewise.
29322         (__alloc_dir): Likewise.
29323         [IS_IN (rtld)] (__closedir): Likewise.
29324         [IS_IN (rtld)] (__fdopendir): Likewise.
29325         [IS_IN (rtld)] (__readdir): Likewise.
29326         [IS_IN (rtld)] (__readdir64): Likewise.
29327         [IS_IN (rtld)] (__rewinddir): Likewise.
29329         * include/dlfcn.h (_dl_catch_error): Moved to ...
29330         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
29331         attribute_hidden.
29333         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
29334         (_itoa_word): Likewise.
29336         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
29337         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29338         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29339         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
29340         (_dl_higher_prime_number): Likewise.
29341         (_dl_debug_printf_c): Likewise.
29342         (_dl_signal_cerror): Likewise.
29343         (_dl_receive_error): Likewise.
29344         (_dl_reloc_bad_type): Likewise.
29345         (_dl_resolve_conflicts): Likewise.
29346         (_dl_check_all_versions): Likewise.
29347         (_dl_check_map_versions): Likewise.
29348         (_dl_sort_fini): Likewise.
29349         (_dl_debug_initialize): Likewise.
29350         (_dl_init_paths): Likewise.
29351         (_dl_show_auxv): Likewise.
29352         (_dl_next_ld_env_entry): Likewise.
29353         (_dl_important_hwcaps): Likewise.
29354         (_dl_load_cache_lookup): Likewise.
29355         (_dl_update_slotinfo): Likewise.
29356         (_dl_show_scope): Likewise.
29358         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
29359         attribute_hidden.
29360         (_wordcopy_fwd_dest_aligned): Likewise.
29361         (_wordcopy_bwd_aligned): Likewise.
29362         (_wordcopy_bwd_dest_aligned): Likewise.
29364         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29365         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29366         Likewise.
29367         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29368         Likewise.
29369         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29371 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29373         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
29374         GCC 5 requirement.
29376 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
29378         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
29379         test.
29380         * sysdeps/i386/configure: Regenerated.
29381         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
29382         code unconditional.
29384         * configure.ac (libc_cv_asm_previous_directive): Remove configure
29385         test.
29386         (libc_cv_asm_popsection_directive): Likewise.
29387         * configure: Regenerated.
29388         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
29389         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
29390         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
29391         (__make_section_unallocated): Make definition unconditional.
29392         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
29393         Remove conditional definition.
29394         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
29395         (__make_section_unallocated): Likewise.
29397         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
29398         * configure: Regenerated.
29399         * config.make.in (static-libgcc): Remove variable.
29400         * Makerules (build-shlib-helper): Use -static-libgcc instead of
29401         $(static-libgcc).
29402         (build-module-helper): Likewise.
29404         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
29405         * configure: Regenerated.
29407 2015-10-15  Florian Weimer  <fweimer@redhat.com>
29409         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
29410         (struct char_buffer): New type.
29411         (char_buffer_start, char_buffer_size, char_buffer_error)
29412         (char_buffer_rewind, char_buffer_add): New functions.
29413         (ADDW): Remove macro, replaced by the char_buffer_add function.
29414         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
29415         of extend_alloca.  Make control flow more explicit.
29417 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29419         [BZ #19137]
29420         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
29421         Add -fomit-frame-pointer.
29422         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
29424 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29426         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
29427         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
29428         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
29429         only if !__GNUC_PREREQ (5,0).
29430         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
29431         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
29432         (INTERNAL_SYSCALL_NCS): Likewise.
29433         (LOADREGS_0): New macro for GCC 5.
29434         (ASMARGS_0): Likewise.
29435         (LOADREGS_1): Likewise.
29436         (ASMARGS_1): Likewise.
29437         (LOADREGS_2): Likewise.
29438         (ASMARGS_2): Likewise.
29439         (LOADREGS_3): Likewise.
29440         (ASMARGS_3): Likewise.
29441         (LOADREGS_4): Likewise.
29442         (ASMARGS_4): Likewise.
29443         (LOADREGS_5): Likewise.
29444         (ASMARGS_5): Likewise.
29445         (LOADREGS_6): Likewise.
29446         (ASMARGS_6): Likewise.
29448 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29450         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
29451         -fomit-frame-pointer.
29452         (CFLAGS-mmap64.c): Likewise.
29453         (CFLAGS-semtimedop.c): Likewise.
29454         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
29455         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
29456         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29457         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29459 2015-10-15  Florian Weimer  <fweimer@redhat.com>
29461         [BZ #18928]
29462         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
29463         _dl_pointer_guard member.
29464         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
29465         initializer.
29466         (security_init): Always set up pointer guard.
29467         (process_envvars): Do not process LD_POINTER_GUARD.
29469 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
29471         [BZ #19134]
29472         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
29473         (.LC2): Likewise.
29474         (.LC3): Likewise.
29475         (__lround): Do not add 0.5 to integer or out-of-range arguments.
29477 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29479         [BZ #19129]
29480         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
29481         r0 and r1.
29483 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
29485         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
29487 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
29489         * include/stap-probe.h: Fix macro definition formatting.
29491 2015-10-14  Florian Weimer  <fweimer@redhat.com>
29493         [BZ #19074]
29494         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
29495         load and store num_ifs.
29497 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29499         [BZ #18822]
29500         * sysdeps/unix/sysv/linux/sched_getaffinity.c
29501         (__sched_getaffinity_new): Add libc_hidden_proto and
29502         libc_hidden_def.
29504 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29506         [BZ #19007]
29507         * scripts/localplt.awk: Also allow GOT references.
29508         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
29509         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
29510         with "+ REL R_386_GLOB_DAT".
29511         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
29512         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
29514 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29516         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
29517         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29518         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
29519         Likewise.
29520         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
29521         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
29522         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
29523         INTERNAL_SYSCALLINTERNAL_SYSCALL and
29524         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29525         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
29526         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29527         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
29528         Likewise.
29529         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29531 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
29533         [BZ #19125]
29534         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
29535         <math_private.h> and <stdint.h>.
29536         (__llround): Avoid conversions to and from long long int, and
29537         subtractions, where those might raise spurious exceptions.
29538         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
29539         <math_private.h> and <stdint.h>.
29540         (__llroundf): Avoid conversions to and from long long int, and
29541         subtractions, where those might raise spurious exceptions.
29543 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29545         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
29546         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29547         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29548         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
29549         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
29550         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
29551         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
29552         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
29553         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
29554         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29555         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29556         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29557         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
29558         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29559         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29560         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
29561         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
29562         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
29563         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
29564         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
29565         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
29566         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
29567         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
29568         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
29569         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
29570         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29571         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
29572         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
29573         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29574         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
29575         (__xstat64_conv): Likewise.
29576         (__xstat32_conv): Likewise.
29578 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29580         * sysdeps/unix/sysv/linux/sysdep.h: New file.
29581         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
29582         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
29583         <sysdeps/unix/sysv/linux/sysdep.h>.
29584         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29585         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
29586         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
29587         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29588         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29589         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
29590         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
29591         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
29592         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
29593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29595         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29596         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29597         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29598         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29599         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29600         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
29601         (sysdep-dl-routines): Add sysdep.
29602         [$(subdir) == nptl] (libpthread-routines): Likewise.
29603         [$(subdir) == rt] (librt-routines): Likewise.
29604         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
29605         PIC when branching to SYSCALL_ERROR_LABEL.
29606         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
29607         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
29608         <sysdeps/unix/sysv/linux/sysdep.h>.
29609         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
29610         (SYSCALL_ERROR_ERRNO): Removed.
29611         (SYSCALL_ERROR_HANDLER): Changed to empty.
29612         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
29613         (__syscall_error): New prototype.
29614         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
29615         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
29617 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29619         [BZ #19124]
29620         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
29621         (_dl_runtime_resolve_avx512): Make it a hidden alias of
29622         _dl_runtime_resolve_avx.
29623         (_dl_runtime_profile_avx512): Make it a hidden alias of
29624         _dl_runtime_profile_avx.
29626 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
29628         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
29629         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
29630         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
29631         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
29633         [BZ #16422]
29634         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
29635         New configure test.
29636         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
29637         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
29638         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
29639         <math_private.h> and <stdint.h>.
29640         (__llrint): Avoid conversions to long long int where those might
29641         raise spurious exceptions.
29642         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
29643         <math_private.h> and <stdint.h>.
29644         (__llrintf): Avoid conversions to long long int where those might
29645         raise spurious exceptions.
29647 2015-10-12  Andreas Schwab  <schwab@suse.de>
29649         [BZ #18969]
29650         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
29651         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
29652         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
29653         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
29654         $(gen-locales).
29655         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
29656         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
29657         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
29658         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
29659         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
29660         $(gen-locales).
29661         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
29662         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
29663         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
29664         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
29665         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
29666         ($(objpfx)tst-ftell-active-handler.out)
29667         ($(objpfx)tst-ftell-append.out)
29668         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
29669         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
29670         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
29671         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
29672         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
29673         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
29674         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
29675         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
29676         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
29677         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
29678         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
29679         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
29680         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
29681         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
29682         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
29683         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
29684         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
29685         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
29686         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
29687         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
29688         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
29689         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
29690         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
29691         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
29692         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
29693         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
29694         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
29695         $(gen-locales).
29696         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
29697         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
29698         $(gen-locales).
29699         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
29700         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
29701         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
29702         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
29703         $(gen-locales).
29704         * libio/tst_wprintf2.c (main): Use explicit locale.
29705         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
29707 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29709         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
29710         __msg_sig_post.
29711         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
29713 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
29715         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29716         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29718         * sysdeps/arm/libm-test-ulps: Regenerated.
29720         [BZ #15470]
29721         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
29723         [BZ #16399]
29724         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
29725         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
29726         and <fix-fp-int-convert-overflow.h>.
29727         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29728         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29729         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
29730         and <fix-fp-int-convert-overflow.h>.
29731         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
29732         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29733         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
29734         <fix-fp-int-convert-overflow.h>.
29735         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29736         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29737         * sysdeps/ieee754/dbl-64/s_lround.c: Include
29738         <fix-fp-int-convert-overflow.h>.
29739         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
29740         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29741         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
29742         and <fix-fp-int-convert-overflow.h>.
29743         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29744         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29745         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
29746         <limits.h> and <fix-fp-int-convert-overflow.h>.
29747         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29748         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29749         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
29750         and <fix-fp-int-convert-overflow.h>.
29751         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29752         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29753         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
29754         and <fix-fp-int-convert-overflow.h>.
29755         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29756         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29757         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
29759 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
29761         [BZ #18589]
29762         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
29763         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
29764         $(gen-locales).
29766 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29767             Phil Blundell <pb@pbcl.net>
29769         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
29770         * nptl/tst-cancel26.c: New file.
29771         * nptl/tst-cancel27.c: Likewise.
29773 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
29775         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
29776         __ILP32__ isn't defined.
29777         (lrint): Likewise.
29778         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
29779         (lrintf): Likewise.
29780         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
29781         (lrintl): Likewise.
29782         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
29783         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
29784         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
29786 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29788         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
29789         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
29791         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
29792         file.
29793         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
29794         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
29796 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
29798         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
29799         configure test.
29800         * sysdeps/i386/configure: Regenerated.
29801         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
29802         configure test.
29803         * sysdeps/x86_64/configure: Regenerated.
29804         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
29805         Make code unconditional.
29807         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
29808         test.
29809         * sysdeps/i386/configure: Regenerated.
29810         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
29811         test.
29812         * sysdeps/x86_64/configure: Regenerated.
29813         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
29814         Make code unconditional.
29815         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
29816         Likewise.
29817         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
29818         Likewise.
29819         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29820         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
29821         code unconditional.
29822         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29823         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
29824         code unconditional.
29825         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29826         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
29827         code unconditional.
29828         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
29829         code unconditional.
29830         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29831         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
29832         code unconditional.
29833         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29834         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
29835         code unconditional.
29836         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29837         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
29838         code unconditional.
29839         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29840         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
29841         code unconditional.
29842         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29843         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
29845         [BZ #19095]
29846         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
29847         mantissa to long int before shifting left.
29849 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
29851         [BZ #19094]
29852         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
29853         <limits.h>.
29854         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29855         when result overflows but exception would not result from cast.
29856         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
29857         <limits.h>.
29858         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29859         when result overflows but exception would not result from cast.
29860         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
29861         <limits.h>.
29862         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29863         when result overflows but exception would not result from cast.
29864         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
29865         <limits.h>.
29866         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29867         when result overflows but exception would not result from cast.
29868         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
29869         <limits.h>.
29870         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29871         when result overflows but exception would not result from cast.
29872         * math/libm-test.inc (lrint_test_data): Add more tests.
29873         (llrint_test_data): Likewise.
29875 2015-10-08  Roland McGrath  <roland@hack.frob.com>
29877         [BZ #18872]
29878         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
29879         Move out from under [$(run-built-tests) = yes] conditional.
29880         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
29881         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
29883 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
29885         [BZ #18589]
29886         * string/Makefile (tests): Add bug-strcoll2.
29887         (LOCALES): Add cs_CZ.UTF-8.
29888         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
29890         [BZ #18589]
29891         * string/bug-strcoll2.c: New file.
29892         * locale/categories.def: Revert commit
29893         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
29894         * locale/langinfo.h: Likewise.
29895         * locale/localeinfo.h: Likewise.
29896         * locale/C-collate.c: Likewise.
29897         * locale/programs/ld-collate.c (collate_output): Likewise.
29898         * string/strcoll_l.c (STRDIFF): Likewise.
29899         (STRCOLL): Likewise.
29900         * wcsmbs/wcscoll_l.c: Likewise.
29902 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
29904         * math/libm-test.inc (lround_test_data): Do not expect the absence
29905         of "inexact" for some tests with non-integer arguments.
29906         (llround_test_data): Likewise.
29908         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
29909         test.
29910         (libc_cv_cc_sse2avx): Likewise.
29911         * sysdeps/i386/configure: Regenerated.
29912         * sysdeps/i386/i686/multiarch/Makefile
29913         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
29914         [$(subdir) = math].
29915         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
29916         code unconditional.
29917         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29918         Likewise.
29919         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
29920         Likewise.
29921         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29922         Likewise.
29923         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
29924         test.
29925         (libc_cv_cc_sse2avx): Likewise.
29926         * sysdeps/x86_64/configure: Regenerated.
29927         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
29928         unconditional.
29929         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
29930         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
29931         unconditional.
29932         (_dl_runtime_profile)
29933         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
29934         conditional code.
29935         * sysdeps/x86_64/fpu/multiarch/Makefile
29936         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
29937         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29938         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29939         * sysdeps/x86_64/fpu/multiarch/e_exp.c
29940         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29941         * sysdeps/x86_64/fpu/multiarch/e_log.c
29942         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29943         * sysdeps/x86_64/fpu/multiarch/s_atan.c
29944         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29945         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29946         Likewise.
29947         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29948         Likewise.
29949         * sysdeps/x86_64/fpu/multiarch/s_sin.c
29950         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29951         * sysdeps/x86_64/fpu/multiarch/s_tan.c
29952         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29953         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
29954         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
29955         (HAVE_SSE2AVX_SUPPORT): Likewise.
29957 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
29959         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
29960         instead of #pragma optimize.
29962 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
29964         [BZ #17195]
29965         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
29966         as is similarly done in systrim and _int_free already.
29968 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29970         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
29972 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
29974         [BZ #19088]
29975         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
29976         <limits.h>.
29977         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29978         overflows but exception would not result from cast.
29979         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
29980         and <limits.h>.
29981         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29982         overflows but exception would not result from cast.
29983         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
29984         <limits.h>.
29985         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29986         overflows but exception would not result from cast.
29987         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
29988         <limits.h>.
29989         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29990         overflows but exception would not result from cast.
29991         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
29992         <limits.h>.
29993         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29994         overflows but exception would not result from cast.
29995         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
29996         <limits.h>.
29997         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29998         overflows but exception would not result from cast.
29999         * math/libm-test.inc (lround_test_data): Add more tests.
30000         (llround_test_data): Likewise.
30002 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
30004         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
30005         (CFLAGS-ialloc.c): Ditto.
30006         (CFLAGS-scheck.c): Ditto.
30008 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
30010         [BZ #19086]
30011         * manual/filesys.texi (Storage Allocation): Fix argument order for
30012         posix_fallocate64.
30014 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
30016         [BZ #19085]
30017         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
30018         exponent below 48 inside case for non-overflowing exponent.
30019         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
30021 2015-10-07  Florian Weimer  <fweimer@redhat.com>
30023         * iconvdata/cp737.h (from_idx): Add const.
30024         * iconvdata/cp775.h (from_idx): Likewise.
30026 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
30028         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
30029         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
30030         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
30032         [BZ #19079]
30033         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
30034         file, conditioned on [!_LP64].
30035         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
30036         [!_LP64] (__lround): Do not define as function or alias.
30037         [!_LP64] (lround): Likewise.
30038         [!_LP64] (__lroundl): Likewise.
30039         [!_LP64] (lroundl): Likewise.
30040         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
30041         macro.
30042         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30043         Likewise.
30045 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
30047         * math/libm-test.inc (lrint_test_data): Add more tests.
30048         (llrint_test_data): Likewise.
30049         (lround_test_data): Likewise.
30050         (llround_test_data): Likewise.
30052         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
30053         (llrint_test_data): Add tests used for lrint.
30055         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
30056         test.
30057         * sysdeps/i386/configure: Regenerated.
30058         * sysdeps/i386/i686/multiarch/Makefile
30059         [$(config-cflags-sse4) = yes]: Make code unconditional.
30060         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
30061         Likewise.
30062         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
30063         Likewise.
30064         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
30065         test.
30066         * sysdeps/x86_64/configure: Regenerated.
30067         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
30068         Make code unconditional.
30069         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
30070         Likewise.
30071         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
30072         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
30074         * scripts/rpm2dynsym.sh: Remove file.
30076 2015-10-06  Florian Weimer  <fweimer@redhat.com>
30078         * configure.ac (libc_cv_cxx_thread_local): Define.
30079         * configure: Regenerate.
30080         * config.make.in (have-cxx-thread_local): Define.
30081         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
30082         (LDLIBS-tst-thread_local1): Define.
30083         (tests): Add tst-thread_local1.
30084         [have-cxx-thread_local != yes] (tests-unsupported): Add
30085         tst-thread_local1.
30086         * nptl/tst-thread_local1.cc: New file.
30088 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
30090         [BZ #19078]
30091         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
30092         (u_thres): Likewise.
30093         (__expl): Determine whether to call __kernel_standard_l based on
30094         value of result, not argument.
30096         * math/libm-test.inc (scalb_test_data): Add more expectations for
30097         the "inexact" exception.
30099         [BZ #19077]
30100         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
30101         0.0L for argument 1.0L.
30103         [BZ #19076]
30104         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
30105         constant 0.0L when computing infinite result.
30107 2015-10-06  Florian Weimer  <fweimer@redhat.com>
30109         [BZ #10432]
30110         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
30111         malloc_usable_size.
30113 2015-10-06  Florian Weimer  <fweimer@redhat.com>
30115         [BZ #19018]
30116         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30117         Mangle function pointer before storing it.
30118         (__call_tls_dtors): Demangle function pointer before calling it.
30120 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30122         [BZ #19012]
30123         * iconv/gconv_db.c (gen_steps): Check for additional errors.
30124         Clean up on failure.
30126 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
30128         [BZ #19071]
30129         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
30130         long int variable to store possibly incremented high part of
30131         mantissa.
30132         * math/libm-test.inc (lround_test_data): Add tests used for
30133         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
30134         for tests requiring 64-bit long.  Do not condition tests on
30135         [TEST_FLOAT] unnecessarily.
30136         (llround_test_data): Add tests used for lround.  Add another
30137         expectation for the "inexact" exception.  Do not condition tests
30138         on [TEST_FLOAT] unnecessarily.
30140         [BZ #887]
30141         [BZ #19049]
30142         [BZ #19050]
30143         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
30144         * sysdeps/ieee754/dbl-64/e_log10.c: Include
30145         <fix-int-fp-convert-zero.h>.
30146         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30147         * sysdeps/ieee754/dbl-64/e_log2.c: Include
30148         <fix-int-fp-convert-zero.h>.
30149         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30150         * sysdeps/ieee754/dbl-64/s_erf.c: Include
30151         <fix-int-fp-convert-zero.h>.
30152         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30153         * sysdeps/ieee754/dbl-64/s_logb.c: Include
30154         <fix-int-fp-convert-zero.h>.
30155         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30156         * sysdeps/ieee754/flt-32/e_log10f.c: Include
30157         <fix-int-fp-convert-zero.h>.
30158         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30159         * sysdeps/ieee754/flt-32/e_log2f.c: Include
30160         <fix-int-fp-convert-zero.h>.
30161         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30162         * sysdeps/ieee754/flt-32/s_erff.c: Include
30163         <fix-int-fp-convert-zero.h>.
30164         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30165         * sysdeps/ieee754/flt-32/s_logbf.c: Include
30166         <fix-int-fp-convert-zero.h>.
30167         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30168         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
30169         <fix-int-fp-convert-zero.h>.
30170         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30171         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
30172         <fix-int-fp-convert-zero.h>.
30173         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30174         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
30175         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
30176         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
30177         file.
30178         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
30180 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
30182         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30184 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
30186         [BZ #19059]
30187         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
30188         overflowing computation.
30189         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30190         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30191         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30192         Likewise.
30193         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30194         Likewise.
30195         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30196         Likewise.
30197         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30198         Likewise.
30199         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30200         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30201         Likewise.
30202         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30203         Likewise.
30204         * math/libm-test.inc (nexttoward_test_data): Add more tests.
30206         * nss/rewrite_field.c (__nss_rewrite_field): Use
30207         internal_function.
30208         * nss/valid_field.c (__nss_valid_field): Likewise.
30209         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30211 2015-10-02  Florian Weimer  <fweimer@redhat.com>
30213         [BZ #18724]
30214         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
30215         (__nss_invalid_field_characters, __nss_valid_field)
30216         (__nss_valid_list_field, __nss_rewrite_field): Declare.
30217         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
30218         tst-field.c: New file.
30219         * nss/Makefile (routines): Add valid_field, rewrite_field.
30220         (tests-static): Define unconditionally.
30221         (tests): Include tests-static.
30222         [build-static-nss] (tests-static): Use append.
30223         [build-static-nss] (tests): Remove modification.
30224         * nss/getent.c (print_group): Call putgrent.  Report error.
30225         (print_gshadow): Call putsgent.  Report error.
30226         (print_passwd): Call putpwent.  Report error.
30227         (print_shadow): Call putspent.  Report error.
30228         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
30229         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
30230         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
30231         name, password, directory, shell fields for valid syntax.  Rewrite
30232         GECOS field to match syntax.
30233         * pwd/Makefile (tests): Add tst-putpwent.
30234         * pwd/tst-putpwent.c: New file.
30235         * grp/putgrent.c (putgrent): Convert to ISO function definition.
30236         Check grName, grpasswd, gr_mem fields for valid syntax.
30237         Change loop variable i to size_t.
30238         * grp/Makefile (tests): Add tst-putgrent.
30239         * grp/tst-putgrent.c: New file.
30240         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
30241         valid syntax.
30242         * shadow/Makefile (tests): Add tst-putspent.
30243         * shadow/tst-putspent.c: New file.
30244         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
30245         sg_mem fields for valid syntax.
30246         * gshadow/Makefile (tests): Add tst-putsgent.
30247         * gshadow/tst-putsgent.c: New file.
30249 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
30251         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
30252         assembly instructions.
30254 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
30256         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
30257         prefix from operands.
30259 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
30261         [BZ #16347]
30262         [BZ #19046]
30263         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
30264         <libc-internal.h>.
30265         (MAXLGM): Do not use diagnostic control macros.
30266         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
30267         threshold for ldbl-128ibm.
30268         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
30269         instead of multiplying by log then subtracting.
30270         * math/auto-libm-test-in: Add more tests of lgamma.
30271         * math/auto-libm-test-out: Regenerated.
30273         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
30274         (TYPE_HEX_DIG): Likewise.
30275         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
30276         precisions when printing floating-point numbers.
30277         (check_float_internal): Likewise.
30279 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
30281         [BZ #16620]
30282         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
30283         of log (10) rounded downward to 48 bits.
30284         (log10_low): Use corresponding low part of log (10).
30286         [BZ #19032]
30287         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
30288         compute result as (x - x) / (x - x) not as 0 / 0.
30289         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
30290         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
30292         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30293         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
30294         and expm1.
30295         * math/auto-libm-test-out: Regenerated.
30296         * math/libm-test.inc (acos_test_data): Add more tests.
30297         (asin_test_data): Likewise.
30298         (asinh_test_data): Likewise.
30299         (atan_test_data): Likewise.
30300         (atanh_test_data): Likewise.
30301         (atan2_test_data): Likewise.
30302         (cbrt_test_data): Likewise.
30303         (ceil_test_data): Likewise.
30304         (copysign_test_data): Likewise.
30305         (cos_test_data): Likewise.
30306         (cosh_test_data): Likewise.
30307         (erf_test_data): Likewise.
30308         (erfc_test_data): Likewise.
30309         (exp_test_data): Likewise.
30310         (exp10_test_data): Likewise.
30311         (exp2_test_data): Likewise.
30312         (expm1_test_data): Likewise.
30313         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30315 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
30317         [BZ #19006]
30318         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
30319         to ...
30320         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
30321         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
30322         to ...
30323         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
30324         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
30325         to ...
30326         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
30327         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
30328         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
30329         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
30330         to ...
30331         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
30332         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30333         Moved to ...
30334         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
30335         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30336         Moved to ...
30337         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
30338         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
30339         to ...
30340         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
30341         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30342         Moved to ...
30343         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
30344         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
30345         to ...
30346         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
30347         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
30348         Removed.
30349         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
30350         Likewise.
30351         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
30352         Likewise.
30353         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
30354         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
30355         Likewise.
30356         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30357         Likewise.
30358         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30359         Likewise.
30360         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30361         Likewise.
30362         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30363         Likewise.
30364         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
30365         Likewise.
30366         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
30367         Likewise.
30368         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
30369         Likewise.
30370         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
30371         Likewise.
30372         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
30373         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
30374         Likewise.
30375         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30376         Likewise.
30377         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30378         Likewise.
30379         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30380         Likewise.
30381         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
30382         Likewise.
30383         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30384         Replace ../i486/pthread_cond_timedwait.S with
30385         ../pthread_cond_timedwait.S.
30387 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
30389         * math/libm-test.inc (acos_test_data): Refine expectations for
30390         errno and "inexact" exceptions.
30391         (acosh_test_data): Likewise.
30392         (asin_test_data): Likewise.
30393         (asinh_test_data): Likewise.
30394         (atan_test_data): Likewise.
30395         (atanh_test_data): Likewise.
30396         (atan2_test_data): Likewise.
30397         (cbrt_test_data): Likewise.
30398         (ceil_test_data): Likewise.
30399         (copysign_test_data): Likewise.
30400         (cosh_test_data): Likewise.
30401         (erf_test_data): Likewise.
30402         (erfc_test_data): Likewise.
30403         (exp_test_data): Likewise.
30404         (exp10_test_data): Likewise.
30405         (exp2_test_data): Likewise.
30406         (expm1_test_data): Likewise.
30407         (fabs_test_data): Likewise.
30408         (floor_test_data): Likewise.
30409         (fma_test_data): Likewise.
30410         (fmax_test_data): Likewise.
30411         (fmin_test_data): Likewise.
30412         (fmod_test_data): Likewise.
30413         (fpclassify_test_data): Likewise.
30414         (frexp_test_data): Likewise.
30415         (hypot_test_data): Likewise.
30416         (ilogb_test_data): Likewise.
30417         (isgreater_test_data): Likewise.
30418         (isgreaterequal_test_data): Likewise.
30419         (isinf_test_data): Likewise.
30420         (isless_test_data): Likewise.
30421         (islessequal_test_data): Likewise.
30422         (islessgreater_test_data): Likewise.
30423         (isnan_test_data): Likewise.
30424         (isnormal_test_data): Likewise.
30425         (issignaling_test_data): Likewise.
30426         (isunordered_test_data): Likewise.
30427         (j0_test_data): Likewise.
30428         (j1_test_data): Likewise.
30429         (jn_test_data): Likewise.
30430         (lgamma_test_data): Likewise.
30431         (lrint_test_data): Likewise.
30432         (llrint_test_data): Likewise.
30433         (log_test_data): Likewise.
30434         (log10_test_data): Likewise.
30435         (log1p_test_data): Likewise.
30436         (log2_test_data): Likewise.
30437         (logb_test_data): Likewise.
30438         (lround_test_data): Likewise.
30439         (llround_test_data): Likewise.
30440         (modf_test_data): Likewise.
30441         (nearbyint_test_data): Likewise.
30442         (nextafter_test_data): Likewise.
30443         (nexttoward_test_data): Likewise.
30444         (pow_test_data): Likewise.
30445         (remainder_test_data): Likewise.
30446         (remquo_test_data): Likewise.
30447         (rint_test_data): Likewise.
30448         (round_test_data): Likewise.
30449         (signbit_test_data): Likewise.
30450         (sinh_test_data): Likewise.
30451         (sqrt_test_data): Likewise.
30452         (tanh_test_data): Likewise.
30453         (tgamma_test_data): Likewise.
30454         (trunc_test_data): Likewise.
30455         (y0_test_data): Likewise.
30456         (y1_test_data): Likewise.
30457         (yn_test_data): Likewise.
30458         (significand_test_data): Likewise.
30460 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
30462         * manual/filesys.texi (Storage Allocation): Document that
30463         posix_fallocate emulation fails when fd is open with O_WRONLY.
30465 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
30467         [BZ #19016]
30468         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
30469         allow more cases with X^2 + Y^2 >= 0.5.
30470         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
30471         normal element in sum instead of special-casing based on values of
30472         arguments.
30473         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
30474         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
30475         -1 as normal element in sum instead of special-casing based on
30476         values of arguments.
30477         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
30478         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
30479         (__x2y2m1): Update comment.
30480         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
30481         as normal element in sum instead of special-casing based on values
30482         of arguments.
30483         * math/s_clog.c (__clog): Handle more cases using log1p without
30484         hypot.
30485         * math/s_clog10.c (__clog10): Likewise.
30486         * math/s_clog10f.c (__clog10f): Likewise.
30487         * math/s_clog10l.c (__clog10l): Likewise.
30488         * math/s_clogf.c (__clogf): Likewise.
30489         * math/s_clogl.c (__clogl): Likewise.
30490         * math/auto-libm-test-in: Add more tests of clog and clog10.
30491         * math/auto-libm-test-out: Regenerated.
30492         * sysdeps/i386/fpu/libm-test-ulps: Update.
30493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30495 2015-09-28  Martin Sebor  <msebor@redhat.com>
30497         [BZ #18969]
30498         * string/Makefile (LOCALES): Define.
30499         (gen-locales.mk): Include.
30500         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
30501         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
30502         * string/tst-strxfrm2.c (do_test): Print the name of the locale
30503         on setlocale failure.
30505 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
30507         [BZ #18985]
30508         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
30509         (__strftime_internal): Likewise.
30510         * time/tst-strftime.c (do_bz18985): New test.
30511         (do_test): Call it.
30513 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
30515         [BZ #18956]
30516         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
30517         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
30518         extracting high part.
30519         * math/auto-libm-test-in: Add another test of pow.
30520         * math/auto-libm-test-out: Regenerated.
30521         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30523 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
30525         [BZ #18825]
30526         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
30527         New macro.
30528         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
30529         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30530         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
30531         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
30532         DBL_NARROW_EVAL, reloading the PIC register as needed.
30533         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
30534         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
30535         FLT_NARROW_EVAL.  Use separate return path for case when first
30536         argument is NaN.
30537         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
30538         DEFINE_LDBL_MIN.
30539         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
30540         PIC register.
30541         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
30542         math_check_force_underflow_nonneg.
30543         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
30544         underflow for subnormal result.
30545         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
30546         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
30547         math_check_force_underflow_nonneg.
30548         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
30549         math_check_force_underflow.
30550         * sysdeps/x86_64/fpu/x86_64-math-asm.h
30551         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
30552         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
30553         DEFINE_LDBL_MIN.
30554         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
30555         * math/auto-libm-test-in: Add more tests of pow.
30556         * math/auto-libm-test-out: Regenerated.
30558 2015-09-25  Florian Weimer  <fweimer@redhat.com>
30560         * nss/bug17079.c (init_test_items): Add diagnostic for
30561         inconsistent entries.
30562         (test_buffer_size): Skip inconsistent entries.
30564 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
30566         [BZ #13304]
30567         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
30568         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
30569         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
30571         [BZ #13304]
30572         * sysdeps/microblaze/s_fma.c: New file.
30573         * sysdeps/microblaze/s_fmaf.c: Likewise.
30574         * sysdeps/microblaze/sfp-machine.h: Likewise.
30576 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
30578         [BZ #17250]
30579         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
30580         member.
30582 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
30584         [BZ #18803]
30585         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
30586         (MO): New macro.
30587         (__ieee754_hypot) [PIC]: Load PIC register.
30588         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
30589         DBL_NARROW_EVAL.
30590         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
30591         math_check_force_underflow_nonneg in case where result might be
30592         tiny.
30593         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30594         Likewise.
30595         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30596         Likewise.
30597         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
30598         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
30599         * math/auto-libm-test-in: Add more tests of hypot.
30600         * math/auto-libm-test-out: Regenerated.
30602 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
30604         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
30606 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
30608         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
30609         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
30610         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30611         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30612         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
30613         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30614         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30616         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
30617         LOAD_PIC_REG.
30619         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
30620         (FLT_CHECK_FORCE_UFLOW): Likewise.
30621         (DBL_CHECK_FORCE_UFLOW): Likewise.
30622         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
30623         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
30624         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
30625         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30626         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30627         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30628         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30629         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30630         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
30631         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30632         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
30633         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
30634         (flt_min): Replace with use of DEFINE_FLT_MIN.
30635         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
30636         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
30637         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30638         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
30639         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
30640         (flt_min): Replace with use of DEFINE_FLT_MIN.
30641         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
30642         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
30643         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30644         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
30645         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
30646         (flt_min): Replace with use of DEFINE_FLT_MIN.
30647         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
30648         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
30649         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30650         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30651         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
30652         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30653         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30654         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
30655         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30656         (__atan): Use DBL_CHECK_FORCE_UFLOW.
30657         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
30658         (flt_min): Replace with use of DEFINE_FLT_MIN.
30659         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
30660         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
30661         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30662         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
30663         main computation.
30664         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
30665         (flt_min): Replace with use of DEFINE_FLT_MIN.
30666         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
30667         main computation.
30668         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
30669         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30670         (MO): New macro.
30671         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
30672         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
30673         (flt_min): Replace with use of DEFINE_FLT_MIN.
30674         (MO): New macro.
30675         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
30676         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
30677         (__log1pl): Use MO.
30679         [BZ #19003]
30680         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
30681         $(config-cflags-nofma).
30683 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30685         * sysdeps/aarch64/libm-test-ulps: Regenerated.
30687 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
30689         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
30690         (TWO127): Likewise.
30692         * sysdeps/generic/math_private.h (fabs_tg): New macro.
30693         (min_of_type): Likewise.
30694         (math_check_force_underflow): Likewise.
30695         (math_check_force_underflow_nonneg): Likewise.
30696         (math_check_force_underflow_complex): Likewise.
30697         * math/e_exp2l.c (__ieee754_exp2l): Use
30698         math_check_force_underflow_nonneg.
30699         * math/k_casinh.c (__kernel_casinh): Likewise.
30700         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30701         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30702         * math/s_catan.c (__catan): Use
30703         math_check_force_underflow_complex.
30704         * math/s_catanf.c (__catanf): Likewise.
30705         * math/s_catanh.c (__catanh): Likewise.
30706         * math/s_catanhf.c (__catanhf): Likewise.
30707         * math/s_catanhl.c (__catanhl): Likewise.
30708         * math/s_catanl.c (__catanl): Likewise.
30709         * math/s_ccosh.c (__ccosh): Likewise.
30710         * math/s_ccoshf.c (__ccoshf): Likewise.
30711         * math/s_ccoshl.c (__ccoshl): Likewise.
30712         * math/s_cexp.c (__cexp): Likewise.
30713         * math/s_cexpf.c (__cexpf): Likewise.
30714         * math/s_cexpl.c (__cexpl): Likewise.
30715         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
30716         * math/s_clog10.c (__clog10): Likewise.
30717         * math/s_clog10f.c (__clog10f): Likewise.
30718         * math/s_clog10l.c (__clog10l): Likewise.
30719         * math/s_clogf.c (__clogf): Likewise.
30720         * math/s_clogl.c (__clogl): Likewise.
30721         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
30722         * math/s_csinf.c (__csinf): Likewise.
30723         * math/s_csinh.c (__csinh): Likewise.
30724         * math/s_csinhf.c (__csinhf): Likewise.
30725         * math/s_csinhl.c (__csinhl): Likewise.
30726         * math/s_csinl.c (__csinl): Likewise.
30727         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
30728         * math/s_csqrtf.c (__csqrtf): Likewise.
30729         * math/s_csqrtl.c (__csqrtl): Likewise.
30730         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
30731         * math/s_ctanf.c (__ctanf): Likewise.
30732         * math/s_ctanh.c (__ctanh): Likewise.
30733         * math/s_ctanhf.c (__ctanhf): Likewise.
30734         * math/s_ctanhl.c (__ctanhl): Likewise.
30735         * math/s_ctanl.c (__ctanl): Likewise.
30736         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
30737         instead of volatile.
30738         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
30739         math_check_force_underflow.
30740         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30741         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
30742         volatile when forcing underflow.
30743         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30744         math_check_force_underflow_nonneg.
30745         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30746         Likewise.
30747         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
30748         math_check_force_underflow.
30749         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30750         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30751         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30752         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
30753         math_check_force_underflow_nonneg.
30754         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
30755         math_check_force_underflow.
30756         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30757         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
30758         instead of volatile.
30759         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
30760         math_check_force_underflow.
30761         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30762         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30763         math_check_force_underflow_nonneg.
30764         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
30765         math_check_force_underflow.
30766         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
30767         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30768         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
30769         math_check_force_underflow_nonneg.
30770         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30771         Likewise.
30772         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
30773         math_check_force_underflow.
30774         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30775         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30776         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
30777         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
30778         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
30779         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
30780         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30781         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30782         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30783         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
30784         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
30785         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30786         Likewise.
30787         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
30788         math_check_force_underflow_nonneg.
30789         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30790         Likewise.
30791         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
30792         math_check_force_underflow.
30793         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30794         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30795         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30796         Likewise.
30797         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
30798         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
30799         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
30800         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
30801         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
30802         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
30803         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
30804         instead of volatile.
30805         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
30806         math_check_force_underflow.
30807         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
30808         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
30809         math_check_force_underflow.
30810         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
30811         Likewise.
30812         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30813         Use math_check_force_underflow_nonneg.
30814         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
30815         math_check_force_underflow.
30816         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
30817         Likewise.
30818         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
30819         Likewise.
30820         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30821         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30822         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30823         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30824         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
30825         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30826         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
30827         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
30828         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
30829         math_check_force_underflow_nonneg.
30830         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
30831         math_check_force_underflow.
30832         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30833         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
30834         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
30835         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
30836         math_check_force_underflow_nonneg.
30837         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
30838         math_check_force_underflow.
30839         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
30840         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
30841         instead of volatile.
30842         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
30843         math_check_force_underflow.
30845         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
30846         * stdlib/strtod_l.c: Include <math_private.h>.
30847         (overflow_value): Use math_narrow_eval.
30848         (underflow_value): Likewise.
30849         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30850         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30851         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
30852         (__ieee754_gamma_r): Likewise.
30853         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
30854         Likewise.
30855         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
30856         Likewise.
30857         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
30858         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
30859         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
30860         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
30861         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
30862         (__ieee754_gammaf_r): Likewise.
30863         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
30864         Likewise.
30865         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
30866         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
30867         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
30868         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
30869         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
30870         volatile.
30871         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
30872         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
30873         math_narrow_eval.
30874         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30875         Likewise.
30876         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30877         Likewise.
30878         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
30879         Likewise.
30880         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
30881         volatile.
30882         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
30883         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
30884         math_narrow_eval.
30885         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30886         Likewise.
30887         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30888         Likewise.
30890 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
30892         * nptl/Versions: Remove ignored symbols.
30894 2015-09-22  Florian Weimer  <fweimer@redhat.com>
30896         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
30897         * nss/Makefile (tests): Update.
30899 2015-09-22  Florian Weimer  <fweimer@redhat.com>
30901         * nss/bug18287.c: New file.
30902         * nss/Makefile (tests): Add bug18287.
30904 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30906         * mach/Versions (__mach_host_self_): Add symbol.
30908 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30910         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
30911         vm_page_size.
30913 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30915         Really fix sysdeps/i386/fpu/s_scalbn.S build
30917         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
30918         (libc: GLIBC_2_22): Remove unused version set.
30920 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
30922         * config.make.in (enable-timezone-tools): New variable.
30923         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
30924         (enable_timezone_tools): Export to generated files.
30925         * configure: Regenerate.
30926         * INSTALL: Regenerate.
30927         * manual/install.texi (--disable-timezone-tools): Document new flag.
30928         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
30929         ifeq ($(enable-timezone-tools),yes) check.
30931 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
30933         * timezone/Makefile: Revert previous change.
30935         [BZ #18980]
30936         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
30937         (DEFINE_DBL_MIN): Likewise.
30938         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30939         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30940         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30941         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30942         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
30943         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30944         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30945         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
30946         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
30947         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30948         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30949         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
30950         (flt_min): Replace with use of DEFINE_FLT_MIN.
30951         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30952         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
30953         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30954         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30955         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
30956         (flt_min): Replace with use of DEFINE_FLT_MIN.
30957         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30958         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
30959         (flt_min): Replace with use of DEFINE_FLT_MIN.
30960         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30961         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
30962         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
30963         (__ieee754_hypot): Use DBL_NARROW_EVAL.
30964         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
30965         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
30966         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
30967         (__ieee754_pow): Use DBL_NARROW_EVAL.
30968         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
30969         (__ieee754_powf): Use FLT_NARROW_EVAL.
30970         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
30971         (__ieee754_expf_sse2): Convert double-precision result to single
30972         precision.
30973         * sysdeps/i386/fpu/libm-test-ulps: Update.
30975 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30977         * timezone/Makefile: Ignore unused variable errors due to private.h
30978         (time_t_min) and (time_t_max).
30979         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
30980         Likewise.
30982 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
30984         [BZ #18981]
30985         * sysdeps/i386/fpu/i386-math-asm.h: New file.
30986         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
30987         (__ieee754_scalb): Use DBL_NARROW_EVAL.
30988         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
30989         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
30990         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
30991         (__scalbn): Use DBL_NARROW_EVAL.
30992         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
30993         (__scalbnf): Use FLT_NARROW_EVAL.
30995 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30997         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
30998         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
30999         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
31000         * stdio-common/printf_fp.c (___printf_fp):
31001         Use signbit to get the sign. Use isinf macro to allow inlining.
31002         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
31003         * stdio-common/printf_size.c (__printf_size): Likewise.
31005 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
31007         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
31009 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
31011         [BZ #18980]
31012         * sysdeps/generic/math_private.h: Include <float.h>.
31013         (math_narrow_eval): New macro.
31014         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
31015         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
31016         math_narrow_eval on overflowing return value.
31017         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
31018         Likewise.
31019         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31020         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
31021         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
31022         Likewise.
31023         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
31025 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31027         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
31028         * math/Makefile: Remove isinf_ns.c.
31029         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
31030         * math/multc3.c (__multc3): Likewise.
31031         * math/s_casin.c (__casin): Likewise.
31032         * math/s_casinf.c (__casinf): Likewise.
31033         * math/s_casinl.c (__casinl): Likewise.
31034         * math/s_cproj.c (__cproj): Likewise.
31035         * math/s_cprojf.c (__cprojf): Likewise.
31036         * math/s_cprojl.c (__cprofl): Likewise.
31037         * math/s_ctan.c (__ctan): Likewise.
31038         * math/s_ctanf.c (__ctanf): Likewise.
31039         * math/s_ctanh.c (__ctanh): Likewise.
31040         * math/s_ctanhf.c (__ctanhf): Likewise.
31041         * math/s_ctanhl.c (__ctanhl): Likewise.
31042         * math/s_ctanl.c (__ctanl): Likewise.
31043         * math/w_fmod.c (__fmod): Likewise.
31044         * math/w_fmodf.c (__fmodf): Likewise.
31045         * math/w_fmodl.c (_fmodl): Likewise.
31046         * math/w_remainder.c (__remainder): Likewise.
31047         * math/w_remainderf.c (__remainderf): Likewise.
31048         * math/w_remainderl.c (__remainderl): Likewise.
31049         * math/w_scalb.c (__scalb): Likewise.
31050         * math/w_scalbf.c (__scalbf): Likewise.
31051         * math/w_scalbl.c (__scalbl): Likewise.
31052         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
31053         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
31054         with isinf.
31055         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
31056         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
31057         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
31058         __isinf_nsf with isinf.
31059         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
31060         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
31061         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
31062         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
31063         with isinf.
31064         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
31065         __isinf_nsl with isinf.
31066         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
31067         with isinf.
31068         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
31069         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
31070         __isinf_nsl with isinf.
31071         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
31072         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
31073         with isinf.
31075 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31077         * resolv/base64.c (rcsid): Remove unused static.
31078         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
31079         static.  (tqpi1): Likewise.
31080         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
31081         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
31082         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
31083         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
31084         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
31085         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
31086         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
31087         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
31088         Likewise.
31090 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
31092         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
31093         <nptl/pthreadP.h>.
31094         (_longjmp_unwind): Use __libc_ptf_call.
31095         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
31097 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
31099         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
31100         * sysdeps/arm/__longjmp.S: Likewise.
31102 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31104         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
31105         Use __builtin_signbit.
31106         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
31107         Use __builtin_signbitf.
31108         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
31109         Use __builtin_signbitl.
31110         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31111         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
31113 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31115         [BZ #15367]
31116         [BZ #17441]
31118         * math/Makefile: Build test-snan.c with -fsignaling-nans.
31119         * math/math.h (fpclassify): Use __builtin_fpclassify when
31120         available.  (signbit): Use __builtin_signbit(f/l).
31121         (isfinite): Use__builtin_isfinite.  (isnormal): Use
31122         __builtin_isnormal.  (isnan): Use __builtin_isnan.
31123         (isinf): Use __builtin_isinf_sign.
31125 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31127         * benchtests/Makefile: Add bench-math-inlines, link with libm.
31128         * benchtests/bench-math-inlines.c: New benchmark.
31129         * benchtests/bench-util.h: New file.
31130         * benchtests/bench-util.c: New file.
31131         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
31133 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
31135         * elf/tst-dlmopen1.c: Define TEST_SO.
31136         (do_test): Use TEST_SO.
31138         * elf/dl-load.c: Include libc-internal.h.
31139         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
31141 2015-09-18  Vincent Bernat  <vincent@bernat.im>
31143         [BZ #17887]
31144         * time/strptime_l.c (__strptime_internal): Make %z accept
31145         [+-]HH:MM time zones.
31147 2015-09-18  Vincent Bernat  <vincent@bernat.im>
31149         [BZ #17886]
31150         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
31151         valid time zone.
31153 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
31155         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
31156         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
31157         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31158         (__ASSUME_FDATASYNC): Delete.
31160 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
31162         * conform/linknamespace.pl: Require weak undefined symbols to be
31163         in the standard namespace.
31164         (%strong_syms): Rename to %seen_syms.
31165         (%strong_seen): Rename to %seen_where.
31167 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
31169         [BZ #18970]
31170         * misc/error.c (error): Replace pthread_setcancelstate with
31171         __pthread_setcancelstate.
31172         (error_at_line): Likewise.
31173         * posix/wordexp.c (parse_comm): Likewise.
31174         * stdlib/fmtmsg.c (fmtmsg): Likewise.
31175         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
31176         (__pthread_setcancelstate): This.
31177         (pthread_setcancelstate): Add an alias.
31178         * nptl/nptl-init.c (pthread_functions): Replace
31179         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
31180         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
31181         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
31182         hidden_proto.
31183         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
31184         it with hidden_def.
31185         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
31186         (pthread_setcancelstate): Renamed to ...
31187         (__pthread_setcancelstate): This.
31188         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
31189         __libc_ptf_call with __pthread_setcancelstate.
31191 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
31192             Andreas Schwab  <schwab@suse.de>
31194         [BZ #17118]
31195         * math/s_ctan.c (__ctan): Determine sign of zero real part of
31196         result when imaginary part of argument is infinite using sine and
31197         cosine.
31198         * math/s_ctanf.c (__ctanf): Likewise.
31199         * math/s_ctanl.c (__ctanl): Likewise.
31200         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
31201         of result when real part of argument is infinite using sine and
31202         cosine.
31203         * math/s_ctanhf.c (__ctanhf): Likewise.
31204         * math/s_ctanhl.c (__ctanhl): Likewise.
31205         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
31206         (ctanh_test_data): Add more tests of ctanh.
31208 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
31210         [BZ #15384]
31211         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
31212         bit-mask as in subtraction.
31213         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
31214         Likewise.
31215         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31216         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31217         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
31219         [BZ #18951]
31220         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
31221         underflow exception for small results.
31222         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31223         Likewise.
31224         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31225         Likewise.
31226         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31227         Likewise.
31228         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31229         Likewise.
31230         * math/auto-libm-test-in: Add more tests of tgamma.
31231         * math/auto-libm-test-out: Regenerated.
31233 2015-09-17  Andreas Schwab  <schwab@suse.de>
31235         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
31237 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
31239         [BZ #18977]
31240         * math/bits/mathcalls.h
31241         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
31242         not declare.
31243         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
31244         Likewise.
31245         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
31246         Likewise.
31247         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
31248         Likewise.
31249         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
31250         Likewise.
31251         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
31252         Likewise.
31253         * conform/data/math.h-data
31254         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
31255         function.
31256         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
31257         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
31258         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
31259         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
31260         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
31261         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
31262         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
31263         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
31264         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
31265         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
31266         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
31268         [BZ #6803]
31269         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
31270         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
31271         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
31272         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
31273         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
31274         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
31275         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
31276         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
31277         [NO_LONG_DOUBLE] (scalbnl): Likewise.
31278         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
31279         Likewise.
31280         [NO_LONG_DOUBLE] (scalbnl): Likewise.
31281         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
31282         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
31283         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
31284         long_double_symbol calls.
31285         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
31286         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
31287         strong alias of __ldexpl.
31288         (scalbnl): Define using long_double_symbol.
31289         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
31290         Remove alias.
31291         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
31292         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
31293         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
31294         (scalbln_test_data): Add more errno expectations.
31296 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
31298         Cache the host port like we cache the task port.  This way we do not
31299         need to call the kernel just to get the port.  Furthermore, we no
31300         longer increase the reference count on every invocation of
31301         `mach_host_self'.
31303         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
31304         Protect declarations against the macro expansion.
31305         * mach/mach_init.c (__mach_host_self_): New variable.
31306         (mach_init): Initialize `__mach_host_self_'.
31307         * mach/mach_init.h (__mach_host_self_): New declaration.
31308         (__mach_host_self, mach_host_self): New macros.
31309         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
31310         Release reference.
31312 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
31314         [BZ #4404]
31315         * po/de.po: Update from Translation Project.
31317         [BZ #16415]
31318         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
31319         (__expm1l): Remove code to handle positive infinity and overflow.
31320         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
31321         variable.
31322         (__expm1l): Remove code to handle positive infinity and overflow.
31324 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
31325             Paul Pluzhnikov  <ppluzhnikov@google.com>
31327         [BZ #18872]
31328         * stdio-common/Makefile (tst-printf-bz18872): New test.
31329         (tst-printf-bz18872-mem.out): Likewise.
31330         * stdio-common/tst-printf-bz18872.sh: Generate new test.
31331         * stdio-common/vfprintf.c: Fix memory leaks.
31333 2015-09-16  Andreas Schwab  <schwab@suse.de>
31335         [BZ #17244]
31336         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
31337         Remove extra va_start/va_end calls.
31339         [BZ #17243]
31340         * posix/execl.c (execl): Add missing va_end.
31341         * posix/execle.c (execle): Likewise.
31342         * posix/execlp.c (execlp): Likewise.
31344 2015-09-15  Roland McGrath  <roland@hack.frob.com>
31346         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
31347         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
31349 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
31351         [BZ #18967]
31352         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
31353         undefine around includes of <bits/mathcalls.h>.
31354         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
31355         not declare function.
31356         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
31357         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
31358         (scalb): Likewise.
31359         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
31360         not define macro.
31361         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
31362         variable.
31363         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31364         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31365         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31367         [BZ #18857]
31368         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
31369         return non-finite argument without doing ordered comparisons on
31370         it.
31372         [BZ #16296]
31373         * math/fenv.h (fegetround): Use __attribute_pure__.
31374         * include/fenv.h (__fegetround): Likewise.
31376         [BZ #18595]
31377         * math/s_ctan.c (__ctan): Force underflow exception for results
31378         whose real or imaginary part has small absolute value.
31379         * math/s_ctanf.c (__ctanf): Likewise.
31380         * math/s_ctanh.c (__ctanh): Likewise.
31381         * math/s_ctanhf.c (__ctanhf): Likewise.
31382         * math/s_ctanhl.c (__ctanhl): Likewise.
31383         * math/s_ctanl.c (__ctanl): Likewise.
31384         * math/auto-libm-test-in: Do not allow missing underflow for ctan
31385         and ctanh.  Add more tests of ctan and ctanh.
31387         [BZ #15918]
31388         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
31389         handling of cases where one argument is an infinity.
31391         [BZ #18875]
31392         [BZ #18966]
31393         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
31394         (MO): New macro.
31395         (__ieee754_exp10): For small results, force underflow exception
31396         and remove excess range and precision from return value.
31397         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
31398         (MO): New macro.
31399         (__ieee754_exp10f): For small results, force underflow exception
31400         and remove excess range and precision from return value.
31401         * math/auto-libm-test-in: Add more tests of exp10.
31402         * math/auto-libm-test-out: Regenerated.
31404 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
31406         [BZ #18875]
31407         [BZ #18961]
31408         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
31409         (MO): New macro.
31410         (__ieee754_exp): For small results, force underflow exception and
31411         remove excess range and precision from return value.
31412         (__exp_finite): Likewise.
31413         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
31414         (MO): New macro.
31415         (__ieee754_expf): For small results, force underflow exception and
31416         remove excess range and precision from return value.
31417         (__expf_finite): Likewise.
31418         * math/auto-libm-test-in: Add more tests of exp.
31419         * math/auto-libm-test-out: Regenerated.
31421         [BZ #16521]
31422         [BZ #18875]
31423         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
31424         small results.
31425         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
31426         (MO): New macro.
31427         (__ieee754_exp2): For small results, force underflow exception and
31428         remove excess range and precision from return value.
31429         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
31430         (MO): New macro.
31431         (__ieee754_exp2f): For small results, force underflow exception
31432         and remove excess range and precision from return value.
31433         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
31434         (MO): New macro.
31435         (__ieee754_exp2l): Force underflow exception for small results.
31436         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31437         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31438         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
31439         (MO): New macro.
31440         (__ieee754_exp2l): Force underflow exception for small results.
31441         * math/auto-libm-test-in: Add more tests or exp2.
31442         * math/auto-libm-test-out: Regenerated.
31444 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
31446         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
31448         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
31449         /dev/null.
31451 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31453         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31454         io fs process)): Drop spurious backslash.
31456 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31458         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
31459         Use sysinfo system call instead of parsing /proc/meminfo.
31460         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
31461         Likewise.
31463 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
31465         [BZ #16985]
31466         * programs/localedef.c (main): Display argv[remaining] when
31467         output_path is NULL.
31469 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
31471         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31472         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
31473         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
31474         tanh.
31475         * math/auto-libm-test-out: Regenerated.
31476         * sysdeps/i386/fpu/libm-test-ulps: Update.
31477         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31478         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31481 2015-09-11  Roland McGrath  <roland@hack.frob.com>
31483         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
31484         Use 'override' keyword to freeze the value here, preventing
31485         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
31487 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
31489         [BZ #14912]
31490         * sysdeps/aarch64/bits/atomic.h: Move to ...
31491         * sysdeps/aarch64/atomic-machine.h: ...here.
31492         (_AARCH64_BITS_ATOMIC_H): Rename macro to
31493         _AARCH64_ATOMIC_MACHINE_H.
31494         * sysdeps/alpha/bits/atomic.h: Move to ...
31495         * sysdeps/alpha/atomic-machine.h: ...here.
31496         * sysdeps/arm/bits/atomic.h: Move to ...
31497         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
31498         * bits/atomic.h: Move to ...
31499         * sysdeps/generic/atomic-machine.h: ...here.
31500         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31501         * sysdeps/i386/bits/atomic.h: Move to ...
31502         * sysdeps/i386/atomic-machine.h: ...here.
31503         * sysdeps/ia64/bits/atomic.h: Move to ...
31504         * sysdeps/ia64/atomic-machine.h: ...here.
31505         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
31506         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
31507         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31508         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
31509         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
31510         * sysdeps/microblaze/bits/atomic.h: Move to ...
31511         * sysdeps/microblaze/atomic-machine.h: ...here.
31512         * sysdeps/mips/bits/atomic.h: Move to ...
31513         * sysdeps/mips/atomic-machine.h: ...here.
31514         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
31515         * sysdeps/powerpc/bits/atomic.h: Move to ...
31516         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
31517         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
31518         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
31519         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
31520         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
31521         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
31522         <atomic-machine.h> instead of <bits/atomic.h>.
31523         * sysdeps/s390/bits/atomic.h: Move to ...
31524         * sysdeps/s390/atomic-machine.h: ...here.
31525         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
31526         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
31527         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31528         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
31529         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
31530         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
31531         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
31532         * sysdeps/tile/bits/atomic.h: Move to ...
31533         * sysdeps/tile/atomic-machine.h: ...here.
31534         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
31535         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
31536         <sysdeps/tile/atomic-machine.h> instead of
31537         <sysdeps/tile/bits/atomic.h>.
31538         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31539         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
31540         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
31541         <sysdeps/tile/atomic-machine.h> instead of
31542         <sysdeps/tile/bits/atomic.h>.
31543         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31544         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
31545         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
31546         <sysdeps/arm/atomic-machine.h> instead of
31547         <sysdeps/arm/bits/atomic.h>.
31548         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
31549         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
31550         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31551         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
31552         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
31553         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31554         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
31555         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
31556         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
31557         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
31558         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
31559         * sysdeps/x86_64/bits/atomic.h: Move to ...
31560         * sysdeps/x86_64/atomic-machine.h: ...here.
31561         * include/atomic.h: Include <atomic-machine.h> instead of
31562         <bits/atomic.h>.
31564         * sysdeps/mips/mips32/libm-test-ulps: Update.
31565         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31567         [BZ #18952]
31568         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
31569         not convert non-integer negative arguments to int to determine the
31570         value of signgam.
31571         * math/auto-libm-test-in: Add more tests of lgamma.
31572         * math/auto-libm-test-out: Regenerated.
31574         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
31575         cosh, csqrt, erfc, expm1 and lgamma.
31576         * math/auto-libm-test-out: Regenerated.
31577         * sysdeps/i386/fpu/libm-test-ulps: Update.
31578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31580 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
31582         [BZ #2542]
31583         [BZ #2543]
31584         [BZ #2558]
31585         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
31586         __lgamma_neg for arguments from -28.0 to -2.0.
31587         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
31588         __lgamma_negf for arguments from -15.0 to -2.0.
31589         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31590         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
31591         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
31592         Call __lgamma_negl for arguments from -33.0 to -2.0.
31593         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
31594         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
31595         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
31596         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
31597         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
31598         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
31599         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
31600         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
31601         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
31602         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
31603         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
31604         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
31605         (__lgamma_neg): Likewise.
31606         (__lgamma_negl): Likewise.
31607         (__lgamma_product): Likewise.
31608         (__lgamma_productl): Likewise.
31609         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
31610         * math/auto-libm-test-in: Add more tests of lgamma.
31611         * math/auto-libm-test-out: Regenerated.
31612         * sysdeps/i386/fpu/libm-test-ulps: Update.
31613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31615 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
31617         [BZ #18675]
31618         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
31620 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
31622         [BZ #14912]
31623         * bits/libc-lock.h: Move to ...
31624         * sysdeps/generic/libc-lock.h: ...here.
31625         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31626         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
31627         * sysdeps/mach/hurd/libc-lock.h: ...here.
31628         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31629         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
31630         * sysdeps/mach/bits/libc-lock.h: Move to ...
31631         * sysdeps/mach/libc-lock.h: ...here.
31632         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31633         * sysdeps/nptl/bits/libc-lock.h: Move to ...
31634         * sysdeps/nptl/libc-lock.h: ...here.
31635         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31636         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
31637         * sysdeps/nptl/libc-lockP.h: ...here.
31638         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
31639         * crypt/crypt_util.c: Include <libc-lock.h> instead of
31640         <bits/libc-lock.h>.
31641         * dirent/scandir-tail.c: Likewise.
31642         * dlfcn/dlerror.c: Likewise.
31643         * elf/dl-close.c: Likewise.
31644         * elf/dl-iteratephdr.c: Likewise.
31645         * elf/dl-lookup.c: Likewise.
31646         * elf/dl-open.c: Likewise.
31647         * elf/dl-support.c: Likewise.
31648         * elf/dl-writev.h: Likewise.
31649         * elf/rtld.c: Likewise.
31650         * grp/fgetgrent.c: Likewise.
31651         * gshadow/fgetsgent.c: Likewise.
31652         * gshadow/sgetsgent.c: Likewise.
31653         * iconv/gconv_conf.c: Likewise.
31654         * iconv/gconv_db.c: Likewise.
31655         * iconv/gconv_dl.c: Likewise.
31656         * iconv/gconv_int.h: Likewise.
31657         * iconv/gconv_trans.c: Likewise.
31658         * include/link.h: Likewise.
31659         * inet/getnameinfo.c: Likewise.
31660         * inet/getnetgrent.c: Likewise.
31661         * inet/getnetgrent_r.c: Likewise.
31662         * intl/bindtextdom.c: Likewise.
31663         * intl/dcigettext.c: Likewise.
31664         * intl/finddomain.c: Likewise.
31665         * intl/gettextP.h: Likewise.
31666         * intl/loadmsgcat.c: Likewise.
31667         * intl/localealias.c: Likewise.
31668         * intl/textdomain.c: Likewise.
31669         * libidn/idn-stub.c: Likewise.
31670         * libio/libioP.h: Likewise.
31671         * locale/duplocale.c: Likewise.
31672         * locale/freelocale.c: Likewise.
31673         * locale/newlocale.c: Likewise.
31674         * locale/setlocale.c: Likewise.
31675         * login/getutent_r.c: Likewise.
31676         * login/getutid_r.c: Likewise.
31677         * login/getutline_r.c: Likewise.
31678         * login/utmp-private.h: Likewise.
31679         * login/utmpname.c: Likewise.
31680         * malloc/mtrace.c: Likewise.
31681         * misc/efgcvt.c: Likewise.
31682         * misc/error.c: Likewise.
31683         * misc/fstab.c: Likewise.
31684         * misc/getpass.c: Likewise.
31685         * misc/mntent.c: Likewise.
31686         * misc/syslog.c: Likewise.
31687         * nis/nis_call.c: Likewise.
31688         * nis/nis_callback.c: Likewise.
31689         * nis/nss-default.c: Likewise.
31690         * nis/nss_compat/compat-grp.c: Likewise.
31691         * nis/nss_compat/compat-initgroups.c: Likewise.
31692         * nis/nss_compat/compat-pwd.c: Likewise.
31693         * nis/nss_compat/compat-spwd.c: Likewise.
31694         * nis/nss_nis/nis-alias.c: Likewise.
31695         * nis/nss_nis/nis-ethers.c: Likewise.
31696         * nis/nss_nis/nis-grp.c: Likewise.
31697         * nis/nss_nis/nis-hosts.c: Likewise.
31698         * nis/nss_nis/nis-network.c: Likewise.
31699         * nis/nss_nis/nis-proto.c: Likewise.
31700         * nis/nss_nis/nis-pwd.c: Likewise.
31701         * nis/nss_nis/nis-rpc.c: Likewise.
31702         * nis/nss_nis/nis-service.c: Likewise.
31703         * nis/nss_nis/nis-spwd.c: Likewise.
31704         * nis/nss_nisplus/nisplus-alias.c: Likewise.
31705         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
31706         * nis/nss_nisplus/nisplus-grp.c: Likewise.
31707         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
31708         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
31709         * nis/nss_nisplus/nisplus-network.c: Likewise.
31710         * nis/nss_nisplus/nisplus-proto.c: Likewise.
31711         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
31712         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
31713         * nis/nss_nisplus/nisplus-service.c: Likewise.
31714         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
31715         * nis/ypclnt.c: Likewise.
31716         * nptl/libc_pthread_init.c: Likewise.
31717         * nss/getXXbyYY.c: Likewise.
31718         * nss/getXXent.c: Likewise.
31719         * nss/getXXent_r.c: Likewise.
31720         * nss/nss_db/db-XXX.c: Likewise.
31721         * nss/nss_db/db-netgrp.c: Likewise.
31722         * nss/nss_db/nss_db.h: Likewise.
31723         * nss/nss_files/files-XXX.c: Likewise.
31724         * nss/nss_files/files-alias.c: Likewise.
31725         * nss/nsswitch.c: Likewise.
31726         * posix/regex_internal.h: Likewise.
31727         * posix/wordexp.c: Likewise.
31728         * pwd/fgetpwent.c: Likewise.
31729         * resolv/res_hconf.c: Likewise.
31730         * resolv/res_libc.c: Likewise.
31731         * shadow/fgetspent.c: Likewise.
31732         * shadow/lckpwdf.c: Likewise.
31733         * shadow/sgetspent.c: Likewise.
31734         * socket/opensock.c: Likewise.
31735         * stdio-common/reg-modifier.c: Likewise.
31736         * stdio-common/reg-printf.c: Likewise.
31737         * stdio-common/reg-type.c: Likewise.
31738         * stdio-common/vfprintf.c: Likewise.
31739         * stdio-common/vfscanf.c: Likewise.
31740         * stdlib/abort.c: Likewise.
31741         * stdlib/cxa_atexit.c: Likewise.
31742         * stdlib/fmtmsg.c: Likewise.
31743         * stdlib/random.c: Likewise.
31744         * stdlib/setenv.c: Likewise.
31745         * string/strsignal.c: Likewise.
31746         * sunrpc/auth_none.c: Likewise.
31747         * sunrpc/bindrsvprt.c: Likewise.
31748         * sunrpc/create_xid.c: Likewise.
31749         * sunrpc/key_call.c: Likewise.
31750         * sunrpc/rpc_thread.c: Likewise.
31751         * sysdeps/arm/backtrace.c: Likewise.
31752         * sysdeps/generic/ldsodefs.h: Likewise.
31753         * sysdeps/generic/stdio-lock.h: Likewise.
31754         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
31755         * sysdeps/i386/backtrace.c: Likewise.
31756         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31757         * sysdeps/m68k/backtrace.c: Likewise.
31758         * sysdeps/mach/hurd/cthreads.c: Likewise.
31759         * sysdeps/mach/hurd/dirstream.h: Likewise.
31760         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31761         * sysdeps/nptl/malloc-machine.h: Likewise.
31762         * sysdeps/nptl/stdio-lock.h: Likewise.
31763         * sysdeps/posix/dirstream.h: Likewise.
31764         * sysdeps/posix/getaddrinfo.c: Likewise.
31765         * sysdeps/posix/system.c: Likewise.
31766         * sysdeps/pthread/aio_suspend.c: Likewise.
31767         * sysdeps/s390/s390-32/backtrace.c: Likewise.
31768         * sysdeps/s390/s390-64/backtrace.c: Likewise.
31769         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31770         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31771         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
31772         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
31773         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
31774         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31775         * sysdeps/unix/sysv/linux/system.c: Likewise.
31776         * sysdeps/x86_64/backtrace.c: Likewise.
31777         * time/alt_digit.c: Likewise.
31778         * time/era.c: Likewise.
31779         * time/tzset.c: Likewise.
31780         * wcsmbs/wcsmbsload.c: Likewise.
31781         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
31782         instead of <bits/libc-lock.h> in comment.
31784 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
31786         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
31787         Only use .set mips2 if the current ISA is below mips2.
31788         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
31789         Likewise.
31790         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
31791         mips32r2 if the current ISA is below mips32r2.
31792         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
31793         (TLS_IE): Updated to use the TLD_RDHWR macro.
31794         (TLS_LE): Likewise.
31795         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
31796         __ASSEMBLER__ condition.
31798 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31800         Fix parallel build of before-compile targets.
31802         * sysdeps/mach/Makefile ($(patsubst
31803         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
31804         mach-before-compile target.
31805         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31806         io fs process)): Move rule to dedicated hurd-before-compile target.
31808 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31810         Fix rules generating headers in hurd/ and mach/ when initial make call
31811         has subdir= explicitly set.
31813         * sysdeps/mach/Makefile ($(patsubst
31814         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
31815         calling $(MAKE).
31816         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31817         io fs process)): Force subdir to hurd when calling $(MAKE).
31818         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
31819         subdir to mach when calling $(MAKE).
31821 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
31823         Check sysheaders when looking for Mach and Hurd headers
31825         * sysdeps/mach/configure.ac: Add sysheaders check.
31826         * sysdeps/mach/configure: Regenerate.
31827         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
31828         * sysdeps/mach/hurd/configure: Regenerate.
31830 2015-09-04  Roland McGrath  <roland@hack.frob.com>
31832         [BZ #18921]
31833         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
31834         Fix inverted sense of test of 'o_directory_works' value.
31835         Reported by PĂĄdraig Brady <P@draigBrady.com>, diagnosed by
31836         Bernhard Voelker <mail@bernhard-voelker.de>.
31838 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
31840         [BZ #14912]
31841         * bits/linkmap.h: Move to ...
31842         * sysdeps/generic/linkmap.h: ...here.
31843         * sysdeps/aarch64/bits/linkmap.h: Move to ...
31844         * sysdeps/aarch64/linkmap.h: ...here.
31845         * sysdeps/arm/bits/linkmap.h: Move to ...
31846         * sysdeps/arm/linkmap.h: ...here.
31847         * sysdeps/hppa/bits/linkmap.h: Move to ...
31848         * sysdeps/hppa/linkmap.h: ...here.
31849         * sysdeps/ia64/bits/linkmap.h: Move to ...
31850         * sysdeps/ia64/linkmap.h: ...here.
31851         * sysdeps/mips/bits/linkmap.h: Move to ...
31852         * sysdeps/mips/linkmap.h: ...here.
31853         * sysdeps/s390/bits/linkmap.h: Move to ...
31854         * sysdeps/s390/linkmap.h: ...here.
31855         * sysdeps/sh/bits/linkmap.h: Move to ...
31856         * sysdeps/sh/linkmap.h: ...here.
31857         * sysdeps/x86/bits/linkmap.h: Move to ...
31858         * sysdeps/x86/linkmap.h: ...here.
31859         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
31861 2015-09-04  Andreas Schwab  <schwab@suse.de>
31863         [BZ #18635]
31864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
31865         (__makecontext): Terminate FDE before return label.
31866         (__novec_makecontext): Likewise.
31868 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31870         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
31871         first member of struct sv in syscall macro.
31873 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
31875         [BZ #14912]
31876         * bits/stdio-lock.h: Move to ...
31877         * sysdeps/generic/stdio-lock.h: ...here.
31878         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31879         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
31880         * sysdeps/nptl/stdio-lock.h: ...here.
31881         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31882         * include/libio.h: Include <stdio-lock.h> instead of
31883         <bits/stdio-lock.h>.
31884         * sysdeps/nptl/fork.c: Likewise.
31885         * sysdeps/pthread/flockfile.c: Likewise.
31886         * sysdeps/pthread/ftrylockfile.c: Likewise.
31887         * sysdeps/pthread/funlockfile.c: Likewise.
31889         [BZ #14912]
31890         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
31891         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
31892         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
31893         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
31894         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
31895         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
31896         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
31898 2015-09-03  Roland McGrath  <roland@hack.frob.com>
31900         * elf/Makefile (test-xfail-tst-protected1a): New variable.
31901         (test-xfail-tst-protected1b): New variable.
31903 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
31905         [BZ #14912]
31906         * bits/libc-tsd.h: Move to ...
31907         * sysdeps/generic/libc-tsd.h: ...here.
31908         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
31909         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
31910         * sysdeps/mach/hurd/libc-tsd.h: ...here.
31911         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
31912         * include/ctype.h: Include <libc-tsd.h> instead of
31913         <bits/libc-tsd.h>.
31914         * include/rpc/rpc.h: Likewise.
31915         * locale/localeinfo.h: Likewise.
31916         * sunrpc/rpc_thread.c: Likewise.
31917         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31918         * sysdeps/nptl/malloc-machine.h: Likewise.
31920         * Makefile (headers): Remove bits/libc-lock.h.
31921         * libio/Makefile (headers): Remove bits/stdio-lock.h.
31923         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
31924         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
31925         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
31926         <bits/stdio-lock.h>.
31927         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
31928         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
31930 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
31932         [BZ #18757]
31933         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
31934         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
31935         BZ #18757.
31937 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
31939         * malloc/mtrace.pl: Filter out NULL entries.
31941 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
31943         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
31944         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
31945         macro.
31947         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
31948         (TCP_CC_INFO): Likewise.
31949         (TCP_SAVE_SYN): Likewise.
31950         (TCP_SAVED_SYN): Likewise.
31952 2015-08-31  Brett Neumeier <brett@neumeier.us>
31954         [BZ #18870]
31955         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
31957 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
31959         [BZ #18873]
31960         Fix broken overflow check in posix_fallocate
31961         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
31962         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
31963         Fix parenthesization typo.
31965 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
31967         [BZ #18887]
31968         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
31969         tst-mntent-blank-passno.
31970         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
31971         * misc/tst-mntent-blank-corrupt.c: New test.
31972         * misc/tst-mntent-blank-passno.c: New test ripped from ...
31973         * misc/tst-mntent.c (do_test): ... here.
31975 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
31977         [BZ #4404]
31978         * po/de.po: Fix SIGALRM typo.
31980 2015-08-28  James Perkins  <james@loowit.net>
31982         * time/tst-strptime2.c (tests): Replace short list of test
31983         strings for strptime %z specifier with code which exhaustively
31984         tests every combination of sign and 0 to 5 digits. Tests for
31985         rejection of invalid strings.
31987 2015-08-28  James Perkins  <james@loowit.net>
31989         [BZ #16141]
31990         * time/strptime_l.c (__strptime_internal): Fix %z minutes
31991         calculation, removing incorrect decimal time rounding, so that
31992         all minute values result in a valid seconds value.
31993         * time/strptime_l.c (__strptime_internal): Extend %z time zone
31994         offset range limits to UTC-99:59 through UTC+99:59 to parse
31995         current and historical use cases.
31996         * time/tst-strptime2.c (tests): Modify and add tests for the
31997         strptime %z input field descriptor, specifically conversion of
31998         minutes to seconds and validating an offset range of -9959 to
31999         +9959.
32001 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32002             Dmitry V. Levin  <ldv@altlinux.org>
32004         [BZ #18877]
32005         * posix/Makefile (tests): Add tst-mmap-offset.
32006         * posix/tst-mmap.c: New file.
32007         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
32008         offset calculation for negative values.
32010 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32012         * sysdeps/i386/init-arch.h: New file.
32013         * sysdeps/i386/i586/init-arch.h: Likewise.
32014         * sysdeps/i386/i686/init-arch.h: Likewise.
32015         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
32016         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
32017         * sysdeps/x86/cpu-features.h (bit_I586): New.
32018         (bit_I686): Likewise.
32019         (bit_CX8): Likewise.
32020         (bit_CMOV): Likewise.
32021         (index_CX8): Likewise.
32022         (index_CMOV): Likewise.
32023         (index_I586): Likewise.
32024         (index_I686): Likewise.
32025         (reg_CX8): Likewise.
32026         (reg_CMOV): Likewise.
32027         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
32028         available at compile-time.
32029         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
32030         available at compile-time.
32031         * sysdeps/x86/init-arch.h (USE_I586): New macro.
32032         (USE_I686): Likewise.
32034 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32036         * sysdeps/i386/bcopy.S: New file.
32037         * sysdeps/i386/bzero.S: Likewise.
32038         * sysdeps/i386/memcpy.S: Likewise.
32039         * sysdeps/i386/memmove.S: Likewise.
32040         * sysdeps/i386/mempcpy.S: Likewise.
32041         * sysdeps/i386/memset.S: Likewise.
32042         * sysdeps/i386/bzero.c: Removed.
32043         * sysdeps/i386/memset.c: Likewise.
32044         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
32045         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
32046         * sysdeps/i386/i586/memset_chk.S: Likewise.
32047         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
32048         * sysdeps/i386/memcpy_chk.S: Here.
32049         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
32050         * sysdeps/i386/memmove_chk.S: Here.
32051         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
32052         * sysdeps/i386/mempcpy_chk.S: Likewise.
32053         * sysdeps/i386/i686/memset_chk.S: Moved to ...
32054         * sysdeps/i386/memset_chk.S: Likewise.
32056 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
32058         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
32059         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
32060         file, move DIAG_POP_NEEDS_COMMENT to end of file.
32061         * soft-fp/fmadf4.c: Ditto.
32062         * soft-fp/fmatf4.c: Ditto.
32064 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32066         * sysdeps/i386/i586/Implies: Removed.
32067         * sysdeps/i386/i686/Implies: Likewise.
32069 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32071         * sysdeps/i386/i486/strlen.S: Moved to ...
32072         * sysdeps/i386/strlen.S: Here.
32074 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32076         * sysdeps/i386/i486/strcat.S: Moved to ...
32077         * sysdeps/i386/strcat.S: Here.
32079 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32081         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
32082         * sysdeps/i386/pthread_spin_trylock.S: Here.
32083         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
32084         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
32086 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32088         * sysdeps/i386/i486/string-inlines.c: Moved to ...
32089         * sysdeps/i386/string-inlines.c: Here.
32091 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32093         * sysdeps/i386/i486/htonl.S: Moved ...
32094         * sysdeps/i386/htonl.S: here.
32096 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32098         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
32099         * sysdeps/i386/bits/atomic.h: Here.
32101 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32103         * sysdeps/i386/i486/Versions: Removed.
32105 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
32107         [BZ #2898]
32108         * misc/mktemp.c: Add mkdtemp to the link_warning message.
32109         Based on patch by Aurelien Jarno.
32111 2015-08-26  Stan Shebs  <stanshebs@google.com>
32113         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
32114         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
32116 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32118         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
32119         * sysdeps/powerpc/dl-procinfo.c:
32120         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
32121         feature so it shows when LD_SHOW_AUXV=1.
32123 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
32125         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
32126         (__arch_compare_and_exchange_val_32_acq): Remove and use common
32127         definition.  ISA 2.07B no longer requires full sync.
32129 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
32131         [BZ #18863]
32132         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
32133         (si_call_addr): Define.
32134         (si_syscall): Define.
32135         (si_arch): Define.
32137 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
32139         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
32140         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
32141         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
32142         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32143         (__memset_zero_constant_len_parameter): New.
32144         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
32145         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32146         (__memset_zero_constant_len_parameter): Don't define if
32147         __memset_chk or USE_AS_BZERO are defined.
32149         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
32150         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
32151         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
32153         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
32154         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
32155         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
32156         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
32157         comments.
32158         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
32159         -mno-mmx for $(all-rtld-routines).
32160         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
32161         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
32162         i386.
32164 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32166         * sysdeps/generic/unwind.h
32167         (_Unwind_Word): Use __mode__(__unwind_word__)
32168         instead of __mode__(__word__).
32169         (_Unwind_Sword): Likewise.
32171         * sysdeps/s390/s390-64/utf8-utf16-z9.c
32172         (MAX_NEEDED_INPUT): New define.
32173         (MAX_NEEDED_OUTPUT): New define.
32175         * NEWS: New item for IBM z13 string optimizations.
32177         * sysdeps/s390/multiarch/memrchr-c.c: New File.
32178         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
32179         * sysdeps/s390/multiarch/memrchr.c: Likewise.
32180         * sysdeps/s390/multiarch/Makefile
32181         (sysdep_routines): Add memrchr functions.
32182         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32183         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
32185         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
32186         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
32187         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
32188         * sysdeps/s390/multiarch/Makefile
32189         (sysdep_routines): Add wmemcmp functions.
32190         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32191         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
32192         * benchtests/bench-wmemcmp.c: New File.
32193         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
32195         * sysdeps/s390/multiarch/wmemset-c.c: New File.
32196         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
32197         * sysdeps/s390/multiarch/wmemset.c: Likewise.
32198         * sysdeps/s390/multiarch/Makefile
32199         (sysdep_routines): Add wmemset functions.
32200         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32201         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
32202         * wcsmbs/wmemset.c: Use WMEMSET if defined.
32203         * string/test-memset.c: Add wmemset support.
32204         * wcsmbs/test-wmemset.c: New File.
32205         * wcsmbs/Makefile (strop-tests): Add wmemset.
32206         * benchtests/bench-memset.c: Add wmemset support.
32207         * benchtests/bench-wmemset.c: New File.
32208         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
32210         * sysdeps/s390/multiarch/memccpy-c.c: New File.
32211         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
32212         * sysdeps/s390/multiarch/memccpy.c: Likewise.
32213         * sysdeps/s390/multiarch/Makefile
32214         (sysdep_routines): Add memccpy functions.
32215         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32216         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
32217         * string/memccpy.c: Use MEMCCPY if defined.
32219         * sysdeps/s390/multiarch/memchr-vx.S: New File.
32220         * sysdeps/s390/multiarch/memchr.c: Likewise.
32221         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
32222         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
32223         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
32224         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
32225         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
32226         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
32227         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
32228         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
32229         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
32230         and rawmemchr functions.
32231         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32232         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
32233         and wmemchr.
32234         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
32235         * string/test-memchr.c: Add wmemchr support.
32236         * wcsmbs/test-wmemchr.c: New File.
32237         * wcsmbs/Makefile (strop-tests): Add wmemchr.
32238         * benchtests/bench-memchr.c: Add wmemchr support.
32239         * benchtests/bench-wmemchr.c: New File.
32240         * benchtests/Makefile (wcsmbs-bench): wmemchr.
32242         * sysdeps/s390/multiarch/strcspn-c.c: New File.
32243         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
32244         * sysdeps/s390/multiarch/strcspn.c: Likewise.
32245         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
32246         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
32247         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
32248         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
32249         wcscspn functions.
32250         * sysdeps/s390/multiarch/ifunc-impl-list.c
32251         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
32252         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
32253         * string/test-strcspn.c: Add wcscspn support.
32254         * wcsmbs/test-wcscspn.c: New File.
32255         * wcsmbs/Makefile (strop-tests): Add wcscspn.
32256         * benchtests/bench-strcspn.c: Add wcscspn support.
32257         * benchtests/bench-wcscspn.c: New File.
32258         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
32260         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
32261         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
32262         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
32263         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
32264         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
32265         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
32266         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
32267         wcspbrk functions.
32268         * sysdeps/s390/multiarch/ifunc-impl-list.c
32269         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
32270         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
32271         * string/test-strpbrk.c: Add wcspbrk support.
32272         * wcsmbs/test-wcspbrk.c: New File.
32273         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
32274         * benchtests/bench-strpbrk.c: Add wcspbrk support.
32275         * benchtests/bench-wcspbrk.c: New File.
32276         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
32278         * sysdeps/s390/multiarch/strspn-c.c: New File.
32279         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
32280         * sysdeps/s390/multiarch/strspn.c: Likewise.
32281         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
32282         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
32283         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
32284         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
32285         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
32286         wcsspn functions.
32287         * sysdeps/s390/multiarch/ifunc-impl-list.c
32288         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
32289         * string/test-strspn.c: Add wcsspn support.
32290         * wcsmbs/test-wcsspn.c: New File.
32291         * wcsmbs/Makefile (strop-tests): Add wcsspn.
32292         * benchtests/bench-strspn.c: Add wcsspn support.
32293         * benchtests/bench-wcsspn.c: New File.
32294         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
32296         * sysdeps/s390/multiarch/strrchr-c.c: New File.
32297         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
32298         * sysdeps/s390/multiarch/strrchr.c: Likewise.
32299         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
32300         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
32301         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
32302         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
32303         wcsrchr functions.
32304         * sysdeps/s390/multiarch/ifunc-impl-list.c
32305         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
32306         * benchtests/bench-wcsrchr.c: New File.
32307         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
32309         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
32310         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
32311         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
32312         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
32313         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
32314         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
32315         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
32316         wcschrnul functions.
32317         * sysdeps/s390/multiarch/ifunc-impl-list.c
32318         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
32319         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
32320         * string/test-strchr.c: Add wcschrnul support.
32321         * wcsmbs/test-wcschrnul.c: New File.
32322         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
32323         * benchtests/bench-strchr.c: Add wcschrnul support.
32324         * benchtests/bench-wcschrnul.c: New File.
32325         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
32327         * sysdeps/s390/multiarch/strchr-c.c: New File.
32328         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
32329         * sysdeps/s390/multiarch/strchr.c: Likewise.
32330         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
32331         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
32332         * sysdeps/s390/multiarch/wcschr.c: Likewise.
32333         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
32334         wcschr functions.
32335         * sysdeps/s390/multiarch/ifunc-impl-list.c
32336         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
32337         * string/strchr.c (STRCHR): Define and use macro.
32338         * benchtests/bench-wcschr.c: New File.
32339         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
32341         * sysdeps/s390/multiarch/strncmp-c.c: New File.
32342         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
32343         * sysdeps/s390/multiarch/strncmp.c: Likewise.
32344         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
32345         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
32346         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
32347         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
32348         wcsncmp functions.
32349         * sysdeps/s390/multiarch/ifunc-impl-list.c
32350         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
32351         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
32352         * benchtests/bench-strncmp.c: Add wcsncmp support.
32353         * benchtests/bench-wcsncmp.c: New File.
32354         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
32356         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
32357         * sysdeps/s390/multiarch/strcmp.c: Likewise.
32358         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
32359         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
32360         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
32361         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
32362         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
32363         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
32364         wcscmp functions.
32365         * sysdeps/s390/multiarch/ifunc-impl-list.c
32366         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
32367         * string/strcmp.c (STRCMP): Define and use macro.
32368         * benchtests/bench-wcscmp.c: New File.
32369         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
32370         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
32371         instead of _HAVE_STRING_ARCH_memchr.
32373         * sysdeps/s390/multiarch/strncat-c.c: New File.
32374         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
32375         * sysdeps/s390/multiarch/strncat.c: Likewise.
32376         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
32377         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
32378         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
32379         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
32380         wcsncat functions.
32381         * sysdeps/s390/multiarch/ifunc-impl-list.c
32382         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
32383         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
32384         * string/test-strncat.c: Add wcsncat support.
32385         * wcsmbs/test-wcsncat.c: New File.
32386         * wcsmbs/Makefile (strop-tests): Add wcsncat.
32387         * benchtests/bench-strncat.c: Add wcsncat support.
32388         * benchtests/bench-wcsncat.c: New File.
32389         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
32391         * sysdeps/s390/multiarch/strcat-c.c: New File.
32392         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
32393         * sysdeps/s390/multiarch/strcat.c: Likewise.
32394         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
32395         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
32396         * sysdeps/s390/multiarch/wcscat.c: Likewise.
32397         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
32398         wcscat functions.
32399         * sysdeps/s390/multiarch/ifunc-impl-list.c
32400         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
32401         * string/strcat.c (STRCAT): Define and use macro.
32402         * wcsmbs/wcscat.c: Use WCSCAT if defined.
32403         * string/test-strcat.c: Add wcscat support.
32404         * wcsmbs/test-wcscat.c: New File.
32405         * wcsmbs/Makefile (strop-tests): Add wcscat.
32406         * benchtests/bench-strcat.c: Add wcscat support.
32407         * benchtests/bench-wcscat.c: New File.
32408         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
32410         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
32411         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
32412         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
32413         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
32414         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
32415         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
32416         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
32417         wcpncpy functions.
32418         * sysdeps/s390/multiarch/ifunc-impl-list.c
32419         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
32420         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
32421         * string/test-stpncpy.c: Add wcpncpy support.
32422         * wcsmbs/test-wcpncpy.c: New File.
32423         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
32424         * benchtests/bench-stpncpy.c: Add wcpncpy support.
32425         * benchtests/bench-wcpncpy.c: New File.
32426         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
32428         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
32429         * sysdeps/s390/multiarch/strncpy.c: Likewise.
32430         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
32431         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
32432         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
32433         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
32434         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
32435         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
32436         wcsncpy functions.
32437         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
32438         * sysdeps/s390/multiarch/ifunc-impl-list.c
32439         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
32440         * string/test-strncpy.c: Add wcsncpy support.
32441         * wcsmbs/test-wcsncpy.c: New File.
32442         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
32443         * benchtests/bench-strncpy.c: Add wcsncpy support.
32444         * benchtests/bench-wcsncpy.c: New File.
32445         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
32447         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
32448         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
32449         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
32450         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
32451         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
32452         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
32453         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
32454         wcpcpy functions.
32455         * string/stpcpy.c: Use STPCPY if defined.
32456         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
32457         * sysdeps/s390/multiarch/ifunc-impl-list.c
32458         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
32459         * string/test-stpcpy.c: Add wcpcpy support.
32460         * wcsmbs/test-wcpcpy.c: New File.
32461         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
32462         * benchtests/bench-stpcpy.c: Add wcpcpy support.
32463         * benchtests/bench-wcpcpy.c: New File.
32464         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
32466         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
32467         * sysdeps/s390/multiarch/strcpy.c: Likewise.
32468         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
32469         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
32470         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
32471         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
32472         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
32473         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
32474         wcscpy functions.
32475         * sysdeps/s390/multiarch/ifunc-impl-list.c
32476         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
32477         * benchtests/bench-wcscpy.c: New File.
32478         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
32480         * sysdeps/s390/multiarch/strnlen-c.c: New File.
32481         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
32482         * sysdeps/s390/multiarch/strnlen.c: Likewise.
32483         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
32484         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
32485         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
32486         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
32487         wcsnlen functions.
32488         * sysdeps/s390/multiarch/ifunc-impl-list.c
32489         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
32490         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
32491         * string/test-strnlen.c: Add wcsnlen support.
32492         * wcsmbs/test-wcsnlen.c: New File.
32493         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
32494         * benchtests/bench-strnlen.c: Add wcsnlen support.
32495         * benchtests/bench-wcsnlen.c: New File.
32496         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
32498         * sysdeps/s390/multiarch/Makefile: New File.
32499         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
32500         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
32501         * sysdeps/s390/multiarch/strlen.c: Likewise.
32502         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
32503         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
32504         * sysdeps/s390/multiarch/wcslen.c: Likewise.
32505         * string/strlen.c (STRLEN): Define and use macro.
32506         * sysdeps/s390/multiarch/ifunc-impl-list.c
32507         (IFUNC_VX_IMPL): New macro function.
32508         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
32509         * benchtests/Makefile (wcsmbs-bench): New variable.
32510         (string-bench-all): Added wcsmbs-bench.
32511         * benchtests/bench-wcslen.c: New File.
32513         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
32514         s390_vx_libc_ifunc2): New macro function.
32516         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
32517         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
32518         assembler support.
32519         * sysdeps/s390/configure: Regenerated.
32521         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
32522         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32524         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
32525         * sysdeps/s390/dl-procinfo.h: Add vector capability.
32526         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
32528         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
32529         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
32530         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
32531         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
32532         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
32533         (memcmp, bcmp): Use __memcmp_default as alias source.
32534         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
32535         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
32536         Rename to __memcmp_default.
32537         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
32538         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
32539         (memcpy): Use __memcpy_default as alias source.
32540         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
32541         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
32542         Rename to __memcpy_default.
32543         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
32544         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
32545         (memset): Use __memset_default as alias source.
32546         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
32547         * sysdeps/s390/s390-32/memset.S (__memset_g5):
32548         Rename to __memset_default.
32549         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
32550         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
32551         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
32552         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
32553         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
32554         (memcmp, bcmp): Use __memcmp_default as alias source.
32555         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
32556         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
32557         Rename to __memcmp_default.
32558         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
32559         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
32560         (memcpy): Use __memcpy_default as alias source.
32561         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
32562         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
32563         Rename to __memcpy_default.
32564         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
32565         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
32566         (memset): Use __memset_default as alias source.
32567         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
32568         * sysdeps/s390/s390-64/memset.S (__memset_z900):
32569         Rename to __memset_default.
32570         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
32571         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
32573         [BZ #18610]
32574         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
32575         __ieee_instruction_pointer to __unused.
32576         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
32577         __ieee_instruction_pointer.
32578         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
32579         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
32580         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32581         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32582         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
32583         Mark dxc-field as reserved.
32585 2015-08-25  Roland McGrath  <roland@hack.frob.com>
32587         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
32588         if the weak reference is not null.
32590 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32592         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
32594         [BZ #11214]
32595         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
32597 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32599         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
32600         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
32601         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
32602         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
32603         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
32604         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
32605         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
32606         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
32607         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
32608         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
32609         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
32610         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
32611         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
32612         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
32613         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
32614         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
32615         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
32616         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
32618 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
32620         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
32621         register other than r0 for tabort, it has special meaning.
32622         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
32623         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
32624         transaction before starting syscall.
32626 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32628         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
32630 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32632         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
32634         * sysdeps/x86_64/rtld-memcmp.c: Removed.
32635         * sysdeps/x86_64/rtld-memset.S: Likewise.
32636         * sysdeps/x86_64/rtld-strchr.S: Likewise.
32637         * sysdeps/x86_64/rtld-strlen.S: Likewise.
32638         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
32639         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32641         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
32643 2015-08-25  Ondƙej BĂ­lka  <neleai@seznam.cz>
32645         * debug/strcpy_chk.c: Improve performance.
32646         * debug/stpcpy_chk.c: Likewise.
32647         * sysdeps/x86_64/strcpy_chk.S: Remove.
32648         * sysdeps/x86_64/stpcpy_chk.S: Remove.
32650         [BZ #18240]
32651         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
32653 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32655         [BZ #15128]
32656         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
32657         ifuncmain8.
32658         (modules-names): Add ifuncmod8.
32659         ($(objpfx)ifuncmain8): New rule.
32660         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
32661         <cpuid.h>.
32662         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
32663         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
32664         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
32665         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
32666         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
32667         * sysdeps/x86_64/dl-trampoline.h: Likewise.
32668         * sysdeps/x86_64/ifuncmain8.c: New file.
32669         * sysdeps/x86_64/ifuncmod8.c: Likewise.
32670         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
32671         Removed.
32672         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
32673         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
32674         Change rtld_savespace_sse to __glibc_unused2.
32675         (RTLD_CHECK_FOREIGN_CALL): Removed.
32676         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
32677         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
32678         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
32680 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
32682         * sysdeps/aarch64/bzero.S (__bzero): Remove.
32684 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
32686         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
32687         Unconditionally set __fpcr to avoid uninialized warning.
32688         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
32690 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32692         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
32693         is corrupt.
32695         * malloc/arena.c (arena_get2): Drop unused argument.
32696         (arena_lock): Adjust.
32697         (arena_get_retry): Likewise.
32699 2015-08-24  Andreas Schwab  <schwab@suse.de>
32701         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
32702         Don't define.
32703         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
32704         (__ASSUME_IPC64): Don't undef.
32705         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
32706         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32707         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32708         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
32709         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
32710         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
32711         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
32712         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
32713         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
32714         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
32715         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
32716         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
32717         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
32718         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
32719         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
32720         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
32721         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
32722         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
32723         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
32724         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
32725         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
32727 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
32729         * manual/Makefile (install): Only build manual when perl is available.
32731 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32733         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
32734         '#undef memcpy' by '#undef memchr'.
32736 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32738         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
32739         memchr not point to the internal __GI_memchr implementation.
32741 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
32743         * timezone/Makefile (CFLAGS-zdump.c): Remove
32744         -Wno-strict-prototypes.
32745         (CFLAGS-zic.c): Likewise.
32746         (CFLAGS-ialloc.c): Likewise.
32747         (CFLAGS-scheck.c): Likewise.
32749         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
32750         -Wno-error=undef.
32752 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32754         * i386/i686/multiarch/strcasestr-c.c: Removed.
32755         * x86_64/multiarch/strcasestr.c: Likewise.
32756         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32757         Remove strcasestr.
32759 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
32761         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
32763         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
32764         variables for high and low parts before possibly modifying them.
32766 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32768         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
32769         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
32770         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
32771         of "multiarch/init-arch.h".
32772         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
32773         * sysdeps/x86/init-arch.h: This.
32775 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32777         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
32778         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
32780 2015-08-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
32782         [BZ #17787]
32783         * manual/macros.texi: Add twoexp macro.
32784         * manual/filesys.texi: Fix exponents.
32785         * manual/llio.texi: Likewise.
32786         * manual/stdio.texi: Likewise.
32788 2015-08-20  Florian Weimer  <fweimer@redhat.com>
32790         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
32791         incorrect use.
32793 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
32795         [BZ #18370]
32796         * math/s_csqrt.c (__csqrt): Force underflow exception for results
32797         whose real or imaginary part has small absolute value.
32798         * math/s_csqrtf.c (__csqrtf): Likewise.
32799         * math/s_csqrtl.c (__csqrtl): Likewise.
32800         * math/auto-libm-test-in: Add more tests of csqrt.
32801         * math/auto-libm-test-out: Regenerated.
32802         * sysdeps/i386/fpu/libm-test-ulps: Update.
32804 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
32806         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
32807         __ppc_set_ppr_very_low): New functions.
32808         * manual/platform.texi: Add documentation about
32809         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
32811 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
32813         * string/stpncpy.c (stpncpy): Improve performance using
32814         __strnlen/memcpy/memset.
32816 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
32818         [BZ #18796]
32819         * scripts/test-installation.pl: Don't add -lmvec to build options if
32820         libmvec wasn't built.
32822 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
32824         [BZ #14341]
32825         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
32826         case when there is a gap between DT_REL and DT_JMPREL sections.
32827         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
32828         (LDFLAGS-tst-split-dynreloc): New.
32829         (tst-split-dynreloc-ENV): Likewise.
32830         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
32831         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
32833 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32835         [BZ #18822]
32836         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
32837         attribute_hidden.
32838         (__xstat64_conv): Likewise.
32839         (__xstat32_conv): Likewise.
32841 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32843         [BZ #18822]
32844         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
32845         Don't load %ebx when calling __setcontext.  Call __setcontext
32846         with HIDDEN_JUMPTARGET.
32847         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
32848         libc_hidden_def.
32850 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32852         * sysdeps/i386/i686/Makefile
32853         [$(subdir) == string] (sysdep_routines): Moved to ...
32854         * sysdeps/i386/Makefile: Here.
32855         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
32856         * sysdeps/i386/cacheinfo.c: Here.
32857         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
32858         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
32859         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
32860         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
32862 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32864         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
32865         __i586__ is defined.
32866         (HAS_I686): Defined to 1 if __i686__ is defined.
32868 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
32870         * elf/Makefile [$(have-z-execstack) = yes]
32871         (CPPFLAGS-tst-execstack.c): New variable.
32873         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
32874         conditional to [defined UTMPX || _HAVE_UT_TYPE].
32875         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
32876         UTMPX || _HAVE_UT_TV].
32877         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
32878         UTMPX || _HAVE_UT_TV - 0].
32880 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
32882         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
32883         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
32884         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
32886 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32888         * sysdeps/powerpc/dl-procinfo.c:
32889         (_dl_powerpc_cap_flags): Added missing strings for some
32890         hwcap features.
32891         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
32893 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
32895         Port the 0x7efe...feff pattern to GCC 6.
32896         See Steve Ellcey's bug report in:
32897         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
32898         * string/memrchr.c (MEMRCHR):
32899         * string/rawmemchr.c (RAWMEMCHR):
32900         * string/strchr.c (strchr):
32901         * string/strchrnul.c (STRCHRNUL):
32902         Rewrite code to avoid issues with signed shift overflow.
32904 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
32906         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
32907         whether cpuid is available only if HAS_CPUID is 0.
32908         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
32909         (HAS_I586): Likewise.
32910         (HAS_I686): Likewise.
32912 2015-08-18  Zack Weinberg  <zackw@panix.com>
32914         * misc/Versions (libc): Add GLIBC_2.23.
32916 2015-08-18  Alan Modra  <amodra@gmail.com>
32918         [BZ #18421]
32919         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
32920         .Lp__global.
32921         (_start): Load %dp via .Lp__global.
32922         [!SHARED]: Use .section .rodata.
32924 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32926         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
32927         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
32929 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32931         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
32932         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
32934 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32936         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
32937         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
32939 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32941         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
32942         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
32944 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32946         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
32947         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
32949 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32951         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
32952         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
32954 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32956         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
32958 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32960         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
32961         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
32962         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32963         (__ASSUME_LWS_CAS): Delete.
32965 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32967         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
32968         * sysdeps/hppa/configure: Regenerated.
32969         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
32970         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
32971         * sysdeps/hppa/nptl/tls.h: Likewise.
32973 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
32975         [BZ #18823]
32976         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
32977         for scaling up small arguments.
32978         * math/s_csqrtf.c (__csqrtf): Likewise.
32979         * math/s_csqrtl.c (__csqrtl): Likewise.
32980         * math/auto-libm-test-in: Add more tests of csqrt.
32981         * math/auto-libm-test-out: Regenerated.
32983 2015-08-17  Andreas Schwab  <schwab@suse.de>
32985         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
32986         version set GLIBC_2.19.
32988 2015-08-16  Zack Weinberg  <zackw@panix.com>
32990         [BZ #18681]
32991         * misc/regexp.h: This interface is no longer supported.
32992         Remove all contents, leaving only an #error directive.
32993         * misc/regexp.c (loc1, loc2, locs, step, advance):
32994         Demote to compatibility symbols.
32996 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
32998         [BZ #18084]
32999         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
33000         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
33001         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
33002         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
33003         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
33004         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
33005         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
33006         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
33007         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
33009 2015-08-15  Zack Weinberg  <zackw@panix.com>
33011         [BZ #18795]
33012         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
33013         buffer length is known to be too large, not if it's known to be
33014         small enough.
33015         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
33016         overflow at runtime, involving a length parameter, twice: once
33017         with a compile-time constant length parameter, once without.
33019 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
33021         [BZ #18824]
33022         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
33023         scaling x * y up instead of down.
33024         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33025         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33026         * math/auto-libm-test-in: Add more tests of fma.
33027         * math/auto-libm-test-out: Regenerated.
33029 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
33031         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33033 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33035         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
33036         unnecessary movq.
33037         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
33038         Likewise.
33040 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
33042         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
33043         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
33044         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
33045         and tgamma.
33046         * math/auto-libm-test-out: Regenerated.
33047         * sysdeps/i386/fpu/libm-test-ulps: Update.
33048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33050         [BZ #16520]
33051         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
33052         (__tanh): Force underflow exception for arguments with small
33053         absolute value.
33054         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
33055         (__tanhf): Force underflow exception for arguments with small
33056         absolute value.
33057         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
33058         (__tanhl): Force underflow exception for arguments with small
33059         absolute value.
33060         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
33061         (__tanhl): Force underflow exception for arguments with small
33062         absolute value.
33063         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
33064         (__tanhl): Force underflow exception for arguments with small
33065         absolute value.
33066         * math/auto-libm-test-in: Add more tests of tanh.
33067         * math/auto-libm-test-out: Regenerated.
33068         * sysdeps/i386/fpu/libm-test-ulps: Update.
33070 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33072         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
33073         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
33075 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33077         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
33078         <cpuid.h>.
33080 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33082         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
33083         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
33085 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33087         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
33088         Remove $(objpfx)init-arch.o.
33089         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
33090         init-arch.
33091         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
33092         (INIT_ARCH_EXT): Defined as empty.
33093         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
33094         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
33095         __init_cpu_features call.  Replace HAS_XXX with
33096         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33097         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
33098         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
33099         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
33100         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
33101         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33102         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
33103         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
33104         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33105         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
33106         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
33107         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33108         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
33109         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
33110         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33111         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
33112         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
33113         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33114         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33115         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
33116         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
33117         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33118         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
33119         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
33120         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33121         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
33122         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
33123         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33124         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
33125         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
33126         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33127         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
33128         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
33129         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33130         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
33131         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
33133 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33135         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
33136         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33137         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33138         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33139         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
33140         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
33141         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
33142         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
33143         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
33144         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
33145         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
33146         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
33147         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33148         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33149         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33150         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33151         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33152         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33153         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33154         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33155         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33156         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33157         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33158         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33159         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33160         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33161         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33162         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33163         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33164         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33165         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33166         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33167         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33168         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33169         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33170         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33171         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33172         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33173         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33174         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33175         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33176         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33177         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33179 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33181         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
33182         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33183         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33184         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33185         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33186         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33187         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33188         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
33189         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33190         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33191         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33192         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
33193         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
33194         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
33195         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
33196         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
33197         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
33198         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
33199         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
33200         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
33201         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
33202         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
33203         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
33204         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33205         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33206         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
33207         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
33208         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
33209         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33210         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33211         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33212         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33213         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33214         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33215         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33216         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33217         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33218         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33219         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33220         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33221         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33222         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33223         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33225 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33227         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
33228         (dl_platform_init): Call init_cpu_features.
33229         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
33230         * sysdeps/i386/i686/cacheinfo.c
33231         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
33232         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
33233         * sysdeps/i386/i686/multiarch/Versions: Removed.
33234         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
33235         Removed.
33236         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
33237         * sysdeps/unix/sysv/linux/x86/Makefile
33238         (libpthread-sysdep_routines): Remove init-arch.
33239         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
33240         <sysdeps/x86_64/dl-procinfo.c> instead of
33241         sysdeps/generic/dl-procinfo.c>.
33242         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
33243         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
33244         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
33245         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
33246         [$(subdir) == elf] (tests-static): Add
33247         tst-get-cpu-features-static.
33248         * sysdeps/x86/Versions: New file.
33249         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
33250         * sysdeps/x86/cpu-features.c: Likewise.
33251         * sysdeps/x86/cpu-features.h: Likewise.
33252         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
33253         * sysdeps/x86/libc-start.c: Likewise.
33254         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
33255         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
33256         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
33257         * sysdeps/x86_64/dl-procinfo.c: Likewise.
33258         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
33259         Assume USE_MULTIARCH is defined and don't check it.
33260         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
33261         (is_amd): Likewise.
33262         (max_cpuid): Likewise.
33263         (intel_check_word): Likewise.
33264         (__cache_sysconf): Don't call __init_cpu_features.
33265         (__x86_preferred_memory_instruction): Removed.
33266         (init_cacheinfo): Don't call __init_cpu_features. Replace
33267         __cpu_features with GLRO(dl_x86_cpu_features).
33268         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
33269         (dl_platform_init): Call init_cpu_features.
33270         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
33271         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
33272         * sysdeps/x86_64/multiarch/Versions: Removed.
33273         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
33274         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
33275         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
33276         Removed.
33277         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
33279 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33281         [BZ #18820]
33282         * libio/Makefile (test-fmemopen-mem): New test.
33283         * libio/test-fmemopen.c (do_bz18820): New test.
33284         * libio/fmemopen.c (__fmemopen): Fix memory leak.
33285         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
33287 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33289         [BZ #16734]
33290         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
33291         (FREE_BUF): Delete.
33292         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
33293         * libio/genops.c (_IO_setb): Use malloc and free directly.
33294         (_IO_default_doallocate, _IO_default_finish): Likewise.
33295         ( _IO_unbuffer_all): Likewise.
33296         ( libc_freeres_fn): Likewise.
33297         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33298         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
33299         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
33300         (_IO_wdefault_doallocate): Likewise.
33302 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
33304         [BZ #18086]
33305         * sysdeps/posix/nice.c (nice): Restore old errno.
33306         * posix/tst-nice.c (do_test): Add test for BZ #18086.
33308 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
33310         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
33312 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33314         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
33315         __bcopy and add a weak_alias to bcopy.
33316         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
33317         for static build.
33319         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
33320         cleanup macro usage.
33321         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
33322         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
33323         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
33324         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
33325         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
33326         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
33327         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
33328         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33329         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
33330         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
33331         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33332         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
33333         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33334         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
33335         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33336         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
33337         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
33338         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
33339         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33341         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
33342         libc_hidden_def.
33343         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
33345         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
33346         (sysdep_routines): Add strstr-ppc64.
33347         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
33349 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
33351         [BZ #18778]
33352         * elf/Makefile (tests): Add Add tst-nodelete2.
33353         (modules-names): Add tst-nodelete2mod.
33354         (tst-nodelete2mod.so-no-z-defs): New.
33355         ($(objpfx)tst-nodelete2): Likewise.
33356         ($(objpfx)tst-nodelete2.out): Likewise.
33357         (LDFLAGS-tst-nodelete2): Likewise.
33358         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
33359         out of loop through all loaded libraries.
33360         * elf/tst-nodelete2.c: New file.
33361         * elf/tst-nodelete2mod.c: Likewise.
33362         * elf/tst-znodelete-zlib.cc: Delete.
33364 2015-08-11  Andreas Schwab  <schwab@suse.de>
33366         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
33367         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
33368         (__openat64_nocancel): Likewise.
33370 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
33372         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
33373         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
33374         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
33375         * math/auto-libm-test-out: Regenerated.
33376         * sysdeps/i386/fpu/libm-test-ulps: Update.
33377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33379 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
33381         [BZ #18790]
33382         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
33383         threshold for returning +/- 1.
33384         * math/auto-libm-test-in: Add more tests of tanh.
33385         * math/auto-libm-test-out: Regenerated.
33386         * sysdeps/i386/fpu/libm-test-ulps: Update.
33388 2015-08-10  Andreas Schwab  <schwab@suse.de>
33390         [BZ #18781]
33391         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
33392         MORE_OFLAGS to oflag.
33393         * io/test-lfs.c (do_test): Test openat64.
33395 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
33397         [BZ #18789]
33398         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
33399         smaller threshold for returning the argument.
33400         * math/auto-libm-test-in: Add more tests of sinh.
33401         * math/auto-libm-test-out: Regenerated.
33402         * sysdeps/i386/fpu/libm-test-ulps: Update.
33404 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
33406         [BZ #18674]
33407         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
33408         break.
33410 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
33412         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
33413         (generated): Don't add $(addprefix z.,$(tzfiles)).
33415 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33417         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
33418         * scripts/sysd-rules.awk: Likewise.
33420 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33422         * iconvdata/tst-tables.sh: Change echo -n to printf.
33423         * nss/db-Makefile: Likewise.
33424         * posix/tst-getconf.sh: Likewise.
33425         * stdio-common/tst-unbputc.sh: Likewise.
33427 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33429         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
33430         MADV_*_PAGES defines behind this feature check.
33432 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
33434         [BZ #18480]
33435         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
33436         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
33437         Define.
33438         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
33439         LOAD_REGS_5, LOAD_REGS_6): Update.
33440         (INTERNAL_SYSCALL): Update using new LOAD defines.
33441         (INTERNAL_SYSCALL_NCS): Likewise.
33442         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
33444 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33446         [BZ #16734]
33447         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
33449 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33451         [BZ #17905]
33452         * catgets/Makefile (tst-catgets-mem): New test.
33453         * catgets/catgets.c (catopen): Don't use unbounded alloca.
33454         * catgets/open_catalog.c (__open_catalog): Likewise.
33455         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
33457 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
33459         [BZ #18787]
33460         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
33461         clobber registers.
33462         (atomic_compare_and_exchange_val_acq): Use register asms to assign
33463         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
33464         Cast return to __typeof (oldval).
33466 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
33468         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
33469         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
33470         and delete sys/syscall.h include.
33472 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
33474         [BZ #16517]
33475         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
33476         (tan): Force underflow exception for arguments with small absolute
33477         value.
33478         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
33479         (__kernel_tanf): Force underflow exception for arguments with
33480         small absolute value.
33481         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
33482         (__kernel_tanl): Force underflow exception for arguments with
33483         small absolute value.
33484         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
33485         (__kernel_tanl): Force underflow exception for arguments with
33486         small absolute value.
33487         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
33488         (__kernel_tanl): Force underflow exception for arguments with
33489         small absolute value.
33490         * math/auto-libm-test-in: Add more tests of tan.
33491         * math/auto-libm-test-out: Regenerated.
33493 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33495         Fix sysdeps/i386/fpu/s_scalbn.S build
33497         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
33499 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
33501         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33503 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33505         Fix gcrt0.o compilation
33507         When static-start-installed-name is different from
33508         start-installed-name, we must not use the shared objects.
33510         * csu/Makefile
33511         (extra-objs): Add gmon-start.o when building shared library and
33512         $(static-start-installed-name) is different from
33513         $(start-installed-name).
33514         $(objpfx)g$(static-start-installed-name): When building shared
33515         library and $(static-start-installed-name) is different from
33516         $(static-start-installed-name), revert to non-shared rule,
33517         i.e. using $(objpfx)% and gmon-start.o.
33519 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
33521         [BZ #16519]
33522         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
33523         (__ieee754_sinh): Force underflow exception for arguments with
33524         small absolute value.
33525         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
33526         (__ieee754_sinhf): Force underflow exception for arguments with
33527         small absolute value.
33528         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
33529         (__ieee754_sinhl): Force underflow exception for arguments with
33530         small absolute value.
33531         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
33532         (__ieee754_sinhl): Force underflow exception for arguments with
33533         small absolute value.
33534         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
33535         (__ieee754_sinhl): Force underflow exception for arguments with
33536         small absolute value.
33537         * math/auto-libm-test-in: Add more tests of sinh.
33538         * math/auto-libm-test-out: Regenerated.
33539         * sysdeps/i386/fpu/libm-test-ulps: Update.
33541 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33543         * libio/oldfileops.c: Include unistd.h.
33545 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
33547         * stdlib/isomac.c: Include ctype.h.
33549 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
33551         * dirent/tst-seekdir.c (main): Converted to ...
33552         (do_test): ... this.
33553         (TEST_FUNCTION): New macro.
33554         Include test-skeleton.c.
33555         * elf/tst-dlmodcount.c (main): Converted to ...
33556         (do_test): ... this.
33557         (TEST_FUNCTION): New macro.
33558         Include test-skeleton.c.
33559         * elf/tst-order-main.c (main): Converted to ...
33560         (do_test): ... this.
33561         (TEST_FUNCTION): New macro.
33562         Include test-skeleton.c.
33563         * elf/tst-pie2.c (main): Converted to ...
33564         (do_test): ... this.
33565         (TEST_FUNCTION): New macro.
33566         Include test-skeleton.c.
33567         * inet/tst-ether_aton.c (main): Converted to ...
33568         (do_test): ... this.
33569         (TEST_FUNCTION): New macro.
33570         Include test-skeleton.c.
33571         * misc/tst-mntent.c (main): Converted to ...
33572         (do_test): ... this.
33573         (TEST_FUNCTION): New macro.
33574         Include test-skeleton.c.
33575         * misc/tst-tsearch.c (main): Converted to ...
33576         (do_test): ... this.
33577         (TEST_FUNCTION): New macro.
33578         Include test-skeleton.c.
33579         * posix/tst-regexloc.c (main): Converted to ...
33580         (do_test): ... this.
33581         (TEST_FUNCTION): New macro.
33582         Include test-skeleton.c.
33583         * resolv/tst-aton.c (main): Converted to ...
33584         (do_test): ... this.
33585         (TEST_FUNCTION): New macro.
33586         Include test-skeleton.c.
33587         * stdio-common/test-fwrite.c (main): Converted to ...
33588         (do_test): ... this.
33589         (TEST_FUNCTION): New macro.
33590         Include test-skeleton.c.
33591         * stdio-common/tst-ferror.c (main): Converted to ...
33592         (do_test): ... this.
33593         (TEST_FUNCTION): New macro.
33594         Include test-skeleton.c.
33595         * stdio-common/tst-printf.c (main): Converted to ...
33596         (do_test): ... this.
33597         (TEST_FUNCTION): New macro.
33598         Include test-skeleton.c.
33599         * stdio-common/tst-printfsz.c (main): Converted to ...
33600         (do_test): ... this.
33601         (TEST_FUNCTION): New macro.
33602         Include test-skeleton.c.
33603         * stdlib/tst-strtod.c (main): Converted to ...
33604         (do_test): ... this.
33605         (TEST_FUNCTION): New macro.
33606         Include test-skeleton.c.
33607         * string/tst-strlen.c (main): Converted to ...
33608         (do_test): ... this.
33609         (TEST_FUNCTION): New macro.
33610         Include test-skeleton.c.
33611         * string/tst-svc.c (main): Converted to ...
33612         (do_test): ... this.
33613         (TEST_FUNCTION): New macro.
33614         Include test-skeleton.c.
33615         * time/tst-strptime.c (main): Converted to ...
33616         (do_test): ... this.
33617         (TEST_FUNCTION): New macro.
33618         Include test-skeleton.c.
33619         * timezone/tst-timezone.c (main): Converted to ...
33620         (do_test): ... this.
33621         (TEST_FUNCTION): New macro.
33622         Include test-skeleton.c.
33624 2015-08-05  Zack Weinberg  <zackw@panix.com>
33626         * misc/regexp.h: Update comments.
33628 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
33630         [BZ #18635]
33631         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
33632         before return label.
33634 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33636         [BZ #18661]
33637         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
33638         when calling __errno_location.
33639         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
33640         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
33642 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33644         [BZ #18661]
33645         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
33646         (__lll_timedwait_tid): Align stack to 16 bytes when calling
33647         __gettimeofday.
33649 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33651         [BZ #18661]
33652         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33653         (__start_context): Don't use pop to restore %rdi so that stack
33654         is aligned to 16 bytes when calling __setcontext.
33656 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33658         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
33659         only for libc.
33660         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
33662 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33664         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
33665         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
33666         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
33668 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33670         * string/memccpy.c (memccpy):
33671         Improve performance by using memchr/memcpy/__mempcpy.
33673 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33675         * string/strncpy.c (strncpy):
33676         Improve performance by using __strnlen/memcpy.
33678 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33680         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33681         Optimize to avoid an unnecessary FPCR read.
33683 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33685         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33686         Optimize to reduce FPCR/FPSR accesses.
33688 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33690         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
33691         dead->data[category] != NULL.
33693 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
33695         [BZ #18647]
33696         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
33697         and |x| close to 1, use absolute value of x when computing log.
33698         * math/auto-libm-test-in: Add more tests of pow.
33699         * math/auto-libm-test-out: Regenerated.
33701 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33703         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
33704         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
33705         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
33707 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
33709         [BZ #18525]
33710         * locales/km_KH: Remove timezone definition.
33711         * locales/lo_LA: Likewise.
33712         * locales/my_MM: Likewise.
33713         * locales/nan_TW@latin: Likewise.
33714         * locales/th_TH: Likewise.
33715         * locales/uk_UA: Likewise.
33717 2015-08-05  Daniel MarjamĂ€ki  <daniel.marjamaki@evidente.se>
33719         [BZ #18265]
33720         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
33721         (wcsncat): Likewise.
33722         (wcscmp): Likewise.
33723         (wcsncmp): Likewise.
33725 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33727         * test-skeleton.c (usage): New function.
33728         (main): Call usage when opt is '?'.
33730 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33732         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
33733         before first use.
33735 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33737         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
33738         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
33739         in there too.
33741 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
33743         * version.h (RELEASE): Set to "development".
33744         (VERSION): Set to "2.22.90"
33746         * version.h (RELEASE): Set to "stable".
33747         (VERSION): Set to "2.22"
33748         * include/features.h (__GLIBC_MINOR__): Set to 22.
33750 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
33752         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
33753         Restructure macro to avoid "value computed is not used" warning.
33754         (atomic_compare_and_exchange_val_acq): Likewise.
33756 2015-08-04  Andreas Schwab  <schwab@suse.de>
33758         [BZ #18635]
33759         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
33760         ret.
33761         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
33763 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
33765         * po/pl.po: Updated translation.
33766         * po/uk.po: Likewise.
33767         * po/fi.po: Likewise.
33768         * po/ko.po: Likewise.
33769         * po/ru.po: Likewise.
33770         * po/vi.po: Likewise.
33772 2015-07-31  Zack Weinberg  <zackw@panix.com>
33774         [BZ #18681]
33775         * regexp.h: Add unconditional #warning stating that this header
33776         will be removed soon.  Revise banner comment to match.
33777         (compile): Consistently use ERROR instead of RETURN to report
33778         errors (partial fix for BZ #18681).
33779         * regexp.c: Don't include regexp.h. Remove some unnecessary
33780         declarations.
33782 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
33784         * po/libc.pot: Regenerated.
33786 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33788         [BZ #18740]
33789         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
33790         float-vlen4-arch-ext-cflags): Removed.
33791         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
33792         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
33794 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33796         [BZ #14113]
33797         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
33798         aligned to __aligned__.
33799         (pthread_cond_t, pthread_rwlock_t): Likewise.
33801 2015-07-30  Torvald Riegel  <triegel@redhat.com>
33803         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
33805 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33807         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
33808         (struct sigaction): Change sa_flags from a long to an int, and add
33809         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
33811 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33813         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
33814         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
33815         sysdeps/generic/sysdep.h include.
33816         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
33817         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
33818         sysdeps/hppa/sysdep.h.
33819         (ENTRY, PSEUDO): Undefine before defining.
33821 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33823         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
33824         from scratch to use INTERNAL_SYSCALL.
33826 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
33828         [BZ #18078]
33829         * scripts/check-localplt.awk: Support alternate relocations.
33830         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
33831         sections.
33832         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
33833         malloc entries with + REL R_386_GLOB_DAT.
33834         * sysdeps/x86_64/localplt.data: New file.
33836 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
33838         [BZ #18731]
33839         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
33840         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33841         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33843 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33845         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
33847 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33849         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
33850         directly in terms of __sync_fetch_and_add and delete (int) cast.
33852 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33854         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
33855         the -D_ASM_IA64_CURRENT_H flag.
33857 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33859         [BZ #18641]
33860         * pwd/pwd.h (putpwent): Delete __nonnull markings.
33862 2015-07-27  Andreas Schwab  <schwab@suse.de>
33864         * conform/conformtest.pl (checknamespace): Filter out string
33865         literals while tokenizing.
33867 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
33869         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33870         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
33871         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33873 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
33875         * nptl/tst-join7mod.c: Add #include <string.h>.
33877 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
33879         * sysdeps/nios2/libm-test-ulps: Update.
33881 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
33883         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
33884         Fix order of arguments to the rt_sigprocmask syscall.
33885         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
33886         Likewise.
33888 2015-07-24  Roland McGrath  <roland@hack.frob.com>
33890         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
33892 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33894         [BZ #18457]
33895         * nptl/Makefile (tests): New test case tst-join7.
33896         (modules-names): New test case module tst-join7mod.
33897         * nptl/tst-join7.c: New file.
33898         * nptl/tst-join7mod.c: New file.
33899         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
33900         all translation units in libc.so, libpthread.so and rtld.
33902 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33906 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
33908         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
33909         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33910         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33911         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33912         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33913         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33914         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33915         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33916         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33917         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33918         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33919         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33920         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
33921         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33922         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
33923         implementation.
33925 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33927         [BZ #17711]
33928         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33929         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
33930         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33931         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33932         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
33933         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33935 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33937         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
33938         instead of just saying load lock in the comments.
33940 2015-07-23  Roland McGrath  <roland@hack.frob.com>
33942         * sysdeps/unix/Subdirs: Moved ...
33943         * sysdeps/posix/Subdirs: ... here.
33944         * login/pty.h (struct termios, struct winsize): Add forward decls.
33945         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
33946         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
33947         * sysdeps/arm/nacl/libc.abilist: Updated.
33948         * sysdeps/nacl/libutil.abilist: New file.
33950         * bits/signum.h: Update comments to mention 1003.1-2013 too.
33951         (SIGWINCH): New macro.
33953         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
33954         * sysdeps/arm/nacl/libc.abilist: Add it.
33956 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
33958         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
33960 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
33962         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33963         Swap __glibc_reserved0 and sa_flags order.
33965 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33967         [BZ #18657]
33968         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
33969         are pending TLS destructor calls.
33970         * include/link.h (struct link_map): Add concurrency note for
33971         L_TLS_DTOR_COUNT.
33972         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33973         Don't touch the link map flag.  Atomically increment
33974         l_tls_dtor_count.
33975         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
33976         Avoid taking the load lock and don't touch the link map flag.
33977         * stdlib/tst-tls-atexit-nodelete.c: New test case.
33978         * stdlib/Makefile (tests): Use it.
33979         * stdlib/tst-tls-atexit.c (do_test): dlopen
33980         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
33981         to allow tst-tls-atexit-nodelete test case to use it.
33983 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
33985         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
33986         to bits/types.h.
33987         (msgqnum_t): New typedef.
33988         (msglen_t): Likewise.
33989         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
33990         and msg_qbytes type to msglen_t.
33992 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
33994         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
33995         pad0 to __glibc_reserved0.
33996         (struct stat64): Likewise.
33998 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
34000         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
34001         Change sa_flags from a long to an int and add __glibc_reserved0 before
34002         it for padding.
34004 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
34006         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
34007         anonymous by deleting "siginfo" name.
34009 2015-07-21  Roland McGrath  <roland@hack.frob.com>
34011         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
34012         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
34013         rather than __nacl_irt_filename.
34014         * sysdeps/nacl/xstat.c (__xstat): Likewise.
34016         * NEWS: New item for arm-nacl port.
34017         * sysdeps/arm/nacl/libc.abilist: New file.
34018         * sysdeps/nacl/ld.abilist: New file.
34019         * sysdeps/nacl/libBrokenLocale.abilist: New file.
34020         * sysdeps/nacl/libanl.abilist: New file.
34021         * sysdeps/nacl/libcrypt.abilist: New file.
34022         * sysdeps/nacl/libdl.abilist: New file.
34023         * sysdeps/nacl/libm.abilist: New file.
34024         * sysdeps/nacl/libpthread.abilist: New file.
34025         * sysdeps/nacl/libresolv.abilist: New file.
34026         * sysdeps/nacl/librt.abilist: New file.
34028 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
34030         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
34031         __startcontext to initialize the new context.
34032         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
34033         up CFI directive to forbid further backtracing.
34035 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
34037         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
34038         reference.
34039         * charmaps/ANSI_X3.4-1968: Likewise.
34040         * charmaps/BS_4730: Likewise.
34041         * charmaps/BS_VIEWDATA: Likewise.
34042         * charmaps/CP1250: Likewise.
34043         * charmaps/CP1251: Likewise.
34044         * charmaps/CP1252: Likewise.
34045         * charmaps/CP1253: Likewise.
34046         * charmaps/CP1254: Likewise.
34047         * charmaps/CP1255: Likewise.
34048         * charmaps/CP1256: Likewise.
34049         * charmaps/CSN_369103: Likewise.
34050         * charmaps/EBCDIC-DK-NO: Likewise.
34051         * charmaps/GB_1988-80: Likewise.
34052         * charmaps/GREEK-CCITT: Likewise.
34053         * charmaps/GREEK7: Likewise.
34054         * charmaps/INIS-8: Likewise.
34055         * charmaps/ISIRI-3342: Likewise.
34056         * charmaps/ISO_2033-1983: Likewise.
34057         * charmaps/ISO_5427-EXT: Likewise.
34058         * locales/POSIX: Likewise.
34059         * locales/ar_SA: Likewise.
34060         * locales/be_BY: Likewise.
34061         * locales/be_BY@latin: Likewise.
34062         * locales/ca_ES: Likewise.
34063         * locales/cs_CZ: Likewise.
34064         * locales/da_DK: Likewise.
34065         * locales/de_BE: Likewise.
34066         * locales/de_CH: Likewise.
34067         * locales/de_LU: Likewise.
34068         * locales/en_AU: Likewise.
34069         * locales/en_BW: Likewise.
34070         * locales/en_CA: Likewise.
34071         * locales/en_DK: Likewise.
34072         * locales/en_GB: Likewise.
34073         * locales/en_IE: Likewise.
34074         * locales/en_NZ: Likewise.
34075         * locales/en_ZA: Likewise.
34076         * locales/en_ZW: Likewise.
34077         * locales/es_AR: Likewise.
34078         * locales/es_BO: Likewise.
34079         * locales/es_CL: Likewise.
34080         * locales/es_CO: Likewise.
34081         * locales/es_DO: Likewise.
34082         * locales/es_EC: Likewise.
34083         * locales/es_ES: Likewise.
34084         * locales/es_HN: Likewise.
34085         * locales/es_MX: Likewise.
34086         * locales/es_PA: Likewise.
34087         * locales/es_PE: Likewise.
34088         * locales/es_PY: Likewise.
34089         * locales/es_SV: Likewise.
34090         * locales/es_US: Likewise.
34091         * locales/es_UY: Likewise.
34092         * locales/es_VE: Likewise.
34093         * locales/et_EE: Likewise.
34094         * locales/fa_IR: Likewise.
34095         * locales/fo_FO: Likewise.
34096         * locales/fr_CA: Likewise.
34097         * locales/fr_CH: Likewise.
34098         * locales/gv_GB: Likewise.
34099         * locales/he_IL: Likewise.
34100         * locales/hr_HR: Likewise.
34101         * locales/id_ID: Likewise.
34102         * locales/is_IS: Likewise.
34103         * locales/it_CH: Likewise.
34104         * locales/iw_IL: Likewise.
34105         * locales/kl_GL: Likewise.
34106         * locales/ko_KR: Likewise.
34107         * locales/kw_GB: Likewise.
34108         * locales/lg_UG: Likewise.
34109         * locales/lt_LT: Likewise.
34110         * locales/lv_LV: Likewise.
34111         * locales/mi_NZ: Likewise.
34112         * locales/nhn_MX: Likewise.
34113         * locales/nl_BE: Likewise.
34114         * locales/pl_PL: Likewise.
34115         * locales/sk_SK: Likewise.
34116         * locales/sl_SI: Likewise.
34117         * locales/sv_FI: Likewise.
34118         * locales/tl_PH: Likewise.
34119         * locales/tr_TR: Likewise.
34120         * locales/vi_VN: Likewise.
34122 2015-07-21  Khem Raj  <raj.khem@gmail.com>
34124         [BZ #17475]
34125         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
34126         of tu_IN and bh_IN.
34128 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
34130         [BZ #18694]
34131         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
34132         bits/wordsize.h.
34133         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
34135 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34137         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
34138         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
34139         (spawn_thread): New function.
34140         (load): Rename to reg_dtor_and_close.  Move dlopen to...
34141         (do_test): ... here.  Use IS_LOADED to test for its
34142         availability.
34144 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
34146         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34148 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
34150         [BZ #18696]
34151         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
34152         si_addr_bnd.
34153         (si_lower): New.
34154         (si_upper): Likewise.
34156 2015-07-16  David S. Miller  <davem@davemloft.net>
34158         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
34160 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34162         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
34163         buffer.
34164         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
34165         fail output information.
34167 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34169         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
34170         and strstr-ppc64..
34171         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34172         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
34173         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
34174         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
34175         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
34177 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
34179         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34180         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34181         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34182         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34184 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
34186         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
34187         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
34188         rtld_hidden_proto.
34189         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
34191 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34193         * tst-nodelete-opened.c (do_test): Add comment to clarify how
34194         the test can fail.
34196         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
34198         [BZ #18676]
34199         * elf/tst-nodelete-opened.c: New test case.
34200         * elf/tst-nodelete-opened-lib.c: New test case module.
34201         * elf/Makefile (tests, modules-names): Use them.
34202         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
34203         early.
34205 2015-07-15  David S. Miller  <davem@davemloft.net>
34207         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
34208         futex-intenal.h
34209         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
34210         * sysdeps/sparc/sparc64/Makefile: Likewise.
34211         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34212         Remove space from macro define.
34213         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
34215 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
34217         [BZ #17475]
34218         * locale/iso-639.def: Update Bhili and Tulu language codes as
34219         per iso639-3.
34221 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
34223         * elf/tst-leaks1.c (main): Converted to ...
34224         (do_test): ... this.
34225         (TEST_FUNCTION): New macro.
34226         Include test-skeleton.c.
34227         * localedata/tst-langinfo.c (main): Converted to ...
34228         (do_test): ... this.
34229         (TEST_FUNCTION): New macro.
34230         Include test-skeleton.c.
34231         * math/test-fpucw.c (main): Converted to ...
34232         (do_test): ... this.
34233         (TEST_FUNCTION): New macro.
34234         Include test-skeleton.c.
34235         * math/test-tgmath.c (main): Converted to ...
34236         (do_test): ... this.
34237         (TEST_FUNCTION): New macro.
34238         Include test-skeleton.c.
34239         * math/test-tgmath2.c (main): Converted to ...
34240         (do_test): ... this.
34241         (TEST_FUNCTION): New macro.
34242         Include test-skeleton.c.
34243         * setjmp/tst-setjmp.c (main): Converted to ...
34244         (do_test): ... this.
34245         (TEST_FUNCTION): New macro.
34246         Include test-skeleton.c.
34247         * stdio-common/tst-sscanf.c (main): Converted to ...
34248         (do_test): ... this.
34249         (TEST_FUNCTION): New macro.
34250         Include test-skeleton.c.
34251         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
34252         (do_test): ... this.
34253         (TEST_FUNCTION): New macro.
34254         Include test-skeleton.c.
34256         * elf/tst-audit9.c (main): Converted to ...
34257         (do_test): ... this.
34258         (TEST_FUNCTION): New macro.
34259         Include test-skeleton.c.
34261 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
34263         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
34265 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
34267         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
34268         New variable.
34270 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
34272         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34274 2015-07-14  Roland McGrath  <roland@hack.frob.com>
34276         * sysdeps/generic/dl-fileid.h: New file.
34277         * sysdeps/posix/dl-fileid.h: New file.
34278         * sysdeps/nacl/dl-fileid.h: New file.
34279         * include/link.h: Include <dl-fileid.h>.
34280         (struct link_map): Replace l_dev and l_ino with l_file_id.
34281         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
34282         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
34283         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
34285 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34287         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
34289 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34291         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
34292         Add iff $CXX is set.
34293         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
34294         Likewise.
34295         (tst-nodelete-zmodiff): Likewise.
34296         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
34298 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34300         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
34302 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
34304         * sysdeps/aarch64/fpu/math_private.h
34305         (define math_opt_barrier): Add AArch64 version.
34306         (math_force_eval): Likewise.
34308 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
34310         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
34312 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
34314         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
34315         %ld with %jd and cast to intmax_t.
34316         (do_test_length_zero): Likewise.
34318 2015-07-10  Roland McGrath  <roland@hack.frob.com>
34320         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
34322 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
34324         * sysdeps/tile/libm-test-ulps: Regenerated.
34326         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
34327         Comment out the whole function, not just its body.
34329 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34331         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
34332         locks.
34334         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
34336 2015-07-10  Torvald Riegel  <triegel@redhat.com>
34338         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
34339         (sem_assume_only_signals_cause_futex_EINTR): Remove.
34341 2015-07-10  Torvald Riegel  <triegel@redhat.com>
34343         * sysdeps/nptl/futex-internal.h: New file.
34344         * sysdeps/nacl/futex-internal.h: New file.
34345         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
34346         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
34347         error checking.
34348         (setxid_unmark_thread): Likewise.
34349         (__nptl_setxid): Likewise.
34350         (__wait_lookup_done): Likewise.
34351         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34352         * nptl/nptl-init.c (sighandler_setxid): Likewise.
34353         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
34354         * nptl/pthread_once.c (clear_once_control): Likewise.
34355         (__pthread_once_slow): Likewise.
34356         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
34357         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
34358         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
34359         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
34360         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
34361         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
34362         Likewise.
34363         (__pthread_rwlock_rdlock): Likewise.
34364         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34365         Likewise.
34366         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34367         Likewise.
34368         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34369         Likewise.
34370         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
34371         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
34372         Likewise.
34373         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
34374         __ASSUME_PRIVATE_FUTEX check.
34375         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
34376         Check that shared futexes are supported.
34377         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
34378         wrappers with error checking.
34379         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
34380         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
34381         * nptl/pthread_barrierattr_setpshared.c
34382         (pthread_barrierattr_setpshared): Check that shared futexes are
34383         supported.
34384         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
34385         Likewise.
34386         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
34387         Likewise.
34388         * nptl/sem_init.c (futex_private_if_supported): Remove.
34389         (__new_sem_init): Adapt and check that shared futexes are supported.
34390         * nptl/sem_open.c (sem_open): Likewise.
34391         * nptl/sem_post.c (futex_wake): Remove.
34392         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
34393         (do_futex_wait): Use futex wrappers with error checking.
34394         * nptl/sem_wait.c: Include lowlevellock.h.
34395         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
34396         Use futex_supports_pshared.
34397         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
34398         Use futex wrappers with error checking.
34399         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
34400         Likewise.
34401         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
34402         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
34403         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
34404         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
34405         (futex_wake): Likewise.
34406         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
34407         (do_futex_wait): Use futex wrappers with error checking.
34408         (__new_sem_wait_slow): Update EINTR handling.
34409         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
34411 2015-07-09  Martin Sebor  <msebor@redhat.com>
34413         [BZ #18435]
34414         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34415         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
34416         * nptl/Makefile (test-xfail-tst-once5): Define.
34418 2015-07-09  Roland McGrath  <roland@hack.frob.com>
34420         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
34421         * elf/dl-minimal.c: For readability, reorder some definitions and
34422         introduce more page breaks.  Include <stdio.h>.
34423         (__libc_fatal): New function.
34425         * include/unistd.h: Add rtld_hidden_proto for _exit.
34426         * posix/_exit.c: Add rtld_hidden_def.
34427         * sysdeps/mach/hurd/_exit.c: Likewise.
34428         * sysdeps/nacl/_exit.c: Likewise.
34429         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
34430         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
34432 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
34434         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
34435         bndmov encoding with zero displacement.
34437 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
34438             H.J. Lu  <hongjiu.lu@intel.com>
34440         [BZ #18134]
34441         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
34442         * sysdeps/i386/configure: Regenerated.
34443         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34444         (_dl_runtime_profile): Save and restore Intel MPX return bound
34445         registers when calling _dl_call_pltexit.  Add
34446         PRESERVE_BND_REGS_PREFIX before return.
34447         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
34448         (LRV_BND1_OFFSET): Likewise.
34449         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
34450         lrv_bnd1.
34451         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
34452         typo in bndmov encoding.
34453         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
34454         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
34455         branch instructions to preserve bounds.
34457 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
34460         [GLIBC_2.22]: Add fmemopen.
34462 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34464         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
34465         returns an error, also try to use host port from __mach_host_self for
34466         the __vm_wire call.
34467         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
34469 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34471         [BZ #18400]
34472         [BZ #18648]
34473         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
34474         Fix pr_uid and pr_gid members.
34475         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
34476         definition to elf_greg_t.
34478 2015-07-08  Roland McGrath  <roland@hack.frob.com>
34480         [BZ #18383]
34481         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
34482         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
34483         * sysdeps/arm/configure: Regenerated.
34484         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
34485         (test-xfail-tst-tlsalign-static): Variable removed.
34487         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
34488         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
34489         rather than explicit 'ln -s'.
34491         * resolv/rpc/netdb.h: New file.
34492         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
34494 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34496         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
34497         length buffers.
34498         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34499         test-skeleton.c.
34501         [BZ #6544]
34502         [BZ #11216]
34503         [BZ #12836]
34504         [BZ #13151]
34505         [BZ #13152]
34506         [BZ #14292]
34507         * include/stdio.h (fmemopen): Remove hidden prototype.
34508         (__fmemopen): Add new hidden prototype.
34509         * libio/Makefile: Add oldfmemopen object.
34510         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
34511         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
34512         compliance.
34513         * libio/oldfmemopen.c: New file: old fmemopen implementation for
34514         symbol compatibility.
34515         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
34516         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
34517         fmemopen.
34518         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
34519         on append and read mode.
34520         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
34521         fmemopen.
34522         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
34523         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
34524         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
34525         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
34526         Likewise.
34527         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
34528         [GLIBC_2.22]: Likewise.
34529         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
34530         Likewise.
34531         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
34532         Likewise.
34533         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
34534         [GLIBC_2.22]: Likewise.
34535         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
34536         [GLIBC_2.22]: Likewise.
34537         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
34538         [GLIBC_2.22]: Likewise.
34539         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
34540         [GLIBC_2.22]: Likewise.
34541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
34542         [GLIBC_2.22]: Likewise.
34543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
34544         [GLIBC_2.22]: Likewise.
34545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
34546         [GLIBC_2.22]: Likewise.
34547         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
34548         Likewise.
34549         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
34550         Likewise.
34551         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
34552         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
34553         [GLIBC_2.22]: Likewise.
34554         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
34555         [GLIBC_2.22]: Likewise.
34556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
34557         [GLIBC_2.22]: Likewise.
34558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
34559         [GLIBC_2.22]: Likewise.
34560         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
34561         Likewise.
34562         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
34563         Likewise.
34564         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
34565         Likewise.
34566         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
34567         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
34569 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
34571         [BZ #18643]
34572         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
34573         IPV6_PATHMTU, and IPV6_DONTFRAG.
34575 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
34577         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
34578         and _IO_UNBUFFERED.
34579         * libio/oldfileops.c: Likewise.
34580         * libio/wfileops.c: Likewise.
34582 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
34584         * nscd/selinux.c: Delete selinux/flask.h include.
34586 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
34588         [BZ #18641]
34589         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
34590         (putpwent): Likewise.
34591         (getpwnam): Likewise.
34592         (getpwent_r): Likewise.
34593         (getpwuid_r): Likewise.
34594         (getpwnam_r): Likewise.
34595         (fgetpwent_r): Likewise.
34597 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
34599         [BZ #18557]
34600         * inet/rcmd.c (__validuser2_sa): Check user first to
34601         short-circuit host check.
34603 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
34604             Mikhail Ilin  <m.ilin@samsung.com>
34606         [BZ #17833]
34607         * elf/Makefile (tests): Add tst-nodelete.
34608         (modules-names): Add tst-nodelete-uniquemod.
34609         (tst-nodelete-uniquemod.so-no-z-defs): New.
34610         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
34611         (tst-nodelete-zmod.so-no-z-defs): Likewise.
34612         ($(objpfx)tst-nodelete): Likewise.
34613         ($(objpfx)tst-nodelete.out): Likewise.
34614         (LDFLAGS-tst-nodelete): Likewise.
34615         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
34616         * elf/dl-close.c (_dl_close_worker): Add a parameter to
34617         implement forced object deletion.
34618         (_dl_close): Pass false to _dl_close_worker.
34619         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
34620         * elf/tst-nodelete.cc: New file.
34621         * elf/tst-nodeletelib.cc: Likewise.
34622         * elf/tst-znodeletelib.cc: Likewise.
34623         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
34625 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34627         [BZ #18508]
34628         * stdlib/Makefile ($(objpfx)tst-makecontext3):
34629         Depend on $(libdl).
34630         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
34631         is not called infinitely times.
34632         (backtrace_helper): New function.
34633         (trace_arg): New struct.
34634         (st1): Enlarge stack size.
34635         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34636         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
34637         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34638         Likewise.
34640 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34642         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34644 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34646         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
34647         Include sys/types.h instead of bits/types.h.
34648         Remove inclusion of bits/wordsize.h.
34650 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34652         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
34653         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
34654         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
34655         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
34656         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
34657         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
34659 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34661         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
34662         link-defines.sym.
34663         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
34664         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
34665         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
34666         and LR_SIZE.
34667         * sysdeps/i386/link-defines.sym: New file.
34669 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34671         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
34672         (modules-names): Add tst-auditmod3a tst-auditmod3b.
34673         ($(objpfx)tst-audit3): New rule.
34674         ($(objpfx)tst-audit3.out): Likewise.
34675         * sysdeps/i386/tst-audit3.c: New file.
34676         * sysdeps/i386/tst-audit3.h: Likewise.
34677         * sysdeps/i386/tst-auditmod3a.c: Likewise.
34678         * sysdeps/i386/tst-auditmod3b.c: Likewise.
34680 2015-07-07  Torvald Riegel  <triegel@redhat.com>
34682         [BZ #18633]
34683         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
34684         pointer in C code.
34685         (__strcat_c): Likewise.
34686         (__strcat_g): Likewise.
34688 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
34690         [BZ #18592]
34691         * misc/sbrk.c: Set errno to ENOMEM on overflow.
34693 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
34695         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
34696         New function.  (__ieee754_sqrtf): New function.
34697         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
34698         New function.
34699         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
34700         New function.
34702 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
34704         * sysdeps/ieee754/support.c: Remove unused file.
34706 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34708         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
34709         registers instead of d ones so the layout is kernel abi compatible.
34710         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
34711         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
34712         Likewise.
34714 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34716         * sysdeps/aarch64/libm-test-ulps: Regenerated.
34718 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
34720         [BZ #18619]
34721         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
34722         and return argument in case of subnormal argument.
34724 2015-07-01  Martin Sebor  <msebor@redhat.com>
34726         [BZ #18435]
34727         * nptl/Makefile: Add tst-once5.cc.
34728         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34729         Remove macro redefinitions.
34730         * nptl/tst-once5.cc: New test.
34732 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
34734         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34736         * sysdeps/arm/libm-test-ulps: Regenerated.
34738         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34739         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34741 2015-06-30  Torvald Riegel  <triegel@redhat.com>
34743         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
34744         lll_lock_wait_private and lll_futex_wake probes.
34746         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34747         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
34748         Likewise.
34749         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
34750         atomic_spin_nop.
34751         * sysdeps/x86_64/bits/atomic.h: Likewise.
34752         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
34753         to atomic_spin_nop and move ...
34754         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34755         ... here and ...
34756         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
34757         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
34758         atomic_spin_nop instead of BUSY_WAIT_NOP.
34759         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
34760         Likewise.
34761         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
34762         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34763         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
34764         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
34765         instead of atomic_delay.
34767 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
34769         [BZ #18613]
34770         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
34771         X_ADJ not X when adjusting exponent.
34772         (__ieee754_gamma_r): Do intermediate computations in
34773         round-to-nearest then adjust overflowing and underflowing results
34774         as needed.
34775         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
34776         of X_ADJ not X when adjusting exponent.
34777         (__ieee754_gammaf_r): Do intermediate computations in
34778         round-to-nearest then adjust overflowing and underflowing results
34779         as needed.
34780         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
34781         log of X_ADJ not X when adjusting exponent.
34782         (__ieee754_gammal_r): Do intermediate computations in
34783         round-to-nearest then adjust overflowing and underflowing results
34784         as needed.  Use 1.0L not 1.0f as numerator of division.
34785         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
34786         log of X_ADJ not X when adjusting exponent.
34787         (__ieee754_gammal_r): Do intermediate computations in
34788         round-to-nearest then adjust overflowing and underflowing results
34789         as needed.  Use 1.0L not 1.0f as numerator of division.
34790         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
34791         of X_ADJ not X when adjusting exponent.
34792         (__ieee754_gammal_r): Do intermediate computations in
34793         round-to-nearest then adjust overflowing and underflowing results
34794         as needed.  Use 1.0L not 1.0f as numerator of division.
34795         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
34796         to auto-libm-test-in.
34797         (tgamma_test): Use ALL_RM_TEST.
34798         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
34799         tests of tgamma with spurious-overflow.
34800         * math/auto-libm-test-out: Regenerated.
34801         * math/gen-libm-have-vector-test.sh: Do not check for START.
34802         * sysdeps/i386/fpu/libm-test-ulps: Update.
34803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34805         [BZ #18612]
34806         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
34807         arguments, just return 0.5 times the argument, with underflow
34808         forced as needed.
34809         * math/auto-libm-test-in: Add more tests of j1.
34810         * math/auto-libm-test-out: Regenerated.
34812         [BZ #16559]
34813         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
34814         (__ieee754_j1): Force underflow exception for small results.
34815         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34816         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
34817         (__ieee754_j1f): Force underflow exception for small results.
34818         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34819         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34820         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34821         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
34822         (__ieee754_j1l): Force underflow exception for small results.
34823         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34824         * math/auto-libm-test-in: Add more tests of j1 and jn.
34825         * math/auto-libm-test-out: Regenerated.
34827         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
34828         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
34829         (PF_MPLS): Likewise.
34830         (AF_IB): Likewise.
34831         (AF_MPLS): Likewise.
34832         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
34833         value and macro.
34834         (MS_RMT_MASK): Include MS_LAZYTIME.
34836 2015-06-26  Mel Gorman  <mgorman@suse.de>
34838         [BZ #18502]
34839         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
34840         already minimal.
34842 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
34844         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
34845         (DT_MIPS_NUM): Update.
34846         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
34847         DT_MIPS_RLD_MAP_REL.
34849 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
34851         [BZ #16559]
34852         [BZ #18602]
34853         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
34854         round-to-nearest internally then recompute results that
34855         underflowed to zero in the original rounding mode.
34856         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34857         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34858         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34859         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34860         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
34861         * sysdeps/i386/fpu/libm-test-ulps: Update.
34862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34864 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
34866         * NEWS: Fixed description of link with vector math library.
34868 2015-06-25  Andreas Schwab  <schwab@suse.de>
34870         [BZ #18549]
34871         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
34872         * libio/test-fmemopen.c (do_test): Add test for it.
34874 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
34876         [BZ #17841]
34877         * Makeconfig (no-pie-ldflag): New.
34878         (+link): Set to $(+link-pie) if default to PIE.
34879         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
34880         * config.make.in (build-pie-default): New.
34881         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
34882         is default.  AC_SUBST.
34883         * configure: Regenerated.
34884         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
34886 2015-06-24  Roland McGrath  <roland@hack.frob.com>
34888         * nptl/descr.h (struct pthread): Change type of field setxid_futex
34889         to 'unsigned int'.
34891         * resolv/gai_misc.h (struct waitlist): Change type of field
34892         counterp to 'volatile unsigned int *'.
34893         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
34894         FUTEXADDR and OLDVAL.
34895         * resolv/getaddrinfo_a.c (getaddrinfo_a):
34896         Give local variable TOTAL type 'volatile unsigned int'.
34897         (struct async_waitlist): Change type of field counter to 'unsigned int'.
34898         * resolv/gai_suspend.c (gai_suspend):
34899         Give local variable CNTR type 'unsigned int'.
34901         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
34902         counterp to 'volatile unsigned int *'.
34903         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
34904         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
34905         (aio_suspend): Give local variable CNTR type 'unsigned int'.
34906         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
34907         Give local variable TOTAL type 'volatile unsigned int'.
34908         (struct async_waitlist): Change type of field counter to 'unsigned int'.
34910 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34912         [BZ #18383]
34913         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
34914         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
34915         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
34916         comment for i386/x86-64.
34917         (test-xfail-tst-tlsalign-extern-static): Removed.
34919 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
34921         * math/test-double.h: New file.
34922         * math/test-float.h: Likewise.
34923         * math/test-ldouble.h: Likewise.
34924         * math/test-math-inline.h: Likewise.
34925         * math/test-math-no-inline.h: Likewise.
34926         * math/test-math-scalar.h: Likewise.
34927         * math/test-math-vector.h: Likewise.
34928         * math/test-vec-loop.h: Remove file.  Contents moved into
34929         test-math-vector.h.
34930         * math/libm-test.inc (MATHCONST): Do not document macro.
34931         * math/test-double.c: Include test-double.h, test-math-no-inline.h
34932         and test-math-scalar.h.
34933         (FUNC): Remove macro.
34934         (FUNC_TEST): Likewise.
34935         (FLOAT): Likewise.
34936         (MATHCONST): Likewise.
34937         (PRINTF_EXPR): Likewise.
34938         (PRINTF_XEXPR): Likewise.
34939         (PRINTF_NEXPR): Likewise.
34940         (TEST_DOUBLE): Likewise.
34941         (TEST_MATHVEC): Likewise.
34942         (__NO_MATH_INLINES): Likewise.
34943         * math/test-float.c: Include test-float.h, test-math-no-inline.h
34944         and test-math-scalar.h.
34945         (FUNC): Remove macro.
34946         (FUNC_TEST): Likewise.
34947         (FLOAT): Likewise.
34948         (MATHCONST): Likewise.
34949         (PRINTF_EXPR): Likewise.
34950         (PRINTF_XEXPR): Likewise.
34951         (PRINTF_NEXPR): Likewise.
34952         (TEST_FLOAT): Likewise.
34953         (TEST_MATHVEC): Likewise.
34954         (__NO_MATH_INLINES): Likewise.
34955         * math/test-idouble.c: Include test-double.h, test-math-inline.h
34956         and test-math-scalar.h.
34957         (FUNC): Remove macro.
34958         (FUNC_TEST): Likewise.
34959         (FLOAT): Likewise.
34960         (MATHCONST): Likewise.
34961         (PRINTF_EXPR): Likewise.
34962         (PRINTF_XEXPR): Likewise.
34963         (PRINTF_NEXPR): Likewise.
34964         (TEST_DOUBLE): Likewise.
34965         (TEST_MATHVEC): Likewise.
34966         (TEST_INLINE): Likewise.
34967         (__NO_MATH_INLINES): Likewise.
34968         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
34969         test-math-scalar.h.
34970         (FUNC): Remove macro.
34971         (FUNC_TEST): Likewise.
34972         (FLOAT): Likewise.
34973         (MATHCONST): Likewise.
34974         (PRINTF_EXPR): Likewise.
34975         (PRINTF_XEXPR): Likewise.
34976         (PRINTF_NEXPR): Likewise.
34977         (TEST_FLOAT): Likewise.
34978         (TEST_MATHVEC): Likewise.
34979         (TEST_INLINE): Likewise.
34980         (__NO_MATH_INLINES): Likewise.
34981         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
34982         and test-math-scalar.h.
34983         (FUNC): Remove macro.
34984         (FUNC_TEST): Likewise.
34985         (FLOAT): Likewise.
34986         (MATHCONST): Likewise.
34987         (PRINTF_EXPR): Likewise.
34988         (PRINTF_XEXPR): Likewise.
34989         (PRINTF_NEXPR): Likewise.
34990         (TEST_LDOUBLE): Likewise.
34991         (TEST_MATHVEC): Likewise.
34992         (TEST_INLINE): Likewise.
34993         (__NO_MATH_INLINES): Likewise.
34994         * math/test-ldouble.c: Include test-ldouble.h,
34995         test-math-no-inline.h and test-math-scalar.h.
34996         (FUNC): Remove macro.
34997         (FUNC_TEST): Likewise.
34998         (FLOAT): Likewise.
34999         (MATHCONST): Likewise.
35000         (PRINTF_EXPR): Likewise.
35001         (PRINTF_XEXPR): Likewise.
35002         (PRINTF_NEXPR): Likewise.
35003         (TEST_LDOUBLE): Likewise.
35004         (TEST_MATHVEC): Likewise.
35005         (__NO_MATH_INLINES): Likewise.
35006         * math/test-double-vlen2.h: Include test-double.h,
35007         test-math-no-inline.h and test-math-vector.h.
35008         (FLOAT): Remove macro.
35009         (FUNC): Likewise.
35010         (MATHCONST): Likewise.
35011         (PRINTF_EXPR): Likewise.
35012         (PRINTF_XEXPR): Likewise.
35013         (PRINTF_NEXPR): Likewise.
35014         (TEST_DOUBLE): Likewise.
35015         (TEST_MATHVEC): Likewise.
35016         (__NO_MATH_INLINES): Likewise.
35017         (CNCT): Likewise.
35018         (CONCAT): Likewise.
35019         (WRAPPER_NAME): Likewise.
35020         (WRAPPER_DECL): Likewise.
35021         (WRAPPER_DECL_ff): Likewise.
35022         (WRAPPER_DECL_fFF): Likewise.
35023         (VECTOR_WRAPPER): Likewise.
35024         (VECTOR_WRAPPER_ff): Likewise.
35025         (VECTOR_WRAPPER_fFF): Likewise.
35026         (VEC_LEN): New macro.
35027         * math/test-double-vlen4.h: Include test-double.h,
35028         test-math-no-inline.h and test-math-vector.h.
35029         (FLOAT): Remove macro.
35030         (FUNC): Likewise.
35031         (MATHCONST): Likewise.
35032         (PRINTF_EXPR): Likewise.
35033         (PRINTF_XEXPR): Likewise.
35034         (PRINTF_NEXPR): Likewise.
35035         (TEST_DOUBLE): Likewise.
35036         (TEST_MATHVEC): Likewise.
35037         (__NO_MATH_INLINES): Likewise.
35038         (CNCT): Likewise.
35039         (CONCAT): Likewise.
35040         (WRAPPER_NAME): Likewise.
35041         (WRAPPER_DECL): Likewise.
35042         (WRAPPER_DECL_ff): Likewise.
35043         (WRAPPER_DECL_fFF): Likewise.
35044         (VECTOR_WRAPPER): Likewise.
35045         (VECTOR_WRAPPER_ff): Likewise.
35046         (VECTOR_WRAPPER_fFF): Likewise.
35047         (VEC_LEN): New macro.
35048         * math/test-double-vlen8.h: Include test-double.h,
35049         test-math-no-inline.h and test-math-vector.h.
35050         (FLOAT): Remove macro.
35051         (FUNC): Likewise.
35052         (MATHCONST): Likewise.
35053         (PRINTF_EXPR): Likewise.
35054         (PRINTF_XEXPR): Likewise.
35055         (PRINTF_NEXPR): Likewise.
35056         (TEST_DOUBLE): Likewise.
35057         (TEST_MATHVEC): Likewise.
35058         (__NO_MATH_INLINES): Likewise.
35059         (CNCT): Likewise.
35060         (CONCAT): Likewise.
35061         (WRAPPER_NAME): Likewise.
35062         (WRAPPER_DECL): Likewise.
35063         (WRAPPER_DECL_ff): Likewise.
35064         (WRAPPER_DECL_fFF): Likewise.
35065         (VECTOR_WRAPPER): Likewise.
35066         (VECTOR_WRAPPER_ff): Likewise.
35067         (VECTOR_WRAPPER_fFF): Likewise.
35068         (VEC_LEN): New macro.
35069         * math/test-float-vlen4.h: Include test-float.h,
35070         test-math-no-inline.h and test-math-vector.h.
35071         (FLOAT): Remove macro.
35072         (FUNC): Likewise.
35073         (MATHCONST): Likewise.
35074         (PRINTF_EXPR): Likewise.
35075         (PRINTF_XEXPR): Likewise.
35076         (PRINTF_NEXPR): Likewise.
35077         (TEST_FLOAT): Likewise.
35078         (TEST_MATHVEC): Likewise.
35079         (__NO_MATH_INLINES): Likewise.
35080         (CNCT): Likewise.
35081         (CONCAT): Likewise.
35082         (WRAPPER_NAME): Likewise.
35083         (WRAPPER_DECL): Likewise.
35084         (WRAPPER_DECL_ff): Likewise.
35085         (WRAPPER_DECL_fFF): Likewise.
35086         (VECTOR_WRAPPER): Likewise.
35087         (VECTOR_WRAPPER_ff): Likewise.
35088         (VECTOR_WRAPPER_fFF): Likewise.
35089         (VEC_LEN): New macro.
35090         * math/test-float-vlen8.h: Include test-float.h,
35091         test-math-no-inline.h and test-math-vector.h.
35092         (FLOAT): Remove macro.
35093         (FUNC): Likewise.
35094         (MATHCONST): Likewise.
35095         (PRINTF_EXPR): Likewise.
35096         (PRINTF_XEXPR): Likewise.
35097         (PRINTF_NEXPR): Likewise.
35098         (TEST_FLOAT): Likewise.
35099         (TEST_MATHVEC): Likewise.
35100         (__NO_MATH_INLINES): Likewise.
35101         (CNCT): Likewise.
35102         (CONCAT): Likewise.
35103         (WRAPPER_NAME): Likewise.
35104         (WRAPPER_DECL): Likewise.
35105         (WRAPPER_DECL_ff): Likewise.
35106         (WRAPPER_DECL_fFF): Likewise.
35107         (VECTOR_WRAPPER): Likewise.
35108         (VECTOR_WRAPPER_ff): Likewise.
35109         (VECTOR_WRAPPER_fFF): Likewise.
35110         (VEC_LEN): New macro.
35111         * math/test-float-vlen16.h: Include test-float.h,
35112         test-math-no-inline.h and test-math-vector.h.
35113         (FLOAT): Remove macro.
35114         (FUNC): Likewise.
35115         (MATHCONST): Likewise.
35116         (PRINTF_EXPR): Likewise.
35117         (PRINTF_XEXPR): Likewise.
35118         (PRINTF_NEXPR): Likewise.
35119         (TEST_FLOAT): Likewise.
35120         (TEST_MATHVEC): Likewise.
35121         (__NO_MATH_INLINES): Likewise.
35122         (CNCT): Likewise.
35123         (CONCAT): Likewise.
35124         (WRAPPER_NAME): Likewise.
35125         (WRAPPER_DECL): Likewise.
35126         (WRAPPER_DECL_ff): Likewise.
35127         (WRAPPER_DECL_fFF): Likewise.
35128         (VECTOR_WRAPPER): Likewise.
35129         (VECTOR_WRAPPER_ff): Likewise.
35130         (VECTOR_WRAPPER_fFF): Likewise.
35131         (VEC_LEN): New macro.
35132         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
35133         test-vec-loop.h.
35134         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35135         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35136         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35137         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35138         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35139         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35140         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35142 2015-06-24  Roland McGrath  <roland@hack.frob.com>
35144         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
35145         (__getlogin_r): ... this.
35147 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
35149         [BZ #18594]
35150         * math/s_ccosh.c (__ccosh): Compare with least normal value
35151         instead of comparing class with FP_SUBNORMAL.
35152         * math/s_ccoshf.c (__ccoshf): Likewise.
35153         * math/s_ccoshl.c (__ccoshl): Likewise.
35154         * math/s_cexp.c (__cexp): Likewise.
35155         * math/s_cexpf.c (__cexpf): Likewise.
35156         * math/s_cexpl.c (__cexpl): Likewise.
35157         * math/s_csin.c (__csin): Likewise.
35158         * math/s_csinf.c (__csinf): Likewise.
35159         * math/s_csinh.c (__csinh): Likewise.
35160         * math/s_csinhf.c (__csinhf): Likewise.
35161         * math/s_csinhl.c (__csinhl): Likewise.
35162         * math/s_csinl.c (__csinl): Likewise.
35163         * math/s_ctan.c (__ctan): Likewise.
35164         * math/s_ctanf.c (__ctanf): Likewise.
35165         * math/s_ctanh.c (__ctanh): Likewise.
35166         * math/s_ctanhf.c (__ctanhf): Likewise.
35167         * math/s_ctanhl.c (__ctanhl): Likewise.
35168         * math/s_ctanl.c (__ctanl): Likewise.
35169         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
35170         csin, csinh, ctan and ctanh.
35171         * math/auto-libm-test-out: Regenerated.
35172         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
35173         * sysdeps/i386/fpu/libm-test-ulps: Update.
35174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35176 2015-06-24  Roland McGrath  <roland@hack.frob.com>
35178         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
35179         return value is wrong, print the expected value too.
35181 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35183         [BZ #18585]
35184         * elf/readlib.c (is_gdb_python_file): New.
35185         (process_file): Don't issue errors on filenames with -gdb.py
35186         suffix.
35188 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
35190         * math/auto-libm-test-in: Add more tests of csin and csinh.
35191         * math/auto-libm-test-out: Regenerated.
35192         * math/libm-test.inc (csin_test_data): Remove tests moved to
35193         auto-libm-test-in.
35194         (csinh_test_data): Likewise.
35196         [BZ #18593]
35197         * math/s_csin.c (__csin): Negate before rather than after possibly
35198         overflowing multiplication.
35199         * math/s_csinf.c (__csinf): Likewise.
35200         * math/s_csinh.c (__csinh): Likewise.
35201         * math/s_csinhf.c (__csinhf): Likewise.
35202         * math/s_csinhl.c (__csinhl): Likewise.
35203         * math/s_csinl.c (__csinl): Likewise.
35204         * math/auto-libm-test-in: Add some tests of csin and csinh.
35205         * math/auto-libm-test-out: Regenerated.
35206         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
35207         (csinh_test_data): Likewise.
35208         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35210         [BZ #18586]
35211         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
35212         underflow exception for small results.
35214 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
35216         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35217         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
35218         variable and included header.
35219         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
35220         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
35221         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
35222         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
35223         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
35224         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
35225         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
35226         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
35227         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
35228         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
35229         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
35230         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
35231         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
35232         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
35233         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
35234         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
35236 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
35238         [BZ #16526]
35239         [BZ #16538]
35240         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
35241         (__sin): Force underflow exception for arguments with small
35242         absolute value.
35243         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
35244         (__kernel_sinf): Force underflow exception for arguments with
35245         small absolute value.
35246         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
35247         (__kernel_sincosl): Force underflow exception for arguments with
35248         small absolute value.
35249         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
35250         (__kernel_sinl): Force underflow exception for arguments with
35251         small absolute value.
35252         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
35253         (__kernel_sincosl): Force underflow exception for arguments with
35254         small absolute value.
35255         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
35256         (__kernel_sinl): Force underflow exception for arguments with
35257         small absolute value.
35258         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
35259         (__kernel_sinl): Force underflow exception for arguments with
35260         small absolute value.
35261         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
35262         (__kernel_sinf): Force underflow exception for arguments with
35263         small absolute value.
35264         * math/auto-libm-test-in: Add more tests of sin and sincos.
35265         * math/auto-libm-test-out: Regenerated.
35267         [BZ #18245]
35268         [BZ #18583]
35269         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
35270         (__kernel_standard_l): Use feholdexcept and fesetenv around
35271         conversion to double instead of special-casing overflow and
35272         underflow.
35273         * math/libm-test.inc (fmod_test_data): Add more tests.
35274         (remainder_test_data): Likewise.
35275         (sqrt_test_data): Likewise.
35277 2015-06-23  Torvald Riegel  <triegel@redhat.com>
35279         [BZ #17403]
35280         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
35281         atomic_read_barrier, atomic_write_barrier): Define.
35282         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
35283         atomic_read_barrier, atomic_write_barrier): Define.
35285 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
35287         * math/Makefile [$(PERL) != no]
35288         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
35289         dependency on libm-test.stmp below the inclusion of Rules.
35291 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
35293         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35294         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
35295         and included header.
35296         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
35297         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
35298         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
35299         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
35300         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
35301         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
35302         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
35303         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
35304         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
35305         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
35306         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
35307         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
35308         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
35309         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
35310         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
35311         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
35312         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
35313         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
35314         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
35316 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
35318         [BZ #18371]
35319         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
35320         intermediate but not final result might underflow.
35321         * math/s_csqrtf.c (__csqrtf): Likewise.
35322         * math/s_csqrtl.c (__csqrtl): Likewise.
35323         * math/auto-libm-test-in: Add more tests of csqrt.
35324         * math/auto-libm-test-out: Regenerated.
35325         * sysdeps/i386/fpu/libm-test-ulps: Update.
35327         [BZ #18219]
35328         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
35329         threshold on absolute value of exponent for which scaling is used.
35330         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35331         * math/auto-libm-test-in: Add more tests of exp2.
35332         * math/auto-libm-test-out: Regenerated.
35334 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
35336         [BZ #17977]
35337         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
35338         when initializing interface list, based on the bug analysis
35339         and the patch proposed by Eric Newton.
35340         * resolv/tst-res_hconf_reorder.c: New test.
35341         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
35342         tst-res_hconf_reorder.
35343         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
35344         and $(shared-thread-library).
35345         (tst-res_hconf_reorder-ENV): New variable.
35347         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
35348         in comment.
35350 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
35352         [BZ #16353]
35353         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
35354         (__expm1): Force underflow exception for arguments with small
35355         absolute value.
35356         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
35357         (__expm1f): Force underflow exception for arguments with small
35358         absolute value.
35359         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
35360         (__expm1): Force underflow exception for arguments with small
35361         absolute value.
35362         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
35363         (__expm1f): Force underflow exception for arguments with small
35364         absolute value.
35365         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35366         Check for small arguments before calling __expm1.
35367         * math/auto-libm-test-in: Do not mark underflow exceptions as
35368         possibly missing for bug 16353.
35369         * math/auto-libm-test-out: Regenerated.
35371 2015-06-22  Andreas Schwab  <schwab@suse.de>
35373         [BZ #18513]
35374         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
35375         PTR queries.
35377 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
35379         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
35381         * string/strcoll_l.c: Remove unused struct element idxnow.
35383 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
35385         [BZ #18569]
35386         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
35387         underflow and return argument in case of subnormal argument.
35388         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35389         Likewise.
35390         * math/auto-libm-test-in: Add more tests of expm1.
35391         * math/auto-libm-test-out: Regenerated.
35393         [BZ #16361]
35394         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35395         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35396         tiny results.
35397         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35398         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35399         tiny results.
35400         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
35401         mark underflow exceptions as possibly missing for bug 16361.
35402         * math/auto-libm-test-out: Regenerated.
35404 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
35406         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
35407         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
35408         Remove variable.
35409         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35410         (test-xfail-XOPEN2K8/utmpx.h/conform).
35412         * conform/conformtest.pl ($xerrors): New variable.
35413         (note_error): New function.
35414         (compiletest): New argument $xfail.  Use not_error.
35415         (runtest): Likewise.
35416         (top level): Handle xfail- lines.  Update calls to compiletest and
35417         runtest.  Handle xfail- and optional- in headers listed with
35418         allow-header.
35419         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
35420         (O_EXEC): Likewise.
35421         (O_SEARCH): Likewise.
35422         * conform/data/stropts.h-data (ioctl): Likewise.
35423         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
35424         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
35425         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
35426         (msghdr.msg_controllen): Likewise.
35427         (cmsghdr.cmsg_len): Likewise.
35428         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
35429         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
35430         variable.
35431         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35432         (test-xfail-XPG4/stropts.h/conform): Likewise.
35433         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35434         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35435         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35436         (test-xfail-UNIX98/stropts.h/conform): Likewise.
35437         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35438         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35439         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35440         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35441         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35442         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35443         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35444         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35445         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35446         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35447         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35448         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35449         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35450         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35451         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35453 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
35455         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
35456         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
35457         definitions for proper unfolding of __MATHDECL_VEC.
35459 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35461         * benchtests/bench-strcoll.c:
35462         Include string.h.
35463         (main): Remove unused variable res.
35465 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35467         * timezone/Makefile (%/UTC %/Universal):
35468         Generate test-result files for UTC and Universal.
35470 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35472         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
35474 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
35476         [BZ #16350]
35477         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
35478         for arguments with small absolute value.
35479         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
35480         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
35481         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
35482         (__asinh): Force underflow exception for arguments with small
35483         absolute value.
35484         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
35485         (__asinhf): Force underflow exception for arguments with small
35486         absolute value.
35487         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
35488         (__asinhl): Force underflow exception for arguments with small
35489         absolute value.
35490         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
35491         (__asinhl): Force underflow exception for arguments with small
35492         absolute value.
35493         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
35494         (__asinhl): Force underflow exception for arguments with small
35495         absolute value.
35496         * math/auto-libm-test-in: Do not mark underflow exceptions as
35497         possibly missing for bug 16350.
35498         * math/auto-libm-test-out: Regenerated.
35500         * include/bits/ipc.h: Remove file.
35501         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
35502         variable.
35503         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35504         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35505         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35506         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35507         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35508         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35509         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35510         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35511         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35513         * math/auto-libm-test-in: Remove spurious underflow allowance for
35514         tests of cexp.
35515         * math/auto-libm-test-out: Regenerated.
35517         [BZ #18558]
35518         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
35519         unconditional definition.
35520         (MCAST_BLOCK_SOURCE): Likewise.
35521         (MCAST_UNBLOCK_SOURCE): Likewise.
35522         (MCAST_LEAVE_GROUP): Likewise.
35523         (MCAST_JOIN_SOURCE_GROUP): Likewise.
35524         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35525         (MCAST_MSFILTER): Likewise.
35526         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
35527         Remove variable.
35528         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35529         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35530         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35531         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35532         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35534 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
35536         * NEWS: Mention addition of x86_64 vector sincosf.
35537         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
35538         * math/test-float-vlen4.h: Likewise.
35539         * math/test-float-vlen8.h: Likewise.
35540         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35541         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
35542         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35543         * sysdeps/x86_64/fpu/Versions: New versions added.
35544         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35545         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35546         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35547         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
35548         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
35549         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
35550         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
35551         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
35552         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
35553         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
35554         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
35555         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
35556         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
35557         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
35558         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
35559         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
35560         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
35561         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35562         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35563         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35564         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35565         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35566         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35567         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35569         * NEWS: Mention addition of x86_64 vector sincos.
35570         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
35571         * math/math.h (__MATHDECL_VEC): New macro.
35572         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
35573         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
35574         declaration under condition.
35575         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
35576         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
35577         TEST_VEC_LOOP change.
35578         * math/test-double-vlen4.h: Likewise.
35579         * math/test-double-vlen8.h: Likewise.
35580         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
35581         * math/test-float-vlen4.h: Likewise.
35582         * math/test-float-vlen8.h: Likewise.
35583         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35584         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
35585         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35586         * sysdeps/x86_64/fpu/Versions: New versions added.
35587         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35588         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35589         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35590         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
35591         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
35592         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
35593         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
35594         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
35595         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
35596         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
35597         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
35598         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
35599         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
35600         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
35601         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
35602         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
35603         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
35604         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35605         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35606         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35607         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35608         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35609         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35610         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35612         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35613         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35614         redirections for powf.
35615         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35616         * sysdeps/x86_64/fpu/Versions: New versions added.
35617         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35618         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35619         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35620         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
35621         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
35622         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
35623         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
35624         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
35625         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
35626         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
35627         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
35628         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
35629         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
35630         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
35631         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
35632         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
35633         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
35634         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35635         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35636         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35637         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35638         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35639         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35640         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35641         * math/test-float-vlen16.h: Fixed 2 argument macro.
35642         * math/test-float-vlen4.h: Likewise.
35643         * math/test-float-vlen8.h: Likewise.
35644         * NEWS: Mention addition of x86_64 vector powf.
35646 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
35648         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35649         and redefine.
35650         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35651         and redefine.
35652         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
35653         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35654         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35656         [BZ #18553]
35657         * resource/getpriority.c (getpriority): Rename to __getpriority
35658         and define as weak alias of __getpriority.
35659         * resource/setpriority.c (setpriority): Rename to __setpriority
35660         and define as weak alias of __setpriority.
35661         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
35662         __getpriority and define as weak alias of __getpriority.
35663         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
35664         __setpriority and define as weak alias of __setpriority.
35665         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
35666         strong name.
35667         (setpriority): Use __setpriority as strong name.
35668         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
35669         __getpriority and define as weak alias of __getpriority.
35670         * include/sys/resource.h (__getpriority): Declare.  Use
35671         libc_hidden_proto.
35672         (__setpriority): Likewise.
35673         (getpriority): Don't use libc_hidden_proto.
35674         (setpriority): Likewise.
35675         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
35676         getpriority.  Call __setpriority instead of setpriority.
35677         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
35678         Remove variable.
35680         [BZ #18547]
35681         * misc/getttyent.c (getttynam): Rename to __getttynam and define
35682         as weak alias of __getttynam.  Use prototype function definition.
35683         Call __setttyent, __getttyent and __endttyent instead of
35684         setttyent, getttyent and endttyent.
35685         (getttyent): Rename to __getttyent and define as weak alias of
35686         __getttyent.  Call __setttyent instead of setttyent.  Call
35687         __fgets_unlocked instead of fgets_unlocked.
35688         (setttyent): Rename to __setttyent and define as weak alias of
35689         __setttyent.
35690         (endttyent): Rename to __endttyent and define as weak alias of
35691         __endttyent.
35692         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
35693         (__setttyent): Likewise.
35694         (__endttyent): Likewise.
35695         (getttyent): Don't use libc_hidden_proto.
35696         (setttyent): Likewise.
35697         (endttyent): Likewise.
35698         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
35699         __endttyent instead of setttyent, getttyent and endttyent.
35700         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
35701         Remove variable.
35703         [BZ #18546]
35704         * socket/recv.c (__recv): Use libc_hidden_def.
35705         * socket/socket.c (__socket): Likewise.
35706         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
35707         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
35708         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
35709         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
35710         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
35711         libc_hidden_def.
35712         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
35713         libc_hidden_weak.
35714         * include/sys/socket.h (__socket): Do not use attribute_hidden.
35715         Use libc_hidden_proto.
35716         (__recv): Likewise.
35717         * socket/Versions (libc): Export __recv and __socket at version
35718         GLIBC_PRIVATE.
35719         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
35720         instead of recv.
35721         (init_mq_netlink): Call __socket instead of socket.
35722         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
35723         Remove variable.
35725         [BZ #18545]
35726         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
35727         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
35728         hidden_weak.
35729         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
35730         define as alias of __mq_timedsend.  Use hidden_weak.
35731         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
35732         __mq_timedsend as strong name.
35733         (mq_timedreceive): Use __mq_timedreceive as strong name.
35734         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
35735         (__mq_timedreceive): Likewise.
35736         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
35737         __mq_timedreceive instead of mq_timedreceive.
35738         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
35739         instead of mq_timedsend.
35740         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
35741         Remove variable.
35743         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
35744         hidden_def and hidden_weak instead of libc_hidden_def and
35745         libc_hidden_weak.
35746         (top level): Refer to hidden_def in comment.
35747         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
35748         macro.  Use it instead of libc_hidden_def.
35749         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
35750         specify __GI_* name explicitly.
35751         (mq_timedreceive): Likewise.
35752         (mq_setattr): Likewise.
35754         [BZ #18544]
35755         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
35756         __pthread_barrier_init and define as weak alias of
35757         __pthread_barrier_init.
35758         * sysdeps/sparc/nptl/pthread_barrier_init.c
35759         (pthread_barrier_init): Likewise.
35760         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
35761         __pthread_barrier_wait and define as weak alias of
35762         __pthread_barrier_wait.
35763         * sysdeps/sparc/nptl/pthread_barrier_wait.c
35764         (pthread_barrier_wait): Likewise.
35765         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
35766         (pthread_barrier_wait): Likewise.
35767         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
35768         (pthread_barrier_wait): Likewise.
35769         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
35770         (pthread_barrier_wait): Likewise.
35771         * nptl/Versions (libpthread): Export __pthread_barrier_init and
35772         __pthread_barrier_wait at version GLIBC_PRIVATE.
35773         * include/pthread.h (__pthread_barrier_init): Declare.
35774         (__pthread_barrier_wait): Likewise.
35775         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
35776         Call __pthread_barrier_wait instead of pthread_barrier_wait.
35777         (helper_thread): Likewise.
35778         (init_mq_netlink): Call __pthread_barrier_init instead of
35779         pthread_barrier_init.
35781         [BZ #18542]
35782         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
35783         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
35784         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
35785         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
35786         vswscanf.
35787         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
35788         Remove variable.
35790         [BZ #18540]
35791         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
35792         strong alias of _IO_fflush.  Use libc_hidden_def.
35793         * libio/iofflush_u.c (fflush_unlocked): Rename to
35794         __fflush_unlocked and define as weak alias of __fflush_unlocked.
35795         Use libc_hidden_weak.
35796         * include/stdio.h (__fflush_unlocked): Declare.  Use
35797         libc_hidden_proto.
35798         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
35799         fflush_unlocked.
35800         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
35801         Remove variable.
35803         [BZ #18539]
35804         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
35805         define as weak alias of __addseverity.
35806         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
35807         Remove variable.
35808         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35809         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35810         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35812         [BZ #18536]
35813         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
35814         (__tfind): Likewise.
35815         (__tdelete): Likewise.
35816         (__twalk): Likewise.
35817         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
35818         __twalk to GLIBC_PRIVATE.
35819         * include/search.h (__tsearch): Use libc_hidden_proto.
35820         (__tfind): Likewise.
35821         (__tdelete): Likewise.
35822         (__twalk): Likewise.
35823         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
35824         Call __tdelete instead of tdelete.
35825         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
35826         tfind.  Call __tsearch instead of tsearch.
35827         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
35828         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
35829         Remove variable.
35830         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35832         [BZ #18534]
35833         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
35834         (dprintf): Define as a weak alias of __dprintf, not a strong
35835         alias.
35836         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
35837         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
35838         dprintf.
35839         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
35840         Remove variable.
35841         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35842         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35844         [BZ #18533]
35845         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
35846         not a strong alias.
35847         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
35848         Remove variable.
35850         [BZ #18532]
35851         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
35852         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
35853         (in6addr_loopback): Rename to __in6addr_loopback and define as
35854         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
35855         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
35856         libc_hidden_proto.
35857         (__in6addr_any): Likewise.
35858         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
35859         in6addr_any.
35860         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
35861         variable.
35862         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35864 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
35866         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
35867         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
35868         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35869         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35870         redirections for pow.
35871         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35872         * sysdeps/x86_64/fpu/Versions: New versions added.
35873         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35874         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35875         build of SSE, AVX2 and AVX512 IFUNC versions.
35876         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
35877         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
35878         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
35879         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
35880         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
35881         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
35882         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
35883         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
35884         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
35885         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
35886         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
35887         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
35888         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
35889         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
35890         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35891         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35892         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35893         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35894         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35895         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35896         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35897         * NEWS: Mention addition of x86_64 vector pow.
35899         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35900         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35901         redirections for expf.
35902         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35903         * sysdeps/x86_64/fpu/Versions: New versions added.
35904         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35905         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35906         build of SSE, AVX2 and AVX512 IFUNC versions.
35907         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
35908         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
35909         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
35910         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
35911         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
35912         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
35913         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
35914         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
35915         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
35916         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
35917         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
35918         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
35919         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
35920         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35921         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35922         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35923         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35924         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35925         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35926         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35927         * NEWS: Mention addition of x86_64 vector expf.
35929         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
35930         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
35931         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35932         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35933         redirections for exp.
35934         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35935         * sysdeps/x86_64/fpu/Versions: New versions added.
35936         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35937         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35938         build of SSE, AVX2 and AVX512 IFUNC versions.
35939         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
35940         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
35941         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
35942         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
35943         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
35944         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
35945         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
35946         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
35947         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
35948         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
35949         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
35950         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
35951         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
35952         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35953         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35954         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35955         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35956         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35957         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35958         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35959         * NEWS: Mention addition of x86_64 vector exp.
35961         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35962         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35963         redirections for logf.
35964         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35965         * sysdeps/x86_64/fpu/Versions: New versions added.
35966         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35967         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35968         build of SSE, AVX2 and AVX512 IFUNC versions.
35969         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
35970         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
35971         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
35972         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
35973         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
35974         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
35975         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
35976         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
35977         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
35978         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
35979         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
35980         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
35981         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
35982         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35983         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35984         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35985         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35986         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35987         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35988         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35989         * NEWS: Mention addition of x86_64 vector logf.
35991         * bits/libm-simd-decl-stubs.h: Added stubs for log.
35992         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
35993         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35994         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35995         redirections for log.
35996         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35997         * sysdeps/x86_64/fpu/Versions: New versions added.
35998         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35999         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36000         build of SSE, AVX2 and AVX512 IFUNC versions.
36001         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
36002         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
36003         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
36004         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
36005         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
36006         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
36007         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
36008         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
36009         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
36010         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
36011         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
36012         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
36013         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
36014         test.
36015         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36016         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36017         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36018         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36019         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36020         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36021         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36022         * NEWS: Mention addition of x86_64 vector log.
36024 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36026         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
36027         cfi_adjust_cfa_offset argument.
36028         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
36029         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
36031         [BZ #18034]
36032         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
36033         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
36034         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
36035         ordering using ldar.
36036         (_dl_tlsdesc_dynamic): Likewise.
36037         (_dl_tlsdesc_return_lazy): Likewise.
36038         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
36039         relaxed atomics instead of volatile and synchronize with release store.
36040         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
36041         volatile.
36042         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36044 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
36046         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36047         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
36048         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36049         * sysdeps/x86_64/fpu/Versions: New versions added.
36050         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36051         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36052         build of SSE, AVX2 and AVX512 IFUNC versions.
36053         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
36054         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
36055         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
36056         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
36057         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
36058         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
36059         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
36060         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
36061         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
36062         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
36063         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
36064         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
36065         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
36066         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36067         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36068         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36069         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36070         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36071         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36072         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36073         * NEWS: Mention addition of x86_64 vector sinf.
36075 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
36077         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
36078         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
36079         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
36080         Remove variable.
36081         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
36082         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
36084 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
36086         [BZ #18530]
36087         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
36088         strong alias of _IO_fputs.  Use libc_hidden_def.
36089         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
36090         and define as weak alias of __fputs_unlocked.  Use
36091         libc_hidden_weak.
36092         * include/stdio.h (__fputs_unlocked): Declare.  Use
36093         libc_hidden_proto.
36094         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
36095         fputs_unlocked.
36097         [BZ #18529]
36098         * resolv/netdb.h [__USE_POSIX]: Change condition to
36099         [__USE_XOPEN2K].
36100         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
36101         not expect.
36102         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
36103         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
36104         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
36105         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
36106         [XPG4 || UNIX98] (AI_ALL): Likewise.
36107         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
36108         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
36109         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
36110         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
36111         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
36112         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
36113         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
36114         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
36115         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
36116         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
36117         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
36118         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
36119         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
36120         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
36121         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
36122         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36123         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36124         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
36125         [XPG4 || UNIX98] (gai_strerror): Likewise.
36126         [XPG4 || UNIX98] (getaddrinfo): Likewise.
36127         [XPG4 || UNIX98] (getnameinfo): Likewise.
36129         [BZ #18528]
36130         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
36131         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
36132         __USE_XOPEN2K8].
36133         (getgrent): Likewise.
36134         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
36135         expect.
36136         [XPG3 || POSIX2008] (endgrent): Likewise.
36137         [XPG3] (setgrent): Likewise.
36138         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
36139         variable.
36140         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
36142         [BZ #18527]
36143         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
36144         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
36145         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
36146         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
36147         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
36148         * include/unistd.h (__getlogin_r): Declare.  Use
36149         libc_hidden_proto.
36150         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
36151         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
36152         variable.
36153         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
36154         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
36155         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
36157 2015-06-12  Martin Sebor  <msebor@redhat.com>
36159         [BZ #18512]
36160         * Makerules (check-install-supported): New target.
36161         (install): Add check-install-supported as a dependency.
36162         * manual/install.texi (Installing the C Library): Document
36163         that overriding prefix and exec_prefix is not supported.
36164         Mention DESTDIR.
36165         * INSTALL: Regenerate from the above.
36167 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
36169         [BZ #18519]
36170         * posix/Versions (libc): Export __libc_pread at version
36171         GLIBC_PRIVATE.
36172         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
36173         instead of pread.
36174         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
36175         variable.
36177         [BZ #18522]
36178         * misc/efgcvt_r.c
36179         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
36180         (cvt_symbol): Use weak_alias instead of strong_alias.
36181         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
36182         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
36183         Remove variable.
36184         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
36185         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
36187         [BZ #18520]
36188         * inet/herrno.c (h_errno): Rename to __h_errno.
36189         (__libc_h_errno): Define as alias of __h_errno not h_errno.
36190         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
36191         to __h_errno instead of h_errno.
36192         * nptl/herrno.c (h_errno): Rename to __h_errno.
36193         (__h_errno_location): Refer to __h_errno not h_errno.
36194         * resolv/Versions (h_errno): Rename to __h_errno.
36195         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
36196         Remove variable.
36197         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
36199 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
36201         * configure.ac: More strict check for AVX512 assembler support.
36202         * configure: Regenerated.
36204         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
36205         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
36206         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36207         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
36208         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36209         * sysdeps/x86_64/fpu/Versions: New versions added.
36210         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36211         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36212         Added build of SSE, AVX2 and AVX512 IFUNC versions.
36213         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
36214         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
36215         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
36216         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
36217         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
36218         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
36219         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
36220         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
36221         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
36222         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
36223         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
36224         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
36225         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
36226         test.
36227         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36228         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36229         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36230         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36231         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36232         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36233         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36234         * NEWS: Mention addition of x86_64 vector sin.
36236 2015-06-11  Florian Weimer  <fweimer@redhat.com>
36238         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
36239         comment.
36241 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
36243         [BZ #18479]
36244         * nptl/pt-interp.c: New file.
36245         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
36246         Add pt-interp.
36247         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
36248         $(common-objpfx)runtime-linker.h.
36250 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
36252         * Makeconfig (+interp): Remove unused variable.
36253         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
36254         only.  Depend on $(common-objpfx)runtime-linker.h instead of
36255         $(elf-objpfx)runtime-linker.h.
36256         ($(elf-objpfx)runtime-linker.h): Rename to
36257         $(common-objpfx)runtime-linker.h and move ...
36258         * Makerules [$(build-shared) = yes]: ... here.
36259         * elf/interp.c: Include <runtime-linker.h> instead of
36260         <elf/runtime-linker.h>.
36262 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36264         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
36265         (__gettimeofday_syscall): Remove vsyscall fallback.
36266         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
36267         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
36268         Add syscall fallback function.
36269         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
36270         if vDSO is not present.
36271         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
36272         fallback function.
36273         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
36274         present.
36275         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
36276         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36278 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
36280         [BZ #18497]
36281         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
36282         of wcscmp.
36283         (wcscmp): Define as weak alias of WCSCMP.
36284         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
36285         wcscoll.
36286         (USE_HIDDEN_DEF): Define.
36287         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
36288         __wcscoll.  Don't use libc_hidden_weak.
36289         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
36290         wcscmp.
36291         * sysdeps/i386/i686/multiarch/wcscmp-c.c
36292         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
36293         __GI_wcscmp.
36294         (weak_alias): Undefine and redefine.
36295         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
36296         __wcscmp and define as weak alias of __wcscmp.
36297         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
36298         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
36299         (__wcscoll): Likewise.
36300         (wcscmp): Don't use libc_hidden_proto.
36301         (wcscoll): Likewise.
36302         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
36303         wcscoll.
36304         * posix/regexec.c (check_node_accept_bytes): Likewise.
36305         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
36306         variable.
36307         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36308         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36310         [BZ #18507]
36311         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
36312         __fstatvfs and define as weak alias of __fstatvfs.  Use
36313         libc_hidden_weak.
36314         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
36315         and define as weak alias of __statvfs.  Use libc_hidden_weak.
36316         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
36317         Define as alias of __fstatvfs, not fstatvfs.
36318         (fstatvfs64): Likewise.
36319         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
36320         Define as alias of __statvfs, not statvfs.
36321         (statvfs64): Likewise.
36322         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
36323         Remove variable.
36325 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36328         (HAVE_GETCPU_VSYSCALL): Define.
36329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36330         (HAVE_GETCPU_VSYSCALL): Likewise.
36331         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
36332         * sysdeps/unix/sysv/linux/sched_getcpu.c
36333         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
36334         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
36335         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
36336         prototype.
36337         * sysdeps/unix/sysv/linux/x86_64/init-first.c
36338         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
36339         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
36340         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
36341         Define.
36342         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
36343         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36344         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
36345         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36347 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
36349         * sysdeps/x86_64/fpu/Makefile: New file.
36350         * sysdeps/x86_64/fpu/Versions: New file.
36351         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
36352         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
36353         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
36354         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
36355         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
36356         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
36357         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
36358         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
36359         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
36360         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
36361         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
36362         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
36363         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
36364         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36365         Added build of SSE, AVX2 and AVX512 IFUNC versions.
36366         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
36367         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
36368         * sysdeps/x86_64/configure.ac: Options for libmvec build.
36369         * sysdeps/x86_64/configure: Regenerated.
36370         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
36371         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
36372         * manual/install.texi (Configuring and compiling): Document
36373         --disable-mathvec.
36374         * INSTALL: Regenerated.
36375         * NEWS: Mention addition of libmvec and x86_64 vector cos.
36377         * math/Makefile: Added rules for vector tests.
36378         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
36379         declaration under condition.
36380         * math/test-double-vlen2.h: New file.
36381         * math/test-double-vlen4.h: New file.
36382         * math/test-double-vlen8.h: New file.
36383         * math/test-vec-loop.h: Added initialization macro.
36384         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
36385         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
36386         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
36387         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
36388         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
36389         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
36390         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
36391         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
36392         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
36393         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
36394         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
36396         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36397         * sysdeps/x86_64/fpu/Versions: New versions added.
36398         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
36399         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
36400         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
36401         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
36402         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
36403         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
36404         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
36405         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
36406         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
36407         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
36408         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
36409         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
36410         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
36411         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36412         Added build of SSE, AVX2 and AVX512 IFUNC versions.
36413         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36414         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
36415         * NEWS: Mention addition of x86_64 vector cosf.
36417         * math/Makefile: Added CFLAGS for new tests.
36418         * math/test-float-vlen16.h: New file.
36419         * math/test-float-vlen4.h: New file.
36420         * math/test-float-vlen8.h: New file.
36421         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
36422         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
36423         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36424         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
36425         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
36426         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
36427         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
36428         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
36429         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
36430         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
36431         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
36433 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
36435         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
36436         * locale/programs/ld-ctype.c: Likewise.
36438 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
36440         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
36441         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
36442         bit_ZMM16_31_state): New macro.
36443         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36444         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
36446 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
36448         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
36450 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
36452         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
36454 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
36456         [BZ #18498]
36457         * libio/memstream.c (open_memstream): Rename to __open_memstream
36458         and define as weak alias of __open_memstream.
36459         * include/stdio.h (__open_memstream): Declare.  Use
36460         libc_hidden_proto.
36461         (open_memstream): Don't use libc_hidden_proto.
36462         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
36463         open_memstream.
36464         * posix/getopt.c (_getopt_internal_r): Likewise.
36465         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
36466         variable.
36467         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36468         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36469         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36471         [BZ #18496]
36472         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
36473         instead of wcrtomb.
36475         [BZ #18483]
36476         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
36477         [__USE_XOPEN2K8].  Remove redundant #endif.
36478         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
36479         Remove redundant #if.
36480         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
36481         Remove variable.
36482         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36483         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36485         [BZ #18495]
36486         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
36487         (__iswlower): Likewise.
36488         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
36489         (__iswlower): Likewise.
36490         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
36491         instead of towlower.
36492         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
36493         instead of iswlower.  Call __towupper instead of towupper.
36494         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
36495         instead of iswalnum.
36497 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36499         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
36500         errors to stderr.
36502 2015-06-05  Florian Weimer  <fweimer@redhat.com>
36504         [BZ #15661]
36505         [BZ #17322]
36506         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
36507         Check for overflow properly.  Check for O_APPEND.  Ignore large
36508         file system block sizes.  Add comments about problems.
36509         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
36510         * manual/filesys.texi (Storage Allocation): New node.
36512 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36514         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
36515         cancellable syscalls.
36516         (SYS_ify): Add guard to no redefine it.
36517         (INLINE_SYSCALL): Likewise.
36518         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
36519         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
36520         SYSCALL_CANCEL instead.
36521         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
36522         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
36523         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
36524         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
36525         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
36526         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
36527         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
36528         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
36529         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36530         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36531         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
36532         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
36533         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
36534         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
36535         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
36536         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
36537         Likewise.
36538         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
36539         (__libc_pread64): Likewise.
36540         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
36541         (__libc_preadv): Likewise.
36542         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
36543         (__libc_readv64): Likewise.
36544         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
36545         (__libc_pwrite): Likewise.
36546         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
36547         (__libc_pwrite64): Likewise.
36548         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
36549         (__libc_pwritev): Likewise.
36550         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
36551         (__libc_pwritev64): Likewise.
36552         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
36553         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
36554         (sync_file_range): Likewise.
36555         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
36556         Likewise.
36557         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
36558         Likewise.
36559         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
36560         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
36561         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36562         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
36563         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
36564         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
36565         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36566         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
36567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
36568         Likewise.
36569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36570         (__libc_read64): Likewise.
36571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
36572         Likewise.
36573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
36574         Likewise.
36575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
36576         Likewise.
36577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
36578         Likewise.
36579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36580         (__libc_pread64): Likewise.
36581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
36582         Likewise.
36583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36584         (__libc_pwrite64): Likewise.
36585         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
36586         (sync_file_range): Likewise.
36587         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
36588         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
36589         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
36590         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
36591         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
36592         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
36593         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
36594         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
36595         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
36596         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36597         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36598         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
36599         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
36600         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
36601         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
36602         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
36603         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
36604         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
36605         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
36606         Likewise.
36607         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
36608         Likewise.
36609         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
36610         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
36611         Likewise.
36612         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
36613         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
36614         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
36615         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
36616         Likewise.
36617         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
36618         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
36619         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
36620         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
36621         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
36623 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
36625         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
36626         Include dl-vdso.
36627         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
36628         Use VDSO routines for gettimeofday, clock_gettime if
36629         available.
36630         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
36631         Declare VDSO symbols.
36632         * sysdeps/unix/sysv/linux/arm/sysdep.h:
36633         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
36634         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36635         * sysdeps/unix/sysv/linux/arm/Versions: Add
36636         __vdso_clock_gettime.
36638 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36640         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
36641         be an inline implementation regardless of library is built within.
36642         (open_not_cancel_2): Likewise.
36643         (__read_nocancel): Likewise.
36644         (__write_nocancel): Likewise.
36645         (openat_not_cancel): Likewise.
36646         (openat_not_cancel_3): Likewise.
36647         (openat64_not_cancel): Likewise.
36648         (openat64_not_cancel_3): Likewise.
36649         (__close_nocancel): Likewise.
36650         (pause_not_cancel): Likewise.
36651         (nanosleep_not_cancel): Likewise.
36652         (sigsuspend_not_cancel): Likewise.
36654 2015-06-04  Torvald Riegel  <triegel@redhat.com>
36656         [BZ #14958]
36657         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
36658         wake-up.
36659         (__pthread_rwlock_rdlock_slow): Likewise.
36660         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36661         Likewise.
36662         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
36663         Likewise.
36664         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
36665         * nptl/tst-rwlock16.c: New file.
36666         * nptl/Makefile (tests): Add new test.
36668 2015-06-04  Torvald Riegel  <triegel@redhat.com>
36670         [BZ #18324]
36671         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
36672         missing wake-up of readers.
36673         * nptl/tst-rwlock15.c: New file.
36674         * nptl/Makefile (tests): Add new test.
36676 2015-06-03  Roland McGrath  <roland@hack.frob.com>
36678         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
36679         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
36680         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
36681         and __nacl_supply_interface_rtld.
36682         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
36683         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
36684         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
36685         Add __nacl_supply_interface_rtld.
36686         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
36688 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
36690         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
36691         isfinite.
36692         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36693         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
36695 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
36697         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
36698         __signbit* with standard C99 macros.
36699         * math/e_exp10l.c: Likewise.
36700         * math/e_exp2l.c: Likewise.
36701         * math/e_scalb.c: Likewise.
36702         * math/e_scalbf.c: Likewise.
36703         * math/e_scalbl.c: Likewise.
36704         * math/s_ldexp.c: Likewise.
36705         * math/s_ldexpf.c: Likewise.
36706         * math/s_ldexpl.c: Likewise.
36707         * math/w_atan2.c: Likewise.
36708         * math/w_atan2f.c: Likewise.
36709         * math/w_atan2l.c: Likewise.
36710         * math/w_cosh.c: Likewise.
36711         * math/w_coshf.c: Likewise.
36712         * math/w_coshl.c: Likewise.
36713         * math/w_exp10.c: Likewise.
36714         * math/w_exp10f.c: Likewise.
36715         * math/w_exp10l.c: Likewise.
36716         * math/w_exp2.c: Likewise.
36717         * math/w_exp2f.c: Likewise.
36718         * math/w_exp2l.c: Likewise.
36719         * math/w_fmod.c: Likewise.
36720         * math/w_fmodf.c: Likewise.
36721         * math/w_fmodl.c: Likewise.
36722         * math/w_hypot.c: Likewise.
36723         * math/w_hypotf.c: Likewise.
36724         * math/w_hypotl.c: Likewise.
36725         * math/w_jnl.c: Likewise.
36726         * math/w_lgamma.c: Likewise.
36727         * math/w_lgamma_r.c: Likewise.
36728         * math/w_lgammaf.c: Likewise.
36729         * math/w_lgammaf_r.c: Likewise.
36730         * math/w_lgammal.c: Likewise.
36731         * math/w_lgammal_r.c: Likewise.
36732         * math/w_pow.c: Likewise.
36733         * math/w_powf.c: Likewise.
36734         * math/w_powl.c: Likewise.
36735         * math/w_remainder.c: Likewise.
36736         * math/w_remainderf.c: Likewise.
36737         * math/w_remainderl.c: Likewise.
36738         * math/w_scalb.c: Likewise.
36739         * math/w_scalbf.c: Likewise.
36740         * math/w_scalbl.c: Likewise.
36741         * math/w_scalbln.c: Likewise.
36742         * math/w_scalblnf.c: Likewise.
36743         * math/w_scalblnl.c: Likewise.
36744         * math/w_sinh.c: Likewise.
36745         * math/w_sinhf.c: Likewise.
36746         * math/w_sinhl.c: Likewise.
36747         * math/w_tgamma.c: Likewise.
36748         * math/w_tgammaf.c: Likewise.
36749         * math/w_tgammal.c: Likewise.
36750         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36751         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
36752         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36753         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36754         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36755         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36756         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36757         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36758         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36759         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36760         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36761         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36762         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36763         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36764         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36765         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36766         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36767         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36768         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36769         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36770         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36771         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36772         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36773         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36774         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36775         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36776         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
36777         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36778         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36779         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36780         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
36781         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
36782         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
36783         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
36784         * stdio-common/printf_fp.c: Likewise.
36785         * stdio-common/printf_fphex.c: Likewise.
36786         * stdio-common/printf_size.c: Likewise.
36788 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
36790         [BZ #18470]
36791         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
36792         strnlen.
36793         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
36794         Remove variable.
36795         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36796         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36797         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36798         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36799         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36800         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36801         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36802         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36803         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36804         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36806         [BZ #18468]
36807         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
36808         weak alias of __wmemchr.  Use libc_hidden_weak.
36809         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
36810         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
36811         instead of wmemchr.
36813 2015-06-02  Roland McGrath  <roland@hack.frob.com>
36815         [BZ #18383]
36816         * elf/tst-tlsalign-extern.c: New file.
36817         * elf/tst-tlsalign-extern-static.c: New file.
36818         * elf/tst-tlsalign-vars.c: New file.
36819         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
36820         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
36821         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
36822         ($(objpfx)tst-tlsalign-extern-static): Likewise.
36823         (test-xfail-tst-tlsalign-extern-static): New variable.
36825 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
36827         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
36828         Use variable name _sc_err instead of err.
36829         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
36830         instead of ret.
36831         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
36832         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
36833         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
36834         (INLINE_SYSCALL): Likewise.
36836         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
36837         * include/string.h (__strnlen): Use libc_hidden_proto.
36838         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
36839         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
36840         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
36841         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
36842         (libc_hidden_def): Undefine and redefine.
36843         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
36844         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
36845         __GI_strnlen.
36846         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
36847         libc_hidden_def.
36848         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
36850         [BZ #18469]
36851         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
36852         weak alias of __towlower.  Use libc_hidden_weak.
36853         (towupper): Rename to __towupper and define as weak alias of
36854         __towupper.  Use libc_hidden_weak.
36855         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
36856         (__towupper): Likewise.
36857         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
36858         __towlower instead of towlower.
36860 2015-06-02  Roland McGrath  <roland@hack.frob.com>
36862         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
36863         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
36865 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36867         * sysdeps/aarch64/libm-test-ulps: Update.
36869 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36871         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
36872         Define.
36873         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36874         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36875         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36876         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36877         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
36878         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
36879         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
36881 2015-06-01  Martin Sebor  <msebor@redhat.com>
36883         [BZ #18116]
36884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36885         (__setcontext): Use extended four-operand version of mtsf whenever
36886         possible.
36887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36888         (__novec_swapcontext): Likewise.
36890 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36892         * benchtests/scripts/compare_bench.py: New file.
36893         * benchtests/scripts/import_bench.py (mean): New function.
36894         (split_list): Likewise.
36895         (do_for_all_timings): Likewise.
36896         (compress_timings): Likewise.
36898         * benchtests/scripts/import_bench.py: New file.
36899         * benchtests/scripts/validate_benchout.py: Import import_bench
36900         instead of jsonschema.
36901         (validate_bench): Remove function.
36902         (main): Use import_bench.
36904 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
36906         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
36907         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
36909 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36913 2015-05-28  Roland McGrath  <roland@hack.frob.com>
36915         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
36916         set THREAD_SELF->tid to a magic value and futex-wake it.
36917         Pass its address to the thread_exit system call.
36918         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
36919         bit is clear.
36920         * sysdeps/nacl/lowlevellock.h: New file.
36921         * sysdeps/nacl/lll_timedwait_tid.c: New file.
36923         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
36924         Add TIMEOUT to current time, don't subtract it.
36926 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
36928         [BZ #2981]
36929         [BZ #18422]
36930         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
36931         ($(objpfx)tst-audit2.out): Also depend on
36932         $(objpfx)tst-auditmod9b.so.
36933         * elf/tst-audit2.c: Include <dlfcn.h>.
36934         (calloc_called): New.
36935         (calloc): Allow to be called more than once.
36936         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
36938 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
36940         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
36941         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
36943 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
36945         * stdlib/monetary.h: Fix comment.
36947 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
36949         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
36950         Avoid using variables in #defines that might cause shadowing.
36951         (INTERNAL_VSYSCALL_CALL): Likewise.
36953 2015-05-26  Roland McGrath  <roland@hack.frob.com>
36955         * sysdeps/nacl/lll_timedlock_wait.c: New file.
36957         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
36958         * nptl/lll_timedlock_wait.c: ... to this new file.
36959         * nptl/Makefile (libpthread-routines): Add it.
36960         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
36961         * nptl/lll_timedwait_tid.c: ... to this new file.
36962         * nptl/Makefile (libpthread-routines): Add it.
36963         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
36964         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
36965         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
36966         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
36967         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
36968         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
36969         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
36970         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
36971         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
36972         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
36974 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36976         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
36977         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36978         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36979         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
36980         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
36981         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36982         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36983         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36984         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36985         * sysdeps/unix/sysv/linux/tile/sysdep.h
36986         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36987         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
36988         using vDSO syscall macro.
36990 2015-05-26  Andriy Rysin  <arysin@gmail.com>
36992         [BZ #17293]
36993         * uk_UA: Fix sorting order for Ukrainian locale
36995 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
36997         * stdlib/monetary.h: Fix comment.
36999 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37001         [BZ #18234]
37002         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
37003         st_mtim and st_ctim members.
37004         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
37005         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
37006         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
37007         (struct stat64): Likewise.
37008         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
37009         (struct stat64): Likewise.
37010         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
37011         (struct stat64): Likewise.
37013 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37015         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
37016         Define and include sysdep-vdso.h.
37017         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
37018         Likewise.
37019         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
37020         Likewise.
37021         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
37022         Define with VDSO_SYMBOL and use PTR_MANGLE.
37023         (__vdso_clock_gettime): Likewise.
37024         (__vdso_clock_getres): Likewise.
37025         (_libc_vdso_platform_setup): Likewise.
37026         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
37027         Likewise.
37028         (_libc_vdso_platform_setup): Likewise.
37029         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
37030         Likewise.
37031         (__vdso_clock_gettime): Likewise.
37032         (__vdso_clock_getres): Likewise.
37033         (__vdso_get_tbfreq): Likewise.
37034         (__vdso_getcpu): Likewise.
37035         (__vdso_time): Likewise.
37036         (__vdso_sigtramp_rt64): Likewise.
37037         (__vdso_signtramp32): Likewise.
37038         (__vdso_sigtramp_rt32): Likewise.
37039         (_libc_vdso_platform_setup): Likewise.
37040         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
37041         Likewise.
37042         (__vdso_clock_gettime): Likewise.
37043         (__vdso_clock_getres): Likewise.
37044         (_libc_vdso_platform_setup): Likewise.
37045         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
37046         Likewise.
37047         (__vdso_clock_gettime): Likewise.
37048         (_libc_vdso_platform_setup): Likewise.
37049         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
37050         Likewise.
37051         (__vdso_getcpu): Likewise.
37052         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
37053         Use VDSO_SYMBOL macro to define.
37054         (__vdso_clock_gettime): Likewise.
37055         (__vdso_clock_getres): Likewise.
37056         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
37057         Likewise.
37058         (__vdso_clock_gettime): Likewise.
37059         (__vdso_clock_getres): Likewise.
37060         (__vdso_get_tbfreq): Likewise.
37061         (__vdso_getcpu): Likewise.
37062         (__vdso_time): Likewise.
37063         (__vdso_sigtramp_rt64): Likewise.
37064         (__vdso_signtramp32): Likewise.
37065         (__vdso_sigtramp_rt32): Likewise.
37066         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
37067         Likewise.
37068         (__vdso_clock_gettime): Likewise.
37069         (__vdso_clock_getres): Likewise.
37070         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
37071         Likewise.
37072         (__vdso_clock_gettime): Likewise.
37073         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
37074         Likewise.
37075         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
37076         macro.
37077         (INTERNAL_VSYSCALL): Likewise.
37078         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
37079         Remove macro.
37080         (INTERNAL_VSYSCALL): Likewise.
37081         (INTERNAL_VSYSCALL_NCS): Likewise.
37082         (INTERNAL_VSYSCALL_CALL): New macro.
37083         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
37084         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
37085         Likewise.
37086         (INTERNAL_VSYSCALL): Likewise.
37087         (INTERNAL_VSYSCALL_NCS): Likewise.
37088         (INTERNAL_VSYSCALL_CALL): New macro.
37089         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
37090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37091         (INLINE_VSYSCALL): Remove macro.
37092         (INTERNAL_VSYSCALL): Remove macro.
37093         (INTERNAL_VSYSCALL_NCS): Remove macro.
37094         (INTERNAL_VSYSCALL_CALL): New macro.
37095         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
37096         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
37097         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
37098         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
37099         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
37100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37101         (INLINE_VSYSCALL): Remove macro.
37102         (INTERNAL_VSYSCALL): Likewise.
37103         (INTERNAL_VSYSCALL_NCS): Likewise.
37104         (INTERNAL_VSYSCALL_CALL): New macro.
37105         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
37106         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
37107         PTR_DEMANGLE on vDSO pointer.
37108         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
37109         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
37110         macro.
37111         (INTERNAL_SYSCALL): Likewise.
37112         (INTERNAL_VSYSCALL_NCS): Remove macro.
37113         (INTERNAL_VSYSCALL_CALL): New macro.
37114         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
37115         Remove macro.
37116         (INTERNAL_VSYSCALL): Likewise.
37117         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
37118         sysdep-vdso.h instead of libc-vdso.h.
37119         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
37120         definition.
37121         (INLINE_VSYSCALL): Likewise.
37122         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
37123         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
37124         definition.
37125         (INLINE_VSYSCALL): Likewise.
37126         (INTERNAL_VSYSCALL): Likewise.
37127         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37128         * sysdeps/unix/sysv/linux/timespec_get.c
37129         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37130         (timespec_get): Use ANSI prototype.
37131         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
37132         and definition for Linux.
37134 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
37136         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
37137         * include/libc-symbols.h: libmvec_hidden_* macro series added.
37139 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37141         [BZ #2981]
37142         [BZ #18410]
37143         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
37144         for missing DT_PLTRELSZ.
37146 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
37148         Remove obsolete aliases that broke 'locale -a'
37149         [BZ #18412]
37150         * intl/locale.alias: Remove obsolete aliases "bokmĂ„l" and "français"
37151         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
37152         breaking some applications that use 'locale -a' output.
37153         Change the encoding of this file from Latin-1 to ASCII to avoid
37154         other potential problems with people grepping this file.
37156 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37158         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
37159         -fasynchronous-unwind-tables.
37160         (CFLAGS-sendto.c): Likewise.
37161         (CFLAGS-sendmsg.c): Likewise.
37162         (CFLAGS-connect.c): Likewise.
37163         (CFLAGS-recvmsg.c): Likewise.
37164         (CFLAGS-recvfrom.c): Likewise.
37165         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
37166         (SOCKETCALL): New macro: non-cancellable socketcall.
37167         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
37168         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
37169         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
37170         * sysdeps/unix/sysv/linux/accept.c: New file.
37171         * sysdeps/unix/sysv/linux/bind.c: Likewise.
37172         * sysdeps/unix/sysv/linux/connect.c: Likewise.
37173         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
37174         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
37175         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
37176         * sysdeps/unix/sysv/linux/listen.c: Likewise.
37177         * sysdeps/unix/sysv/linux/recv.c: Likewise.
37178         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
37179         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
37180         * sysdeps/unix/sysv/linux/send.c: Likewise.
37181         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
37182         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
37183         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
37184         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
37185         * sysdeps/unix/sysv/linux/socket.c: Likewise.
37186         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
37187         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
37188         prototype.
37189         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
37190         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37191         instead of __internal_xxx function.
37192         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
37193         prototype.
37194         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
37195         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37196         instead of __internal_xxx function.
37197         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
37198         prototype.
37199         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
37200         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37201         instead of __internal_xxx function.
37202         * sysdeps/unix/sysv/linux/accept.S: Remove file.
37203         * sysdeps/unix/sysv/linux/bind.S: Likewise.
37204         * sysdeps/unix/sysv/linux/connect.S: Likewise.
37205         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
37206         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
37207         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
37208         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
37209         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
37210         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
37211         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
37212         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
37213         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37214         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
37215         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
37216         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
37217         * sysdeps/unix/sysv/linux/listen.S: Likewise.
37218         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
37219         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
37220         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
37221         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
37222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
37223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
37224         * sysdeps/unix/sysv/linux/recv.S: Likewise.
37225         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
37226         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
37227         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
37228         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
37229         * sysdeps/unix/sysv/linux/send.S: Likewise.
37230         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
37231         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
37232         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
37233         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
37234         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
37235         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
37236         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
37237         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
37238         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
37239         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
37240         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
37241         socketcall is implemented in GLIBC.
37243 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
37245         * soft-fp/fmadf4.c: Include <libc-internal.h>.
37246         (__fma): Ignore uninitialized warnings around packing.
37247         * soft-fp/fmasf4.c: Include <libc-internal.h>.
37248         (__fmaf): Ignore uninitialized warnings around packing.
37249         * soft-fp/fmatf4.c: Include <libc-internal.h>.
37250         (__fmal): Ignore uninitialized warnings around packing.
37252         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
37253         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37254         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
37255         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37257         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
37258         switch statement into default case.
37259         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
37261         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
37262         a conditional in forcing "inexact".
37263         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37264         Likewise.
37266 2015-05-22  Roland McGrath  <roland@hack.frob.com>
37268         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
37269         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
37270         for each INTERNAL_SYSCALL use.
37272 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
37274         [BZ #438]
37275         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
37276         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
37277         variable.
37279         [BZ #18444]
37280         * string/basename.c (basename): Rename to __basename and define as
37281         weak alias of __basename.  Use libc_hidden_weak.
37282         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
37283         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
37284         __basename instead of basename.
37285         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
37286         Remove variable.
37287         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37289 2015-05-18  Florian Weimer  <fweimer@redhat.com>
37291         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
37292         (_IO_JUMPS_FILE_plus): New.
37293         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
37294         _IO_CAST_FIELD_ACCESS.
37295         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
37296         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
37297         * libio/freopen.c (freopen): Likewise.
37298         * libio/freopen64.c (freopen64): Likewise.
37299         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
37300         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
37301         * libio/iofwide.c (_IO_fwide): Likewise.
37302         * libio/memstream.c (open_memstream): Likewise.
37303         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37304         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
37305         * libio/oldiopopen.c (_IO_old_popen): Likewise.
37307 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
37309         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
37310         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
37311         NADJ.
37312         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
37313         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
37314         NADJ.
37315         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
37316         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
37317         NADJ.
37319         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
37320         (p == 4) case.
37322         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
37323         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
37324         Remove variable.
37325         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37326         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37327         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37329 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37331         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
37332         Adjust jump table label generation macros.
37334 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37336         * stdio-common/vfprintf.c (vfprintf): Move local variables
37337         args_malloced, specs, specs_malloced, and the code after
37338         do_positional to the printf_positional function.
37339         (printf_positional): New function.
37341 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37343         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
37344         function.
37345         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
37346         STEP4_TABLE, process_arg): Move macro definitions
37347         out of the vfprintf function.  (Cosmetic change only.)
37349 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
37351         * benchtests/Makefile (stdio-common-bench): Define.
37352         (benchset): Add stdio-common-bench.
37353         * sprintf-inputs: New file.
37354         * sprintf-source.c: New file.
37356 2015-05-21  Andreas Schwab  <schwab@suse.de>
37358         [BZ #13028]
37359         [BZ #17053]
37360         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
37361         of struct __res_state.
37362         * resolv/res_send.c (__libc_res_nsend): Likewise.
37363         (get_nsaddr): New function.
37364         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
37365         statp directly.
37367 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
37369         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
37370         -D_POSIX_C_SOURCE=199506L.
37372         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
37374         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
37375         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
37376         Do not mention otherwise.
37377         [POSIX] (_XOPEN_VERSION): Do not expect.
37378         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
37379         [POSIX] (_POSIX2_C_BIND): Likewise.
37380         [POSIX] (_POSIX2_VERSION): Likewise.
37381         [POSIX] (_XOPEN_XPG2): Likewise.
37382         [POSIX] (_XOPEN_XPG3): Likewise.
37383         [POSIX] (_XOPEN_XPG4): Likewise.
37384         [POSIX] (_XOPEN_UNIX): Likewise.
37385         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
37386         [POSIX] (_POSIX_BARRIERS): Likewise.
37387         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
37388         [POSIX] (_POSIX_CPUTIME): Likewise.
37389         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
37390         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
37391         [POSIX] (_POSIX_SHELL): Likewise.
37392         [POSIX] (_POSIX_SPAWN): Likewise.
37393         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
37394         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
37395         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
37396         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
37397         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
37398         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
37399         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
37400         [POSIX] (_XBS5_LP64_OFF64): Likewise.
37401         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
37402         [POSIX] (_POSIX_TIMEOUTS): Likewise.
37403         [POSIX] (_POSIX2_PBS): Likewise.
37404         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
37405         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
37406         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
37407         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
37408         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
37409         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
37410         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
37411         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
37412         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
37413         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
37414         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
37415         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
37416         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
37417         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
37418         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
37419         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
37420         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
37421         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
37422         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
37423         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
37424         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
37425         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
37426         [POSIX] (_SC_2_C_BIND): Likewise.
37427         [POSIX] (_SC_2_C_VERSION): Likewise.
37428         [POSIX] (_SC_2_PBS): Likewise.
37429         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
37430         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
37431         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
37432         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
37433         [POSIX] (_SC_2_PBS_TRACK): Likewise.
37434         [POSIX] (_SC_ATEXIT_MAX): Likewise.
37435         [POSIX] (_SC_BARRIERS): Likewise.
37436         [POSIX] (_SC_BASE): Likewise.
37437         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
37438         [POSIX] (_SC_DEVICE_IO): Likewise.
37439         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
37440         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
37441         [POSIX] (_SC_FD_MGMT): Likewise.
37442         [POSIX] (_SC_FIFO): Likewise.
37443         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
37444         [POSIX] (_SC_FILE_LOCKING): Likewise.
37445         [POSIX] (_SC_FILE_SYSTEM): Likewise.
37446         [POSIX] (_SC_IOV_MAX): Likewise.
37447         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
37448         [POSIX] (_SC_NETWORKING): Likewise.
37449         [POSIX] (_SC_PAGE_SIZE): Likewise.
37450         [POSIX] (_SC_PASS_MAX): Likewise.
37451         [POSIX] (_SC_PIPE): Likewise.
37452         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
37453         [POSIX] (_SC_REGEXP): Likewise.
37454         [POSIX] (_SC_SHELL): Likewise.
37455         [POSIX] (_SC_SIGNALS): Likewise.
37456         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
37457         [POSIX] (_SC_SPIN_LOCKS): Likewise.
37458         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
37459         [POSIX] (_SC_USER_GROUPS): Likewise.
37460         [POSIX] (_SC_USER_GROUPS_R): Likewise.
37461         [POSIX] (_SC_STREAMS): Likewise.
37462         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
37463         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
37464         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
37465         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
37466         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
37467         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
37468         [POSIX] (_PC_FILESIZEBITS): Likewise.
37469         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
37470         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
37471         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
37472         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
37473         [POSIX] (uid_t): Likewise.
37474         [POSIX] (gid_t): Likewise.
37475         [POSIX] (off_t): Likewise.
37476         [POSIX] (pid_t): Likewise.
37477         [POSIX] (cuserid): Allow.
37478         (_SC_2_CHAR_TERM): Require constant.
37479         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
37480         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
37481         variable.
37483 2015-05-20  Roland McGrath  <roland@hack.frob.com>
37485         * sysdeps/nacl/pthread-pids.h: New file.
37486         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
37487         (create_thread): Use __nacl_get_tid to initialize PD->tid.
37489         * nptl/pthread-pids.h: New file.
37490         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
37491         * nptl/nptl-init.c: Include <pthread-pids.h>.
37492         (__pthread_initialize_minimal_internal):
37493         Call __pthread_initialize_pids instead of set_tid_address syscall.
37495         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
37496         * sysdeps/posix/usleep.c: ... here.
37498 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37500         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
37501         call_pselect6 object.
37502         [$(subdir) = io]: Remove call_sync_file_range object.
37503         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
37504         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
37505         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
37506         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
37508 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
37510         * math/s_cproj.c: Add include "math_private.h".
37511         * math/s_cprojf.c: Likewise.
37512         * math/s_cprojl.c: Likewise.
37514 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
37516         [BZ #18244]
37517         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
37518         high mantissa bit when testing whether P is a NaN.
37519         * math/libm-test.inc (remainder_test_data): Add more tests.
37520         (remquo_test_data): Likewise.
37522         [BZ #18049]
37523         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
37524         below -32, return the argument, with underflow if subnormal.
37525         * math/auto-libm-test-in: Add more tests of atanh.
37526         * math/auto-libm-test-out: Regenerated.
37528 2015-05-19  Roland McGrath  <roland@hack.frob.com>
37530         [BZ #18434]
37531         * nptl/tst-sem15.c: New file.
37532         * nptl/Makefile (tests): Add it.
37533         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
37534         s/<</>>/ to fix typo in EOVERFLOW check.
37535         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
37537 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37539         * manual/strings.texi (envz_remove): Fix typo in safety
37540         annotations.
37542 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
37543             Steve Ellcey  <sellcey@imgtec.com>
37545         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
37546         in order to avoid strict alias warnings.
37547         (iruserok_af): Ditto for ra.
37549 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
37551         [BZ #17581]
37552         * malloc/hooks.c
37553         (magicbyte): Convert to a function and avoid returning 0x01.
37554         (mem2mem_check): Avoid using a length byte equal to the magic byte.
37555         (mem2chunk_check): Fix unsigned comparisons to zero.
37556         Hoist defs of sz and magic.
37558 2015-05-19  Richard Henderson  <rth@redhat.com>
37560         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
37562         * sysdeps/alpha/fpu/libm-test-ulps: Update.
37564 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37566         [BZ #16159]
37567         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
37568         * malloc/arena.c (arena_lock): Check if arena is corrupt.
37569         (reused_arena): Find a non-corrupt arena.
37570         (heap_trim): Pass arena to unlink.
37571         * malloc/hooks.c (malloc_check_get_size): Pass arena to
37572         malloc_printerr.
37573         (top_check): Likewise.
37574         (free_check): Likewise.
37575         (realloc_check): Likewise.
37576         * malloc/malloc.c (malloc_printerr): Add arena argument.
37577         (unlink): Likewise.
37578         (munmap_chunk): Adjust.
37579         (ARENA_CORRUPTION_BIT): New macro.
37580         (arena_is_corrupt): Likewise.
37581         (set_arena_corrupt): Likewise.
37582         (sysmalloc): Use mmap if there are no usable arenas.
37583         (_int_malloc): Likewise.
37584         (__libc_malloc): Don't fail if arena_get returns NULL.
37585         (_mid_memalign): Likewise.
37586         (__libc_calloc): Likewise.
37587         (__libc_realloc): Adjust for additional argument to
37588         malloc_printerr.
37589         (_int_free): Likewise.
37590         (malloc_consolidate): Likewise.
37591         (_int_realloc): Likewise.
37592         (_int_memalign): Don't touch corrupt arenas.
37593         * malloc/tst-malloc-backtrace.c: New test case.
37595         * Makefile (summarize-tests): Fix return value on success.
37597         * manual/string.texi (Envz Functions): Add envz_remove.
37599 2015-05-18  Roland McGrath  <roland@hack.frob.com>
37601         * sysdeps/posix/opendir.c: Include <stdbool.h>.
37602         (invalid_name): New function, broken out of ...
37603         (__opendirat): ... here.  Call it.
37604         (need_isdir_precheck): New function, broken out of ...
37605         (__opendirat): ... here.  Call it.
37606         Use __fxstatat64, not __xstatat64.
37607         (opendir_oflags): New function, broken out of ...
37608         (__opendirat): ... here.  Call it.
37609         (opendir_tail): New function, broken out of ...
37610         (__opendirat): ... here.  Call it.
37611         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
37612         opendir_tail, rather than punting to __opendirat.
37613         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
37615 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37617         * .gitignore: Ignore generated *.pyc.
37619 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
37621         * include/stdio.h: Define __need_wint_t.
37622         * test-skeleton.c: Avoid `for' loop initial declaration.
37623         * nptl/tst-initializers1.c: Use test-skeleton.c.
37625 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37627         [BZ #18418]
37628         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
37630 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
37632         [BZ #16352]
37633         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
37634         (__ieee754_atanh): Force underflow exception for results with
37635         small absolute value.
37636         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
37637         (__ieee754_atanhf): Force underflow exception for results with
37638         small absolute value.
37639         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
37640         (__ieee754_atanh): Force underflow exception for results with
37641         small absolute value.
37642         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
37643         (__ieee754_atanhf): Force underflow exception for results with
37644         small absolute value.
37645         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
37646         (__ieee754_atanhl): Force underflow exception for results with
37647         small absolute value.
37648         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
37649         (__ieee754_atanhl): Force underflow exception for results with
37650         small absolute value.
37651         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
37652         (__ieee754_atanhl): Force underflow exception for results with
37653         small absolute value.
37654         * math/auto-libm-test-in: Do not allow missing underflow
37655         exceptions from atanh.
37656         * math/auto-libm-test-out: Regenerated.
37658         [BZ #18221]
37659         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
37660         2**-28 as threshold for returning x or +/- 1/x.
37661         * math/auto-libm-test-in: Add more tests of tan.
37662         * math/auto-libm-test-out: Regenerated.
37664         [BZ #18220]
37665         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37666         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
37667         * math/auto-libm-test-in: Add another test of lgamma.
37668         * math/auto-libm-test-out: Regenerated.
37670 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
37672         * stdio-common/printf_fp.c (___printf_fp): Use abs.
37673         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
37674         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
37675         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
37676         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
37677         (ADD2A): Use fabs.  (SUB2A): Use fabs.
37678         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
37679         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
37680         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
37681         (log1): Use fabs.  (my_log2): Use fabs.
37682         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
37683         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
37684         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
37685         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
37686         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
37687         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
37688         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
37689         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
37690         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
37691         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
37692         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
37694 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
37696         [BZ #18217]
37697         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
37698         as threshold for returning 1 - x.
37699         * math/auto-libm-test-in: Add more tests of erfc.
37700         * math/auto-libm-test-out: Regenerated.
37702 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
37704         [BZ #18196]
37705         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
37706         threshold for large arguments.
37707         * math/auto-libm-test-in: Add another test of atan.
37708         * math/auto-libm-test-out: Regenerated.
37710         [BZ #16339]
37711         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
37712         (__log1p): Force underflow exception for results with small
37713         absolute value.
37714         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
37715         (__log1pf): Force underflow exception for results with small
37716         absolute value.
37717         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
37718         (__log1p): Force underflow exception for results with small
37719         absolute value.
37720         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
37721         (__log1pf): Force underflow exception for results with small
37722         absolute value.
37723         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
37724         (__log1pl): Force underflow exception for results with small
37725         absolute value.
37726         * math/auto-libm-test-in: Do not allow missing underflow
37727         exceptions from log1p.
37728         * math/auto-libm-test-out: Regenerated.
37730 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
37731             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37733         [BZ #16704]
37734         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
37736 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
37738         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
37739         (libmvec): New variable.
37740         * configure.ac: Added option for mathvec build.
37741         * configure: Regenerated.
37742         * mathvec/Depend: New file.
37743         * mathvec/Makefile: New file.
37744         * shlib-versions: Added libmvec.
37745         * math/Makefile: Added rule for libm.so installation.
37747         * bits/math-vector.h: New file.
37748         * bits/libm-simd-decl-stubs.h: New header.
37749         * math/Makefile (headers): Added new header
37750         libm-simd-decl-stubs.h.
37751         * math/math.h (__MATHCALL_VEC): New macro.
37753         * math/gen-libm-have-vector-test.sh: Script generates series of macros
37754         for conditions in testing functions.
37755         * math/Makefile: Added call of libm-have-vector-test.sh.
37756         * math/libm-test.inc (HAVE_VECTOR): New macros.
37758         * math/libm-test.inc: START refactored.
37759         * math/test-double.c (TEST_MATHVEC): Add define.
37760         * math/test-float.c: Likewise.
37761         * math/test-idouble.c: Likewise.
37762         * math/test-ifloat.c: Likewise.
37763         * math/test-ildoubl.c: Likewise.
37764         * math/test-ldouble.c: Likewise.
37765         * sysdeps/generic/math-tests-arch.h
37766         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
37767         architecture check.
37769         * math/test-double.c (FUNC_TEST): New macro.
37770         * math/test-float.c: Likewise.
37771         * math/test-idouble.c: Likewise.
37772         * math/test-ifloat.c: Likewise.
37773         * math/test-ildoubl.c: Likewise.
37774         * math/test-ldouble.c: Likewise.
37775         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
37777 2015-05-13  Roland McGrath  <roland@hack.frob.com>
37779         * sysdeps/nacl/fdopendir.c: New file.
37781         * dirent/scandir-tail.c: New file.
37782         * dirent/scandir64-tail.c: New file.
37783         * dirent/Makefile (routines): Add them.
37784         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
37785         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
37786         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
37787         [!SCANDIR] (SCANDIR_TAIL): New macro.
37788         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
37789         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
37790         (SCANDIRAT): Macro removed.
37791         (SCANDIR_TAIL): New macro.
37792         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
37793         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
37794         (SCANDIRAT): Just call __opendirat and __scandir_tail.
37795         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
37796         (READDIR): Macro removed.
37797         (SCANDIR_TAIL): New macro.
37798         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
37799         (SCANDIR_TAIL): New macro.
37801         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
37802         * dirent/scandir-cancel.c: ... to this new file.
37803         * dirent/Makefile (routines): Add it.
37804         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
37805         * sysdeps/unix/sysv/linux/i386/scandir64.c
37806         (SKIP_SCANDIR_CANCEL): Macro removed.
37807         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
37809         * dirent/tst-scandir.c: New file.
37810         * dirent/tst-scandir64.c: New file.
37811         * dirent/Makefile (tests): Add them.
37813 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
37815         [BZ #18409]
37816         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
37818 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37820         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
37821         list.
37823 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
37825         * benchtests/bench-strcoll.c: New benchmark.
37826         * benchtests/Makefile: Generate locales and run benchmark.
37827         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
37828         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
37829         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
37830         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
37831         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
37832         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
37833         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
37834         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
37835         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
37836         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
37837         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
37838         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
37839         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
37840         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
37841         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
37842         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
37843         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
37844         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
37845         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
37846         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
37847         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
37848         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
37849         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
37850         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
37852 2015-05-12  Ondƙej BĂ­lka  <neleai@seznam.cz>
37854         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
37855         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37857 2015-05-12  Roland McGrath  <roland@hack.frob.com>
37859         * posix/uname-values.h: New file.
37860         * posix/uname.c: Include that instead of <config-name.h>.
37861         * sysdeps/nacl/uname-values.h: New file.
37862         * sysdeps/arm/nacl/uname-values.h: New file.
37864 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
37866         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
37867         splitting into fields.
37869 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
37871         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
37872         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
37873         * locale/localeinfo.h: Add enum collation_encoding_type.
37874         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
37875         * programs/ld-collate.c (collate_output): Add encoding type info.
37876         * string/strcoll_l.c (STRDIFF): New function.
37877         * (STRCOLL): Use STRDIFF to skip over equal prefix.
37878         * wcsmbs/wcscoll_l.c: Define STRDIFF.
37880 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
37882         [BZ #18397]
37883         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
37884         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
37885         <fpu_control.h> instead of <math/fpu_control.c>.
37886         * sysdeps/mips/mips32/fpu/Makefile: New file.
37888 2015-05-11  Andreas Schwab  <schwab@suse.de>
37890         [BZ #18007]
37891         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
37892         nss_endgrent.
37893         (_nss_compat_endgrent): Call nss_endgrent.
37894         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
37895         nss_endpwent.
37896         (_nss_compat_endpwent): Call nss_endpwent.
37897         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
37898         needent, call nss_setspent only if non-zero.
37899         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
37900         (internal_endspent): Don't call nss_endspent.
37901         (_nss_compat_endspent): Call nss_endspent.
37902         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
37903         Remove.  All uses removed.
37904         (internal_setent): Remove parameter stayopen, add parameter
37905         stream.  Use it instead of global variable.
37906         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
37907         (internal_endent, internal_getent): Add parameter stream.  Use it
37908         instead of global variable.
37909         (CONCAT(_nss_files_end,ENTNAME))
37910         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
37911         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
37912         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
37913         uses removed.
37914         (internal_setent, internal_endent): Add parameter stream.  Use it
37915         instead of global variable.
37916         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
37917         stream.
37918         (get_next_alias): Add parameter stream.
37919         (_nss_files_getaliasent_r): Pass global stream.
37920         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
37921         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
37922         (_nss_files_gethostbyname4_r): Pass local stream to
37923         internal_setent, internal_getent and internal_endent.  Remove
37924         locking.
37926 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37928         * tst-strfmon1.c (tests): Update expected currency symbol.
37930 2015-05-08  Roland McGrath  <roland@hack.frob.com>
37932         * sysdeps/nacl/gethostname.c: New file.
37934 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
37936         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
37937         and sinh.
37938         * math/auto-libm-test-out: Regenerated.
37939         * sysdeps/i386/fpu/libm-test-ulps: Update.
37940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37942 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
37944         [BZ #18125]
37945         * stdlib/tst-setcontext3.c: New file.
37946         * stdlib/tst-setcontext3.sh: New file.
37947         * stdlib/Makefile (tests): Add tst-setcontext3.
37948         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
37949         to verify test program created output file.
37950         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
37951         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
37952         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
37953         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
37955 2015-05-06  Roland McGrath  <roland@hack.frob.com>
37957         [BZ #18383]
37958         * elf/tst-tlsalign.c: New file.
37959         * elf/tst-tlsalign-static.c: New file.
37960         * elf/tst-tlsalign-lib.c: New file.
37961         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
37962         (tests-static): Add tst-tlsalign-static.
37963         (modules-names): Add tst-tlsalign-lib.
37964         (test-xfail-tst-tlsalign): New variable.
37965         (test-xfail-tst-tlsalign-static): New variable.
37967         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
37968         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
37970 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
37972         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
37973         csqrt, erfc, sin and sincos.
37974         * math/auto-libm-test-out: Regenerated.
37975         * sysdeps/i386/fpu/libm-test-ulps: Update.
37976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37978 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37980         * sysdeps/aarch64/libm-test-ulps: Update.
37982 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
37984         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
37985         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
37986         * math/auto-libm-test-out: Regenerated.
37987         * sysdeps/i386/fpu/libm-test-ulps: Update.
37988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37990 2015-04-30  Daniel MarjamĂ€ki  <daniel.marjamaki@evidente.se>
37992         [BZ #18265]
37993         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
37994         (wcsncpy): Likewise.
37996 2015-05-05  Florian Weimer  <fweimer@redhat.com>
37998         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37999         Assume __ASSUME_FALLOCATE is always true.
38000         * sysdeps/unix/sysv/linux/posix_fallocate64.c
38001         (__posix_fallocate64_l64): Likewise.
38002         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
38003         (posix_fallocate): Likewise.
38004         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
38005         (__posix_fallocate64_l64): Likewise.
38006         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38007         [!__ASSUME_FALLOCATE]: Add comment.
38009 2015-05-05  Florian Weimer  <fweimer@redhat.com>
38011         * sysdeps/unix/sysv/linux/i386/Makefile
38012         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
38013         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
38014         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
38015         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38016         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38017         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
38018         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
38020 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
38022         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
38023         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
38024         tgamma.
38025         * math/auto-libm-test-out: Regenerated.
38026         * sysdeps/i386/fpu/libm-test-ulps: Update.
38027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38029 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
38031         * math/auto-libm-test-in: Add more tests of tgamma.
38032         * math/auto-libm-test-out: Regenerated.
38033         * sysdeps/i386/fpu/libm-test-ulps: Update.
38034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38036         * math/auto-libm-test-in: Add more tests of tanh.
38037         * math/auto-libm-test-out: Regenerated.
38038         * sysdeps/i386/fpu/libm-test-ulps: Update.
38039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38041         * math/auto-libm-test-in: Add more tests of tan.
38042         * math/auto-libm-test-out: Regenerated.
38043         * sysdeps/i386/fpu/libm-test-ulps: Update.
38044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38046         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
38047         * math/auto-libm-test-out: Regenerated.
38048         * sysdeps/i386/fpu/libm-test-ulps: Update.
38049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38051         * math/auto-libm-test-in: Add another test of pow.
38052         * math/auto-libm-test-out: Regenerated.
38053         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38055         * math/auto-libm-test-in: Add more tests of lgamma.
38056         * math/auto-libm-test-out: Regenerated.
38057         * sysdeps/i386/fpu/libm-test-ulps: Update.
38058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38060         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
38061         log1p.
38062         * math/auto-libm-test-out: Regenerated.
38063         * sysdeps/i386/fpu/libm-test-ulps: Update.
38064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38066 2015-05-01  Mark Wielaard  <mjw@redhat.com>
38068         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
38069         Elf64_Chdr structs and ELFCOMPRESS constants.
38071 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
38073         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
38074         expm1.
38075         * math/auto-libm-test-out: Regenerated.
38076         * sysdeps/i386/fpu/libm-test-ulps: Update.
38077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38079         * math/auto-libm-test-in: Add more tests of erf and erfc.
38080         * math/auto-libm-test-out: Regenerated.
38081         * sysdeps/i386/fpu/libm-test-ulps: Update.
38082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38084 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
38086         * config.h.in (HAVE_AARCH64_BE): Add.
38088 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
38090         * math/auto-libm-test-in: Add more tests of csqrt.
38091         * math/auto-libm-test-out: Regenerated.
38092         * sysdeps/i386/fpu/libm-test-ulps: Update.
38093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38095         * math/auto-libm-test-in: Add more tests of cosh and sinh.
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         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
38102 2015-04-29  Roland McGrath  <roland@hack.frob.com>
38104         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
38105         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
38107         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
38108         (euidaccess, eaccess): Define as weak aliases.
38110         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
38111         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
38112         but __suseconds_t is often 'long int' so some sources assume that
38113         type is being used (e.g. they use %ld to print tv_usec).
38115 2015-04-29  Florian Weimer  <fweimer@redhat.com>
38117         [BZ #18007]
38118         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
38119         (CVE-2014-8121)
38120         * nss/tst-nss-getpwent.c: New file.
38121         * nss/Makefile (tests): Add new test.
38123 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
38125         [BZ #18346]
38126         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
38127         exponents less than 48 as cases where high part of mantissa needs
38128         examining to determine whether argument is integral.
38129         * math/libm-test.inc (round_test_data): Add more tests.
38131 2015-04-28  Mark Wielaard  <mjw@redhat.com>
38133         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
38135 2015-04-27  David S. Miller  <davem@davemloft.net>
38137         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
38138         __tls_get_addr.
38139         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
38141 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
38143         [BZ #18333]
38144         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
38146 2015-04-27  Florian Weimer  <fweimer@redhat.com>
38148         [BZ #18333]
38149         * time/tzset.c (parse_tzname): Return error on memory allocation
38150         failure.
38151         * test-skeleton.c (struct temp_name_list): Change type of name
38152         member to non-const.
38153         (add_temp_file): Create a copy of the file name.
38154         (delete_temp_files): Deallocate memory.
38155         (create_temp_file): Add comment.
38157 2015-04-24  Florian Weimer  <fweimer@redhat.com>
38159         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
38160         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
38162 2015-04-24  Roland McGrath  <roland@hack.frob.com>
38164         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
38165         * sysdeps/arm/configure: Regenerated.
38167 2015-04-24  Florian Weimer  <fweimer@redhat.com>
38169         [BZ #17715]
38170         * time/tzfile.c (__tzfile_read): Check for large values of
38171         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
38172         * time/tzset.c (__tzstring_len): New function, based on the old
38173         __tzstring function.
38174         (__tzstring): Call __tzstring_len.
38175         (parse_tzname): New helper function extracted from
38176         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
38177         the input string.
38178         (parse_offset): New helper function extracted from
38179         __tzset_parse_tz.  Replace switch with fallthrough with
38180         initialization before sscanf.
38181         (parse_rule): Likewise.
38182         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
38183         new-style function definition.
38184         * timezone/Makefile (tests): Add tst-tzset.
38185         (tst-tzset.out): Dependencies on time zone files.
38186         (tst-tzset-ENV): Set TZDIR.
38187         (testdata/XT%): Copy crafted time zone files.
38188         * timezone/README: Mention crafted time zone files.
38189         * timezone/testdata/XT1, timezone/testdata/XT2,
38190         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
38191         files.
38192         * timezone/tst-tzset.c: New test.
38194 2015-04-24  Florian Weimer  <fweimer@redhat.com>
38196         * Makeconfig (+gccwarn): Remove -Winline.
38198 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
38200         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
38202 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
38204         * NEWS: Mention sysconf() cache information support for s390.
38205         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
38207 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
38209         * math/k_casinh.c (__kernel_casinh): Use __copysign.
38210         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
38211         (__nearbyint): Likewise.
38212         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
38213         (copysignl): Likewise.
38215 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
38217         [BZ #18287]
38218         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
38219         based on padding.  (CVE-2015-1781)
38221 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
38223         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
38224         libc-vdso.h.
38225         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
38226         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
38227         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
38228         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38229         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38230         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
38231         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
38232         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38233         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38234         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
38235         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38236         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38237         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
38238         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
38239         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38240         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
38241         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
38242         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
38243         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
38244         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
38245         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
38246         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
38247         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
38249 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
38251         * stdlib/setenv.c (__add_to_environ):
38252         Dump core quickly if setenv (..., NULL, ...) is called.
38253         This time, do it the right way, and pacify GCC with a pragma.
38255 2015-04-17  Roland McGrath  <roland@hack.frob.com>
38257         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
38258         IMAP->l_prev cannot be null, and #if out the code for the contrary
38259         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
38260         believe that NS (&_dl_ns[NSID]) could point outside the array.
38262         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
38263         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
38264         before using NSID as an index.
38266 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
38268         [BZ #17825]
38269         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
38270         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
38271         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
38273 2015-04-17  Roland McGrath  <roland@hack.frob.com>
38275         Add preliminary port to Google Native Client on ARM.
38276         * abi-tags (.*-.*-nacl.*): New entry.
38277         * sysdeps/arm/nacl: New directory.
38278         * sysdeps/nacl: New directory.
38280 2015-04-16  David S. Miller  <davem@davemloft.net>
38282         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
38283         lowlevellock-futex.h
38285 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
38287         * sysdeps/tile/configure.ac: New file.
38288         * sysdeps/tile/configure: Regenerated.
38290 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
38292         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
38293         conditionals for weak_alias and libc_hidden_weak.
38294         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
38295         libc_hidden_weak and weak_alias.
38296         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
38297         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
38298         and weak_alias for static one.
38300 2015-04-15  David S. Miller  <davem@davemloft.net>
38302         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38304 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38306         [BZ #18206]
38307         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
38308           Use signed comparision instead of substraction to avoid
38309           overflow bug.
38310         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
38311           Take the sign of ret.
38312         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
38313           Do not expect precise return values. Only the sign matters.
38314         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
38315         * wcsmbs/test-wcsncmp.c: New File.
38316         * string/test-strncmp.c: Add wcsncmp support.
38318 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38320         [BZ #6792]
38321         * math/w_log1p.c: New file.
38322         * math/w_log1pf.c: Likewise.
38323         * math/w_log1pl.c: Likewise.
38324         * math/Makefile (libm-calls): Add w_log1p.
38325         * math/s_log1pl.c (log1pl): Remove weak_alias.
38326         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
38327         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
38328         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
38329         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
38330         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
38331         [NO_LONG_DOUBLE] (log1pl): Likewise.
38332         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
38333         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
38334         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
38335         (log1p): Remove long_double_symbol.
38336         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
38337         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
38338         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
38339         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
38340         remove weak_alias for corresponding log1p function.
38341         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
38342         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
38343         * sysdeps/ia64/fpu/w_log1p.c: New file.
38344         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
38345         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
38346         * math/libm-test.inc (log1p_test_data): Add errno expectations.
38348 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
38350         [BZ #18247]
38351         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
38352         decimal exponent by 1.
38353         * stdlib/tst-strtod-round-data: Add more tests.
38354         * stdlib/tst-strtod-round.c (tests): Regenerated.
38356 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
38358         * math/auto-libm-test-in: Add more tests of clog and clog10.
38359         * math/auto-libm-test-out: Regenerated.
38360         * sysdeps/i386/fpu/libm-test-ulps: Update.
38361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38363 2015-04-09  Roland McGrath  <roland@hack.frob.com>
38365         * Makeconfig (module-cppflags): Exclude all .v.i files.
38366         (skip-module-cppflags): Variable removed.
38368         * configure.ac (libc_config_ok): Initialize before reading
38369         preconfigure scripts, not after.
38370         * configure: Regenerated.
38372         * test-skeleton.c (TIMEOUT): Move #define to top level.
38373         (main): Grok environment variable TEST_DIRECT.  If set, print
38374         test expectation details into that file and then behave as if
38375         given --direct.
38377 2015-04-09  Florian Weimer  <fweimer@redhat.com>
38379         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
38380         warning on 32-bit.
38382 2015-04-08  David S. Miller  <davem@davemloft.net>
38384         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38386 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
38388         * math/auto-libm-test-in: Add more tests of atanh.
38389         * math/auto-libm-test-out: Regenerated.
38390         * sysdeps/i386/fpu/libm-test-ulps: Update.
38391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38393         * math/auto-libm-test-in: Add more tests of atan.
38394         * math/auto-libm-test-out: Regenerated.
38395         * sysdeps/i386/fpu/libm-test-ulps: Update.
38396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38398 2015-04-08  Florian Weimer  <fweimer@redhat.com>
38400         * elf/pldd.c (main): Rewrite to use struct
38401         scratch_buffer instead of extend_alloca.
38402         * elf/pldd-xx.c (find_maps): Likewise.
38403         * grp/initgroups.c: Include <scratch_buffer.h> instead of
38404         <alloca.h>.
38405         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
38406         scratch_buffer instead of extend_alloca.
38407         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
38408         grp/compat-initgroups.c.
38409         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
38410         Rewrite to use struct scratch_buffer instead of extend_alloca.
38411         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
38412         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38414 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
38416         * math/auto-libm-test-in: Add more tests of cbrt.
38417         * math/auto-libm-test-out: Regenerated.
38418         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38420         * math/auto-libm-test-in: Add more tests of cabs.
38421         * math/auto-libm-test-out: Regenerated.
38422         * sysdeps/i386/fpu/libm-test-ulps: Update.
38423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38425         [BZ #18210]
38426         [BZ #18211]
38427         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
38428         (__ieee754_atan2): Set FE_TONEAREST mode for internal
38429         computations.
38430         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
38431         clog10.
38432         * math/auto-libm-test-out: Regenerated.
38433         * sysdeps/i386/fpu/libm-test-ulps: Update.
38434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38436         [BZ #18197]
38437         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
38438         (atan): Set FE_TONEAREST mode for internal computations.
38439         * math/auto-libm-test-in: Add more tests of atan.
38440         * math/auto-libm-test-out: Regenerated.
38442 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
38444         [BZ #17930]
38445         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
38447 2015-04-07  Florian Weimer  <fweimer@redhat.com>
38449         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
38451 2015-04-07  Florian Weimer  <fweimer@redhat.com>
38453         * include/scratch_buffer.h: New file.
38454         * malloc/scratch_buffer_grow.c: Likewise.
38455         * malloc/scratch_buffer_grow_preserve.c: Likewise.
38456         * malloc/scratch_buffer_set_array_size.c: Likewise.
38457         * malloc/tst-scratch_buffer.c: Likewise.
38458         * malloc/Makefile (routines): Add scratch_buffer_grow.
38459         (tests): Add test case.
38460         * malloc/Versions (GLIBC_PRIVATE): Export
38461         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
38462         __libc_scratch_buffer_set_array_size.
38464 2015-04-06  Richard Henderson  <rth@redhat.com>
38466         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
38467         * sysdeps/alpha/fpu/libm-test-ulps: Update.
38469         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
38470         unsigned int before printing.
38472 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38474         [BZ #17596]
38475         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
38476         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38478 2015-04-02  Florian Weimer  <fweimer@redhat.com>
38480         * include/libc-internal.h (libc_max_align_t): Define.
38482 2015-04-02  Andreas Schwab  <schwab@suse.de>
38484         [BZ #16850]
38485         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
38487 2015-04-02  Mel Gorman  <mgorman@suse.de>
38489         [BZ #17195]
38490         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
38491         as well as the main arena.
38493 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38495         [BZ #18185]
38496         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
38497         sharing L2 cache to 2 for Silvermont/Knights Landing.
38499 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38501         [BZ #17711]
38502         * config.make.in (have-protected-data): New.
38503         * configure.ac: Check linker support for protected data symbol.
38504         * configure: Regenerated.
38505         * elf/Makefile (modules-names): Add tst-protected1moda and
38506         tst-protected1modb if $(have-protected-data) is yes.
38507         (tests): Add tst-protected1a and tst-protected1b if
38508         $(have-protected-data) is yes.
38509         ($(objpfx)tst-protected1a): New.
38510         ($(objpfx)tst-protected1b): Likewise.
38511         (tst-protected1modb.so-no-z-defs): Likewise.
38512         * elf/tst-protected1a.c: New file.
38513         * elf/tst-protected1b.c: Likewise.
38514         * elf/tst-protected1mod.h: Likewise.
38515         * elf/tst-protected1moda.c: Likewise.
38516         * elf/tst-protected1modb.c: Likewise.
38518 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38520         [BZ #17711]
38521         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
38522         indicates it is called from do_lookup_x on relocation against
38523         protected data, skip the data definion in the executable from
38524         copy reloc.
38525         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
38526         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
38527         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
38528         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
38529         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
38530         otherwise to 0.
38531         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38532         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
38533         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
38534         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38535         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
38536         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
38538 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
38540         * sysdeps/nptl/pthread.h: Remove duplicate definition of
38541         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
38543 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
38545         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
38546         THREAD_SETMEM_NC.
38547         * sysdeps/x86_64/nptl/tls.h: Ditto.
38549 2015-03-27  Roland McGrath  <roland@hack.frob.com>
38551         * dlfcn/tststatic.c (main): Converted to ...
38552         (do_test): ... this.
38553         (TEST_FUNCTION): New macro.
38554         Include test-skeleton.c.
38556 2015-03-26  Alan Modra  <amodra@gmail.com>
38558         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
38559         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
38560         zero for undefined weak.
38561         (elf_machine_plt_conflict): Similarly.
38563 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
38565         * math/auto-libm-test-in: Add more tests of acosh, asinh and
38566         atanh.
38567         * math/auto-libm-test-out: Regenerated.
38568         * sysdeps/i386/fpu/libm-test-ulps: Update.
38569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38571         * math/auto-libm-test-in: Add another test of asin.
38572         * math/auto-libm-test-out: Regenerated.
38573         * sysdeps/i386/fpu/libm-test-ulps: Update.
38574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38576         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
38577         Remove macro.
38578         (LLL_EBX_REG): Likewise.
38579         (LLL_ENTER_KERNEL): Likewise.
38581         * math/auto-libm-test-in: Add more tests of asin.
38582         * math/auto-libm-test-out: Regenerated.
38583         * sysdeps/i386/fpu/libm-test-ulps: Update.
38584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38586         [BZ #18138]
38587         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
38588         libc_do_syscall_args): New structure.
38589         (INTERNAL_SYSCALL_MAIN_0): New macro.
38590         (INTERNAL_SYSCALL_MAIN_1): Likewise.
38591         (INTERNAL_SYSCALL_MAIN_2): Likewise.
38592         (INTERNAL_SYSCALL_MAIN_3): Likewise.
38593         (INTERNAL_SYSCALL_MAIN_4): Likewise.
38594         (INTERNAL_SYSCALL_MAIN_5): Likewise.
38595         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
38596         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
38597         Replace conditional definitions by conditional definitions of ....
38598         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
38599         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
38600         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
38601         (libpthread-sysdep_routines): Add libc-do-syscall.
38602         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
38603         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
38604         to __NR_futex not 240.
38606 2015-03-25  Alan Modra  <amodra@gmail.com>
38608         * NEWS: Advertise TLS optimization.
38609         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
38610         (DT_PPC_NUM): Increment.
38611         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
38612         (CHECK_STATIC_TLS): Use here.
38613         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
38614         TLS descriptors.
38615         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38616         * sysdeps/powerpc/dl-tls.c: New file.
38617         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
38618         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
38619         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
38620         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
38621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
38622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
38623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
38625 2015-03-25  Alan Modra  <amodra@gmail.com>
38627         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
38628         for overlapping .opd entries" to "support...".
38629         * sysdeps/powerpc/powerpc64/configure: Regenerate
38631 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
38633         * math/auto-libm-test-in: Add more tests of acos.
38634         * math/auto-libm-test-out: Regenerated.
38635         * sysdeps/i386/fpu/libm-test-ulps: Update.
38636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38638         * math/auto-libm-test-in: Add more tests of expm1.
38639         * math/auto-libm-test-out: Regenerated.
38640         * sysdeps/i386/fpu/libm-test-ulps: Update.
38641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38643 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
38645         * math/auto-libm-test-in: Add more tests of cosh and sinh.
38646         * math/auto-libm-test-out: Regenerated.
38647         * sysdeps/i386/fpu/libm-test-ulps: Update.
38648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38650         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38653         * math/auto-libm-test-in: Add more tests of log2.
38654         * math/auto-libm-test-out: Regenerated.
38655         * sysdeps/i386/fpu/libm-test-ulps: Update.
38656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38658 2015-03-23  Roland McGrath  <roland@hack.frob.com>
38660         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
38661         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
38662         _IO_IS_APPENDING bit in READ_WRITE instead.
38664 2015-03-23  Florian Weimer  <fweimer@redhat.com>
38666         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
38667         (__determine_cpumask_size): Replace extend_alloca with a
38668         variable-length array.  Do not treat res == 0 as an error.
38670 2015-03-23  Florian Weimer  <fweimer@redhat.com>
38672         [BZ #18100]
38673         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
38674         and integer overflow.
38675         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
38676         (main): Add integer overflow tests.
38677         * manual/pattern.texi (Calling Wordexp): Document additional use
38678         for WRDE_SYNTAX.
38680 2015-03-23  Alan Modra  <amodra@gmail.com>
38682         * config.h.in: Remove HAVE_ASM_PPC_REL16.
38683         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
38684         and false branch of conditional.
38685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38686         Likewise.
38688 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
38690         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
38691         libc-modules.h
38692         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
38693         unused declaration of _hurd_intr_rpc_msg_in_trap.
38694         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
38695         defined instead of whether it is non-zero.
38696         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
38697         input constraint instead of both input and output constraint.  Use ecx
38698         clobber instead of %ecx.
38699         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
38700         mutex_unlock): Use a statement expression instead of an expression list.
38701         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
38702         type to vm_size_t instead of vm_address_t.
38703         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
38704         defined instead of whether it is non-zero.
38705         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
38706         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
38707         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
38708         comparisons with mapaddr.
38709         * nscd/nscd-client.h: Include <time.h>.
38710         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
38711         9th parameter to __vm_region instead of int.
38712         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
38713         * scripts/check-local-headers.sh (exclude): Add device/,
38714         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
38715         cthreads.h.
38717 2015-03-19  Roland McGrath  <roland@hack.frob.com>
38719         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
38720         to account for alignment padding.
38721         * sysdeps/arm/memmove.S: Likewise.
38723 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
38725         * sysdeps/unix/sysv/linux/generic/README: New file.
38727 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
38729         [BZ #18138]
38730         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
38731         (futex_abstimed_wait)
38732         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
38733         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
38734         of lll_futex_timed_wait.
38736 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
38738         [BZ #17542]
38739         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
38741 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
38743         [BZ #17090]
38744         [BZ #17620]
38745         [BZ #17621]
38746         [BZ #17628]
38747         * NEWS: Update.
38748         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
38749         entries with Static TLS too.  Skip entries past the end of the
38750         allocated DTV, from Alan Modra.
38751         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
38752         Static TLS DTV entry set up from...
38753         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
38754         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
38755         * nptl/allocatestack.c (init_one_static_tls): ... and here...
38756         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
38757         for Static TLS.
38758         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
38759         that the slot we find is associated with the given map before
38760         using its generation count.
38761         * nptl_db/db_info.c: Include ldsodefs.h.
38762         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
38763         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
38764         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
38765         (link_map::l_tls_offset): New struct field.
38766         (dtv_t::counter): Likewise.
38767         (rtld_global): New struct.
38768         (_rtld_global): New rtld variable.
38769         (dl_tls_dtv_slotinfo_list): New rtld global field.
38770         (dtv_slotinfo_list): New struct.
38771         (dtv_slotinfo): Likewise.
38772         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
38773         (td_lookup): Rename to...
38774         (td_mod_lookup): ... this.  Use new mod parameter instead of
38775         LIBPTHREAD_SO.
38776         * nptl_db/td_thr_tlsbase.c: Include link.h.
38777         (dtv_slotinfo_list, dtv_slotinfo): New functions.
38778         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
38779         addresses even if the DTV is out of date or missing them.
38780         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
38781         index zero-length arrays.
38782         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
38783         (td_lookup): Make it a macro implemented in terms of...
38784         (td_mod_lookup): ... this declaration.
38785         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
38786         (DB_MAIN_VARIABLE): Likewise.
38788 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38790         [BZ #18134]
38791         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
38793 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
38795         * stdlib/setenv.c (__add_to_environ): Revert previous change.
38797 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
38799         [BZ #18128]
38800         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
38801         (atomic_add, atomic_increment_and_test)
38802         (atomic_decrement_and_test): Fix 64-bit arithmetic.
38804 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
38806         * stdlib/setenv.c (__add_to_environ):
38807         Dump core quickly if setenv (..., NULL, ...) is called.
38809 2015-03-13  Roland McGrath  <roland@hack.frob.com>
38811         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
38812         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
38813         all the necessary asm magic in one place.
38814         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
38815         using those.
38817 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
38819         [BZ #14906]
38820         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
38821         traced file mtime. Use consistent log message.
38822         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
38823         (register_traced_file): Call install_watches. Always set mtime.
38824         (invalidate_cache): Iterate over all trace files. Call install_watches.
38825         (inotify_check_files): Don't inline. Handle watching parent
38826         directories and configuration file movement in and out.
38827         (handle_inotify_events): New function.
38828         (main_loop_poll): Call handle_inotify_events.
38829         (main_loop_epoll): Likewise.
38830         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
38831         (struct traced_file): Use array of inotify fds. Add parent directory,
38832         and basename.
38833         (struct database_dyn): Remove unused file_mtime.
38834         (init_traced_file): New inline function.
38835         (define_traced_file): New macro.
38836         * nss/nss_db/db-init.c: Use define_traced_file.
38837         (_nss_db_init): Use init_traced_file.
38838         * nss/nss_files/files-init.c: Use define_traced_file.
38839         (_nss_files_init): Use init_traced_file.
38841 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
38843         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
38844         [_LIBC]: Do not include <stdlib.h>.
38845         [!_LIBC] (abort): Remove declaration.
38846         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
38847         _FP_STATIC_ASSERT instead of conditionally calling abort.
38848         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
38849         (_FP_EXTEND_CNAN): Likewise.
38850         (FP_TRUNC): Likewise.
38851         (__FP_CLZ): Likewise.
38852         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
38854 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
38856         * manual/string.texi (XPG basename): Fix prototype.
38858 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38860         [BZ #18080]
38861         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
38862         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38863         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
38864         (__setcontext): Likewise.
38865         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
38866         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38867         Call rt_sigprocmask syscall one time to set new signal mask
38868         and retrieve the current signal mask instead of two calls.
38869         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
38870         (__swapcontext): Likewise.
38871         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
38872         * stdlib/tst-setcontext2.c: New file.
38874 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38876         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38878 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
38880         [BZ #18093]
38881         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
38882         the wrong size.
38884 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
38886         [BZ #18043]
38887         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
38889 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38891         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
38892         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
38893         Remove define.
38894         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
38895         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
38896         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
38897         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
38898         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
38899         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
38900         define.
38901         * nptl_db/td_symbol_list.c (td_lookup): Remove
38902         HAVE_ASM_GLOBAL_DOT_NAME code.
38903         * sysdeps/powerpc/powerpc64/configure.ac: Remove
38904         HAVE_ASM_GLOBAL_DOT_NAME check.
38905         * sysdeps/powerpc/powerpc64/configure: Regenerate.
38906         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
38907         (DOT_LABEL): Remove define.
38908         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
38909         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
38910         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
38911         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
38912         (__TLS_GET_ADDR): Likewise.
38913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
38914         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
38916 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
38918         [BZ #18111]
38919         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
38920         (_FPU_SETCW): Initialize cw from fpsr before storing.
38921         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
38922         (fesetexceptflag): Rewrite using fpu_control.h.
38923         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
38925 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
38927         [BZ #18110]
38928         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
38929         asms.
38930         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
38932 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
38934         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
38935         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
38936         abort.
38937         (_FP_FMA): Likewise.
38938         (_FP_DIV): Likewise.
38940 2015-03-10  Roland McGrath  <roland@hack.frob.com>
38942         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
38943         with 0 in that case.
38944         * Makefile (summarize-tests): New canned sequence, factored out of
38945         commands for targets tests and xtests.  Display summary lines that
38946         don't start with PASS: or XFAIL: rather than ones that do start with
38947         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
38948         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
38949         do start with ERROR: or FAIL:.
38950         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
38951         (except for [$(build-shared) = yes]).
38952         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
38953         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
38954         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
38955         * nptl/Makefile: Revert 2015-03-04 changes.
38956         [$(CXX) empty] (tests-unsupported): New variable.
38957         * debug/Makefile: Likewise.
38959         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
38960         gnulib file.  Replace __attribute with __attribute__ throughout.
38962 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
38964         * sysdeps/hppa/fpu/libm-test-ulps: Update.
38966 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
38968         [BZ #18104]
38969         * math/auto-libm-test-in: Add another test of pow.
38970         * math/auto-libm-test-out: Regenerated.
38972 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38974         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
38975         $(config-cflags-nofma).
38977 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
38979         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
38980         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
38981         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
38982         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
38983         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
38984         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
38985         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
38986         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
38987         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
38988         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
38989         Add comment on closing #endif.
38991 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
38993         * posix/wordexp.c (CHAR_IN_SET): New macro.
38994         (parse_param): Use it.
38996 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38998         * sysdeps/powerpc/fpu/libm-test-ulps: update.
39000 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
39002         [BZ #18043]
39003         * posix/wordexp.c (parse_param): Fix buffer overflow.
39004         * posix/wordexp-test.c (test_case): Add test case.
39006 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
39008         [BZ #18042]
39009         * posix/wordexp.c (parse_backtick): Fix off-by-one.
39010         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
39012 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
39014         [BZ #18043]
39015         * posix/wordexp-test.c (test_case): Add test for BZ #18043
39016         (do_bz18043): Delete.
39017         (at_page_end): New.
39018         (testit): Refactor to have words at the edge of unreadable page.
39020 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
39022         [BZ #16734]
39023         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
39024         Cleanup read-only streams as well.
39025         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
39027 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39029         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
39030         <bits/libc-lockP.h>
39032 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
39034         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
39035         on [__KERNEL__].
39036         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
39037         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
39038         * soft-fp/op-common.h (_FP_DECL): Likewise.
39040 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
39042         * elf/ifuncdep2.c (global): Replace
39043         __attribute__((visibility("protected"))) with
39044         asm (".protected global").
39045         * elf/ifuncmod1.c (global): Likewise.
39046         * elf/ifuncmod5.c (global): Likewise.
39048 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
39050         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
39051         <asm/sfp-machine.h> instead of <sfp-machine.h>.
39053 2015-03-06  Roland McGrath  <roland@hack.frob.com>
39055         * manual/install.texi (Configuring and compiling):
39056         Document test-wrapper-env-only.
39057         * INSTALL: Regenerated.
39059 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39061         [BZ #18043]
39062         * posix/wordexp.c (parse_param): Fix buffer overflow.
39063         * posix/wordexp-test.c (do_bz18043): Add test case.
39065 2015-03-06  Vincent Bernat  <vincent@bernat.im>
39067         * time/tst-strptime2.c (do_test): Ensure failing tests are
39068         reported correctly.
39069         * time/tst-strptime3.c (do_test): Likewise.
39071 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
39073         Fix aio_error thread-safety.
39074         * sysdeps/pthread/aio_error.c: New file
39075         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
39076         synchronization.
39078 2015-03-06  Florian Weimer  <fweimer@redhat.com>
39080         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
39081         (group_number, vfprintf): Use it.
39082         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
39083         (JUMP, REF): Use it.
39084         (WORK_BUFFER_SIZE): New enum constant.
39085         (process_arg, vfprintf): Use it.
39087 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
39089         * manual/errno.texi (Error Messages): Complete example function
39090         by adding missing #define.
39091         (program_invocation_name): Add statement indicating GNU
39092         extension and reference which header file declares the variable.
39093         (program_invocation_short_name): Likewise.
39095 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
39097         * manual/errno.texi (Error Messages): Delete strerror ISO C89
39098         compatibility note.
39100 2015-03-05  Roland McGrath  <roland@hack.frob.com>
39102         * Makeconfig (test-wrapper-env-only): New variable.
39103         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
39104         then use that with $(test-wrapper-env-only) rather than using
39105         $(test-wrapper-env) $(run-program-env) $($*-ENV).
39107 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
39109         [BZ #18082]
39110         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
39111         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
39112         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
39113         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
39114         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
39115         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
39116         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
39117         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
39118         Likewise.
39119         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
39120         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
39121         Likewise.
39122         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
39123         Likewise.
39124         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
39125         Likewise.
39126         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
39127         Likewise.
39128         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
39129         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
39130         Likewise.
39131         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
39132         Likewise.
39133         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
39134         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
39136 2015-03-04  Roland McGrath  <roland@hack.frob.com>
39138         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
39139         (ETH_ALEN): New macro.
39140         (struct ether_addr): Use it for length of ether_addr_octet.
39142         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
39143         (setdb): Don't call __nss_configure_lookup for "rpc".
39144         (do_test): Don't call test_rpc.
39145         (output_rpcent, test_rpc): Functions moved ...
39146         * sunrpc/test-rpcent.c: ... to this new file.
39147         * sunrpc/Makefile (tests): Add it.
39149         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
39150         __xpg_sigpause.
39151         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
39152         * nptl/tst-signal6.c: Likewise.
39153         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
39154         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
39156         * configure.ac (libc_cv_cxx_link_ok): New check.
39157         Reset CXX to empty if it fails to link.
39158         * configure: Regenerated.
39159         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
39160         bug-atexit3-lib only if $(CXX) is nonempty.
39161         * nptl/Makefile (tests): Likewise for tst-cancel24.
39162         (tests, tests-static): Likewise for tst-cancel24-static.
39163         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
39164         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
39165         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
39166         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
39168 2015-03-04  Andreas Schwab  <schwab@suse.de>
39170         [BZ #17631]
39171         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
39172         for non-GCC compilers.
39173         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39174         Likewise.
39176 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39178         [BZ #17776]
39179         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
39180         integer before bitwise and assembly operations.
39181         (feclearexcept): Likewise.
39182         * math/test-fenvinline.c: New file.
39183         * math/Makefile: Add test-fenvinline test.
39185 2015-03-03  Alan Modra  <amodra@gmail.com>
39187         [BZ #16512]
39188         * scripts/localplt.awk: Strip off symbol version.
39189         * NEWS: Mention bug fix.
39191 2015-03-02  Roland McGrath  <roland@hack.frob.com>
39193         * sysdeps/pthread/timer_routines.c
39194         (timer_free_list, thread_free_list, thread_active_list): Make static.
39196 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
39198         [BZ #17779]
39199         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39200         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39201         Undefine.
39202         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39203         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39204         Likewise.
39205         * sysdeps/unix/sysv/linux/sh/kernel-features.h
39206         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39207         Likewise.
39209 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
39211         [BZ #18036]
39212         * posix/fnmatch_loop.c (END): Detect invalid pattern.
39213         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
39215 2015-03-02  Andreas Schwab  <schwab@suse.de>
39217         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
39218         variable name.
39220 2015-03-02  Florian Weimer  <fweimer@redhat.com>
39222         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
39223         Return error status.
39225 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
39227         [BZ #15969]
39228         * locale/findlocale.c (_nl_find_locale): Introduce const
39229         version of loc_name and drop unsafe type casts.
39231 2015-02-27  Roland McGrath  <roland@hack.frob.com>
39233         * dlfcn/tststatic2.c (main): Converted to ...
39234         (do_test): ... this.
39235         (TEST_FUNCTION): New macro.
39236         Include test-skeleton.c.
39238 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
39240         [BZ #17711]
39241         * elf/Makefile (tests): Add vismain only if PIE is enabled.
39242         (tests-pie): Add vismain.
39243         (CFLAGS-vismain.c): New.
39244         * elf/vismain.c: Add comments for PIE requirement.
39246 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
39248         [BZ #18046]
39249         [BZ #18047]
39250         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
39251         0x1p-56L as threshold for just returning the argument.
39252         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
39253         0x1p-32L as threshold for just returning the argument.
39254         * math/auto-libm-test-in: Add more tests of atanh.
39255         * math/auto-libm-test-out: Regenerated.
39256         * sysdeps/i386/fpu/libm-test-ulps: Update.
39257         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
39259 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
39261         * string/bcopy.c (bcopy): Call memmove for performance.
39263 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
39265         * string/bzero.c (__bzero): Call memset for performance.
39267 2015-02-27  John David Anglin  <dave.anglin@bell.net>
39269         [BZ #18068]
39270         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
39271         to 00100000.
39273 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
39275         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
39277 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
39279         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
39280         (__kernel_standard): Use CSTR macro when setting exc.name.
39281         * sysdeps/ieee754/Makefile [$(subdir) = math]
39282         (CFLAGS-k_standard.c): Remove variable.
39284         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
39285         setting p and q from "else if" to "else".
39286         (qzero): Likewise.
39287         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
39288         (qone): Likewise.
39289         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
39290         (qzerof): Likewise.
39291         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
39292         (qonef): Likewise.
39293         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
39294         (qzero): Likewise.
39295         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
39296         (qone): Likewise.
39298         [BZ #18038]
39299         [BZ #18039]
39300         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
39301         return pi/2 for arguments below 0x1p-113L.
39302         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
39303         return pi/2 for arguments below 0x1p-106L.
39304         * math/auto-libm-test-in: Add more tests of acos.
39305         * math/auto-libm-test-out: Regenerated.
39307         [BZ #16351]
39308         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
39309         (MO): New macro.
39310         (__ieee754_asin): Force underflow exception for results with small
39311         absolute value.
39312         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
39313         (MO): New macro.
39314         (__ieee754_asinf): Force underflow exception for results with
39315         small absolute value.
39316         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
39317         (__ieee754_asin): Force underflow exception for results with small
39318         absolute value.
39319         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
39320         (__ieee754_asinf): Force underflow exception for results with
39321         small absolute value.
39322         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
39323         (__ieee754_asinl): Force underflow exception for results with
39324         small absolute value.
39325         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
39326         (__ieee754_asinl): Force underflow exception for results with
39327         small absolute value.
39328         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
39329         (__ieee754_asinl): Force underflow exception for results with
39330         small absolute value.
39331         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
39332         Include <math.h>.
39333         * math/auto-libm-test-in: Do not mark underflow exceptions as
39334         possibly missing for bug 16351.
39335         * math/auto-libm-test-out: Regenerated.
39337         [BZ #18030]
39338         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
39339         of power of 2 down when low part has opposite sign.
39340         * math/libm-test.inc (logb_test_data): Add more tests.
39342 2015-02-26  Andreas Schwab  <schwab@suse.de>
39344         [BZ #18032]
39345         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
39346         over collating symbol inside a bracket expression.  Minor cleanup.
39347         * posix/tst-fnmatch3.c (do_test): Add test case.
39349 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
39351         [BZ #18029]
39352         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
39353         Adjust exponent of power of 2 down when low part has opposite
39354         sign.
39355         * math/libm-test.inc (ilogb_test_data): Add more tests.
39357 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
39359         [BZ #15969]
39360         * locale/findlocale.c (_nl_find_locale): Fix constness error in
39361         the previous change.
39363         [BZ #15969]
39364         * locale/findlocale.c (_nl_find_locale): Retry archive search
39365         after alias expansion.
39367 2015-02-25  Roland McGrath  <roland@hack.frob.com>
39369         * iconv/tst-iconv3.c (main): Converted to ...
39370         (do_test): ... this.
39371         (TEST_FUNCTION): New macro.
39372         Include test-skeleton.c.
39374         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
39375         (convert): Make function static.
39376         (test_unalign): Likewise.  Add const to argument pointee types.
39377         (main): Replace with static function do_test.
39378         Print "Succeeded." only if RET is zero.
39379         (TEST_FUNCTION): New macro.
39380         Include test-skeleton.c.
39382         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
39383         returns a null pointer.
39385 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39387         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
39388         to __memcpy_ppc only for static builds.
39390 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
39392         [BZ #18020]
39393         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
39394         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
39395         * math/auto-libm-test-in: Add more tests of asinh.
39396         * math/auto-libm-test-out: Regenerated.
39397         * sysdeps/i386/fpu/libm-test-ulps: Update.
39398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39400 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
39402         [BZ #15850]
39403         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
39404         and ip6_mtuinfo definitions here.
39405         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
39406         in this define too.  Update comment.
39408 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
39410         * elf/sprof.c (load_shobj): Tweak error message to match others.
39412 2015-02-24  Kevin Easton  <kevin@guarana.org>
39414         [BZ #16145] (partial fix)
39415         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
39416         to reduce lock contention.
39418 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
39420         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
39421         (struct timex): Update time comment.
39422         (ADJ_SETOFFSET): Define.
39424 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
39426         [BZ #18019]
39427         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39428         2**56 not 2**28 as threshold for log (2x) formula.
39429         * math/auto-libm-test-in: Add more tests of acosh.
39430         * math/auto-libm-test-out: Regenerated.
39431         * sysdeps/i386/fpu/libm-test-ulps: Update.
39432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39434 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
39436         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
39437         parenthesis around the buf assignment.
39438         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
39440 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
39442         [BZ #16783]
39443         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
39444         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
39445         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
39446         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39447         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39448         * math/libm-test.inc (scalb_test_data): Add more tests.
39450 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
39452         [BZ #17916]
39453         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
39454         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
39456 2015-02-24  Eric Rannaud  <e@nanocritical.com>
39458         [BZ #17523]
39459         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
39460         * io/bits/fcntl2.h (open): Use it.
39461         (openat): Likewise.
39462         * io/open.c (__libc_open): Likewise.
39463         * io/open64.c (__libc_open64): Likewise.
39464         * io/open64_2.c (__open64_2): Likewise.
39465         * io/open_2.c (__open_2): Likewise.
39466         * io/openat.c (__openat): Likewise.
39467         * io/openat64.c (__openat64): Likewise.
39468         * io/openat64_2.c (__openat64_2): Likewise.
39469         * io/openat_2.c (__openat_2): Likewise.
39470         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
39471         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
39472         * sysdeps/posix/open64.c (__libc_open64): Likewise.
39473         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
39474         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
39475         (__open_nocancel): Likewise.
39476         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
39477         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
39478         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
39480 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39482         [BZ #14841]
39483         * resolv/gethnamaddr.c (getanswer): Skip logging if
39484         RES_USE_DNSSEC is set.
39485         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39487 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
39489         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
39491 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
39493         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
39494         201304L, for Unicode 7.
39496 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
39498         [BZ #17836]
39499         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
39500         shared library.  Add gmon-start.os otherwise.
39501         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
39502         $(objpfx)gmon-start.os if builing shared library.
39503         ($(objpfx)g$(static-start-installed-name)): Likewise.
39505 2015-02-23  Andreas Schwab  <schwab@suse.de>
39507         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
39509 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
39511         [BZ #17269]
39512         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
39513         (enlarge_userbuf): Likewise.
39515 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
39517         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
39518         * math/atest-exp.c (TIMEOUT): Adjust to 200.
39519         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
39520         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
39522 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
39524         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
39525         expression inside statement expression.
39527 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
39529         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
39530         <sysdeps/nptl/lowlevellock.h> and remove macros and
39531         functions that are now defined there.
39532         (SYS_futex): Remove.
39533         (lll_compare_and_swap): Remove.
39534         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
39536 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
39538         [BZ #17999]
39539         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
39540         instead of scandirat.
39541         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
39542         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
39543         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
39544         __scandirat.
39545         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
39546         (__scandirat): Declare.  Use libc_hidden_proto.
39547         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
39548         Remove variable.
39549         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
39551 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
39553         [BZ #15319]
39554         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
39555         (MO): New macro.
39556         (__ieee754_atan2): For results with small absolute value, force
39557         underflow exception and remove excess range and precision from
39558         return value.
39559         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
39560         (MO): New macro.
39561         (__ieee754_atan2f): For results with small absolute value, force
39562         underflow exception and remove excess range and precision from
39563         return value.
39564         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
39565         (MO): New macro.
39566         (__atan): For results with small absolute value, force underflow
39567         exception and remove excess range and precision from return value.
39568         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
39569         (MO): New macro.
39570         (__atanf): For results with small absolute value, force underflow
39571         exception and remove excess range and precision from return value.
39572         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
39573         <math.h>.
39574         (__ieee754_atan2): Force underflow exception for results with
39575         small absolute value.
39576         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
39577         <math_private.h>.
39578         (atan): Force underflow exception for results with small absolute
39579         value.
39580         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
39581         (__atanf): Force underflow exception for results with small
39582         absolute value.
39583         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
39584         <math.h>.
39585         (__atanl): Force underflow exception for results with small
39586         absolute value.
39587         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
39588         (__atanl): Force underflow exception for results with small
39589         absolute value.
39590         * sysdeps/x86/fpu/bits/mathinline.h
39591         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
39592         (__ieee754_atan2): Only define inline for long double.
39593         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
39594         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
39595         * math/auto-libm-test-in: Do not mark underflow exceptions as
39596         possibly missing for bug 15319.  Add more tests of atan2.
39597         * math/auto-libm-test-out: Regenerated.
39598         * math/libm-test.inc (casin_test_data): Do not mark underflow
39599         exceptions as possibly missing for bug 15319.
39600         (casinh_test_data): Likewise.
39601         * sysdeps/i386/fpu/libm-test-ulps: Update.
39603 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
39605         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
39606         * sysdeps/mips/bits/endian.h: Fix comments.
39608 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
39610         [BZ #17996]
39611         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
39612         (hdestroy_r): Likewise.
39613         (hsearch_r): Likewise.
39614         (__hcreate_r): Declare and use libc_hidden_proto.
39615         (__hdestroy_r): Likewise.
39616         (__hsearch_r): Likewise.
39617         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
39618         (hcreate): Call __hcreate_r instead of hcreate_r.
39619         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
39620         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
39621         as weak alias of __hcreate_r.
39622         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
39623         __hdestroy_r.
39624         (hsearch_r): Rename to __hsearch_r and define as weak alias of
39625         __hsearch_r.
39626         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
39627         Remove variable.
39628         (test-xfail-XPG4/search.h/linknamespace): Likewise.
39629         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
39630         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
39631         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
39633 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39635         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
39636         arena_lock into a single arena_get.
39638 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
39640         * dl-reloc.c: Inlucde libc-internal.h.
39641         (_dl_try_allocate_static_tls): Call ALIGN_UP.
39642         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
39643         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
39644         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
39645         (grow_heap): Likewise.
39646         * malloc/malloc.c: Include libc-internal.h.
39647         (do_check_malloc): Call powerof2.
39648         (sysmalloc): Use pagesize. Call ALIGN_UP.
39649         (systrim): Use pagesize.
39650         (mremap_chunk): Use pagesize. Call ALIGN_UP.
39651         (__libc_valloc): Use pagesize.
39652         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
39654 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
39656         [BZ #17991]
39657         * include/sys/resource.h (__getrlimit64): Declare.  Use
39658         libc_hidden_proto.
39659         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
39660         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
39661         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
39662         getrlimit64.
39663         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
39664         __getrlimit64.
39665         [!getrlimit64] (getrlimit64): Define as weak alias of
39666         __getrlimit64.  Use libc_hidden_weak.
39667         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
39668         using __getrlimit64 not __new_getrlimit64.
39669         (__GI_getrlimit64): Likewise.
39670         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
39671         Likewise.
39672         (__GI_getrlimit64): Likewise.
39673         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
39674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
39675         (getrlimit): Add __getrlimit64 alias.
39676         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
39677         Likewise.
39678         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
39679         Remove variable.
39680         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39681         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39683 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
39685         * libio/fileops.c: Add missing sys/mman.h
39686         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
39688 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
39690         * manual/math.texi (Errors in Math Functions): Clarify goals
39691         regarding inexact and underflow exceptions.
39693 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
39695         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
39696         * sysdeps/mips/memset.S: Ditto.
39698 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
39700         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
39702 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
39704         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
39705         (__v1longjmp): Remove versioned symbol.
39706         (__v1siglongjmp): Remove alias and versioned symbol.
39707         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
39708         (__v2siglongjmp): Likewise.
39710 2015-02-16  Torvald Riegel  <triegel@redhat.com>
39712         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
39714 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
39716         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
39718 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
39720         [BZ #17987]
39721         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
39722         zero result does not depend on the sign resulting from
39723         subtraction.
39724         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39725         Likewise.
39726         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39727         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39728         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39729         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39730         * math/libm-test.inc (remquo_test_data): Add more tests.
39732 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
39734         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
39735         Problem reported by J William Piggott.
39737 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
39739         [BZ #17978]
39740         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
39741         products 4 * y and 2 * y where those would overflow.
39742         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39743         Likewise.
39744         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39745         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39746         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39747         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39748         * math/libm-test.inc (remquo_test_data): Add more tests.
39750         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
39752         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
39753         [defined _COMPILING_NEWLIB].
39754         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
39755         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
39757         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
39758         [!defined __mips_isa_rev || __mips_isa_rev < 6].
39760 2015-02-16  Torvald Riegel  <triegel@redhat.com>
39762         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
39763         acquired.
39765 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
39767         [BZ #17792]
39768         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
39769         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
39770         HOST_STACK_END_ADDR): Likewise.
39772 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
39774         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
39775         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
39776         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
39778 2015-02-13  Roland McGrath  <roland@hack.frob.com>
39780         * sysdeps/generic/c++-types.data: New file.
39781         * sysdeps/generic/ld.abilist: New file.
39782         * sysdeps/generic/libBrokenLocale.abilist: New file.
39783         * sysdeps/generic/libanl.abilist: New file.
39784         * sysdeps/generic/libc.abilist: New file.
39785         * sysdeps/generic/libcrypt.abilist: New file.
39786         * sysdeps/generic/libdl.abilist: New file.
39787         * sysdeps/generic/libm.abilist: New file.
39788         * sysdeps/generic/libpthread.abilist: New file.
39789         * sysdeps/generic/libresolv.abilist: New file.
39790         * sysdeps/generic/librt.abilist: New file.
39792 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
39794         [BZ #17569]
39795         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39796         Compute absolute value of x as modified by fmod, not original
39797         value of x.
39798         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
39799         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
39800         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
39801         RUN_TEST_ffI_f1_mod8.
39802         (remquo_test_data): Add more tests.
39804 2015-02-13  Roland McGrath  <roland@hack.frob.com>
39806         * sysdeps/init_array/pt-crti.S: New file.
39808 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
39810         [BZ #17967]
39811         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
39812         __builtin_fmaf instead of relying on contraction of a * b + c.
39814 2015-02-12  J William Piggott  <elseifthen@gmx.com>
39816         [BZ #17969]
39817         * manual/time.texi: correct the zoneinfo path in the TZ Variable
39818         node.
39820 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
39822         [BZ #17964]
39823         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
39824         __builtin_fma instead of relying on contraction of a * b + c.
39826 2015-02-12  Roland McGrath  <roland@hack.frob.com>
39828         * Makeconfig (ASFLAGS): Add -Werror=undef.
39829         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
39830         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
39831         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
39833         * Makeconfig (after-link): New variable.
39834         (+link-pie, +link-pie-tests): Use it.
39835         (+link-static, +link-static-tests): Likewise.
39836         (+link, +link-tests): Likewise.
39837         * Makerules (build-module, build-module-asneeded): Likewise.
39838         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
39839         Likewise.
39840         * elf/Makefile ($(objpfx)ld.so): Likewise.
39842 2015-02-12  RĂŒdiger Sonderfeld  <ruediger@c-plusplus.net>
39844         [BZ #17965]
39845         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
39846         both struct timeval and struct timespec.
39848 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
39850         [BZ #16560]
39851         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
39852         and redefine.
39853         (__ieee754_exp2l): Do not multiply small fractional parts by
39854         M_LN2l.
39855         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
39856         small argument.
39857         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39858         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
39859         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
39860         * math/auto-libm-test-in: Add more tests of exp2.
39861         * math/auto-libm-test-out: Regenerated.
39863 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39865         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
39866         unaligned path.
39868 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39870         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
39871         little endian.
39873 2015-02-12  Andreas Schwab  <schwab@suse.de>
39875         [BZ #15790]
39876         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
39877         Filter out elision flags from value returned in kind.
39878         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
39879         * nptl/tst-pthread-mutexattr.c: New file.
39881 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39883         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
39884         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
39885         into gnu-gnu, and update comment to refer to abi-tags.
39887 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
39889         [BZ #15467]
39890         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
39891         (__sincos): Set errno to EDOM for infinite argument.
39892         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
39893         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
39894         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
39895         (__sincosl): Set errno to EDOM for infinite argument.
39896         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
39897         (__sincosl): Set errno to EDOM for infinite argument.
39898         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
39899         (__sincosl): Set errno to EDOM for infinite argument.
39900         * math/libm-test.inc (sincos_test_data): Test errno setting.
39902 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
39904         * string/strxfrm_l.c: Remove #define STRCMP.
39905         * string/strcoll_l.c: Remove #define STRLEN.
39906         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
39907         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
39909 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
39911         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
39912         * sysdeps/mips/mips32/sfp-machine.h: ... here.
39913         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
39914         * sysdeps/mips/mips64/Makefile: ... here.
39915         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
39916         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
39917         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
39918         * sysdeps/mips/mips64/sfp-machine.h: ... here.
39919         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
39920         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
39921         * sysdeps/mips/mips64/n64/Implies: Likewise.
39923 2015-02-10  Roland McGrath  <roland@hack.frob.com>
39925         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
39926         <sys/time.h>, <string.h>, and <errno.h>.
39927         (dest_offset, dest_address, value, zero): Remove unused variables.
39928         (ldouble): Remove typedef.
39929         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
39930         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
39931         1).  Fix code style.
39932         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
39933         (check): Function removed.
39934         (CHECK): New macro.
39935         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
39936         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
39937         Don't call set_sigaction_FP and remove_sigaction_FP here.
39938         (ldouble_test): Just use 'long double' as macro argument, no need for
39939         the 'ldouble' typedef.
39940         (do_test): Set up SIGFPE handler at start, using plain signal rather
39941         than sigaction.  Fix code style.
39943 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
39945         [BZ #17949]
39946         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
39947         jump label.
39949 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39951         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
39952         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39954         * sysdeps/powerpc/configure.ac: Remove file.
39955         * sysdeps/powerpc/configure: Likewise.
39957         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39958         [sysdep_routines]: Remove wordcopy-power6 object.
39959         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
39960         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
39961         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
39962         (__memmove_ppc32): Likewise.
39963         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
39964         file.
39965         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
39966         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
39967         Remove preprocessor.
39969         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39970         [sysdep_routines]: Remove wide chars objects.
39971         [wcsmbs]: New rule for wide char objects.
39973         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39974         Remove wordcopy-power6 obejct.
39975         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
39976         Use local call for wordcopy and memcpy symbols.
39977         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
39978         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
39979         implementation for loader.
39980         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
39982         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39983         Remove wordcopy-power7 object.
39984         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
39985         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
39986         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
39987         (_wordcopy_fwd_dest_aligned): Likewise.
39988         (_wordcopy_bwd_aligned): Likewise.
39989         (_wordcopy_bwd_dest_aligned): Likewise.
39991         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
39992         Rewrite to call __memmove_ppc instead of include default
39993         implementation.
39995         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39996         Remove wide chars objects.
39997         [wcsmbs]: New rule for wide char objects.
39999 2015-02-09  Andreas Schwab  <schwab@suse.de>
40001         [BZ #17912]
40002         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
40003         in terms of __O_DIRECTORY.
40005 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40007         * time/getdate.c: Include <stdbool.h>.
40008         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
40009         call PTR_MANGLE.
40010         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
40011         PTR_DEMANGLE.
40013 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
40015         Add ersatz _Static_assert on older C hosts
40016         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
40017         pre-C11 C platform that is not known to support _Static_assert.
40019 2015-02-07  Richard Braun  <rbraun@sceen.net>
40021         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
40022         sigstate.
40023         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
40025 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40027         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
40028         priority against unexistent AIO_PRIO_DELTA_MAX.
40029         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
40030         instead of int.
40031         * misc/fchflags.c (fchflags): Likewise.
40032         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
40033         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
40034         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
40035         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
40036         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
40037         Declare macros.
40038         [__USE_MISC] (chflags, fchflags): Declare functions.
40039         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
40040         EINVAL when nfds is greater than FD_SETSIZE.
40041         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
40042         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
40043         45.
40044         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
40045         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
40046         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
40047         MACH_RCV_TIMED_OUT.
40048         * hurd/hurd/signal.h (_hurd_self_sigstate,
40049         _hurd_critical_section_lock, _hurd_critical_section_unlock):
40050         Explicit casts from void *.
40051         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
40052         * abi-tags: Rename gnu-gnu os into gnu.
40054         [BZ #4719]
40055         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
40056         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
40057         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
40058         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
40059         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
40060         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
40062         [BZ #17944]
40063         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
40064         duplicates ADDR->sun_path with sockaddr LEN limitation.
40065         * sysdeps/mach/hurd/connect.c: Include <string.h>
40066         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
40067         * sysdeps/mach/hurd/sendmsg.c: Likewise.
40068         * sysdeps/mach/hurd/sendto.c: Likewise.
40069         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
40070         implementing it by hand.
40072 2015-02-06  Roland McGrath  <roland@hack.frob.com>
40074         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
40075         Use sfi_breg on ldr.
40076         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
40077         Likewise.
40079         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
40080         it's defined.
40081         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
40082         Test SIGSETXID only if it's defined.
40084         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
40086         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
40087         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
40089         * nptl/tst-align2.c: Moved ...
40090         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
40091         * nptl/Makefile (tests): Remove tst-align2.
40092         * sysdeps/unix/sysv/linux/Makefile
40093         [$(subdir) = nptl] (tests): Add tst-align-clone.
40094         * nptl/tst-getpid1.c: Moved ...
40095         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
40096         * nptl/tst-getpid2.c: Moved ...
40097         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
40098         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
40099         * sysdeps/unix/sysv/linux/Makefile
40100         [$(subdir) = nptl] (tests): ... here.
40101         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
40102         * sysdeps/unix/sysv/linux/Makefile
40103         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
40105         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
40106         Drop trailing \n from perror argument.  Use return rather than exit.
40108         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
40109         on [SA_SIGINFO].
40110         * nptl/tst-cancel21.c (do_test): Likewise.
40111         * debug/tst-backtrace6.c: Include <signal.h> first thing.
40112         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
40113         [!SA_SIGINFO]: Make it a stub test.
40115         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
40116         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
40118         * posix/tst-getlogin.c: Move to ...
40119         * login/tst-getlogin.c: ... here.
40120         * posix/Makefile (tests): Move tst-getlogin to ...
40121         * login/Makefile (tests): ... here.
40123         * libio/tst-atime.c (do_test): Move local variables SV and E
40124         inside [ST_NOATIME] conditional.
40126         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
40128         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
40130         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
40131         (wait_code): New function replaces macro.
40132         Call nanosleep rather than syscall.
40134         * nptl/pt-system.c: Rewritten.  Put everything under
40135         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40136         Use IFUNC to redirect when possible.
40138         * nptl/pt-longjmp.c: Rewritten.  Put everything under
40139         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40140         Use IFUNC to redirect when possible.
40142         * nptl/pt-fork.c: Rewritten.  Put everything under
40143         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40144         Use IFUNC to redirect when possible.
40145         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
40147         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
40148         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
40149         unconditionally nowadays.  This included the only reference to
40150         __vdso_clock_gettime that appears outside libc proper.
40151         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
40152         Remove version set (containing only __vdso_clock_gettime).
40153         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
40154         Add attribute_hidden.
40155         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
40156         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
40157         libc_hidden_data_def.
40158         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40159         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40161         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
40162         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
40163         setrpcent, and getrpcport to ...
40164         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
40165         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
40166         getrpcbynumber_r, and getrpcent_r to ...
40167         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
40168         * inet/getrpcbyname.c: Moved ...
40169         * sunrpc/getrpcbyname.c: ... here.
40170         * inet/getrpcbyname_r.c: Moved ...
40171         * sunrpc/getrpcbyname_r.c: ... here.
40172         * inet/getrpcbynumber.c: Moved ...
40173         * sunrpc/getrpcbynumber.c: ... here.
40174         * inet/getrpcbynumber_r.c: Moved ...
40175         * sunrpc/getrpcbynumber_r.c: ... here.
40176         * inet/getrpcent.c: Moved ...
40177         * sunrpc/getrpcent.c: ... here.
40178         * inet/getrpcent_r.c: Moved ...
40179         * sunrpc/getrpcent_r.c: ... here.
40180         * inet/Makefile (routines): Move those to ...
40181         * sunrpc/Makefile (routines): ... here.
40182         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
40183         the $(subdirs) list.
40184         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
40185         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
40186         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
40187         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
40189         * elf/Makefile (routines): Include $(all-dl-routines), not just
40190         $(dl-routines).
40191         (rtld-routines): Likewise.  Use = rather than :=.
40192         * sysdeps/aarch64/Makefile [$(subdir) = elf]
40193         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
40194         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
40195         * sysdeps/arm/Makefile: Likewise.
40196         * sysdeps/i386/Makefile: Likewise.
40197         * sysdeps/x86_64/Makefile: Likewise.
40198         * sysdeps/hppa/Makefile [$(subdir) = elf]
40199         (sysdep_routines, sysdep-rtld-routines): Don't add
40200         $(sysdep-dl-routines) to these.
40201         * sysdeps/ia64/Makefile: Likewise.
40202         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
40203         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
40204         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
40205         Don't add dl-static to these; sysdep-dl-routines alone is enough.
40206         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
40207         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
40208         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
40209         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
40210         * sysdeps/powerpc/Makefile [$(subdir) = elf]
40211         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
40212         these; sysdep-dl-routines alone is enough.
40214 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
40216         [BZ #17932]
40217         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
40218         where multiplication results in zero and third argument is finite
40219         and nonzero.
40220         * math/auto-libm-test-in: Add more tests of fma.
40221         * math/auto-libm-test-out: Regenerated.
40223         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
40224         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
40225         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
40226         (_FP_CMP_EQ): Likewise.
40227         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
40229         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
40230         extra argument CHECK_NAN.  Redefine as wrapper around
40231         _FP_EXTEND_CNAN.
40233 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
40235         * version.h (RELEASE): Set to "stable".
40236         (VERSION): Set to "2.21"
40237         * include/features.h (__GLIBC_MINOR__): Set to 21.
40239         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
40241 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40242             Paul Eggert  <eggert@cs.ucla.edu>
40244         [BZ #16618]
40245         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
40246         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
40247         size in bytes. Store needed elements in wpmax. Use needed size
40248         in bytes for extend_alloca.
40250 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
40252         * manual/install.texi: Latest tested versions are GCC 4.9.2,
40253         binutls 2.25, and texinfo 5.2.
40254         * INSTALL: Regenerate.
40255         * sysdeps/nios2/configure: Regenerate.
40256         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
40257         * manual/contrib.texi: Update.
40258         * po/be.po: Update.
40259         * po/bg.po: Update.
40260         * po/ca.po: Update.
40261         * po/cs.po: Update.
40262         * po/da.po: Update.
40263         * po/de.po: Update.
40264         * po/el.po: Update.
40265         * po/eo.po: Update.
40266         * po/es.po: Update.
40267         * po/fi.po: Update.
40268         * po/fr.po: Update.
40269         * po/gl.po: Update.
40270         * po/hr.po: Update.
40271         * po/hu.po: Update.
40272         * po/ia.po: Update.
40273         * po/id.po: Update.
40274         * po/it.po: Update.
40275         * po/ja.po: Update.
40276         * po/ko.po: Update.
40277         * po/lt.po: Update.
40278         * po/nb.po: Update.
40279         * po/nl.po: Update.
40280         * po/pl.po: Update.
40281         * po/pt_BR.po: Update.
40282         * po/ru.po: Update.
40283         * po/rw.po: Update.
40284         * po/sk.po: Update.
40285         * po/sl.po: Update.
40286         * po/sv.po: Update.
40287         * po/tr.po: Update.
40288         * po/uk.po: Update.
40289         * po/vi.po: Update.
40290         * po/zh_CN.po: Update.
40291         * po/zh_TW.po: Update.
40293         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
40294         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
40295         * sysdeps/hppa/dl-irel.h: Remove #warning.
40296         * sysdeps/hppa/entry.h: Provide prototype for
40297         __canonicalize_funcptr_for_compare and cast argument.
40298         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
40299         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
40300         * sysdeps/hppa/sotruss-lib.c: New file.
40301         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
40302         (atomic_compare_and_exchange_val_acq): Use __typeof__.
40303         (atomic_compare_and_exchange_bool_acq): Likewise.
40304         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
40305         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
40307         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
40308         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
40309         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
40311 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
40313         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
40314         called function in non-PIC case.
40316 2015-01-31  David S. Miller  <davem@davemloft.net>
40318         * sysdeps/sparc/sparc32/bits/atomic.h
40319         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
40320         unlock not after it.
40321         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
40322         volatile register usage warnings from the compiler.
40324         * sysdeps/sparc/nptl/sem_init.c: Delete.
40325         * sysdeps/sparc/nptl/sem_post.c: Delete.
40326         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
40327         * sysdeps/sparc/nptl/sem_wait.c: Delete.
40328         * sysdeps/sparc/sparc32/sem_init.c: New file.
40329         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
40330         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
40331         padding explicitly initialized.
40332         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
40333         padding for in-semaphore spinlock.
40334         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
40335         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
40336         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
40337         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
40338         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
40339         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
40340         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
40341         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
40342         version.
40343         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
40344         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
40346 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
40348         [BZ #17801]
40349         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40350         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
40351         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
40352         New.
40353         (index_AVX_Fast_Unaligned_Load): Likewise.
40354         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
40355         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
40356         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
40357         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
40358         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
40359         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
40360         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
40361         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
40362         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
40364 2015-01-29  Andreas Schwab  <schwab@suse.de>
40366         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
40368 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
40370         [BZ #17892]
40371         * nscd/nscd_stat.c (send_stats): Initialize DATA.
40373 2015-01-28  Martin Sebor  <msebor@redhat.com>
40375         * math/README.libm-test: Clarify. Add "How to read the test output."
40377 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
40379         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
40380         Define to 0.
40382 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
40384         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
40385         (__HAVE_64B_ATOMICS): Define to 0.
40387 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
40389         [BZ #17885]
40390         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
40391         value to set as new flag.
40393         [BZ #16576]
40394         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
40395         and use _ARCH_PPCSQ instead.
40396         (__ieee754_sqrt): Likewise.
40397         (__ieee754_sqrtf): Likewise.
40398         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
40399         _ARCH_PPCSQ is defined.
40400         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
40401         fsqrt instruction.
40402         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
40403         _ARCH_PPCSQ is defined.
40404         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
40405         fsqrts instruction.
40406         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
40408 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40410         * iconv/loop.c: Suppress array out of bound warning caused by GCC
40411         bug (GCC BZ #64739).
40413 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
40415         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
40416         Mark _retval as used.
40417         (lll_futex_wake_unlock): Likewise.
40418         (lll_futex_timed_wait_requeue_pi): Likewise.
40420         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40421         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
40422         register variables.
40424         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
40425         libm_hidden_def.
40427         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
40428         (__bswap_64): Mark as __always_inline.
40430 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
40432         [BZ #15378]
40433         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
40434         when none of the search directories exist.
40436 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
40438         [BZ #17869]
40439         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
40440         power8 in .machine directive.
40442         [BZ #17868]
40443         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
40444         set dependency from opd value.
40446 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
40448         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40449         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
40450         architecture.
40452 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
40454         [BZ #17870]
40455         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
40456         with uint64_t.
40457         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
40458         (uint64_t) 1.
40459         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
40460         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
40461         Replace 1UL with (uint64_t) 1.
40462         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
40463         int with uint64_t.
40465 2015-01-23  Roland McGrath  <roland@hack.frob.com>
40467         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
40468         (if_freenameindex): Likewise.
40470         * resource/getrlimit64.c: Add missing libc_hidden_def.
40472 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
40474         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
40475         __label__.
40476         (_FP_FMA): Likewise.
40477         (_FP_TO_INT_ROUND): Likewise.
40478         (_FP_FROM_INT): Likewise.
40480 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40482         [BZ #16418]
40483         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
40484         Make code racy and cancel safe.
40486 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
40488         * sysdeps/arm/unwind-resume.h: Fix copyright year.
40489         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
40490         attribution.
40492         * pwd/tst-getpw.c: Rewrite.
40494         [BZ #17702]
40495         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
40496         (modules-names): Add moddummy1 and moddummy2.
40497         ($(objpfx)tst-rec-dlopen): Define.
40498         * dlfcn/moddummy1.c: New file.
40499         * dlfcn/moddummy2.c: New file.
40500         * dlfcn/tst-rec-dlopen.c: New file.
40501         * elf/dl-cache.c (_dl_load_cache_lookup):
40502         Return char*. Copy result with alloca/strcpy/strdup.
40503         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
40504         returns char*. Free cached. If not saving realname
40505         free cached.
40506         * elf/dl-open.c (dl_open_worker): Do not assert that
40507         _r_debug->r_state is RT_CONSISTENT.
40508         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
40509         returns char*.
40511 2015-01-21  Torvald Riegel  <triegel@redhat.com>
40512             Carlos O'Donell  <carlos@redhat.com>
40514         [BZ #12674]
40515         * nptl/sem_waitcommon.c: New file.
40516         * nptl/sem_wait.c: Include sem_waitcommon.c.
40517         (__sem_wait_cleanup, do_futex_wait): Remove.
40518         (__new_sem_wait): Adapt.
40519         (__new_sem_trywait): New function.
40520         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
40521         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
40522         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
40523         (sem_timedwait): Adapt.
40524         * nptl/sem_post.c (__new_sem_post): Adapt.
40525         (futex_wake): New function.
40526         (__old_sem_post): Add release MO fence.
40527         * nptl/sem_open.c (sem_open): Adapt.
40528         * nptl/sem_init.c (__new_sem_init): Adapt.
40529         (futex_private_if_supported): New function.
40530         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
40531         (__old_sem_getvalue): Add using previous code.
40532         * sysdeps/nptl/internaltypes.h: Adapt.
40533         * nptl/tst-sem13.c (do_test): Adapt.
40534         * nptl/tst-sem11.c (main): Adapt.
40535         * nptl/sem_trywait.c: Remove.
40536         * nptl/DESIGN-sem.txt: Remove.
40537         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
40538         (gen-as-const-headers): Remove structsem.sym.
40539         * nptl/structsem.sym: Remove.
40540         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
40541         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
40542         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
40543         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
40544         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
40545         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
40546         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
40547         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
40548         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
40549         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
40550         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
40551         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
40552         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
40553         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
40554         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
40555         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
40556         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
40557         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
40558         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
40559         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
40560         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
40561         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
40563 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
40565         * INSTALL: Regenerated.
40567         * po/libc.pot: Regenerated.
40569 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
40570             Sandra Loosemore  <sandra@codesourcery.com>
40571             Andrew Jenner  <andrew@codesourcery.com>
40572             Joseph Myers  <joseph@codesourcery.com>
40573             Nathan Sidwell  <nathan@codesourcery.com>
40575         * NEWS: Mention new Nios II port.
40576         * sysdeps/nios2/Implies: New file.
40577         * sysdeps/nios2/Makefile: New file.
40578         * sysdeps/nios2/Subdirs: New file.
40579         * sysdeps/nios2/Versions: New file.
40580         * sysdeps/nios2/__longjmp.S: New file.
40581         * sysdeps/nios2/abort-instr.h: New file.
40582         * sysdeps/nios2/backtrace.c: New file.
40583         * sysdeps/nios2/bits/endian.h: New file.
40584         * sysdeps/nios2/bits/fenv.h: New file.
40585         * sysdeps/nios2/bits/link.h: New file.
40586         * sysdeps/nios2/bits/setjmp.h: New file.
40587         * sysdeps/nios2/bsd-_setjmp.S: New file.
40588         * sysdeps/nios2/bsd-setjmp.S: New file.
40589         * sysdeps/nios2/configure: New generated file.
40590         * sysdeps/nios2/configure.ac: New file.
40591         * sysdeps/nios2/crti.S: New file.
40592         * sysdeps/nios2/crtn.S: New file.
40593         * sysdeps/nios2/dl-init.c: New file.
40594         * sysdeps/nios2/dl-machine.h: New file.
40595         * sysdeps/nios2/dl-sysdep.h: New file.
40596         * sysdeps/nios2/dl-tls.h: New file.
40597         * sysdeps/nios2/dl-trampoline.S: New file.
40598         * sysdeps/nios2/gccframe.h: New file.
40599         * sysdeps/nios2/gmp-mparam.h: New file.
40600         * sysdeps/nios2/jmpbuf-offsets.h: New file.
40601         * sysdeps/nios2/jmpbuf-unwind.h: New file.
40602         * sysdeps/nios2/ldsodefs.h: New file.
40603         * sysdeps/nios2/libc-tls.c: New file.
40604         * sysdeps/nios2/libm-test-ulps: New file.
40605         * sysdeps/nios2/machine-gmon.h: New file.
40606         * sysdeps/nios2/math-tests.h: New file.
40607         * sysdeps/nios2/math_private.h: New file.
40608         * sysdeps/nios2/memusage.h: New file.
40609         * sysdeps/nios2/nptl/Makefile: New file.
40610         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
40611         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
40612         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
40613         * sysdeps/nios2/nptl/pthreaddef.h: New file.
40614         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
40615         * sysdeps/nios2/nptl/tls.h: New file.
40616         * sysdeps/nios2/preconfigure: New file.
40617         * sysdeps/nios2/s_fma.c: New file.
40618         * sysdeps/nios2/s_fmaf.c: New file.
40619         * sysdeps/nios2/setjmp.S: New file.
40620         * sysdeps/nios2/sfp-machine.h: New file.
40621         * sysdeps/nios2/sotruss-lib.c: New file.
40622         * sysdeps/nios2/stackguard-macros.h: New file.
40623         * sysdeps/nios2/stackinfo.h: New file.
40624         * sysdeps/nios2/start.S: New file.
40625         * sysdeps/nios2/sysdep.h: New file.
40626         * sysdeps/nios2/tls-macros.h: New file.
40627         * sysdeps/nios2/tst-audit.h: New file.
40628         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
40629         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
40630         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
40631         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
40632         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
40633         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
40634         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
40635         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
40636         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
40637         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
40638         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
40639         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
40640         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
40641         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
40642         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
40643         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
40644         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
40645         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
40646         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
40647         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
40648         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
40649         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
40650         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
40651         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
40652         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
40653         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
40654         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
40655         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
40656         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
40657         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
40658         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
40659         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
40660         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
40661         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
40662         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
40663         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
40664         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
40665         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
40666         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
40667         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
40668         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
40669         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
40670         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
40671         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
40673 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40675         [BZ #17844]
40676         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
40677         (getutent): Use weak_alias in non SHARED case
40678         and default_symbol_version in SHARED case.
40679         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
40680         (getutent_r, pututline): Likewise.
40681         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
40682         (getutid): Likewise.
40683         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
40684         (getutid_r): Likewise.
40685         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
40686         (getutline): Likewise.
40687         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
40688         (getutline_r): Likewise.
40689         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
40690         (updwtmp): Likewise.
40692 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40694         [BZ #17848]
40695         * sysdeps/s390/s390-32/memcmp.S
40696         (memcmp_g5): Rename to __memcmp_g5.
40697         * sysdeps/s390/s390-32/memcpy.S
40698         (memcpy_g5): Rename to __memcpy_g5.
40699         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40700         (memcpy_mvcle) Rename to __memcpy_mvcle.
40701         * sysdeps/s390/s390-32/memset.S
40702         (memset_g5): Rename to __memset_g5.
40703         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40704         (IFUNC_RESOLVE): Prefix ifunc-resolve function
40705         and use prefixed functions.
40706         * sysdeps/s390/s390-32/multiarch/memcmp.S
40707         (memcmp_z196): Rename to __memcmp_z196.
40708         (memcmp_z10): Rename to __memcmp_z10.
40709         (memcmp): Set alias to __memcmp_g5.
40710         (bcmp): Set alias to __memcmp_g5.
40711         * sysdeps/s390/s390-32/multiarch/memcpy.S
40712         (memcpy_z196): Rename to __memcpy_z196.
40713         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40714         (memcpy_z10): Rename to __memcpy_z10.
40715         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40716         (memcpy): Set alias to __memcpy_g5.
40717         * sysdeps/s390/s390-32/multiarch/memset.S
40718         (memset_z196): Rename to __memset_z196.
40719         Jump to __memset_mvcle instead of memset_mvcle.
40720         (memset_z10): Rename to __memset_z10.
40721         Jump to __memset_mvcle instead of memset_mvcle.
40722         (memset_mvcle) Rename to __memset_mvcle.
40723         (memset): Set alias to __memset_g5.
40724         * sysdeps/s390/s390-64/memcmp.S
40725         (memcmp_z900): Rename to __memcmp_z900.
40726         * sysdeps/s390/s390-64/memcpy.S
40727         (memcpy_z900): Rename to __memcpy_z900.
40728         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40729         (memcpy_mvcle) Rename to __memcpy_mvcle.
40730         * sysdeps/s390/s390-64/memset.S
40731         (memset_z900): Rename to __memset_z900.
40732         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
40733         (IFUNC_RESOLVE): Prefix ifunc-resolve function
40734         and use prefixed functions.
40735         * sysdeps/s390/s390-64/multiarch/memcmp.S
40736         (memcmp_z196): Rename to __memcmp_z196.
40737         (memcmp_z10): Rename to __memcmp_z10.
40738         (memcmp): Set alias to __memcmp_z900.
40739         (bcmp): Set alias to __memcmp_z900.
40740         * sysdeps/s390/s390-64/multiarch/memcpy.S
40741         (memcpy_z196): Rename to __memcpy_z196.
40742         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40743         (memcpy_z10): Rename to __memcpy_z10.
40744         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40745         (memcpy): Set alias to __memcpy_z900.
40746         * sysdeps/s390/s390-64/multiarch/memset.S
40747         (memset_z196): Rename to __memset_z196.
40748         Jump to __memset_mvcle instead of memset_mvcle.
40749         (memset_z10): Rename to __memset_z10.
40750         Jump to __memset_mvcle instead of memset_mvcle.
40751         (memset_mvcle) Rename to __memset_mvcle.
40752         (memset): Set alias to __memset_z900.
40754 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
40756         [BZ #17748]
40757         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
40758         __fesetenv instead of fesetenv.
40760 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40762         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
40763         macro.
40765 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40767         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
40768         regression on LE.
40770         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
40771         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
40772         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40773         strncmp-power8 object.
40774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40775         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
40776         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
40777         * NEWS: Update.
40779 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40780             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40782         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
40783         trailing byte check.
40785 2015-01-13  David S. Miller  <davem@davemloft.net>
40787         * include/signal.h (__sigreturn): Guard with __USE_MISC.
40789 2015-01-13  Roland McGrath  <roland@hack.frob.com>
40791         * login/logout.c (logout): Use memset rather than bzero.
40792         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
40793         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
40794         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
40795         (_gethtbyaddr): Likewise.
40796         * locale/programs/simple-hash.c (bcopy): Macro removed.
40798 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40800         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40801         Add strcmp-power8 object.
40802         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40803         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
40804         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
40805         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
40806         __strcmp_power8 implementation.
40807         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
40808         * NEWS: Update.
40810         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40811         Add strncpy-power8 and stpncpy-power8 objects.
40812         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40813         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
40814         implementations.
40815         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
40816         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
40817         __stpncpy_power8 implementation.
40818         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
40819         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
40820         __strncpy_power8 implementation.
40821         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
40822         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
40823         * NEWS: Update.
40825         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
40826         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
40827         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
40829         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40830         strncat-power8 object.
40831         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
40832         __strcat_power8 implementation.
40833         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40834         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
40835         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
40836         optimized strcat for power8.
40838         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40839         strcpy-power8 and stpcpy-power8 objects.
40840         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40841         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
40842         implementations.
40843         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
40844         multiarch stpcpy implementation for POWER8.
40845         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
40846         multiarch strcpy implementation for POWER8.
40847         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
40848         __strcpy_power8 function.
40849         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
40850         stpcpy for POWER8.
40851         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
40852         strcpy for POWER8.
40853         * NEWS: Update.
40855 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
40857         [BZ #16009]
40858         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
40859         weights and rules. Use do_xfrm_cached if data fits in cache,
40860         do_xfrm otherwise.  Moved former main loop to...
40861         * (do_xfrm_cached): New function.
40862         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
40863         find_idx, find_position and stack_push.
40864         * (find_idx): New function.
40865         * (find_position): Likewise.
40866         * localedata/sort-test.sh: Added test run for do_xfrm.
40867         * localedata/xfrm-test.c (main): Added command line option
40868         -nocache to run the test with strings that are too large for
40869         the STRXFRM cache.
40871 2015-01-13  Torvald Riegel  <triegel@redhat.com>
40873         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
40874         variable to lll_futex_wake call, not the value itself.
40876 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
40878         [BZ #17803]
40879         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
40880         twom64.  Adjust value to 0x1p-64L.
40881         (__scalblnl): Only return standard underflowing result for K <=
40882         -64 not K <= -63; adjust exponent for underflowing result by 64
40883         not 63.
40884         * math/libm-test.inc (scalbn_test_data): Add more tests.
40885         (scalbln_test_data): Likewise.
40887         [BZ #17834]
40888         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
40889         0x1p63L.
40890         (__scalblnl): Get new exponent of adjusted subnormal value from ES
40891         not HX.
40892         * math/libm-test.inc (scalbn_test_data): Add more tests.
40893         (scalbln_test_data): Likewise.
40895 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40896             Stefani Seibold  <stefani@seibold.net>
40898         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
40899         (sysdep_routines): Add dl-vdso here, ...
40900         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
40901         (sysdep_routines): ... not here.
40902         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
40903         fallback when vDSO is not presented.
40904         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
40905         Define with libc_hidden_proto/libc_hidden_data_def definitions.
40906         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
40907         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
40908         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
40909         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
40910         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
40911         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
40912         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
40913         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
40914         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
40915         fallback configurable symbol when vDSO is not available.
40916         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
40917         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
40918         be able to redefine fallback symbol when vDSO is not available.
40919         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
40920         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
40922 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40924         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
40925         (TLS_INIT_TP): Add tm_capable initialization.
40926         (TLS_DEFINE_INIT_TP): Likewise.
40927         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
40928         TCB.
40929         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
40930         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
40931         calculation.
40932         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
40933         transactoion is lock elision is built and TCB tm_capable is set.
40934         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
40935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40936         (INTERNAL_SYSCALL_NCS): Likewise.
40937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40938         (INTERNAL_SYSCALL_NCS): Likewise.
40939         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
40941         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
40942         for powerpc.
40943         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40944         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
40945         and remove it for 32 bits case.
40946         [pthread_rwlock_t] (__rwelision): New field for lock elision.
40947         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
40948         initialization.
40949         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
40950         Disable lock elision with rdlocks if elision is not available.
40952         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
40953         (sysdep_routines): Add lock elision objects.
40954         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40955         [pthread_mutex_t] (__spins): Rework to add lock elision field.
40956         [pthread_mutex_t] (__elision): Add field.
40957         [__PTHREAD_SPINS]: Adjust to init lock elision field.
40958         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
40959         elision definitions for powerpc.
40960         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
40961         implementation of lock elision for powerpc.
40962         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
40963         implementation of timed lock elision for powerpc.
40964         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
40965         implementation of trylock with lock elision for powerpc.
40966         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
40967         implementaion of unlock for lock elision for powerpc.
40968         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
40969         automatic enable lock elision for mutexes.
40970         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
40971         transaction execution definitions for powerpc.
40972         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
40973         definitions.
40974         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
40975         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
40976         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
40977         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
40978         * NEWS: Update.
40980 2015-01-09  Roland McGrath  <roland@hack.frob.com>
40982         * sysdeps/posix/shm-directory.c: Use <> rather than ""
40983         for #include of <shm-directory.h>.
40985 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
40987         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
40988         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
40990 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
40992         [BZ #17791]
40993         * NEWS: Mention bug fix.
40994         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
40995         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
40996         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
40998 2015-01-09  Torvald Riegel <triegel@redhat.com>
41000         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
41002 2015-01-09  Torvald Riegel <triegel@redhat.com>
41004         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
41006 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
41008         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
41009         pointer and cast to uintptr_t.
41011 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
41013         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
41014         removed.
41015         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
41017 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
41019         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
41020         of 0.
41022 2015-01-08  Roland McGrath  <roland@hack.frob.com>
41024         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
41025         <nptl/pthreadP.h> instead.
41026         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
41028         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
41029         already defined.
41030         [__SIGRTMIN] (init): Function removed.
41031         [__SIGRTMIN] (initialized): Variable removed.
41032         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
41033         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
41034         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
41035         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
41036         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
41037         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
41038         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
41039         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
41040         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
41041         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
41042         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
41043         * sysdeps/nptl/allocrtsig.c: New file.
41044         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
41045         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
41046         * sysdeps/generic/testrtsig.h: File removed.
41048         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
41049         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
41051         * nptl/nptl-init.c (pthread_functions): Conditionalize
41052         .ptr__nptl_setxid initialization on [SIGSETXID].
41054         * sysdeps/nptl/sys/procfs.h: New file.
41055         * nptl_db/Makefile (headers): Add it.
41056         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
41058         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
41059         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
41060         * nptl/pthread_attr_setaffinity.c: Include it.
41061         * nptl/pthread_setattr_default_np.c: Likewise.
41062         * nptl/check-cpuset.h: New file.
41064 2015-01-08  Richard Henderson  <rth@redhat.com>
41066         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
41067         (CFLAGS-tst-execstack-prog.c): Likewise.
41068         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
41070 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
41071             Sandra Loosemore  <sandra@codesourcery.com>
41072             Andrew Jenner  <andrew@codesourcery.com>
41073             Joseph Myers  <joseph@codesourcery.com>
41074             Nathan Sidwell  <nathan@codesourcery.com>
41076         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
41077         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
41078         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
41079         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
41080         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
41081         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
41082         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
41083         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
41084         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
41085         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
41086         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
41087         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
41088         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
41089         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
41090         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
41091         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
41092         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
41094 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41096         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
41097         timespec struct member in syscall macro.
41098         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
41099         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
41100         first timeval struct member in syscall macro.
41101         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
41103 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
41105         [BZ #17748]
41106         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
41107         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
41108         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
41109         __feupdateenv and define as weak alias of __feupdateenv.  Use
41110         libm_hidden_weak.
41111         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
41112         libm_hidden_def.
41113         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
41114         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
41115         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41116         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
41117         libm_hidden_def.
41118         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
41119         __feupdateenv and define as weak alias of __feupdateenv.  Use
41120         libm_hidden_weak.
41121         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
41122         libm_hidden_def.
41123         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
41124         __feupdateenv and define as weak alias of __feupdateenv.  Use
41125         libm_hidden_weak.
41126         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
41127         libm_hidden_def.
41128         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41129         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41130         (__feupdateenv): Likewise.
41131         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
41132         __feupdateenv and define as weak alias of __feupdateenv.  Use
41133         libm_hidden_weak.
41134         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41135         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
41136         libm_hidden_def.
41137         * sysdeps/tile/math_private.h (__feupdateenv): New inline
41138         function.
41139         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
41140         libm_hidden_def.
41141         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
41142         __feupdateenv instead of feupdateenv.
41143         (default_libc_feupdateenv_test): Likewise.
41144         (libc_feresetround_ctx): Likewise.
41146 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41148         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
41149         prototype.
41151 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
41153         * posix/regcomp.c (parse_bracket_exp): Initialize type to
41154         COLL_SYM in a couple of places to avoid uninitialized variable
41155         wanings on tilegx gcc 4.8.2.
41157 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
41159         * sysdeps/aarch64/strcpy.S: New file.
41160         * sysdeps/aarch64/stpcpy.S: New file.
41161         * NEWS: Updated.
41163 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
41165         * sysdeps/aarch64/strrchr.S: New file.
41166         * NEWS: Updated.
41168 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
41170         [BZ #17658]
41171         * stdlib/setenv.c: Fix memory leak when setting large,
41172         duplicate string.
41174 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
41176         [BZ #17273]
41177         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
41178         and tabs from buffer before parsing fstab entry.
41179         * misc/tst-mntent.c (main): Add test for mount entry with
41180         trailing spaces and tabs.
41182 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
41184         [BZ #17748]
41185         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
41186         * math/fesetround.c (fesetround): Rename to __fesetround and
41187         define as weak alias of __fesetround.  Use libm_hidden_weak.
41188         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
41189         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
41190         * sysdeps/arm/fesetround.c (fesetround): Likewise.
41191         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
41192         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
41193         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
41194         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
41195         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
41196         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
41197         __fesetround_inline.
41198         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
41199         __fesetround_inline instead of __fesetround.
41200         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
41201         __fesetround and define as weak alias of __fesetround.  Use
41202         libm_hidden_weak.  Call __fesetround_inline instead of
41203         __fesetround.
41204         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
41205         __fesetround and define as weak alias of __fesetround.  Use
41206         libm_hidden_weak.
41207         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
41208         Likewise.
41209         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
41210         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41211         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
41212         * sysdeps/tile/math_private.h (__fesetround): New inline function.
41213         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
41214         __fesetround and define as weak alias of __fesetround.  Use
41215         libm_hidden_weak.
41216         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
41217         __fesetround instead of fesetround.
41218         (default_libc_feholdexcept_setround): Likewise.
41219         (libc_feholdsetround_ctx): Likewise.
41220         (libc_feholdsetround_noex_ctx): Likewise.
41222         [BZ #17748]
41223         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
41224         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
41225         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41226         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
41227         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41228         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
41229         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41230         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
41231         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41232         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41233         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41234         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41235         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41236         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41237         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
41238         libm_hidden_def.
41239         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
41240         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
41241         Likewise.
41242         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41243         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41244         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41245         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41246         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
41247         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41248         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
41249         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
41250         __fesetenv instead of fesetenv.
41251         (libc_feresetround_noex_ctx): Likewise.
41252         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41253         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41254         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
41255         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41256         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41257         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41258         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41259         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41260         (__feupdateenv): Likewise.
41261         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41262         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41263         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41264         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
41266 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
41268         [BZ #17806]
41269         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
41270         addresses have been freed.
41272 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
41274         * resolv/res_init.c (__res_vinit): Improve comments about nserv
41275         and nservall.
41277 2015-01-06  Ondƙej BĂ­lka  <neleai@seznam.cz>
41279         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
41280         Clean up check_pf allocation pattern. addresses
41282 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41284         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
41285         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
41286         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
41287         * nptl/pthread_exit.c (__pthread_exit): Likewise.
41288         * nptl/pthread_join.c (pthread_join): Likewise.
41289         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
41290         * sysdeps/posix/waitid.c (__waitid): Likewise.
41291         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
41292         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
41293         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
41294         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
41295         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
41296         Likewise.
41297         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
41298         (__libc_pread64): Likewise.
41299         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
41300         (__libc_pwrite): Likewise.
41301         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
41302         (__libc_pwrite64): Likewsie.
41303         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
41304         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
41305         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
41306         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
41307         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
41308         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
41309         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
41311         Likewise.
41312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41313         (__libc_pread64): Likewise.
41314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
41315         Likewise.
41316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41317         (__libc_pwrite64): Likewise.
41318         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
41319         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
41320         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
41321         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
41322         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
41323         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
41324         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
41325         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
41326         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
41327         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
41328         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
41329         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
41330         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
41331         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
41332         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
41333         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
41334         Likewise.
41336 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
41338         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
41339         (CFLAGS-test-double.c): Likewise.
41340         (CFLAGS-test-ldouble.c): Likewise.
41341         (CPPFLAGS-test-ifloat.c): Likewise.
41342         (CPPFLAGS-test-idouble.c): Likewise.
41343         (CPPFLAGS-test-ildoubl.c): Likewise.
41344         (CFLAGS-test-test-fenv.c): Remove variable.
41345         (CFLAGS-test-misc.c): Likewise.
41347 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
41349         [BZ #17797]
41350         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
41351         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
41352         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
41353         CLOCKS_PER_SEC == 1000000.
41354         * time/clocktest.c (main): Replace %ld with %jd and cast to
41355         intmax_t.
41357 2015-01-05  Roland McGrath  <roland@hack.frob.com>
41359         * sysdeps/generic/unwind-resume.h: New file.
41360         * sysdeps/gnu/unwind-resume.c: Include it.
41361         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
41362         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
41363         argument list.
41364         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
41365         global rather than static.
41366         (_Unwind_Resume): Update user.
41367         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
41368         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
41369         rather than static.  Add __attribute__ ((cold)).
41370         (_Unwind_Resume, __gcc_personality_v0): Update callers.
41371         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
41372         * sysdeps/arm/arm-unwind-resume.S: New file.
41373         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
41374         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
41375         * sysdeps/arm/Makefile [$(subdir) = csu]
41376         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
41377         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41378         Add rt-arm-unwind-resume.
41379         [$(subdir) = nptl]
41380         (libpthread-sysdep_routines, libpthread-shared-only-routines):
41381         Add pt-arm-unwind-resume.
41382         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
41383         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
41385 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41387         [BZ #17748]
41388         * include/fenv.h (__feholdexcept): Declare.  Use
41389         libm_hidden_proto.
41390         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
41391         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
41392         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41393         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
41394         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
41395         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
41396         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
41397         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41398         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
41399         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
41400         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41401         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
41402         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
41403         (feholdexcept): Likewise.
41404         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41405         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41406         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41407         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41408         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
41409         __feholdexcept instead of feholdexcept.
41410         (default_libc_feholdexcept_setround): Likewise.
41412 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41414         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
41415         to avoid using stl/str to align destination.
41417 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41419         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
41421 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41423         [BZ #17796]
41424         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
41425         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
41426         Define as weak alias not strong alias.
41428 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41430         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
41431         bltzal with addiupc.
41432         (RTLD_START): Ditto.
41434 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
41436         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
41437         for __vdso_* functions in declarations.
41438         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
41439         definitions.
41440         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
41441         INTERNAL_VSYSCALL): Use struct return types to check for error.
41443         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
41444         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
41445         function with cast from llround().
41446         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
41447         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
41448         Define.
41450 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41452         [BZ #17793]
41453         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
41454         Define as weak alias not strong alias.
41456         [BZ #17635]
41457         * ctype/ctype-c99.c: New file.  isblank implementation moved from
41458         ...
41459         * ctype/ctype-extn.c: ... here.
41460         (__isblank_l): Move to ...
41461         * ctype/ctype-c99_l.c: ... here.  New file.
41462         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
41463         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
41464         Remove variable.
41465         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41466         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41467         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41468         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41469         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41471         [BZ #17777]
41472         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
41473         (posix_fadvise64): Define as weak alias not strong alias.
41474         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41475         (posix_fallocate64): Likewise.
41476         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
41477         Remove variable.
41478         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41479         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41480         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41481         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41482         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41484 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
41486         [BZ #16191]
41487         * NEWS: Mention bug fix.
41488         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
41489         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
41490         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
41491         (HOST_STACK_END_ADDR): Likewise.
41493 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
41495         [BZ #17748]
41496         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
41497         * math/fegetround.c (fegetround): Rename to __fegetround and
41498         define as weak alias of __fegetround.  Use libm_hidden_weak.
41499         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
41500         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
41501         * sysdeps/arm/fegetround.c (fegetround): Likewise.
41502         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
41503         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41504         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
41505         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
41506         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
41507         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41508         Undefine after rather than before function definition; use
41509         parentheses around function name in definition.
41510         (__fegetround): Also undefine macro after function definition.
41511         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
41512         __fegetround and define as weak alias of __fegetround.  Use
41513         libm_hidden_weak.  Do not undefine as macro.
41514         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41515         Likewise.
41516         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
41517         __fegetround and define as weak alias of __fegetround.  Use
41518         libm_hidden_weak.
41519         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41520         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41521         * sysdeps/tile/math_private.h (__fegetround): New inline function.
41522         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
41523         __fegetround and define as weak alias of __fegetround.  Use
41524         libm_hidden_weak.
41525         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
41526         __fegetround instead of fegetround.
41528         [BZ #17782]
41529         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
41530         Condition macro definition on [__USE_MISC].
41532         [BZ #17781]
41533         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
41534         (struct sigaction): Change type of sa_flags field to int.
41536         [BZ #17780]
41537         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
41538         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
41539         __glibc_reserved0.
41541         * nptl/version.c (banner): Use single year in copyright notice.
41543         * NEWS: Update copyright dates.
41544         * catgets/gencat.c (print_version): Likewise.
41545         * csu/version.c (banner): Likewise.
41546         * debug/catchsegv.sh: Likewise.
41547         * debug/pcprofiledump.c (print_version): Likewise.
41548         * debug/xtrace.sh (do_version): Likewise.
41549         * elf/ldconfig.c (print_version): Likewise.
41550         * elf/ldd.bash.in: Likewise.
41551         * elf/pldd.c (print_version): Likewise.
41552         * elf/sotruss.sh: Likewise.
41553         * elf/sprof.c (print_version): Likewise.
41554         * iconv/iconv_prog.c (print_version): Likewise.
41555         * iconv/iconvconfig.c (print_version): Likewise.
41556         * locale/programs/locale.c (print_version): Likewise.
41557         * locale/programs/localedef.c (print_version): Likewise.
41558         * login/programs/pt_chown.c (print_version): Likewise.
41559         * malloc/memusage.sh (do_version): Likewise.
41560         * malloc/memusagestat.c (print_version): Likewise.
41561         * malloc/mtrace.pl: Likewise.
41562         * manual/libc.texinfo: Likewise.
41563         * nptl/version.c (banner): Likewise.
41564         * nscd/nscd.c (print_version): Likewise.
41565         * nss/getent.c (print_version): Likewise.
41566         * nss/makedb.c (print_version): Likewise.
41567         * posix/getconf.c (main): Likewise.
41568         * scripts/test-installation.pl: Likewise.
41569         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
41571 2015-01-02  Will Newton  <will.newton@linaro.org>
41573         * sysdeps/arm/armv7/configure: Removed.
41574         * sysdeps/arm/armv7/configure.ac: Likewise.
41576 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
41578         * All files with FSF copyright notices: Update copyright dates
41579         using scripts/update-copyrights.
41580         * intl/plural.c: Regenerated.
41581         * locale/programs/charmap-kw.h: Likewise.
41582         * locale/programs/locfile-kw.h: Likewise.
41584 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41586         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
41588 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
41590         [BZ #17748]
41591         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
41592         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
41593         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41594         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
41595         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41596         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
41597         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41598         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
41599         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41600         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41601         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41602         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41603         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41604         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41605         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
41606         libm_hidden_def.
41607         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
41608         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
41609         Likewise.
41610         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41611         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41612         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41613         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41614         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
41615         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41616         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
41617         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
41618         __fegetenv instead of fegetenv.
41619         (libc_feholdsetround_noex_ctx): Likewise.
41621 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
41623         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
41624         (Elf_MIPS_ABIFlags_v0): New structure.
41625         (EF_MIPS_FP64): Define.
41626         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
41627         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
41628         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
41629         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
41630         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
41631         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
41632         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
41633         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
41634         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
41635         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
41636         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
41637         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
41638         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
41639         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
41640         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
41641         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
41642         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
41643         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
41644         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
41645         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
41646         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
41647         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
41648         field.
41649         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
41650         EF_MIPS_FP64.
41651         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
41652         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
41653         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
41654         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
41655         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
41656         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
41657         * sysdeps/mips/tst-abi-interlink.c: Likewise.
41658         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
41659         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
41660         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
41661         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
41662         record the current FP ABI extension.
41663         (mips-mode-switch): Define to show if kernel headers support mode
41664         switching.
41665         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
41666         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
41667         supported SYSV ABI version to 3.
41668         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
41669         feature.
41671 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41672             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41674         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
41675         path.
41676         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
41678 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
41680         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
41681         __fegetround and redefine to call __fegetround.  Remove condition
41682         on [!__NO_MATH_INLINES].
41683         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
41684         function.
41685         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
41686         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41687         Remove macro.
41688         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
41689         instead of <fenv_libc.h>.
41690         (__llrintl): Call fegetround instead of __fegetround.
41691         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
41692         instead of <fenv_libc.h>.
41693         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41694         (__lrintl): Call fegetround instead of __fegetround.
41695         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
41696         instead of <fenv_libc.h>.
41697         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41698         (__rintl): Call fegetround instead of __fegetround.
41700 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41702         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
41703         arrays.
41705 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
41707         [BZ #17775]
41708         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
41709         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
41710         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
41712 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
41714         * sysdeps/i386/tls-macros.h: Include <features.h>.
41715         (TLS_LE): Use non-PIC version for GCC >= 5.0.
41716         (TLS_IE): Likewise.
41717         (TLS_LD): Likewise.
41718         (TLS_GD): Likewise.
41719         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
41720         define for GCC >= 5.0.
41722 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
41724         * math/test-fenv.c (test_single_exception, set_single_exc,
41725         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
41726         feexcp_mask_test, feenable_test, fe_single_test): Add
41727         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
41728         case where they are not used.
41729         * math/libm-test.inc: Likewise.
41730         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
41731         unused in the absence of FP rounding/exception support.
41732         * stdio-common/tst-printf-round.c: Likewise.
41733         * stdlib/tst-strtod-round.c: Likewise.
41734         * stdlib/tst-strtod-underflow.c: Likewise.
41736 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
41738         [BZ #17723]
41739         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
41740         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
41741         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41742         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41743         libm_hidden_weak.
41744         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
41745         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41746         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
41747         libm_hidden_def.
41748         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41749         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41750         libm_hidden_weak.
41751         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
41752         Likewise.
41753         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
41754         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41755         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41756         libm_hidden_weak.
41757         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41758         libm_hidden_def.
41759         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41760         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
41761         (__feraiseexcept): Likewise.
41762         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41763         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41764         libm_hidden_weak.
41765         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41766         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41767         libm_hidden_def.
41768         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
41769         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
41770         Use libm_hidden_def.
41771         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
41772         libm_hidden_def.
41773         (feraiseexcept): Define as weak not strong alias.  Use
41774         libm_hidden_weak.
41775         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
41776         New inline function.  Factored out of ...
41777         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
41778         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
41779         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
41780         feraiseexcept.
41781         * math/w_acos.c (__acos): Likewise.
41782         * math/w_asin.c (__asin): Likewise.
41783         * math/w_ilogb.c (__ilogb): Likewise.
41784         * math/w_j0.c (y0): Likewise.
41785         * math/w_j1.c (y1): Likewise.
41786         * math/w_jn.c (yn): Likewise.
41787         * math/w_log.c (__log): Likewise.
41788         * math/w_log10.c (__log10): Likewise.
41789         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
41790         * sysdeps/aarch64/fpu/math_private.h
41791         (libc_feupdateenv_test_aarch64): Likewise.
41792         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41793         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
41794         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
41795         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41796         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41797         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41798         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
41799         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41800         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41801         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41803 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
41805         [BZ #17732]
41806         * io/test-utime.c (main): Replace %ld with %jd and cast to
41807         intmax_t.
41808         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
41809         * nptl/tst-mutex5.c: Include <stdint.h>.
41810         (do_test): Replace %ld with %jd and cast to intmax_t.
41811         * posix/tst-regex.c (run_test): Likewise.
41812         (run_test_backwards): Likewise.
41813         * rt/tst-clock.c: Include <stdint.h>.
41814         (clock_test): Replace %ld with %jd and cast to intmax_t.
41815         * rt/tst-cpuclock1.c: Include <stdint.h>.
41816         (do_test): Replace %lu with %ju and cast to uintmax_t.
41817         * rt/tst-cpuclock2.c: Include <stdint.h>.
41818         (do_test): Replace %lu with %ju and cast to uintmax_t.
41819         * rt/tst-mqueue1.c: Include <stdint.h>.
41820         (check_attrs): Replace %ld with %jd and cast to intmax_t.
41821         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
41822         intmax_t.
41823         * rt/tst-mqueue4.c (do_test): Likewise.
41824         * rt/tst-timer4.c: Include <stdint.h>.
41825         (check_ts): Replace %ld with %jd and cast to intmax_t.
41826         (do_test): Likewise.
41827         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
41828         and cast to intmax_t.
41829         * sysdeps/pthread/tst-timer.c (main): Likewise.
41830         * time/clocktest.c (main): Likewise.
41831         * time/tst-posixtz.c (do_test): Likewise.
41832         * timezone/tst-timezone.c (main): Likewise.
41834 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
41835             H.J. Lu  <hongjiu.lu@intel.com>
41837         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
41838         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
41839         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
41840         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
41841         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
41842         version if bit_Fast_Unaligned_Load is set.
41843         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41844         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41845         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41846         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41847         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41848         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41849         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41850         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
41851         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
41852         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
41853         to 4.
41854         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
41855         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
41856         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
41857         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
41859 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
41861         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
41862         instead of #if to avoid a Wundef warning.
41863         * stdlib/tst-limits.c (do_test): Likewise.
41865         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
41866         parallel other exception macros.
41867         (fegetenv): Convert from macro to extern inline so that it applies
41868         retroactively to inline functions already seen by the compiler.
41869         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
41871         * posix/Makefile (before-compile): Use $(objpfx) for
41872         posix-conf-vars-def.h.
41874 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41876         * posix/getconf.c (main): Use size_t for type of I.
41877         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
41878         NSPEC.
41880         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
41881         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
41882         * posix/posix-envs.def: Likewise.
41883         * sysdeps/posix/sysconf.c: Likewise.
41884         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
41885         (specs): Remove array.
41886         * scripts/gen-posix-conf-vars.awk: Support generation of specs
41887         array.
41889         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
41890         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
41891         (__sysconf): Use CONF_IS_* macros.
41893         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
41894         ($(objpfx)posix-conf-vars-def.h): New target.
41895         * posix/posix-conf-vars.list: New file.
41896         * posix/posix-conf-vars.h: New file.
41897         * posix/confstr.c: Include posix-conf-vars.h.
41898         (confstr): Use CONF_IS_* macros.
41899         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
41900         CONF_IS_* macros.
41901         * scripts/gen-posix-conf-vars.awk: New file.
41903 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
41905         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
41906         fegetround): Add no-op macros to avoid linknamespace issues.
41908         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
41909         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
41911         * sysdeps/unix/sysv/linux/tile/sysdep.h
41912         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
41913         assembly-specific section to avoid a redefinition warning.
41915         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
41916         long before casting to pointer to avoid a cast warning.
41918 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
41920         * sysdeps/tile/tilegx/Implies: New file.
41922 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
41924         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
41926 2014-12-23  Florian Weimer  <fweimer@redhat.com>
41928         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
41930 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
41932         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
41933         not define.
41934         * sysdeps/unix/sysv/linux/utimes.c: Do not include
41935         <kernel-features.h>.
41936         (__utimes) [__NR_utimes]: Make code unconditional.
41937         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
41938         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41939         (__ASSUME_UTIMES): Do not undefine.
41940         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41941         (__ASSUME_UTIMES): Likewise.
41942         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41943         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
41944         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
41945         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
41947 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
41949         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
41951 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
41953         [BZ #17747]
41954         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
41955         alias to weak alias for j0l, y0l.
41956         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
41957         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
41959         [BZ #17746]
41960         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
41961         conversion.
41963 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
41965         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
41966         to zero if not already defined.
41968 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
41970         [BZ #17724]
41971         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
41972         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
41973         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
41974         (char *) casts added.
41975         * sysdeps/ieee754/k_standardf.c: New file.
41976         * sysdeps/ieee754/k_standardl.c: Likewise.
41977         * math/Makefile (libm-support): Remove k_standard.
41978         (libm-calls): Add k_standard.
41980 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41982         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
41983         Optimize to avoid an unnecessary FPCR read.
41985 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41987         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
41988         Optimize to reduce FPCR/FPSR accesses.
41990 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41992         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
41993         Call libc_fetestexcept_aarch64.
41995 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41997         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
41998         Call libc_fesetround_aarch64.
42000 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
42002         [BZ #17733]
42003         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
42004         (__bind): Do not define as weak alias.
42005         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
42006         define.
42007         (__getsockname): Do not define as weak alias.
42009 2014-12-22  Will Newton  <will.newton@linaro.org>
42011         * manual/install.texi: Document that we require bison 2.7
42012         or above.
42013         * INSTALL: Regenerate.
42014         * configure.ac: Use AC_CHECK_PROG_VER instead of
42015         AC_PATH_PROG when checking for bison and check for
42016         version 2.7 or above.
42017         * configure: Regenerate.
42019 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
42021         [BZ #17745]
42022         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
42023         * sysdeps/tile/ffsll.c (ffsll): To here.
42025         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
42027 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
42029         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
42030         if not defined.
42031         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
42032         definition.
42033         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
42034         hidden ___tls_get_addr.
42035         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
42036         hidden __tls_get_addr.
42037         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
42038         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
42039         Likewise.
42041 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
42043         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
42044         _dl_init call.
42046 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
42048         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
42049         from "call _dl_init@PLT".
42050         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
42052 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
42054         * manual/search.texi: (Array Sort Function): Clarify stable sorting
42055         guarantees.
42057 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
42059         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
42061 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
42063         [BZ #17744]
42064         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
42065         strnlen.
42067 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
42069         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
42070         of multu on MIPSr6.
42071         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
42072         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
42073         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
42074         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
42075         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
42077 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
42079         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
42080         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
42081         (PTR_SUBU): Use subu for mips32r6/mips64r6.
42082         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
42083         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
42084         mips32r6/mips64r6.
42085         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
42087 2014-12-19  Ondƙej BĂ­lka  <neleai@seznam.cz>
42089         * string/strncat.c (STRNCAT): Simplify implementation.
42091 2014-12-19  David S. Miller  <davem@davemloft.net>
42093         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
42094         access the quad as both a long double and as a series of 4 words.
42096         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
42097         link_map->l_info array access.
42099 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
42101         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
42103         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
42104         * math/atest-exp2.c (TIMEOUT): Likewise.
42105         * math/atest-sincos.c (TIMEOUT): Likewise.
42107 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
42109         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
42110         -Wno-error with -fno-builtin-lround.
42112 2014-12-19  Torvald Riegel  <triegel@redhat.com>
42114         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
42115         Contains futex constants and functions moved over from ...
42116         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
42117         <lowlevellock-futex.h>.
42118         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42119         (lll_timedwait_tid): Add comments and parentheses around macro
42120         arguments.
42122 2014-12-19  Torvald Riegel  <triegel@redhat.com>
42124         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
42125         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
42126         (__lll_private_flag): Remove.
42127         (lll_futex_wait): Likewise.
42128         (lll_futex_timed_wait): Likewise.
42129         (lll_futex_wake): Likewise.
42130         (lll_futex_requeue): Likewise.
42131         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42132         (__lll_timedwait_tid): Spell out argument names.
42133         (lll_timedwait_tid): Add comments and parentheses around macro
42134         arguments.
42135         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
42136         LLL_SHARED and LLL_PRIVATE usable from assembly code.
42138 2014-12-19  Torvald Riegel  <triegel@redhat.com>
42140         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
42141         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
42142         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42143         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
42144         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
42145         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
42146         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
42147         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
42148         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
42149         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
42150         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
42151         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
42152         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
42153         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
42154         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
42155         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
42156         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
42157         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
42158         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
42160 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
42162         * sysdeps/x86_64/x32/Makefile: New file.
42164 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
42166         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
42167         1L with (mp_limb_t) 1.
42169 2014-12-17  Roland McGrath  <roland@hack.frob.com>
42171         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
42172         * nptl/libc_pthread_init.c: ... here.
42173         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
42174         * nptl/register-atfork.c: ... here.
42176         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
42177         Use pthread_sigmask rather than INTERNAL_SYSCALL.
42178         Use assert_perror to check its return value.
42179         (__gai_create_helper_thread): Likewise.
42181         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
42183         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
42185 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
42187         [BZ #17725]
42188         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
42189         __profil_counter.
42190         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
42191         Likewise.
42192         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
42193         Likewise.
42194         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
42195         Likewise.
42196         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
42197         (profil_counter): Likewise.
42198         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
42199         (profil_counter): Likewise.
42200         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
42201         Likewise.
42202         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
42203         Likewise.
42204         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
42205         (profil_counter): Likewise.
42206         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
42207         Likewise.
42208         [!__profil_counter] (profil_counter): Define as weak alias of
42209         __profil_counter.
42210         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
42211         (profil_counter): Rename to __profil_counter.
42212         [!__profil_counter] (profil_counter): Define as weak alias of
42213         __profil_counter.
42214         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
42215         (profil_counter): Rename to __profil_counter.
42216         [!__profil_counter] (profil_counter): Define as weak alias of
42217         __profil_counter.
42218         * sysdeps/posix/profil.c: Update comment referring to
42219         profil_counter.
42220         (__profil): Use __profil_counter instead of profil_counter.
42221         * sysdeps/posix/sprofil.c (profil_counter): Rename to
42222         __profil_counter.  Use __profil_counter_ushort and
42223         __profil_counter_uint in definitions.
42224         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
42225         instead of profil_counter_uint and profil_counter_ushort.
42227         [BZ #17722]
42228         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
42229         define as weak alias of __inet_makeaddr.
42230         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
42231         as weak alias of __inet_addr.
42232         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
42233         as weak alias of __inet_pton.  Use libc_hidden_weak.
42234         * include/arpa/inet.h (__inet_pton): Declare.  Use
42235         libc_hidden_proto.
42236         (inet_makeaddr): Don't use libc_hidden_proto.
42237         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
42238         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
42239         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
42240         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
42241         Remove variable.
42242         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42243         (test-xfail-POSIX/time.h/linknamespace): Likewise.
42245 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
42247         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
42249 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
42251         * stdio-common/bug-vfprintf-nargs.c (do_test):
42252         Cast value to intptr_t to avoid format warning
42253         for usage with PRIdPTR printing macro.
42255 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
42257         * libio/tst-widetext.c (do_test):
42258         Use format type %td instead of %Zd for ptrdiff_t
42259         in order to avoid format warning.
42261 2014-12-17  Andreas Schwab  <schwab@suse.de>
42263         * nscd/mem.c (gc): Add size_t cast to match printf format.
42265 2014-12-16  Roland McGrath  <roland@hack.frob.com>
42267         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
42268         (init): Apply PTR_MANGLE to pointers before storing them.
42269         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
42270         before using them.
42272 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
42274         [BZ #17719]
42275         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
42276         define as weak alias of __memrchr.
42277         (__memrchr): Do not define as strong alias of memrchr.
42278         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
42279         Remove variable.
42280         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42281         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42282         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42284         [BZ #17717]
42285         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
42286         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
42287         (if_indextoname): Rename to __if_indextoname and define as weak
42288         alias of __if_indextoname.  Use libc_hidden_weak.
42289         (if_freenameindex): Rename to __if_freenameindex and define as
42290         weak alias of __if_freenameindex.
42291         (if_nameindex): Rename to __if_nameindex and define as weak alias
42292         of __if_nameindex.
42293         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
42294         __if_nametoindex and define as weak alias of __if_nametoindex.
42295         Use libc_hidden_weak.
42296         (if_freenameindex): Rename to __if_freenameindex and define as
42297         weak alias of __if_freenameindex.
42298         (if_nameindex): Rename to __if_nameindex and define as weak alias
42299         of __if_nameindex.
42300         (if_indextoname): Rename to __if_indextoname and define as weak
42301         alias of __if_indextoname.  Use libc_hidden_weak.
42302         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
42303         __if_nametoindex and define as weak alias of __if_nametoindex.
42304         Use libc_hidden_weak.
42305         (if_freenameindex): Rename to __if_freenameindex and define as
42306         weak alias of __if_freenameindex.  Use libc_hidden_weak.
42307         (if_nameindex_netlink): Use __if_freenameindex instead of
42308         if_freenameindex.
42309         (if_nameindex): Rename to __if_nameindex and define as weak alias
42310         of __if_nameindex.  Use libc_hidden_weak.
42311         (if_indextoname): Rename to __if_indextoname and define as weak
42312         alias of __if_indextoname.  Use libc_hidden_weak.
42313         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
42314         libc_hidden_proto.
42315         [!_ISOMAC] (__if_freenameindex): Likewise.
42316         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
42317         if_nametoindex.
42318         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
42319         variable.
42320         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42321         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42322         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42323         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42324         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42325         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42326         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42328         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
42329         Remove variable.
42330         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42331         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42333 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42335         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
42336         subscript above bounds'
42338         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
42339         bounds.
42341 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
42343         * libio/tst-fopenloc.c: Use test-skeleton.c.
42345         * stdlib/tst-bsearch.c: Use test-skeleton.c.
42346         (entry): Rename to ITEM.
42347         (do_test, comp): Adjust.
42349         * stdio-common/tst-fseek.c: Use test-skeleton.c.
42351 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42353         * string/tester.c: Include <libc-internal.h>.
42354         (test_memset): Ignore -Wmemset-transposed-args.
42356 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42358         * misc/tst-mntent2.c (do_test): Fix warning.
42360 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42362         * elf/tst-unique4lib.cc(a): Mark as used.
42364 2014-12-16  Florian Weimer  <fweimer@redhat.com>
42366         [BZ #17630]
42367         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
42368         names.
42370 2014-12-16  Allan McRae  <allan@archlinux.org>
42372         * stdio-common/Makefile (tests): Re-add bug26.
42374 2014-12-15  Ondƙej BĂ­lka  <neleai@seznam.cz>
42376         [BZ #17657]
42377         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
42378         static array.
42380 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
42382         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
42383         (__lll_lock_wait): Likewise.
42384         (__lll_timedlock_wait): Likewise.
42385         (__lll_timedwait_tid): Likewise.
42386         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
42387         (__lll_robust_timedlock_wait): Likewise.
42388         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
42389         (lll_cond_trylock): Likewise.
42390         (__lll_lock): Likewise.
42391         (__lll_robust_lock): Likewise.
42392         (__lll_cond_lock): Likewise.
42393         (lll_robust_cond_lock): Likewise.
42394         (__lll_timedlock): Likewise.
42395         (__lll_robust_timedlock): Likewise.
42396         (__lll_unlock): Likewise.
42397         (__lll_robust_unlock): Likewise.
42398         (lll_wait_tid): Likewise.
42399         (lll_timedwait_tid): Likewise.
42401 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42403         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
42405 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42407         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
42409 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
42411         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
42412         * stdio-common/tst-sprintf.c: Likewise.
42414 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42416         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
42418 2014-12-15  Jeff Law  <law@redhat.com>
42420         [BZ #16617]
42421         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
42422         on the heap.  (CVE-2012-3406)
42423         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
42424         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
42425         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
42427 2014-12-15  Will Newton  <will.newton@linaro.org>
42429         * manual/install.texi: Bump required version of texinfo
42430         to 4.7 from 4.5.
42431         * INSTALL: Regenerated.
42432         * configure.ac: Check for makeinfo version 4.7 and above.
42433         * configure: Regenerated.
42435 2014-12-12  Roland McGrath  <roland@hack.frob.com>
42437         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
42438         PREFIX, string constant to insert between directory and name.
42439         * sysdeps/posix/shm_open.c: Update caller.
42440         * sysdeps/posix/shm_unlink.c: Likewise.
42441         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
42442         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
42443         (SEM_SHM_PREFIX): New macro.
42444         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
42445         [$(have-thread-library) = no].
42446         * nptl/Makefile (libpthread-routines): Add shm-directory.
42447         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
42448         * sysdeps/nptl/shm-directory.h: New file.
42449         * sysdeps/posix/shm-directory.c
42450         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
42451         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
42452         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
42453         INTERNAL_SYSCALL.
42454         (__where_is_shmfs): Function removed.
42455         (mountpoint, defaultmount, defaultdir, __namedsem_once):
42456         Variables removed.
42457         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
42458         Use SHM_GET_NAME.
42459         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
42461         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
42462         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
42463         unconditional for use inside libpthread.
42464         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
42466 2014-12-12  Roland McGrath  <roland@hack.frob.com>
42468         * nptl/pthread_getaffinity.c: New file.
42469         * nptl/pthread_setaffinity.c: New file.
42470         * nptl/pthread_getname.c: New file.
42471         * nptl/pthread_setname.c: New file.
42473         * nptl/pthread_create.c (START_THREAD_DEFN)
42474         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
42476 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
42477             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42479         * resolv/res_send.c (send_vc): Disable warning resplen may
42480         be used uninitialized.
42482 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
42484         * nptl/tst-mutex6.c
42485         (ATTR_NULL): New define checks ATTR against NULL.
42486         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
42487         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
42489 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
42491         [BZ #17581]
42492         * malloc/hooks.c
42493         (mem2mem_check): Revert my previous change.
42494         (malloc_check_get_size): Revert my previous change.
42495         (mem2chunk_check): Revert my previous change.
42497 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42499         * sysdeps/posix/shm-directory.c: New file.
42500         * sysdeps/posix/shm-directory.h: New file.
42501         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
42502         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
42503         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
42504         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
42505         Transmute EPERM to EACCES.
42506         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
42507         from ...
42508         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
42509         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
42511 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42513         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
42514         pointer and cast to uintptr_t.
42515         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
42516         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
42517         Add cast to avoid warning.
42518         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
42520 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
42522         * nptl/semaphore.h: Move to ...
42523         * sysdeps/pthread/semaphore.h: ... here.
42524         * Makefile (installed-headers): Change nptl/semaphore.h to
42525         sysdeps/pthread/semaphore.h.
42527 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42529         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
42530         generated error format strings.
42532         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
42533         -Wformat-extra-args warnings for scanf formats.
42534         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
42535         test of zero-length format (duh).
42536         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
42537         corner-case scanf format test.
42538         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
42539         generated fprintf format string.
42540         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
42541         corner-case sprintf format tests.
42542         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
42543         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
42544         -Wformat-extra-args warnings throughout.
42545         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
42546         (CFLAGS-scanf4.c): Likewise.
42547         (CFLAGS-scanf7.c): Likewise.
42548         (CFLAGS-tst-sprintf.c): Likewise.
42549         (CFLAGS-tst-printf.c): Likewise.
42550         (CFLAGS-tst-printfsz.c): Likewise.
42552 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
42554         * include/cpio.h: New file.
42555         * include/fmtmsg.h: Likewise.
42557         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
42558         corresponding format argument to size_t.
42559         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
42560         arguments.
42561         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
42562         corresponding format argument to size_t.
42563         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
42564         arguments.
42565         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
42566         corresponding format argument to size_t.
42567         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
42568         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
42569         (CFLAGS-tst-mbswcs2.c): Likewise.
42570         (CFLAGS-tst-mbswcs3.c): Likewise.
42571         (CFLAGS-tst-mbswcs4.c): Likewise.
42572         (CFLAGS-tst-mbswcs5.c): Likewise.
42573         (CFLAGS-tst-trans.c): Likewise.
42575 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42577         * posix/regexbug1.c (main): Use "%s" format with regerror results,
42578         rather than assuming they won't contain any '%'s.
42580 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
42582         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
42583         inhibit_loop_to_libcall to avoid recursive calls.
42584         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
42585         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
42587 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
42589         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
42590         prototype.
42592 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
42594         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
42595         integer value instead of boolean.
42597 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
42599         * malloc/malloc.c: Fix powerof2 check.
42601 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42603         * locale/programs/locfile.h (maybe_swap_uint32):
42604         Remove inline and add unused attribute.
42606 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42608         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42609         Truncating assembler expression to a .long expression.
42611 2014-12-11  Andreas Schwab  <schwab@suse.de>
42613         * elf/rtld.c (struct map_args): Constify str member.
42614         (do_preload): Constify fname argument.
42616 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42618         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
42619         constants definition.
42621 2014-12-11  Andreas Schwab  <schwab@suse.de>
42623         [BZ #16657]
42624         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
42625         FORCE_ELISION instead of DO_ELISION.
42626         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
42627         Remove.
42628         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
42629         Likewise.
42631         * iconvdata/gconv-modules: Remove duplicate entry.
42633 2014-12-11  Will Newton  <will.newton@linaro.org>
42635         Merge gettext 0.19.3 into intl/.
42637         This involves a number of cosmetic changes to comments
42638         and ANSI function definitions and prototypes throughout
42639         all the files. The gettext copyright header is used but
42640         with the date ranges taken from the glibc copy.
42642         * NEWS: Add gettext merge to 2.21.
42643         * intl/bindtextdom.c: Switch to gettext copyright.
42644         Use ANSI definitions and prototypes.
42645         Use gl_* locking primitives rather than __libc_* ones.
42646         Use __builtin_expect rather than __glibc_likely/unlikely.
42647         * intl/dcgettext.c: Switch to gettext copyright.
42648         Use ANSI definitions and prototypes.
42649         * intl/dcigettext.c: Switch to gettext copyright.
42650         Use ANSI definitions and prototypes.
42651         (INTDIV0_RAISES_SIGFPE): New define.
42652         Use gl_* locking primitives rather than __libc_* ones.
42653         Include eval-plural.h instead of plural-eval.c.
42654         Use __builtin_expect rather than __glibc_likely/unlikely.
42655         * intl/dcngettext.c: Switch to gettext copyright.
42656         Use ANSI definitions and prototypes.
42657         * intl/dgettext.c: Likewise.
42658         * intl/dngettext.c: Likewise.
42659         * intl/plural-eval.c: Renamed to...
42660         * intl/eval-plural.h: ...this.
42661         * intl/explodename.c: Switch to gettext copyright.
42662         Use ANSI definitions and prototypes.
42663         (_nl_explode_name): Use strchr instead of __rawmemchr.
42664         * intl/finddomain.c: Switch to gettext copyright.
42665         Use ANSI definitions and prototypes.
42666         Use gl_* locking primitives rather than __libc_* ones.
42667         (_nl_find_domain): Use malloc rather than alloca for
42668         allocation of temporary locale name.
42669         * intl/gettext.c: Switch to gettext copyright.
42670         Use ANSI definitions and prototypes.
42671         * intl/gettextP.h: Switch to gettext copyright.
42672         Use ANSI definitions and prototypes.
42673         Use gl_* locking primitives rather than __libc_* ones.
42674         * intl/gmo.h: Switch to gettext copyright.
42675         (struct sysdep_string): Move struct segment_pair outside of
42676         struct definition.
42677         * intl/hash-string.c: Use ANSI definitions and prototypes.
42678         * intl/hash-string.h: Switch to gettext copyright.
42679         Use ANSI definitions and prototypes.
42680         * intl/l10nflist.c: Switch to gettext copyright.
42681         Use ANSI definitions and prototypes.
42682         (_nl_normalize_codeset): Avoid integer overflow.
42683         * intl/loadinfo.h: Switch to gettext copyright.
42684         Use ANSI definitions and prototypes.
42685         (LIBINTL_DLL_EXPORTED): New define.
42686         (PATH_SEPARATOR): New define.
42687         * intl/loadmsgcat.c: Switch to gettext copyright.
42688         * intl/localealias.c: Switch to gettext copyright.
42689         Use ANSI definitions and prototypes.
42690         (_nl_expand_alias): Use PATH_SEPARATOR.
42691         * intl/ngettext.c: Switch to gettext copyright.
42692         Use ANSI definitions and prototypes.
42693         * intl/plural-exp.c: Likewise.
42694         * intl/plural-exp.h: Switch to gettext copyright.
42695         Use ANSI definitions and prototypes.
42696         (struct expression): Move definition of enum operator outside
42697         of struct definition.
42698         * intl/plural.c: Regenerate.
42699         * intl/plural.y: Switch to gettext copyright.
42700         Use ANSI definitions and prototypes.
42701         Port to bison 3.0.
42702         * intl/textdomain.c: Switch to gettext copyright.
42703         Use ANSI definitions and prototypes.
42704         Use gl_* locking primitives rather than __libc_* ones.
42706 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
42708         * debug/warning-nop.c: Add used atrribute.
42710 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42712         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
42714         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
42715         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
42716         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
42718 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42719             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42721         [BZ #17634]
42722         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
42723         Undefine after defining function.  Define as weak alias of
42724         __wcschr.  Use libc_hidden_weak.
42725         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
42726         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
42727         (libc_hidden_def): Also define __GI___wcschr alias.
42728         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
42729         __wcschr and define as weak alias of __wcschr.
42730         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
42731         __wcschr.
42732         [!WCSCHR] (DEFAULT_WCSCHR): Define.
42733         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
42734         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
42735         libc_hidden_weak.  Do not use libc_hidden_def.
42736         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
42737         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
42738         __GI___wcschr alias.
42739         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
42740         [IS_IN (libc)] (wcschr): Define as macro expanding to
42741         __redirect_wcschr.
42742         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
42743         [IS_IN (libc)] (__wcschr_power6): Likewise.
42744         [IS_IN (libc)] (__wcschr_power7): Likewise.
42745         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
42746         instead of wcschr.
42747         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
42748         __libc_wcschr.
42749         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
42750         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
42751         __wcschr and define as weak alias of __wcschr.  Use
42752         libc_hidden_builtin_def.
42753         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
42754         as weak alias of __wcschr.  Use libc_hidden_weak.
42755         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
42756         wcschr.
42757         * time/era.c (_nl_init_era_entries): Likewise.
42758         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
42759         variable.
42760         (test-xfail-XPG3/time.h/linknamespace): Likewise.
42761         (test-xfail-XPG4/time.h/linknamespace): Likewise.
42763 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42765         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
42766         format for long int variable.
42768 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
42770         [BZ #10672]
42771         * manual/search.texi: (Array Sort Function): Remove claim how to make
42772         qsort stable.
42774 2014-12-10  Andreas Schwab  <schwab@suse.de>
42776         [BZ #12847]
42777         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
42778         user-controlled locks.
42780 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
42782         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
42783         register.
42785 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42787         * configure.ac (--disable-werror): New configure option.
42788         (enable_werror): New AC_SUBST.
42789         * configure: Regenerated.
42790         * config.make.in (enable-werror): New variable.
42791         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
42792         -Wno-error=undef.
42793         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
42794         * manual/install.texi (Configuring and compiling): Document
42795         --disable-werror.
42796         * INSTALL: Regenerated.
42797         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
42798         (CFLAGS-tst-chk2.c): Likewise.
42799         (CFLAGS-tst-chk3.c): Likewise.
42800         (CFLAGS-tst-chk4.cc): Likewise.
42801         (CFLAGS-tst-chk5.cc): Likewise.
42802         (CFLAGS-tst-chk6.cc): Likewise.
42803         (CFLAGS-tst-lfschk1.c): Likewise.
42804         (CFLAGS-tst-lfschk2.c): Likewise.
42805         (CFLAGS-tst-lfschk3.c): Likewise.
42806         (CFLAGS-tst-lfschk4.cc): Likewise.
42807         (CFLAGS-tst-lfschk5.cc): Likewise.
42808         (CFLAGS-tst-lfschk6.cc): Likewise.
42810         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
42811         (main): Disable -Wdeprecated-declarations around calls to
42812         register_printf_function.
42814         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
42815         (do_test): Disable -Wdiv-by-zero around some calls to
42816         fwrite_unlocked and fread_unlocked.
42818         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
42819         (DIAG_POP_NEEDS_COMMENT): Likewise.
42820         (_DIAG_STR1): Likewise.
42821         (_DIAG_STR): Likewise.
42822         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
42823         * stdio-common/bug21.c: Include <libc-internal.h>.
42824         (do_test): Disable -Wformat around call to sscanf.
42825         * stdio-common/scanf14.c: Include <libc-internal.h>.
42826         (main): Disable -Wformat around some calls to scanf functions.
42828 2014-12-09  Torvald Riegel  <triegel@redhat.com>
42830         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
42832 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42834         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
42835         stack variable alignment.
42837 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
42839         [BZ #17682]
42840         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
42841         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
42842         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
42843         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
42844         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
42845         __getrlimit instead of getrlimit.
42846         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
42847         __gettimeofday instead of gettimeofday.
42848         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
42849         Likewise.
42850         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
42851         Likewise.
42852         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42853         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
42854         Remove variable.
42855         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42856         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42858 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42860         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
42861         for wide-character tests.
42863 2014-12-04  Roland McGrath  <roland@hack.frob.com>
42865         * io/openat64.c: #include <libc-internal.h>
42866         (__openat64): Prototypify.  Use ignore_value on MODE.
42867         * io/openat.c: Likewise.
42868         * misc/reboot.c: #include <libc-internal.h>
42869         (reboot): Prototypify.  Use ignore_value on HOWTO.
42870         * misc/ptrace.c: #include <libc-internal.h>
42871         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
42873 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
42875         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
42876         XPG4, UNIX98 and XOPEN2K.
42877         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
42878         Remove variable.
42879         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42881 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42883         * libio/fileops.c: Use ISO C style for function definitions.
42884         * libio/iofopen.c: Likewise.
42885         * libio/wfileops.c: Likewise.
42887         [BZ #17653]
42888         * libio/fileops.c (_IO_new_file_underflow): Unset cached
42889         offset on EOF.
42890         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
42891         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
42892         (fgets_func): Function pointer to fgets and fgetws.
42893         (do_ftell_test): Add test to verify ftell value after read
42894         EOF.
42895         (do_test): Set fgets_func.
42897         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
42898         O_TRUNC flag for w and w+ modes.
42899         (do_rewind_test): Likewise.
42900         (do_ftell_test): Likewise.
42901         (do_write_test): Likewise.
42903         [BZ #17647]
42904         * libio/fileops.c (do_ftell): Seek only when there are
42905         unflushed writes.
42906         * libio/wfileops.c (do_ftell_wide): Likewise.
42907         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
42908         test case.
42909         (do_one_test): Call it.
42911 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
42913         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
42914         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
42915         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
42916         Remove variable.
42917         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42918         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42919         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42921 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
42923         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
42924         Remove variable.
42925         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42927         [BZ #17668]
42928         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
42929         as weak alias of __getifaddrs.  Use libc_hidden_weak.
42930         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42931         __freeifaddrs.  Use libc_hidden_weak.
42932         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
42933         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
42934         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42935         __freeifaddrs.  Use libc_hidden_weak.
42936         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
42937         __getifaddrs and define as weak alias of __getifaddrs.  Use
42938         libc_hidden_weak.
42939         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42940         __freeifaddrs.  Use libc_hidden_weak.
42941         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
42942         Remove variable.
42943         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42944         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42946 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
42948         [BZ #17601]
42949         * sysdeps/mips/start.S (__start): Use indirect jump to call
42950         __libc_start_main.
42952 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
42954         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
42956         * nptl/tst-mutex1.c: Include <stdbool.h>.
42957         [!ATTR] (ATTR_NULL): New macro.
42958         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
42959         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
42960         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
42962         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
42963         to char *.
42965         [BZ #17665]
42966         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
42967         Change conditional to [__USE_MISC].
42969         [BZ #17664]
42970         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
42971         fgets_unlocked.
42972         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
42973         __fgets_unlocked.
42974         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
42975         fgets_unlocked.
42976         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
42977         Remove variable.
42978         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42979         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42980         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42981         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42982         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42983         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
42984         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
42985         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
42986         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
42988         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
42990 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42992         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42993         Remove strpbrk objects.
42994         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42995         (__libc_ifunc_impl_list): Remove strpbrk implementation.
42996         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
42997         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
42998         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
42999         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
43001         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43002         Remove strcspn objects.
43003         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43004         (__libc_ifunc_impl_list): Remove strcspn implementation.
43005         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
43006         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
43007         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
43008         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
43010         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43011         Remove strspn objetcs.
43012         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43013         (__libc_ifunc_impl_list): Remove strspn implementation.
43014         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
43015         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43016         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
43017         * sysdeps/powerpc/powerpc64/strspn.S: New file.
43019 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
43021         [BZ #17581]
43022         * malloc/hooks.c
43023         (mem2mem_check): Add a terminator to the chain of checking blocks.
43024         (malloc_check_get_size): Use it here.
43025         (mem2chunk_check): Ditto.
43027 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43029         * sysdeps/powerpc/powerpc64/strtok.S: New file.
43030         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
43032 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
43034         * bits/ioctl-types.h: Indent preprocessor directives correctly.
43036         * nptl/nptl-init.c: Include libc-internal.h.
43037         (__pthread_initialize_minimal_internal): Use ROUND_UP.
43039         * elf/ldconfig.c (search_dir): Expand comment.
43041 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
43043         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
43044         variable.
43045         (linknamespace-symlist-stdlibs-tests): Likewise.
43046         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
43047         instead of $(objpfx)symlist-stdlibs.
43048         (linknamespace-libs-isoc): New variable.
43049         (linknamespace-libs): Use $(linknamespace-libs-isoc).
43050         (linknamespace-libs-ISO): New variable.
43051         (linknamespace-libs-ISO99): Likewise.
43052         (linknamespace-libs-ISO11): Likewise.
43053         (linknamespace-libs-XPG3): Likewise.
43054         (linknamespace-libs-XPG4): Likewise.
43055         (linknamespace-libs-POSIX): Likewise.
43056         (linknamespace-libs-UNIX98): Likewise.
43057         (linknamespace-libs-XOPEN2K): Likewise.
43058         (linknamespace-libs-POSIX2008): Likewise.
43059         (linknamespace-libs-XOPEN2K8): Likewise.
43060         ($(objpfx)symlist-stdlibs): Replace by
43061         $(linknamespace-symlist-stdlibs-tests).  Use
43062         $(linknamespace-libs-$*) as set of libraries.
43063         ($(linknamespace-header-tests)): Update dependencies.  Use
43064         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
43065         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
43066         * conform/linknamespace.pl: Remove comment about considering
43067         definitions of symbols from irrelevant libraries.
43069 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
43071         [BZ #13862]
43072         * elf/dl-tls.c: Include <atomic.h>.
43073         (oom): Remove #ifdef SHARED/#endif.
43074         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
43075         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
43076         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
43077         big enough.
43078         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
43079         * nptl/Makefile (tests): Add tst-stack4.
43080         (modules-names): Add tst-stack4mod.
43081         ($(objpfx)tst-stack4): New.
43082         (tst-stack4mod.sos): Likewise.
43083         ($(objpfx)tst-stack4.out): Likewise.
43084         ($(tst-stack4mod.sos)): Likewise.
43085         (clean): Likewise.
43086         * nptl/tst-stack4.c: New file.
43087         * nptl/tst-stack4mod.c: Likewise.
43089 2014-11-27  J. Brown  <jb999@gmx.de>
43091         * sysdeps/x86/bits/string.h: Add recent CPUs.
43093 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
43095         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
43096         sigblock.
43098         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
43099         feof.
43101         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
43102         variable.
43104 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
43106         * nscd/connections.c: Include libc-internal.h because of macro
43107         usage ignore_value.
43109 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43111         * string/bits/string3.h (__warn_memset_zero_len): Don't
43112         declare for gcc newer than 5.0.
43113         (memset): Don't test for zero-length __LEN for gcc newer than
43114         5.0.
43116 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
43118         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
43119         size_t for %zu format.
43121         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
43122         difference, not %ju.
43124 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
43126         * include/libc-internal.h (ignore_value): New macro.
43127         * nscd/connections.c (restart): Wrap calls to setuid and setgid
43128         with ignore_value.
43130         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
43131         definition.
43133         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
43134         pthread_cleanup_push to void *.
43136         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
43137         Undefine.
43139         [BZ #16619]
43140         [BZ #16740]
43141         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
43142         instead of 1L << 52.
43144         * libio/bug-rewind.c (do_test): Check fwscanf return values.
43145         * libio/bug-rewind2.c (do_test): Likewise.
43147         * debug/test-stpcpy_chk-ifunc.c: Remove file.
43148         * debug/test-strcpy_chk-ifunc.c: Likewise.
43149         * wcsmbs/test-wcschr-ifunc.c: Likewise.
43150         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43151         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43152         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43153         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43154         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43155         * Rules [$(multi-arch) = no] (tests): Do not filter out
43156         $(tests-ifunc).
43157         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
43158         * debug/Makefile (tests-ifunc): Remove variable.
43159         (tests): Do not add $(tests-ifunc).
43160         * wcsmbs/Makefile (tests-ifunc): Remove variable.
43161         (tests): Do not add $(tests-ifunc).
43162         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
43163         [TEST_IFUNC]: Remove conditionals.
43164         * string/test-string.h (TEST_IFUNC): Remove macro.
43165         [TEST_IFUNC]: Remove conditionals.
43167         * string/test-strchr.c [!WIDE] (L): New macro.
43168         [WIDE] (L): Likewise.
43169         (check1): Use CHAR instead of char.  Use L on string and character
43170         constants.
43172 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
43174         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
43175         tests.
43176         * sysdeps/powerpc/bits/atomic.h
43177         (__arch_atomic_exchange_and_add_32_acq): Add definition.
43178         (__arch_atomic_exchange_and_add_32_rel): Likewise.
43179         (atomic_exchange_and_add_acq): Likewise.
43180         (atomic_exchange_and_add_rel): Likewise.
43181         * sysdeps/powerpc/powerpc32/bits/atomic.h
43182         (__arch_atomic_exchange_and_add_64_acq): Add definition.
43183         (__arch_atomic_exchange_and_add_64_rel): Likewise.
43184         * sysdeps/powerpc/powerpc64/bits/atomic.h
43185         (__arch_atomic_exchange_and_add_64_acq): Add definition.
43186         (__arch_atomic_exchange_and_add_64_rel): Likewise.
43188 2014-11-26  Torvald Riegel  <triegel@redhat.com>
43190         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
43191         Change synchronization of __sched_fifo_min_prio and
43192         __sched_fifo_max_prio.
43193         * nptl/pthread_mutexattr_getprioceiling.c
43194         (pthread_mutexattr_getprioceiling): Likewise.
43195         * nptl/pthread_mutexattr_setprioceiling.c
43196         (pthread_mutexattr_setprioceiling): Likewise.
43197         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
43198         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
43199         Likewise.
43201 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
43203         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
43204         void.
43206 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
43208         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
43209         third argument const.
43211 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
43213         fnmatch: work around GCC compiler warning bug with uninit var
43214         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
43215         This works around a bug with x86-64 GCC 4.9.2 and earlier
43216         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
43217         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
43218         used uninitialized in this function [-Wmaybe-uninitialized]".
43220 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
43222         * posix/bug-regex31.c (main): Return RES not 0.
43224 2014-11-25  Anton Blanchard <anton@samba.org>
43226         * sysdeps/powerpc/bits/atomic.h
43227         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
43229 2014-11-24  Sterling Augustine  <saugustine@google.com>
43231         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
43233 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
43235         [BZ #17608]
43236         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
43238 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
43240         [BZ #17633]
43241         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
43242         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
43243         variable.
43244         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
43245         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
43247 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
43249         * string/strncpy.c (strncpy): Improve performance by using memset.
43251 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
43253         * string/strcpy.c (strcpy):
43254         Improve performance by using strlen and memcpy.
43256 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
43258         * string/strcoll_l.c (get_next_seq): __always_inline.
43259         * string/strcoll_l.c (do_compare): __always_inline.
43261 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43263         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
43264         defined.
43265         * include/mqueue.h: Likewise.
43266         * include/stdlib.h: Likewise.
43268         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
43269         (get_null_defines): Adjust.
43270         * sunrpc/Makefile: Adjust comment.
43271         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
43272         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
43273         (CFLAGS-interp.c): Likewise.
43274         (CFLAGS-ldconfig.c): Likewise.
43275         (CPPFLAGS-.os): Likewise.
43276         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43277         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43278         * extra-modules.mk (extra-modules.mk): Likewise.
43279         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
43280         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
43281         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
43282         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
43283         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
43284         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
43285         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
43286         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
43287         * iconvdata/Makefile (CPPFLAGS): Likewise.
43288         (cpp-srcs-left): Add libof for all iconvdata routines.
43289         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
43290         * include/assert.h: Likewise.
43291         * include/ctype.h: Likewise.
43292         * include/errno.h: Likewise.
43293         * include/libc-symbols.h: Likewise.
43294         * include/math.h: Likewise.
43295         * include/netdb.h: Likewise.
43296         * include/resolv.h: Likewise.
43297         * include/stdio.h: Likewise.
43298         * include/stdlib.h: Likewise.
43299         * include/string.h: Likewise.
43300         * include/sys/stat.h: Likewise.
43301         * include/wctype.h: Likewise.
43302         * intl/l10nflist.c: Likewise.
43303         * libidn/idn-stub.c: Likewise.
43304         * libio/libioP.h: Likewise.
43305         * nptl/libc_multiple_threads.c: Likewise.
43306         * nptl/pthreadP.h: Likewise.
43307         * posix/regex_internal.h: Likewise.
43308         * resolv/res_hconf.c: Likewise.
43309         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
43310         * sysdeps/arm/memmove.S: Likewise.
43311         * sysdeps/arm/sysdep.h: Likewise.
43312         * sysdeps/generic/_itoa.h: Likewise.
43313         * sysdeps/generic/symbol-hacks.h: Likewise.
43314         * sysdeps/gnu/errlist.awk: Likewise.
43315         * sysdeps/gnu/errlist.c: Likewise.
43316         * sysdeps/i386/i586/memcpy.S: Likewise.
43317         * sysdeps/i386/i586/memset.S: Likewise.
43318         * sysdeps/i386/i686/memcpy.S: Likewise.
43319         * sysdeps/i386/i686/memmove.S: Likewise.
43320         * sysdeps/i386/i686/mempcpy.S: Likewise.
43321         * sysdeps/i386/i686/memset.S: Likewise.
43322         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43323         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43324         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
43325         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
43326         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43327         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43328         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
43329         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43330         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43331         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43332         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43333         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43334         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43335         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43336         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43337         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43338         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
43339         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
43340         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
43341         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43342         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43343         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43344         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43345         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43346         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43347         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43348         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
43349         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43350         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
43351         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43352         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43353         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43354         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43355         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43356         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43357         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43358         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43359         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43360         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43361         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43362         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43363         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43364         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43365         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43366         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43367         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43368         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
43369         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
43370         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43371         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43372         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43373         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
43374         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
43375         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43376         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43377         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
43378         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43379         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
43380         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
43381         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43382         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43383         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43384         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
43385         * sysdeps/nptl/bits/libc-lock.h: Likewise.
43386         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43387         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
43388         * sysdeps/posix/closedir.c: Likewise.
43389         * sysdeps/posix/opendir.c: Likewise.
43390         * sysdeps/posix/readdir.c: Likewise.
43391         * sysdeps/posix/rewinddir.c: Likewise.
43392         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
43393         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
43394         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43395         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43396         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43397         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
43398         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
43399         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
43400         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
43401         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
43402         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
43403         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
43404         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
43405         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
43406         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
43407         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
43408         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
43409         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
43410         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
43411         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
43412         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
43413         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
43414         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
43415         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
43416         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
43417         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
43418         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
43419         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
43420         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
43421         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
43422         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
43423         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
43424         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
43425         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
43426         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
43427         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
43428         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43429         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43430         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
43431         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
43432         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
43433         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
43434         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
43435         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
43436         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
43437         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
43438         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
43439         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
43440         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
43441         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
43442         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
43443         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
43444         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
43445         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
43446         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
43447         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
43448         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
43449         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
43450         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
43451         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
43452         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
43453         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
43454         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
43455         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
43456         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
43457         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
43458         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
43459         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
43460         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
43461         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
43462         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
43463         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
43464         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
43465         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
43466         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
43467         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
43468         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
43469         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
43470         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43471         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
43472         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
43473         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43474         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
43475         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
43476         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43477         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
43478         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
43479         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43480         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43481         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43482         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
43483         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
43484         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
43485         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43486         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43487         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
43488         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43489         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43490         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
43491         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
43492         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43493         * sysdeps/unix/alpha/sysdep.S: Likewise.
43494         * sysdeps/unix/alpha/sysdep.h: Likewise.
43495         * sysdeps/unix/make-syscalls.sh: Likewise.
43496         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43497         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43498         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43499         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
43500         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43501         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
43502         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
43503         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43504         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43505         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
43506         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43507         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43508         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43509         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43510         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43511         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43512         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43513         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43514         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43515         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43516         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
43517         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43518         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43519         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43520         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43521         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43522         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43525         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
43526         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43527         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43528         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43529         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43530         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43531         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43532         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43533         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43534         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43535         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
43536         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43537         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43538         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43539         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43540         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43541         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43542         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43543         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43544         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43545         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43546         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43547         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43548         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43549         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43550         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
43551         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43552         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43553         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43554         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
43555         * sysdeps/x86_64/memcpy.S: Likewise.
43556         * sysdeps/x86_64/memmove.c: Likewise.
43557         * sysdeps/x86_64/memset.S: Likewise.
43558         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
43559         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43560         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43561         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
43562         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
43563         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43564         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43565         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43566         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43567         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43568         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43569         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43570         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
43571         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43572         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43573         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
43574         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43575         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43576         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43577         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43578         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
43579         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43580         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43581         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43582         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43583         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43584         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43585         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
43586         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43587         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43588         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
43589         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43590         * sysdeps/x86_64/strcmp.S: Likewise.
43592         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
43594         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
43595         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
43596         * elf/rtld-Rules: Likewise.
43597         * elf/setup-vdso.h: Likewise.
43598         * include/assert.h: Likewise.
43599         * include/bits/stdlib-float.h: Likewise.
43600         * include/errno.h: Likewise.
43601         * include/sys/stat.h: Likewise.
43602         * include/unistd.h: Likewise.
43603         * sysdeps/aarch64/setjmp.S: Likewise.
43604         * sysdeps/alpha/setjmp.S: Likewise.
43605         * sysdeps/arm/__longjmp.S: Likewise.
43606         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
43607         * sysdeps/arm/setjmp.S: Likewise.
43608         * sysdeps/arm/sysdep.h: Likewise.
43609         * sysdeps/generic/_itoa.h: Likewise.
43610         * sysdeps/generic/dl-sysdep.h: Likewise.
43611         * sysdeps/generic/ldsodefs.h: Likewise.
43612         * sysdeps/i386/dl-tls.h: Likewise.
43613         * sysdeps/i386/setjmp.S: Likewise.
43614         * sysdeps/m68k/setjmp.c: Likewise.
43615         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
43616         * sysdeps/mach/hurd/opendir.c: Likewise.
43617         * sysdeps/posix/getcwd.c: Likewise.
43618         * sysdeps/posix/opendir.c: Likewise.
43619         * sysdeps/posix/profil.c: Likewise.
43620         * sysdeps/powerpc/dl-procinfo.h: Likewise.
43621         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43622         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43623         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43624         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43625         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
43626         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43627         * sysdeps/s390/dl-tls.h: Likewise.
43628         * sysdeps/s390/s390-32/setjmp.S: Likewise.
43629         * sysdeps/s390/s390-64/setjmp.S: Likewise.
43630         * sysdeps/sh/sh3/setjmp.S: Likewise.
43631         * sysdeps/sh/sh4/setjmp.S: Likewise.
43632         * sysdeps/unix/alpha/sysdep.h: Likewise.
43633         * sysdeps/unix/arm/sysdep.S: Likewise.
43634         * sysdeps/unix/i386/sysdep.S: Likewise.
43635         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43636         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43637         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43638         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43639         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43640         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43641         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43642         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43643         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43644         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43645         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
43646         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43647         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43650         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43651         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43652         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43653         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43654         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43655         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43656         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43657         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43658         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43659         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43660         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43661         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43662         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43663         * sysdeps/x86_64/setjmp.S: Likewise.
43665         * include/math.h: Use IS_IN instead of IS_IN_libm.
43666         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
43667         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43668         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43669         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
43670         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43671         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43672         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43673         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43674         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43675         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43676         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
43677         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
43678         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
43679         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
43680         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
43681         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
43682         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
43683         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
43684         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
43685         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
43686         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
43687         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
43688         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
43689         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
43690         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
43691         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
43692         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
43693         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
43694         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
43695         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
43696         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
43697         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43698         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
43700         Likewise.
43701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
43702         Likewise.
43703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
43704         Likewise.
43705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
43706         Likewise.
43707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
43708         Likewise.
43709         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43710         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
43711         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43712         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43713         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43714         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
43716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
43717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
43718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
43719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
43720         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
43721         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
43722         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43723         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43724         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43725         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43726         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43727         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43728         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43729         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
43730         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
43731         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
43732         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
43733         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
43734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43735         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
43737         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
43738         * nptl/pthreadP.h: Likewise.
43739         * nptl_db/structs.def: Likewise.
43740         * sysdeps/arm/sysdep.h: Likewise.
43741         * sysdeps/nptl/bits/libc-lock.h: Likewise.
43742         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43743         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
43744         * sysdeps/unix/alpha/sysdep.h: Likewise.
43745         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43746         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43747         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43748         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43749         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43750         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43751         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43752         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43753         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43754         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43755         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43756         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43757         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43758         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43761         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43762         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43763         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43764         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43765         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43766         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43767         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43768         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43769         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
43770         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43772         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
43773         * nptl/pthreadP.h: Likewise.
43774         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43775         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43776         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43777         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43778         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43779         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43780         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43781         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43782         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43783         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43784         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43785         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43787         Likewise.
43788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43789         Likewise.
43790         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43791         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43792         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43793         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43794         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43795         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43796         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43797         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43799         * dlfcn/dladdr.c: Use IS_IN.
43800         * dlfcn/dladdr1.c: Likewise.
43801         * dlfcn/dlclose.c: Likewise.
43802         * dlfcn/dlerror.c: Likewise.
43803         * dlfcn/dlinfo.c: Likewise.
43804         * dlfcn/dlmopen.c: Likewise.
43805         * dlfcn/dlopen.c: Likewise.
43806         * dlfcn/dlsym.c: Likewise.
43807         * dlfcn/dlvsym.c: Likewise.
43809         * include/ifaddrs.h: Use IS_IN.
43810         * inet/check_pf.c: Likewise.
43811         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43812         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
43814         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
43815         IS_IN_ldconfig.
43816         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
43817         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
43819         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
43820         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
43821         IS_IN (libc).
43823         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
43825         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
43826         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43827         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43828         * include/libc-symbols.h (IS_IN_LIB): New macro.
43829         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
43830         * include/netdb.h: Likewise.
43831         * include/stap-probe.h: Remove all uses of IN_LIB.
43833         * Makeconfig (module-cppflags-real): Define MODULE_NAME
43834         instead of IN_MODULE.
43835         * include/libc-symbols.h (IN_MODULE): Define using
43836         MODULE_NAME.
43837         (PASTE_NAME, PASTE_NAME1): New macros.
43838         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
43839         of IN_LIB.
43840         (STAP_PROBE_ASM): Likewise.
43842 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43844         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
43845         __mach_init in dlopened libc.
43847 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
43849         * sysdeps/arm/preconfigure.ac: Delete EABI check.
43850         * sysdeps/arm/preconfigure: Regenerate.
43852 2014-11-21  Roland McGrath  <roland@hack.frob.com>
43854         * nptl/pthread_create.c (__pthread_create_2_1): Set
43855         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
43856         when copying values from IATTR into PD.
43858 2014-11-21  Will Newton  <will.newton@linaro.org>
43859             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
43861         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
43862         Refactor inline-asm.  Also add comment.
43864         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
43865         ElfW macro instead of hardcoded Elf64 types.
43866         (la_aarch64_gnu_pltenter): Likewise.
43867         * sysdeps/aarch64/dl-machine.h
43868         (elf_machine_runtime_setup): Use ElfW(Addr).
43870         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
43871         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
43872         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
43873         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
43874         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
43875         (R_AARCH64_TLS_DTPMOD64): Rename to ..
43876         (R_AARCH64_TLS_DTPMOD): This.
43877         (R_AARCH64_TLS_DTPREL64): Rename to ...
43878         (R_AARCH64_TLS_DTPREL): This.
43879         (R_AARCH64_TLS_TPREL64): Rename to ...
43880         (R_AARCH64_TLS_TPREL): This.
43881         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
43882         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
43883         R_AARCH64_TLS_TPREL64.
43884         (elf_machine_rela): Likewise.
43886 2014-11-21  Torvald Riegel  <triegel@redhat.com>
43888         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
43889         by setting it to 0.  64b atomics are not supported currently.
43891 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43893         [BZ #16469]
43894         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
43895         search domain names.
43897 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43899         [BZ #16469]
43900         * NEWS: Update.
43901         * resolv/res_query.c (__libc_res_nquerydomain): Retain
43902         trailing dot.
43903         * posix/tst-getaddrinfo5.c: New.
43904         * posix/Makefile (tests): Add it.
43906 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43908         [BZ #14498]
43909         * NEWS: Fixed.
43910         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
43911         after parsing line but before break_if_match.
43912         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
43913         if there is a protocol mismatch.
43915 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
43917         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
43918         because the potential race is on the user-supplied stream.
43920 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43922         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
43923         string literal if not passed a buffer.
43924         * manual/job.texi (ctermid): Update reasoning, note deviation
43925         from posix, suggest mtasurace when not passed a buffer, for
43926         future non-preliminary safety notes.
43928 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43930         * manual/users.texi (cuserid): Fix MT-Safety note for the case
43931         of not passing it a buffer.
43932         Reported by Peng Haitao.
43934 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43936         * manual/Makefile ($(objpfx)stamp-summary): Require
43937         check-safety.sh to pass.
43938         * manual/check-safety.sh: Wish for verification that every
43939         @deftypefn and @deftypefun is followed by a @safety remark.
43941 2014-11-20  Roland McGrath  <roland@hack.frob.com>
43943         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
43945         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
43946         PTHREAD_CANCEL_ASYNCHRONOUS.
43947         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
43948         send SIGCANCEL.
43950         * nptl/default-sched.h: New file.
43951         * sysdeps/unix/sysv/linux/default-sched.h: New file.
43952         * nptl/pthread_create.c: Include it.
43953         (__pthread_create_2_1): Use collect_default_sched instead of making
43954         Linux syscalls here directly.
43956 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43958         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
43959         __pthread_once): Use C11 atomics.
43961 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43963         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
43965 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43967         * include/atomic.h (__atomic_link_error, __atomic_check_size,
43968         atomic_thread_fence_acquire, atomic_thread_fence_release,
43969         atomic_thread_fence_seq_cst, atomic_load_relaxed,
43970         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
43971         atomic_compare_exchange_weak_relaxed,
43972         atomic_compare_exchange_weak_acquire,
43973         atomic_compare_exchange_weak_release,
43974         atomic_exchange_acquire, atomic_exchange_release,
43975         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
43976         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
43977         atomic_fetch_and_acquire,
43978         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
43980 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43982         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
43983         USE_ATOMIC_COMPILER_BUILTINS): Define.
43984         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
43985         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43986         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
43987         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43988         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
43989         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43990         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
43991         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43992         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
43993         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43994         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
43995         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43996         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
43997         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43998         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
43999         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44000         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
44001         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44002         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
44003         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44004         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
44005         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44006         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
44007         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44008         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
44009         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44010         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
44011         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44012         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
44013         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44014         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
44015         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44016         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
44017         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44018         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
44019         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44020         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
44021         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44022         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
44023         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44025 2014-11-19  Roland McGrath  <roland@hack.frob.com>
44027         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
44028         the sched_priority value here.  It was already checked when the user
44029         called pthread_attr_setschedparam.
44031         * nptl/tst-bad-schedattr.c: New file.
44032         * nptl/Makefile (tests): Add it.
44034 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
44035             Florian Weimer  <fweimer@redhat.com>
44036             Joseph Myers  <joseph@codesourcery.com>
44037             Adam Conrad  <adconrad@0c3.net>
44038             Andreas Schwab  <schwab@suse.de>
44039             Brooks  <bmoses@google.com>
44041         [BZ #17625]
44042         * wordexp-test.c (__dso_handle): Add prototype.
44043         (__register_atfork): Likewise.
44044         (__app_register_atfork): New function.
44045         (registered_forks): New global.
44046         (register_fork): New function.
44047         (test_case): Add 3 new tests for WRDE_CMDSUB.
44048         (main): Call __app_register_atfork.
44049         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
44050         fork count is non-zero fail the test.
44051         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
44052         is set.
44053         (parse_dollars): Remove check for WRDE_NOCMD.
44054         (parse_dquote): Likewise.
44056 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44058         * Makeconfig (built-modules): List non-library modules to be
44059         built.
44060         (module-cppflags): Include libc-modules.h for
44061         everything except shlib-versions.v.i.
44062         (CPPFLAGS): Use it.
44063         (before-compile): Add libc-modules.h.
44064         ($(common-objpfx)libc-modules.h,
44065         $(common-objpfx)libc-modules.stmp): New targets.
44066         (common-generated): Add libc-modules.h and libc-modules.stmp.
44067         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
44068         * include/libc-symbols.h: Don't include libc-modules.h.
44069         * include/libc-modules.h: Remove file.
44070         * scripts/gen-libc-modules.awk: New script to generate
44071         libc-modules.h.
44072         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
44073         Depend on libc-modules.stmp.
44075         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
44077         * Makeconfig (in-module): Get value of libof set for the
44078         translation unit.
44079         (CPPFLAGS): Use $(in-module).
44080         * Makerules: Don't suffix routine names for nonlib.
44081         * include/libc-modules.h: New file.
44082         * include/libc-symbols.h: Include libc-modules.h
44083         (IS_IN): New macro to replace IS_IN_* macros.
44084         * elf/Makefile: Set libof-* for each routine.
44085         * elf/rtld-Rules: Likewise.
44086         * extra-modules.mk: Likewise.
44087         * iconv/Makefile: Likewise.
44088         * iconvdata/Makefile: Likewise.
44089         * locale/Makefile: Likewise.
44090         * malloc/Makefile: Likewise.
44091         * nss/Makefile: Likewise.
44092         * sysdeps/gnu/Makefile: Likewise.
44093         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
44094         * sysdeps/unix/sysv/linux/Makefile: Likewise.
44095         * sysdeps/s390/s390-64/Makefile: Likewise.
44096         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
44097         CPPFLAGS for nscd instead of nonlib.
44099 2014-11-18  Roland McGrath  <roland@hack.frob.com>
44101         * nptl/createthread.c: New file.
44103         * nptl/createthread.c: Moved ...
44104         * sysdeps/unix/sysv/linux/createthread.c: ... here.
44106         * nptl/createthread.c: Add proper top-line comment.
44107         (do_clone): Folded into ...
44108         (create_thread): ... here.  Take new arguments STOPPED_START and
44109         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
44110         increment __nptl_threads, do event-reporting logic, do
44111         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
44112         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
44113         resource cleanup if sched_setaffinity or sched_setscheduler fails,
44114         just send SIGCANCEL.
44115         * nptl/pthread_create.c: Forward-declare create_thread before
44116         including createthread.c.
44117         (start_thread): Use new macro START_THREAD_DEFN to replace defining
44118         declaration, and new macro START_THREAD_SELF to replace argument.
44119         Remove return statement.
44120         (report_thread_creation): New function.
44121         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
44122         synchronization logic, and __nptl_nthreads increment here, around
44123         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
44124         PD->parent_cancelhandling here, before create_thread.  When
44125         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
44126         __deallocate_stack, and ENOMEM translation here.
44128 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
44130         [BZ #17616]
44131         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
44132         (mptwo): Rename to __mptwo.
44133         (__inv): Use __mptwo instead of mptwo.
44134         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
44135         (mptwo): Rename to __mptwo.
44136         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
44137         of mpone and __mptwo instead of mptwo.
44138         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
44139         instead of mpone.
44140         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44141         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
44142         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
44143         of mpone and __mptwo instead of mptwo.
44144         (__mpranred): Use __mpone instead of mpone.
44145         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
44146         variable.
44147         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44148         (test-xfail-ISO99/math.h/linknamespace): Likewise.
44149         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44150         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44151         (test-xfail-ISO11/math.h/linknamespace): Likewise.
44152         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44153         (test-xfail-XPG3/math.h/linknamespace): Likewise.
44154         (test-xfail-XPG4/math.h/linknamespace): Likewise.
44155         (test-xfail-POSIX/math.h/linknamespace): Likewise.
44156         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44157         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44158         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44159         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44160         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44161         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44162         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44163         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44164         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44165         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44167 2014-11-18  Tom de Vries  <tom@codesoucery.com>
44169         * manual/signal.texi (Primitives Interrupted by Signals): In section,
44170         replace BSD Handler xref with BSD Signal Handling.
44172 2014-11-17  Richard Henderson  <rth@redhat.com>
44174         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
44175         (_FP_PACK_RAW_2): Remove.
44176         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
44177         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
44178         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
44179         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
44180         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
44181         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
44182         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
44183         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
44184         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
44185         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
44186         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
44187         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
44188         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
44189         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
44190         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
44191         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
44193 2014-11-14  Roland McGrath  <roland@hack.frob.com>
44195         * signal/signal.h [__USE_MISC]
44196         (struct sigvec): Remove type.
44197         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
44198         (sigvec): Remove declaration.
44199         * sysdeps/posix/sigvec.c: Moved ...
44200         * signal/sigvec.c: ... here, replacing old file.
44201         (struct sigvec): New type, copied from old signal.h definition.
44202         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
44203         (__sigvec): Convert definition to prototype.
44204         (sigvec): Replace weak_alias with compat_symbol.
44205         * signal/Versions (libc: GLIBC_2.21): New version set.
44206         * include/signal.h: Remove __sigvec declaration.
44207         * sysdeps/unix/bsd/sigvec.c: Remove file.
44208         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
44209         * manual/signal.texi (BSD Handler): Remove subsection.
44210         Move siginterrupt up to ...
44211         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
44212         (Blocking in BSD): Fold subsection into its parent.
44213         * NEWS: Mention sigvec removal.
44215 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
44217         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
44218         (DLA_FMS): Make definition conditional only on [__FMA4__].
44219         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
44220         definition.
44222         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
44223         Make definition conditional only on [PROF].
44224         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
44225         definition.
44226         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
44227         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
44229         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
44230         !__GNUC__].
44231         * include/signal.h (__sigpause): Move declaration above call to
44232         libc_hidden_proto.
44233         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
44234         variable.
44235         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44236         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44238 2014-11-14  David S. Miller  <davem@davemloft.net>
44240         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
44241         Define before including <string/memcpy.c> and <string/mempcpy.c>.
44243 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
44245         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
44246         * configure: Regenerated.
44247         * manual/install.texi (Tools for Compilation): Document a
44248         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
44249         compiler verified to work.
44250         * INSTALL: Regenerated.
44252         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
44253         redeclare with asm name.
44254         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
44255         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
44256         including <string.h>.
44257         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44258         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
44259         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44260         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
44261         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44262         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
44263         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44265 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
44267         * stdlib/strtol.c (__strtol): Use prototype definition.
44269         [BZ #17594]
44270         * stdlib/strtol.c (SYM__): New macro.
44271         (SYM__1): Likewise.
44272         (__strtol): Likewise.
44273         (strtol): Rename to __strtol and define as weak alias of
44274         __strtol.  Use libc_hidden_weak.
44276 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44278         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
44279         Use numbered labels in inline assembly.
44281 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44283         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
44284         Add setjmp LIBC_PROBE.
44285         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
44286         Likewise.
44287         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
44288         Add longjmp, longjmp_target LIBC_PROBE.
44289         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
44290         Likewise.
44292 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44294         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
44295         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
44296         to get rid of unused variable warning.
44298 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44300         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
44301         Check for unwind_backtrace ==  NULL only in SHARED case.
44302         (__backchain_backtrace): Compile only in SHARED case.
44303         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
44304         Likewise.
44305         (__backchain_backtrace): Declare as static.
44307 2014-11-12  Roland McGrath  <roland@hack.frob.com>
44309         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
44310         (__libc_multiple_threads_ptr): Variable moved ...
44311         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
44313 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
44315         * conform/GlibcConform.pm: New file.
44316         * conform/conformtest.pl: Use GlibcConform module.
44317         * conform/linknamespace.pl: New file.
44318         * conform/list-header-symbols.pl: Likewise.
44319         * conform/Makefile (linknamespace-symlists-base): New variable.
44320         (linknamespace-symlists-tests): Likewise.
44321         (linknamespace-header-base): Likewise.
44322         (linknamespace-header-tests): Likewise.
44323         (tests-special): Add new tests.
44324         ($(linknamespace-symlists-tests)): New rule.
44325         (linknamespace-libs): New variable.
44326         ($(objpfx)symlist-stdlibs): New rule.
44327         ($(linknamespace-header-tests)): Likewise.
44328         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
44329         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
44330         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
44331         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
44332         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
44333         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
44334         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
44335         (test-xfail-ISO/math.h/linknamespace): Likewise.
44336         (test-xfail-ISO/signal.h/linknamespace): Likewise.
44337         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
44338         (test-xfail-ISO/time.h/linknamespace): Likewise.
44339         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44340         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
44341         (test-xfail-ISO99/math.h/linknamespace): Likewise.
44342         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44343         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
44344         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44345         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44346         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
44347         (test-xfail-ISO11/math.h/linknamespace): Likewise.
44348         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44349         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
44350         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44351         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
44352         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
44353         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
44354         (test-xfail-XPG3/math.h/linknamespace): Likewise.
44355         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
44356         (test-xfail-XPG3/search.h/linknamespace): Likewise.
44357         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
44358         (test-xfail-XPG3/time.h/linknamespace): Likewise.
44359         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
44360         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
44361         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
44362         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
44363         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
44364         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
44365         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
44366         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
44367         (test-xfail-XPG4/math.h/linknamespace): Likewise.
44368         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
44369         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
44370         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
44371         (test-xfail-XPG4/search.h/linknamespace): Likewise.
44372         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
44373         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
44374         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
44375         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
44376         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
44377         (test-xfail-XPG4/time.h/linknamespace): Likewise.
44378         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
44379         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
44380         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
44381         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
44382         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
44383         (test-xfail-POSIX/math.h/linknamespace): Likewise.
44384         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
44385         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
44386         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
44387         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
44388         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
44389         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
44390         (test-xfail-POSIX/time.h/linknamespace): Likewise.
44391         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
44392         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
44393         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
44394         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
44395         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
44396         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
44397         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
44398         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
44399         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
44400         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44401         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
44402         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
44403         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
44404         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
44405         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
44406         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
44407         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
44408         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
44409         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
44410         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
44411         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
44412         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
44413         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
44414         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
44415         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
44416         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
44417         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
44418         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
44419         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44420         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
44421         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
44422         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
44423         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
44424         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
44425         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
44426         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44427         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
44428         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
44429         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
44430         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
44431         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
44432         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
44433         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
44434         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
44435         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
44436         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
44437         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
44438         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
44439         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
44440         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
44441         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
44442         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44443         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
44444         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
44445         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
44446         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
44447         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
44448         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44449         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
44450         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
44451         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
44452         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
44453         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44454         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
44455         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
44456         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
44457         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
44458         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
44459         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
44460         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
44461         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
44462         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
44463         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44464         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
44465         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
44466         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
44467         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44468         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
44469         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
44470         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
44471         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
44472         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
44473         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44474         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
44475         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
44476         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
44477         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
44478         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
44479         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
44480         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
44481         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
44482         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
44483         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
44484         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
44485         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
44486         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44487         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
44488         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
44490         [BZ #17589]
44491         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
44492         of fgets_unlocked.
44494         [BZ #17585]
44495         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
44496         (memmem): Rename to __memmem and define as weak alias of
44497         __memmem.  Use libc_hidden_weak.
44498         (__memmem): Use libc_hidden_def.
44499         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
44500         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
44501         memmem.
44503         [BZ #17582]
44504         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
44505         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
44506         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
44507         and define as weak alias of __fgets_unlocked.  Use
44508         libc_hidden_weak.
44509         (__fgets_unlocked): Use libc_hidden_def.
44510         * include/stdio.h (__fgets_unlocked): Declare.  Use
44511         libc_hidden_proto.
44512         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
44513         __fgets_unlocked instead of fgets_unlocked.
44514         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
44515         (GET_NPROCS_CONF_PARSER): Likewise.
44516         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
44517         (GET_NPROCS_CONF_PARSER): Likewise.
44519         [BZ #17574]
44520         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
44521         weak alias of __wmemset.  Use libc_hidden_weak.
44522         (__wmemset): Use libc_hidden_def.
44523         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
44524         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
44525         of wmemset.
44527         [BZ #17573]
44528         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
44529         with asm name __mempcpy.
44530         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
44532         [BZ #17572]
44533         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
44534         and define as weak alias of __rawmemchr.
44535         (__rawmemchr): Do not define as strong alias of rawmemchr.
44537         [BZ #17571]
44538         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
44539         alias of __qsort_r.
44540         (qsort): Call __qsort_r instead of qsort_r.
44541         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
44542         (__qsort_r): Declare.  Call libc_hidden_proto.
44543         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
44544         instead of qsort_r.
44545         * nscd/gai.c (__qsort_r): Define to qsort_r.
44546         * posix/tst-rfc3484.c (__qsort_r): Likewise.
44547         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
44548         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
44550         [BZ #17570]
44551         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
44552         define as weak alias of __malloc_info.
44554         [BZ #17584]
44555         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
44556         as weak alias of __rewinddir.  Don't use libc_hidden_def.
44557         (__rewinddir): Use libc_hidden_def.
44558         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
44559         as weak alias of __rewinddir.  Don't use libc_hidden_def.
44560         (__rewinddir): Use libc_hidden_def.
44561         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
44562         weak alias of __rewinddir.  Don't use libc_hidden_def.
44563         (__rewinddir): Use libc_hidden_def.
44564         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
44565         (__rewinddir): Use libc_hidden_proto.
44566         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
44567         rewinddir.
44568         (__getcwd): Use __rewinddir instead of rewinddir.
44570         [BZ #17583]
44571         * libio/fileno.c (fileno): Rename to __fileno and define as weak
44572         alias of __fileno.  Use libc_hidden_weak.
44573         (__fileno): Use libc_hidden_def.
44574         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
44575         * libio/ftello.c (ftello): Rename to __ftello and define as weak
44576         alias of __ftello.
44577         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
44578         __ftello.
44579         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
44580         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
44581         libc_hidden_def.
44582         (fread_unlocked): Don't use libc_hidden_ver.
44583         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
44584         and define as weak alias of __fread_unlocked.  Don't use
44585         libc_hidden_def.
44586         (__fread_unlocked): Use libc_hidden_def.
44587         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
44588         (ftello): Don't use libc_hidden_proto.
44589         (__ftello): Declare.  Use libc_hidden_proto.
44590         (fread_unlocked): Don't use libc_hidden_proto.
44591         (__fread_unlocked): Declare.  Use libc_hidden_proto.
44592         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
44593         and __ftello instead of fileno, fread_unlocked and ftello.
44595 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44597         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
44598         GOT12.
44599         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
44600         Likewise.
44601         (_dl_start_user): Likewise.
44602         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
44604 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
44605             Siddhesh Poyarekar  <siddhesh@redhat.com>
44607         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
44608         Move argv and envp down instead of moving argc up.
44609         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
44611 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
44613         [BZ #17506]
44614         * test-skeleton.c (main): Return successful if one of
44615         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
44616         * string/tst-strcoll-overflow.c: Define expected status.
44618 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
44620         [BZ #17475]
44621         * locale/iso-639.def: Define Bhili and Tulu language codes.
44623 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
44625         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
44627 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
44629         [BZ #17555]
44630         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
44632 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
44634         * configure.ac: Updated check of minimal required version to
44635         2.22.
44636         * manual/install.texi (Tools for Compilation): Updated version
44637         number.
44638         * configure: Regenerated.
44639         * INSTALL: Likewise.
44641 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
44643         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
44644         __tls_get_addr.
44646 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
44648         * include/sys/wait.h (__libc_waitpid): Remove declaration.
44649         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
44650         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44651         libc_hidden_weak.
44652         (waitpid): Define as alias of __waitpid.
44653         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
44654         __waitpid.
44655         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44656         libc_hidden_weak.
44657         (waitpid): Define as alias of __waitpid.
44658         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
44659         __libc_waitpid alias.
44660         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
44661         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
44662         Likewise.
44663         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
44664         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
44665         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
44666         alias.
44667         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
44668         __waitpid.
44669         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44670         libc_hidden_weak.
44671         (waitpid): Define as alias of __waitpid.
44673 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
44675         * manual/llio.texi: Add comment that write safety has been
44676         fixed in Linux.
44678         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
44679         (localplt-build-dso): Add elf/ld.so.
44680         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
44681         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
44682         and free for ld.so.
44683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
44684         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
44685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
44686         Likewise.
44687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44688         Likewise.
44689         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
44690         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
44691         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
44692         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
44693         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
44694         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
44695         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
44696         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
44697         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
44698         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
44699         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
44701 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
44703         [BZ #14132]
44704         * include/libc-symbols.h (INTUSE): Remove macro.
44705         (INTDEF): Likewise.
44706         (INTVARDEF): Likewise.
44707         (_INTVARDEF): Likewise.
44708         (INTDEF2): Likewise.
44709         (INTVARDEF2): Likewise.
44710         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
44711         rtld_hidden_def instead of INTVARDEF.
44712         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
44713         (_dl_starting_up_internal): Remove declaration.
44714         (_dl_starting_up): Use rtld_hidden_proto.
44715         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
44716         declaration.
44717         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
44718         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
44719         _dl_starting_up.
44720         * elf/dl-writev.h (_dl_writev): Likewise.
44721         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
44722         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
44723         _dl_starting_up_internal.
44725 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44727         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
44728         test-skeleton.c.
44730 2014-11-05  Will Newton  <will.newton@linaro.org>
44732         * benchtests/Makefile: (bench-malloc): Add malloc thread
44733         scalability benchmark.
44734         * benchtests/bench-malloc-threads.c: New file.
44736 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
44738         * sysdeps/aarch64/strchrnul.S: New file.
44740 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44742         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
44743         definition.
44744         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44745         Likewise.
44746         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44747         Likewise.
44748         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44749         Likewise.
44750         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44751         Likewise.
44752         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44753         Likewise.
44755 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
44757         * catgets/test-gencat.c: Use test-skeleton.c.
44758         * catgets/tst-catgets.c: Likewise.
44759         * csu/tst-empty.c: Likewise.
44760         * elf/tst-audit2.c: Likewise.
44761         * elf/tst-global1.c: Likewise.
44762         * elf/tst-pathopt.c: Likewise.
44763         * elf/tst-piemod1.c: Likewise.
44764         * elf/tst-tls10.c: Likewise.
44765         * elf/tst-tls11.c: Likewise.
44766         * elf/tst-tls12.c: Likewise.
44767         * gnulib/tst-gcc.c: Likewise.
44768         * iconvdata/tst-e2big.c: Likewise.
44769         * iconvdata/tst-loading.c: Likewise.
44770         * iconv/tst-iconv1.c: Likewise.
44771         * iconv/tst-iconv2.c: Likewise.
44772         * inet/test-inet6_opt.c: Likewise.
44773         * inet/tst-gethnm.c: Likewise.
44774         * inet/tst-network.c: Likewise.
44775         * inet/tst-ntoa.c: Likewise.
44776         * intl/tst-codeset.c: Likewise.
44777         * intl/tst-gettext2.c: Likewise.
44778         * intl/tst-gettext3.c: Likewise.
44779         * intl/tst-ngettext.c: Likewise.
44780         * intl/tst-translit.c: Likewise.
44781         * io/test-stat.c: Likewise.
44782         * libio/test-fmemopen.c: Likewise.
44783         * libio/tst-freopen.c: Likewise.
44784         * libio/tst-sscanf.c: Likewise.
44785         * libio/tst-ungetwc1.c: Likewise.
44786         * libio/tst-ungetwc2.c: Likewise.
44787         * libio/tst-widetext.c: Likewise.
44788         * localedata/tst-ctype.c: Likewise.
44789         * localedata/tst-digits.c: Likewise.
44790         * localedata/tst-leaks.c: Likewise.
44791         * localedata/tst-mbswcs1.c: Likewise.
44792         * localedata/tst-mbswcs2.c: Likewise.
44793         * localedata/tst-mbswcs3.c: Likewise.
44794         * localedata/tst-mbswcs4.c: Likewise.
44795         * localedata/tst-mbswcs5.c: Likewise.
44796         * localedata/tst-setlocale.c: Likewise.
44797         * localedata/tst-trans.c: Likewise.
44798         * localedata/tst-wctype.c: Likewise.
44799         * localedata/tst-xlocale1.c: Likewise.
44800         * login/tst-grantpt.c: Likewise.
44801         * malloc/tst-calloc.c: Likewise.
44802         * malloc/tst-malloc.c: Likewise.
44803         * malloc/tst-mallocstate.c: Likewise.
44804         * malloc/tst-mcheck.c: Likewise.
44805         * malloc/tst-mtrace.c: Likewise.
44806         * malloc/tst-obstack.c: Likewise.
44807         * math/atest-exp2.c: Likewise.
44808         * math/atest-exp.c: Likewise.
44809         * math/atest-sincos.c: Likewise.
44810         * math/test-matherr.c: Likewise.
44811         * math/test-misc.c: Likewise.
44812         * math/test-powl.c: Likewise.
44813         * math/tst-definitions.c: Likewise.
44814         * misc/tst-dirname.c: Likewise.
44815         * misc/tst-efgcvt.c: Likewise.
44816         * misc/tst-fdset.c: Likewise.
44817         * misc/tst-hsearch.c: Likewise.
44818         * misc/tst-mntent2.c: Likewise.
44819         * nptl/tst-sem7.c: Likewise.
44820         * nptl/tst-sem8.c: Likewise.
44821         * nptl/tst-sem9.c: Likewise.
44822         * nss/test-netdb.c: Likewise.
44823         * posix/tst-fnmatch.c: Likewise.
44824         * posix/tst-getlogin.c: Likewise.
44825         * posix/tst-gnuglob.c: Likewise.
44826         * posix/tst-mmap.c: Likewise.
44827         * pwd/tst-getpw.c: Likewise.
44828         * resolv/tst-inet_ntop.c: Likewise.
44829         * rt/tst-timer.c: Likewise.
44830         * stdio-common/test-fseek.c: Likewise.
44831         * stdio-common/test-popen.c: Likewise.
44832         * stdio-common/test-vfprintf.c: Likewise.
44833         * stdio-common/tst-cookie.c: Likewise.
44834         * stdio-common/tst-fileno.c: Likewise.
44835         * stdio-common/tst-gets.c: Likewise.
44836         * stdio-common/tst-obprintf.c: Likewise.
44837         * stdio-common/tst-perror.c: Likewise.
44838         * stdio-common/tst-sprintf2.c: Likewise.
44839         * stdio-common/tst-sprintf3.c: Likewise.
44840         * stdio-common/tst-sprintf.c: Likewise.
44841         * stdio-common/tst-swprintf.c: Likewise.
44842         * stdio-common/tst-tmpnam.c: Likewise.
44843         * stdio-common/tst-unbputc.c: Likewise.
44844         * stdio-common/tst-wc-printf.c: Likewise.
44845         * stdlib/tst-environ.c: Likewise.
44846         * stdlib/tst-fmtmsg.c: Likewise.
44847         * stdlib/tst-limits.c: Likewise.
44848         * stdlib/tst-rand48-2.c: Likewise.
44849         * stdlib/tst-rand48.c: Likewise.
44850         * stdlib/tst-random2.c: Likewise.
44851         * stdlib/tst-random.c: Likewise.
44852         * stdlib/tst-strtol.c: Likewise.
44853         * stdlib/tst-strtoll.c: Likewise.
44854         * stdlib/tst-tls-atexit.c: Likewise.
44855         * stdlib/tst-xpg-basename.c: Likewise.
44856         * string/test-ffs.c: Likewise.
44857         * string/tst-bswap.c: Likewise.
44858         * string/tst-inlcall.c: Likewise.
44859         * string/tst-strtok.c: Likewise.
44860         * string/tst-strxfrm.c: Likewise.
44861         * sysdeps/x86_64/tst-audit10.c: Likewise.
44862         * sysdeps/x86_64/tst-audit3.c: Likewise.
44863         * sysdeps/x86_64/tst-audit4.c: Likewise.
44864         * sysdeps/x86_64/tst-audit5.c: Likewise.
44865         * time/tst-ftime_l.c: Likewise.
44866         * time/tst-getdate.c: Likewise.
44867         * time/tst-mktime3.c: Likewise.
44868         * time/tst-mktime.c: Likewise.
44869         * time/tst-posixtz.c: Likewise.
44870         * time/tst-strptime2.c: Likewise.
44871         * time/tst-strptime3.c: Likewise.
44872         * wcsmbs/tst-btowc.c: Likewise.
44873         * wcsmbs/tst-mbrtowc.c: Likewise.
44874         * wcsmbs/tst-mbsrtowcs.c: Likewise.
44875         * wcsmbs/tst-wchar-h.c: Likewise.
44876         * wcsmbs/tst-wcpncpy.c: Likewise.
44877         * wcsmbs/tst-wcrtomb.c: Likewise.
44878         * wcsmbs/tst-wcsnlen.c: Likewise.
44879         * wcsmbs/tst-wcstof.c: Likewise.
44881 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
44883         [BZ #14132]
44884         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
44885         INTDEF.
44886         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
44887         declaration.
44888         (_dl_mcount): Use rtld_hidden_proto.
44889         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
44890         _dl_mcount.
44891         * elf/rtld.c (_rtld_global_ro): Likewise.
44893         [BZ #14132]
44894         * elf/dl-init.c (_dl_init): Don't use INTDEF.
44895         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
44896         of _dl_init_internal.
44897         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
44898         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
44899         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
44900         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
44901         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
44902         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
44903         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
44904         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
44905         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
44906         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
44907         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
44908         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
44909         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44910         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44911         * sysdeps/tile/dl-start.S (_start): Likewise.
44912         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
44913         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
44915         [BZ #14132]
44916         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
44917         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
44918         (rtld_progname): Make macro definition unconditional.
44919         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
44920         INTDEF.
44921         (dlmopen_doit): Do not use INTUSE with _dl_argv.
44922         (dl_main): Likewise.
44923         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44924         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
44925         instead of _dl_argv_internal.
44926         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44927         __GI__dl_argv instead of INTUSE(_dl_argv).
44928         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
44929         __GI__dl_argv instead of _dl_argv_internal.
44931         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
44932         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
44933         macro.
44934         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
44935         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
44936         New macro.
44937         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
44938         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
44939         macro.
44940         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
44941         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
44943 2014-11-04  Andreas Schwab  <schwab@suse.de>
44945         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
44947 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44949         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
44950         mtvsrd instruction in binary form.
44952 2014-11-03  Andreas Schwab  <schwab@suse.de>
44954         [BZ #17522]
44955         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
44956         for less than MB_LEN_MAX use a local buffer of that size.
44957         * libio/tst-fputws.c: New file.
44958         * libio/Makefile (tests): Add tst-fputws.
44960 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
44962         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
44963         the size of the fpu_fr.fpu_dregs[] array.
44965 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
44967         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
44968         (__nanosleep): Do not define as alias.
44969         (nanosleep): Define as alias of __nanosleep.
44970         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
44971         __libc_nanosleep name.
44973 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
44975         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
44976         install.texi in comment.
44978 2014-10-31  Torvald Riegel  <triegel@redhat.com>
44980         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
44981         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
44982         ... add here and use lwsync or sync ...
44983         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
44984         ... and add here using lwsync.
44986 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
44988         * elf/dl-machine-reject-phdr.h: New file.
44989         * elf/dl-load.c: #include that.
44990         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
44991         if that returned true.
44993 2014-10-31  Roland McGrath  <roland@hack.frob.com>
44995         [BZ #17496]
44996         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
44997         gen-as-const-headers chunk.  Add a big scare comment after the last
44998         safe place to touch before-compile.
45000 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
45002         * manual/install.texi (Tools for Compilation): Update autoconf
45003         version requirements.
45004         * INSTALL: Regenerated.
45006         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
45007         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
45008         (__libc_pselect): Likewise.
45010         [BZ #14138]
45011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
45012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45016 2014-10-31  Torvald Riegel  <triegel@redhat.com>
45018         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
45019         correct barrier instruction.
45020         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
45021         Likewise.
45022         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
45023         Likewise.
45025 2014-10-30  Roland McGrath  <roland@hack.frob.com>
45027         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
45028         after defining inlines.  Instead, just use parens to defeat macro
45029         expansion of __isctype in its declaration.
45031 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
45033         * include/sys/uio.h (__libc_readv): Remove declaration.
45034         (__libc_writev): Likewise.
45035         * misc/readv.c (__libc_readv): Rename to __readv.
45036         (__readv): Do not define as alias.
45037         (readv): Define as alias of __readv.
45038         * misc/writev.c (__libc_writev): Rename to __writev.
45039         (__writev): Do not define as alias.
45040         (writev): Define as alias of __writev.
45041         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
45042         (__readv): Do not define as alias.
45043         (readv): Define unconditionally as alias of __readv.
45044         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
45045         (__writev): Do not define as alias.
45046         (writev): Define unconditionally as alias of __writev.
45047         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
45048         name.
45049         (writev): Do not define __libc_writev name.
45051 2014-10-30  Roland McGrath  <roland@hack.frob.com>
45053         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
45054         (convert_charseq): New function, broken out of ...
45055         (use_from_charmap): ... here.  Call it.
45056         (use_to_charmap): Use convert_charseq and free instead of duplicating
45057         its code with a variable-length stack struct.
45059 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
45061         * include/fcntl.h (__libc_creat): Remove declaration.
45062         * io/creat.c (__libc_creat): Rename to creat.
45063         (creat): Do not define as alias.
45064         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
45065         of creat instead of __libc_creat.
45066         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
45067         to creat.
45068         (creat): Do not define as alias.
45069         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
45070         __libc_creat.
45071         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
45072         __libc_creat name.
45073         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
45074         Likewise.
45076 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
45078         * manual/llio.texi: Add comments discussing why write() may be
45079         considered MT-unsafe on Linux.
45081 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
45083         * dl-load.c (local_strdup): Remove.
45084         (expand_dynamic_string_token): Use __strdup.
45085         (decompose_rpath): Likewise.
45086         (_dl_map_object): Likewise.
45088 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
45090         [BZ #14132]
45091         * sysdeps/generic/unwind-dw2-fde.c
45092         (__register_frame_info_bases_internal): Do not declare.
45093         (__register_frame_info_table_bases_internal): Likewise.
45094         (__deregister_frame_info_bases_internal): Likewise.
45095         (__register_frame_info_bases): Declare and use hidden_proto before
45096         definition.  Use hidden_def instead of INTDEF.
45097         (__register_frame_info_table_bases): Likewise.
45098         (__deregister_frame_info_bases): Likewise.
45099         (__register_frame_info): Do not use INTUSE.
45100         (__register_frame): Likewise.
45101         (__register_frame_info_table): Likewise.
45102         (__register_frame_table): Likewise.
45103         (__deregister_frame_info): Likewise.
45104         (__deregister_frame): Likewise.
45106 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
45108         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45109         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
45110         not undefine.
45111         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
45112         Likewise.
45113         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
45114         Likewise.
45116 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
45118         [BZ #14138]
45119         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
45120         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
45121         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
45122         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
45123         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
45124         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
45125         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
45126         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
45127         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
45128         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
45129         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
45130         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
45131         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
45132         syscall.
45133         (setfsuid): Likewise.
45134         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
45135         (setfsuid): Likewise.
45136         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
45137         (setfsuid): Likewise.
45138         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
45139         Likewise.
45140         (setfsuid): Likewise.
45141         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
45142         (setfsuid): Likewise.
45143         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
45144         Likewise.
45145         (setfsuid): Likewise.
45147 2014-10-27  Andreas Schwab  <schwab@suse.de>
45149         [BZ #17501]
45150         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
45151         check for Slow_SSE4_2 feature bit.
45152         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
45153         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45154         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
45155         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
45157 2014-10-24  Roland McGrath  <roland@hack.frob.com>
45159         * configure.ac: Validate compiler version with a empirical test of
45160         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
45161         $CC -v output.
45162         * configure: Regenerated.
45164         * inet/htons.c (htons): Prototypify.
45165         * inet/htonl.c (htonl): Likewise.
45167 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45169         * string/strncat.c (strncat): Improve performance by using strlen.
45171 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45173         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
45175 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45177         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
45178         Call libc_fetestexcept_aarch64.
45180 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45182         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
45183         Call libc_feholdexcept_aarch64.
45185 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45187         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
45188         Call get_rounding_mode.
45190 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45192         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
45193         Simplify logic.
45195 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45197         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
45198         Simplify logic.
45200 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
45202         [BZ #14138]
45203         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
45204         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
45205         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
45206         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
45207         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
45208         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
45209         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
45210         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
45211         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
45212         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
45213         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45214         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
45215         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
45216         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
45217         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
45218         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
45219         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
45220         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
45221         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
45222         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
45223         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
45224         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
45225         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
45226         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
45227         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
45228         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
45229         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
45230         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
45231         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
45232         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
45233         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
45234         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
45235         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
45236         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
45237         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
45238         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
45239         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
45240         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
45241         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
45242         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
45243         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
45244         syscall.
45245         (geteuid): Likewise.
45246         (getgid): Likewise.
45247         (getuid): Likewise.
45248         (getresgid): Likewise.
45249         (getresuid): Likewise.
45250         (getgroups): Likewise.
45251         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
45252         (geteuid): Likewise.
45253         (getgid): Likewise.
45254         (getuid): Likewise.
45255         (getresgid): Likewise.
45256         (getresuid): Likewise.
45257         (getgroups): Likewise.
45258         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
45259         (geteuid): Likewise.
45260         (getgid): Likewise.
45261         (getuid): Likewise.
45262         (getresgid): Likewise.
45263         (getresuid): Likewise.
45264         (getgroups): Likewise.
45265         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
45266         Likewise.
45267         (geteuid): Likewise.
45268         (getgid): Likewise.
45269         (getuid): Likewise.
45270         (getresgid): Likewise.
45271         (getresuid): Likewise.
45272         (getgroups): Likewise.
45273         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
45274         (geteuid): Likewise.
45275         (getgid): Likewise.
45276         (getuid): Likewise.
45277         (getresgid): Likewise.
45278         (getresuid): Likewise.
45279         (getgroups): Likewise.
45280         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
45281         Likewise.
45282         (geteuid): Likewise.
45283         (getgid): Likewise.
45284         (getuid): Likewise.
45285         (getgroups): Likewise.
45287         [BZ #14138]
45288         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
45289         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
45290         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
45291         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45292         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
45293         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
45294         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
45295         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
45296         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
45297         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
45298         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
45299         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
45300         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
45301         __chown.
45302         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
45303         (lchown): Likewise.
45304         (fchown): Likewise.
45305         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
45306         Likewise.
45307         (lchown): Likewise.
45308         (fchown): Likewise.
45309         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
45310         (lchown): Likewise.
45311         (fchown): Likewise.
45312         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
45313         Likewise.
45314         (lchown): Likewise.
45315         (fchown): Likewise.
45317 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45319         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
45320         Simplify logic.
45322 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45324         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45325         Cleanup logic.
45327 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45329         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45330         Remove unused include.
45332 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45334         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
45335         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
45336         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
45337         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
45339 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
45340             Helge Deller <deller@gmx.de>
45342         [BZ #17508]
45343         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
45344         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
45345         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
45347 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
45349         [BZ #14132]
45350         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
45351         Remove macro definition.
45352         (__ashrdi3_v_glibc20): Likewise.
45353         (__lshrdi3_v_glibc20): Likewise.
45354         (__cmpdi2_v_glibc20): Likewise.
45355         (__ucmpdi2_v_glibc20): Likewise.
45356         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
45357         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45358         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45359         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45360         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45361         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
45363 2014-10-22  Roland McGrath  <roland@hack.frob.com>
45365         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
45366         old GNU extension [0] syntax.
45367         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
45368         alloca rather than an array member with variable length.
45369         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
45370         * nscd/nscd.c (invalidate_db): New function, broken out of ...
45371         (parse_opt): ... here.  Likewise use alloca there.
45372         Validate the -i argument before checking for rootness.
45373         (send_shutdown): New function, broken out of ...
45374         (parse_opt): ... here.
45376 2014-10-22  Roland McGrath  <roland@hack.frob.com>
45378         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
45379         macro to get at the _rt_local_ro field.
45380         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
45381         ([PIC] case) or _dl_hwcap ([!PIC] case).
45382         * sysdeps/arm/setjmp.S: Likewise.
45384         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
45385         * sysdeps/arm/configure.ac: New check to define it.
45386         * sysdeps/arm/configure: Regenerated.
45387         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
45388         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
45389         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
45390         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
45391         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
45392         Use move/movt pair instead of a load.
45393         (LDST_GLOBAL): Macro removed.
45394         (LDR_GLOBAL): New macro replaces it.
45395         (LDR_HIDDEN): New macro.
45396         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
45397         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
45399         * setjmp/tst-setjmp-static.c: New file.
45400         * setjmp/Makefile (tests): Add it.
45401         (tests-static): New variable.
45403 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
45405         [BZ #17485]
45406         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
45408 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
45410         [BZ #14132]
45411         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
45413 2014-10-21  Roland McGrath  <roland@hack.frob.com>
45415         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
45417 2014-10-20  Roland McGrath  <roland@hack.frob.com>
45419         * io/fts.c (dirent_not_directory): New function.
45420         (fts_build): Call it.
45422 2014-10-20  Roland McGrath  <roland@hack.frob.com>
45424         * nptl/version.c (__nptl_main): Use normal __write rather than
45425         INTERNAL_SYSCALL.
45426         (banner): Update copyright years.
45428         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
45429         gettimeofday.
45430         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45431         * nptl/pthread_cond_timedwait.c: Likewise.
45432         * nptl/pthread_mutex_timedlock.c: Likewise.
45433         * nptl/sem_timedwait.c: Likewise.
45435         * sysdeps/nptl/bits/libc-lock.h
45436         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45437         (__libc_lock_init_recursive): Return void, not 0.
45438         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
45439         (__libc_rwlock_init): Likewise.
45440         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
45442 2014-10-20  Torvald Riegel  <triegel@redhat.com>
45444         [BZ #15215]
45445         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
45446         (__pthread_once_slow): ... here.
45447         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
45448         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
45450 2014-10-20  Torvald Riegel  <triegel@redhat.com>
45452         [BZ #15215]
45453         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
45454         __PTHREAD_ONCE_FORK_GEN_INCR): New.
45455         * sysdeps/nptl/fork.c (__libc_fork): Use them.
45456         * nptl/pthread_once.c (__pthread_once): Likewise.
45457         Update comments.
45459 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
45461         [BZ #14138]
45462         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
45463         name.
45464         (writev): Use __libc_writev as strong name.
45465         * sysdeps/unix/sysv/linux/readv.c: Remove file.
45466         * sysdeps/unix/sysv/linux/writev.c: Likewise.
45468 2014-10-17  Roland McGrath  <roland@hack.frob.com>
45470         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
45472         * sysdeps/i386/nptl/tls.h
45473         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
45474         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
45475         New macros.
45476         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
45477         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
45478         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
45479         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
45480         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
45481         Call CHECK_THREAD_SYSINFO instead of doing an assert.
45483         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
45484         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
45485         on [__NR_futex].
45486         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
45487         broken out of ...
45488         (__pthread_mutex_init): ... here.  Call it.
45489         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
45490         Conditionalize PI cases on [__NR_futex].
45491         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
45492         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
45493         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
45495         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
45496         conditional on [SIGSETXID].
45497         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
45498         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
45499         is defined.  Likewise for SIGSETXID.
45500         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
45501         Conditionalize definitions on [SIGSETXID].
45502         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
45503         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
45504         unblocking on [SIGCANCEL].
45506         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
45507         [__NR_set_robust_list].
45509 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45511         * string/strcoll_l.c (get_next_seq): Fix up formatting.
45512         (do_compare): Likewise.
45514 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
45516         [BZ #15884]
45517         * string/strcoll_l.c: Don't include stdio.h.
45518         (coll_seq): Remove members idxarr and rulearr.
45519         (get_next_seq_cached): Remove function.
45520         (get_next_seq): Likewise.
45521         (get_next_seq_nocache): Rename to get_next_seq.
45522         (do_compare): Remove function.
45523         (do_compare_nocache): Rename to do_compare.
45524         (STRCOLL): Remove weight and rules cache.
45526 2014-10-16  Roland McGrath  <roland@hack.frob.com>
45528         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
45529         * sysdeps/arm/sfp-machine.h: ... to here.
45530         * sysdeps/arm/Implies: Remove arm/soft-fp.
45532 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
45534         * conform/data/sys/utsname.h-data (*_t): Allow.
45535         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
45536         [POSIX] (WEXITED): Do not expect constant.
45537         [POSIX] (WSTOPPED): Likewise.
45538         [POSIX] (WNOHANG): Likewise.
45539         [POSIX] (WNOWAIT): Likewise.
45540         [POSIX] (siginfo_t): Do not expect type or elements.
45541         [POSIX] (pid_t): Do not expect type.
45542         [POSIX] (signal.h): Do not allow header.
45543         [POSIX] (sys/resource.h): Likewise.
45544         [POSIX] (si_*): Do not allow pattern.
45545         [POSIX] (W*): Likewise.
45546         [POSIX] (P_*): Likewise.
45547         [POSIX] (BUS_*): Likewise.
45548         [POSIX] (CLD_*): Likewise.
45549         [POSIX] (FPE_*): Likewise.
45550         [POSIX] (ILL_*): Likewise.
45551         [POSIX] (POLL_*): Likewise.
45552         [POSIX] (SEGV_*): Likewise.
45553         [POSIX] (SI_*): Likewise.
45554         [POSIX] (TRAP_*): Likewise.
45555         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
45556         variable.
45558 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
45560         [BZ #12926]
45561         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
45562         infinite loop when __recvmsg returns 0.
45564 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
45566         * CANCEL-FCT-WAIVE: Remove file.
45567         * CANCEL-FILE-WAIVE: Likewise.
45569         [BZ #14132]
45570         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
45571         instead of INTVARDEF.
45572         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45573         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
45574         rtld_hidden_data_def instead of INTVARDEF.
45575         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45576         * elf/dl-deps.c (expand_dst): Likewise.
45577         * elf/dl-load.c (_dl_dst_count): Likewise.
45578         (_dl_dst_substitute): Likewise.
45579         (decompose_rpath): Likewise.
45580         (_dl_init_paths): Likewise.
45581         (open_path): Likewise.
45582         (_dl_map_object): Likewise.
45583         * elf/rtld.c (dl_main): Likewise.
45584         (process_dl_audit): Likewise.
45585         (process_envvars): Likewise.
45586         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
45587         Remove declaration.
45588         (__libc_enable_secure): Use rtld_hidden_proto.
45590 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45592         * elf/dl-load.c
45593         (add_path): New function broken out of _dl_rtld_di_serinfo.
45594         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
45596 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
45598         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
45599         parentheses around macro arguments.
45600         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
45601         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
45602         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
45603         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
45604         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
45605         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45606         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45607         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
45608         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
45609         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
45610         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
45611         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
45612         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
45613         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
45614         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
45615         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
45616         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
45617         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
45618         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
45619         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
45620         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
45621         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
45622         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
45623         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45624         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45625         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
45626         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
45627         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
45628         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
45629         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
45630         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
45631         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
45632         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
45633         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
45634         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
45635         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
45636         Likewise.
45637         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
45638         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45639         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45640         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
45641         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
45642         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
45643         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
45644         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
45645         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
45646         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
45647         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
45648         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
45649         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
45650         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
45651         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
45652         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45653         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45654         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
45655         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
45656         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
45657         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
45658         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
45659         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
45660         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
45661         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
45662         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
45663         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
45664         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
45665         (_FP_FRAC_SRS_1): Likewise.
45666         (_FP_FRAC_CLZ_1): Likewise.
45667         (_FP_MUL_MEAT_1_imm): Likewise.
45668         (_FP_MUL_MEAT_1_wide): Likewise.
45669         (_FP_MUL_MEAT_1_hard): Likewise.
45670         (_FP_SQRT_MEAT_1): Likewise.
45671         (_FP_FRAC_ASSEMBLE_1): Likewise.
45672         (_FP_FRAC_DISASSEMBLE_1): Likewise.
45673         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
45674         (__FP_CLZ_2): Likewise.
45675         (_FP_MUL_MEAT_2_wide): Likewise.
45676         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45677         (_FP_MUL_MEAT_2_gmp): Likewise.
45678         (_FP_MUL_MEAT_2_120_240_double): Likewise.
45679         (_FP_SQRT_MEAT_2): Likewise.
45680         (_FP_FRAC_ASSEMBLE_2): Likewise.
45681         (_FP_FRAC_DISASSEMBLE_2): Likewise.
45682         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
45683         (_FP_FRAC_CLZ_4): Likewise.
45684         (_FP_MUL_MEAT_4_wide): Likewise.
45685         (_FP_MUL_MEAT_4_gmp): Likewise.
45686         (_FP_SQRT_MEAT_4): Likewise.
45687         (_FP_FRAC_ASSEMBLE_4): Likewise.
45688         (_FP_FRAC_DISASSEMBLE_4): Likewise.
45689         * soft-fp/op-common.h (_FP_CMP): Likewise.
45690         (_FP_CMP_EQ): Likewise.
45691         (_FP_CMP_UNORD): Likewise.
45692         (_FP_TO_INT): Likewise.
45693         (_FP_FROM_INT): Likewise.
45694         [!__FP_CLZ] (__FP_CLZ): Likewise.
45695         (_FP_DIV_HELP_imm): Likewise.
45696         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
45697         Likewise.
45698         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
45699         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
45700         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
45701         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
45702         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
45703         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45704         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45705         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
45706         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
45707         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
45708         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
45709         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
45710         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
45711         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
45712         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
45713         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
45714         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
45715         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
45716         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
45717         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
45718         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
45719         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
45720         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
45721         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45722         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45723         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
45724         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
45725         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
45726         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
45727         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
45728         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
45729         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
45730         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
45731         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
45732         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
45733         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
45734         (FP_UNPACK_RAW_SP): Likewise.
45735         (FP_PACK_RAW_S): Likewise.
45736         (FP_PACK_RAW_SP): Likewise.
45737         (FP_UNPACK_S): Likewise.
45738         (FP_UNPACK_SP): Likewise.
45739         (FP_UNPACK_SEMIRAW_S): Likewise.
45740         (FP_UNPACK_SEMIRAW_SP): Likewise.
45741         (FP_PACK_S): Likewise.
45742         (FP_PACK_SP): Likewise.
45743         (FP_PACK_SEMIRAW_S): Likewise.
45744         (FP_PACK_SEMIRAW_SP): Likewise.
45745         (_FP_SQRT_MEAT_S): Likewise.
45746         (FP_CMP_S): Likewise.
45747         (FP_CMP_EQ_S): Likewise.
45748         (FP_CMP_UNORD_S): Likewise.
45749         (FP_TO_INT_S): Likewise.
45750         (FP_FROM_INT_S): Likewise.
45752         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
45754         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
45755         (FP_EX_INVALID_IMZ): Likewise.
45756         (FP_EX_INVALID_IMZ_FMA): Likewise.
45757         (FP_EX_INVALID_ISI): Likewise.
45758         (FP_EX_INVALID_ZDZ): Likewise.
45759         (FP_EX_INVALID_IDI): Likewise.
45760         (FP_EX_INVALID_SQRT): Likewise.
45761         (FP_EX_INVALID_CVI): Likewise.
45762         (FP_EX_INVALID_VC): Likewise.
45763         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
45764         "invalid" exceptions.
45765         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
45766         (_FP_ADD_INTERNAL): Likewise.
45767         (_FP_MUL): Likewise.
45768         (_FP_FMA): Likewise.
45769         (_FP_DIV): Likewise.
45770         (_FP_CMP_CHECK_NAN): Likewise.
45771         (_FP_SQRT): Likewise.
45772         (_FP_TO_INT): Likewise.
45773         (FP_EXTEND): Likewise.
45775 2014-10-09  Allan McRae  <allan@archlinux.org>
45777         * po/fr.po: Update French translation from translation project.
45779 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
45781         [BZ #14132]
45782         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
45783         of INTDEF.
45784         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
45785         (__cxa_atexit): Use libc_hidden_proto.
45786         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
45788         [BZ #14132]
45789         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
45790         declaration.
45791         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
45792         [!_ISOMAC] (__iswspace_l_internal): Likewise.
45793         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
45794         [!_ISOMAC] (__iswctype_internal): Likewise.
45795         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
45796         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
45797         alias.
45798         (fcntl): Remove __fcntl_internal alias.
45799         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
45800         __connect_internal alias.
45801         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
45802         Likewise.
45804         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
45805         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
45806         FP_DENORM_ZERO.
45807         (_FP_CHECK_FLUSH_ZERO): New macro.
45808         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
45809         (_FP_CMP): Likewise.
45810         (_FP_CMP_EQ): Likewise.
45811         (_FP_TO_INT): Do not set inexact for subnormal arguments if
45812         FP_DENORM_ZERO.
45813         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
45814         (FP_TRUNC): Likewise.
45816         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
45817         treated as invalid conversion, not as normal exponent.
45819         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
45820         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
45821         (_FP_CMP_EQ): Likewise.
45822         (_FP_CMP_UNORD): Likewise.
45823         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
45824         (FP_CMP_EQ_D): Likewise.
45825         (FP_CMP_UNORD_D): Likewise.
45826         * soft-fp/extended.h (FP_CMP_E): Likewise.
45827         (FP_CMP_EQ_E): Likewise.
45828         (FP_CMP_UNORD_E): Likewise.
45829         * soft-fp/quad.h (FP_CMP_Q): Likewise.
45830         (FP_CMP_EQ_Q): Likewise.
45831         (FP_CMP_UNORD_Q): Likewise.
45832         * soft-fp/single.h (FP_CMP_S): Likewise.
45833         (FP_CMP_EQ_S): Likewise.
45834         (FP_CMP_UNORD_S): Likewise.
45835         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
45836         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
45837         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
45838         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
45839         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
45840         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
45841         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
45842         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
45843         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
45844         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
45845         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
45846         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
45847         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
45848         to FP_CMP_Q.
45849         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
45850         FP_CMP_Q.
45851         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
45852         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
45853         FP_CMP_EQ_Q.
45854         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
45855         FP_CMP_Q.
45856         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
45857         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
45858         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
45859         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
45860         FP_CMP_EQ_Q.
45861         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
45862         FP_CMP_Q.
45863         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
45864         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
45865         FP_CMP_EQ_Q.
45866         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
45867         FP_CMP_Q.
45868         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
45869         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
45870         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
45871         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
45872         FP_CMP_EQ_Q.
45874         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
45875         a subnormal result, set the underflow exception if trapping on
45876         underflow is enabled.
45877         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
45878         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
45879         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
45880         redefine to 0.
45881         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
45882         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45883         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45884         * soft-fp/extendxftf2.c (__extendxftf2): Use
45885         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
45887         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
45888         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
45889         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45890         FP_HANDLE_EXCEPTIONS.
45891         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
45892         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45893         FP_HANDLE_EXCEPTIONS.
45894         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
45895         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45896         FP_HANDLE_EXCEPTIONS.
45897         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
45898         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45899         FP_HANDLE_EXCEPTIONS.
45901 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
45903         [BZ #14132]
45904         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
45905         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
45906         use INTUSE.
45907         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
45908         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
45909         Remove alias.
45910         (__adjtimex): Define using libc_hidden_ver.
45911         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
45912         Remove declaration.
45913         (ntp_gettime): Call __adjtimex directly.
45914         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
45915         Remove declaration.
45916         (ntp_gettimex): Call __adjtimex directly.
45917         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
45918         __adjtimex_internal alias.
45920 2014-10-08  Roland McGrath  <roland@hack.frob.com>
45922         [BZ #17460]
45923         * nscd/nscd.c (more_help): Rewrite list of tables collection
45924         using xstrdup and asprintf.
45926         * nscd/nscd_conf.c: Remove local xstrdup declaration.
45928 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45929             Roland McGrath  <roland@hack.frob.com>
45931         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
45932         (do_lookup_unique): ... local function 'enter' here; update callers.
45934 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
45936         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
45937         compat_symbol calls on [SHARED].
45938         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
45939         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
45940         Remove.
45941         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45942         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
45943         (oldsetrlimit): Remove.
45944         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45946         (lchown): New syscall entry.
45947         (oldsetrlimit): Remove.
45948         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45949         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
45950         (oldsetrlimit): Remove.
45951         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45953         [BZ #14138]
45954         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
45955         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
45956         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
45957         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
45958         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45959         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
45960         (fchown): Likewise.
45961         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
45962         (fchown): Likewise.
45963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
45964         Likewise.
45966 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45968         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
45969         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
45970         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
45971         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
45972         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
45973         Likewise.
45974         (__old_sem_post): Likewise.
45976 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
45978         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
45979         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
45980         HAVE_CLOCK_GETTIME_VSYSCALL macros.
45981         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
45982         Use INLINE_VSYSCALL macro.
45983         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
45984         __vdso_clock_gettime.
45985         * sysdeps/unix/sysv/linux/tile/init-first.c
45986         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
45987         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
45988         __vdso_clock_gettime.
45990         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
45991         to set up frame more cleanly.
45993         * sysdeps/tile/memcmp.c: New file.
45995         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
45997         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
45998         * sysdeps/tile/tilegx/strcasestr.c: New file.
45999         * sysdeps/tile/tilegx/strnlen.c: New file.
46000         * sysdeps/tile/tilegx/strstr.c: New file.
46002         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
46004 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
46006         * nptl/tst-setuid3.c: Write errors to stdout.
46008 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46010         * elf/dl-deps.c
46011         (preload): New functions broken out of _dl_map_object_deps.
46012         (_dl_map_object_deps):  Remove a nested function. Update call sites.
46014 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
46016         [BZ #14138]
46017         * sysdeps/unix/sysv/linux/execve.c: Remove file.
46018         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
46020 2014-10-01  Steve Ellcey  <sellcey@mips.com>
46022         * sysdeps/mips/strcmp.S: New.
46024 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
46026         [BZ #14138]
46027         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
46028         (linkat): Likewise.
46029         (mkdirat): Likewise.
46030         (readlinkat): Likewise.
46031         (renameat): Likewise.
46032         (symlinkat): Likewise.
46033         (unlinkat): Likewise.
46034         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
46035         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
46036         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
46037         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
46038         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
46039         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
46040         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
46042 2014-09-30  Will Newton  <will.newton@linaro.org>
46044         * math/math.h: Define long double math functions if
46045         _LIBC_TEST is defined.
46046         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
46048         * localedata/Makefile: Move assignment to tests-special
46049         into an ifdef testing run-built-tests.
46050         * timezone/Makefile: Likewise.
46052 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
46054         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
46055         with $(BASH) not $(SHELL).
46057 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
46058             Matthew LeGendre  <legendre1@llnl.gov>
46060         [BZ #17411]
46061         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
46062         l_reloc_result.
46064 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46066         * stdio-common/printf_fp.c
46067         (hack_digit): New function, broken out of ...
46068         (__printf_fp): ... local function here.  Update call sites.
46069         hack_digit now takes an additional parameter that is a pointer
46070         to a struct of the referenced locals.  Those locals moved inside
46071         the struct and references updated.
46073 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
46075         * aclocal.m4: Require autoconf 2.69.
46076         * configure: Regenerated.
46077         * sysdeps/aarch64/configure: Likewise.
46078         * sysdeps/alpha/configure: Likewise.
46079         * sysdeps/arm/armv7/configure: Likewise.
46080         * sysdeps/arm/configure: Likewise.
46081         * sysdeps/ia64/configure: Likewise.
46082         * sysdeps/mach/configure: Likewise.
46083         * sysdeps/mips/configure: Likewise.
46084         * sysdeps/s390/configure: Likewise.
46085         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
46086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
46088         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
46089         file.
46090         * sysdeps/ia64/configure.ac: Likewise.
46092 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
46094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
46095         specify symbol version for ld.so.  Do not include entry for
46096         libpthread.
46097         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46098         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46099         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46101         [BZ #14171]
46102         * Makeconfig [$(build-shared) = yes]
46103         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
46104         makefiles.
46105         [$(build-shared) = yes && $(soversions.mk-done) = t]
46106         ($(common-objpfx)gnu/lib-names.h): Remove rule.
46107         [$(build-shared) = yes && $(soversions.mk-done) = t]
46108         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
46109         to Makerules.
46110         [$(build-shared) = yes && $(soversions.mk-done) = t]
46111         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
46112         here.
46113         [$(build-shared) = yes && $(soversions.mk-done) = t]
46114         (common-generated): Don't append gnu/lib-names.h and
46115         gnu/lib-names.stmp here.
46116         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
46117         (lib-names-h-abi): New variable.
46118         [$(build-shared) = yes && $(soversions.mk-done) = t]
46119         (lib-names-stmp-abi): Likewise.
46120         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46121         abi-variants] (before-compile): Append
46122         $(common-objpfx)$(lib-names-h-abi).
46123         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46124         abi-variants] (common-generated): Append gnu/lib-names.h.
46125         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46126         abi-variants] (install-others-nosubdir): Depend on
46127         $(inst_includedir)/$(lib-names-h-abi).
46128         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46129         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
46130         [$(build-shared) = yes && $(soversions.mk-done) = t]
46131         ($(common-objpfx)$(lib-names-h-abi)): New rule.
46132         [$(build-shared) = yes && $(soversions.mk-done) = t]
46133         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
46134         [$(build-shared) = yes && $(soversions.mk-done) = t]
46135         (common-generated): Append $(lib-names-h-abi) and
46136         $(lib-names-stmp-abi).
46137         * scripts/lib-names.awk: Do not handle multi being set.
46138         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
46139         Remove variable.
46140         (abi-lp64_be-ld-soname): Likewise.
46141         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
46142         Likewise.
46143         (abi-hard-ld-soname): Likewise.
46144         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
46145         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
46146         Remove variable.
46147         (abi-o32_hard-ld-soname): Likewise.
46148         (abi-o32_soft_2008-ld-soname): Likewise.
46149         (abi-o32_hard_2008-ld-soname): Likewise.
46150         (abi-n32_soft-ld-soname): Likewise.
46151         (abi-n32_hard-ld-soname): Likewise.
46152         (abi-n32_soft_2008-ld-soname): Likewise.
46153         (abi-n32_hard_2008-ld-soname): Likewise.
46154         (abi-n64_soft-ld-soname): Likewise.
46155         (abi-n64_hard-ld-soname): Likewise.
46156         (abi-n64_soft_2008-ld-soname): Likewise.
46157         (abi-n64_hard_2008-ld-soname): Likewise.
46158         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
46159         Likewise.
46160         (abi-64-v2-ld-soname): Likewise.
46161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
46162         ld.so entries.
46163         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
46164         variable.
46165         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
46166         entry.
46167         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
46168         variable.
46169         (abi-64-ld-soname): Likewise.
46170         (abi-x32-ld-soname): Likewise.
46171         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
46172         entry.
46173         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46175 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
46177         [BZ #14138]
46178         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
46179         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
46180         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
46181         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
46182         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
46183         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
46184         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
46185         syscall entry for GLIBC_2.2 symbol version.
46186         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
46187         Likewise.
46188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
46189         (setrlimit): Likewise.
46190         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
46191         Likewise.
46193 2014-09-23  Will Newton  <will.newton@linaro.org>
46195         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
46196         _LINUX_ARM_SYSDEP_H include guard too.
46197         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
46198         define.
46200 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
46202         * sysdeps/unix/sysv/linux/eventfd.c:
46203         Make first argument unsigned.
46204         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
46205         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
46207 2014-09-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
46209         [BZ #16852]
46210         * socket/recvmmsg.c (recvmmsg): Drop const argument.
46211         * socket/sys/socket.h: Likewise.
46212         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
46214 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46216         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
46218 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
46220         * time/tst-ftime.c: New test.
46221         * time/Makefile (tests): Add tst-ftime.
46223 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
46225         * soft-fp/extended.h: Fix comment formatting.
46226         * soft-fp/op-1.h: Likewise.
46227         * soft-fp/op-2.h: Likewise.
46228         * soft-fp/op-4.h: Likewise.
46229         * soft-fp/op-8.h: Likewise.
46230         * soft-fp/op-common.h: Likewise.
46231         * soft-fp/soft-fp.h: Likewise.
46233         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
46235 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
46237         [BZ #6652]
46238         * Makeconfig (soversions-default-setname): Remove variable.
46239         ($(common-objpfx)soversions.i): Don't pass default_setname to
46240         soversions.awk.
46241         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
46242         oldest_abi to abi-versions.awk.
46243         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
46244         * config.make.in (oldest-abi): Remove variable.
46245         * configure.ac (--enable-oldest-abi): Remove configure option.
46246         * configure: Regenerated.
46247         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
46248         text.
46249         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
46250         * scripts/soversions.awk: Do not handle default_setname variable.
46251         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
46252         variable.
46253         * sysdeps/mach/hurd/configure: Regenerated.
46254         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
46255         variable.
46256         * sysdeps/unix/sysv/linux/configure: Regenerated.
46258 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46260         * elf/Makefile (CFLAGS-interp.c): Remove.
46261         ($(elf-objpfx)runtime-linker.h): Generate header with linker
46262         path string.
46263         * elf/interp.c: Include generated runtime-linker.h
46265         * Makerules (lib%.so): Don't include $(+interp) in
46266         prerequisites.
46267         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
46268         * dlfcn/eval.c: Remove file.
46270         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
46271         macros.
46273         [BZ #17266]
46274         * misc/sys/cdefs.h: Define __extern_always_inline for clang
46275         4.2 and newer.
46277         [BZ #17370]
46278         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
46280 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46281             Jakub Jelinek  <jakub@redhat.com>
46283         [BZ #17266]
46284         * libio/stdio.h: Check definition of __fortify_function
46285         instead of __extern_always_inline to include bits/stdio2.h.
46286         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
46287         check if __extern_always_inline is defined.
46288         [__USE_MISC || __USE_XOPEN]: Likewise.
46289         [__USE_ISOC99] Likewise.
46290         * misc/sys/cdefs.h (__fortify_function): Define only if
46291         __extern_always_inline is defined.
46292         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
46293         __extern_always_inline and __extern_inline only for g++-4.3
46294         and newer or a compatible gcc.
46296 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
46298         [BZ #17371]
46299         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
46300         last change to handle zero prefix length.
46302 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46304         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
46305         _SC_REGEX_VERSION.
46307         * posix/getconf.c (vars): Add _POSIX_IPV6 and
46308         _POSIX_RAW_SOCKETS.
46310 2014-09-13  Allan McRae  <allan@archlinux.org>
46312         * po/ru.po: Update Russian translation from translation project.
46314 2014-09-12  Roland McGrath  <roland@hack.frob.com>
46316         * locale/programs/locale.c (show_locale_vars): Inline local function
46317         into its sole call site.  Clean up some style nits.
46318         (print_item): New function, broken out of ...
46319         (show_info): ... local function here.  Clean up style nits.
46321         * locale/programs/ld-ctype.c (set_one_default): New function, broken
46322         out of ...
46323         (set_class_defaults): ... local function set_default here.
46324         Define set_default as a macro locally to pass constant parameters.
46325         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
46326         rather than a shared local.
46328         * stdlib/rpmatch.c (try): New function, broken out of ...
46329         (rpmatch): ... local function here.  Also, prototypify definition.
46331 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
46333         * scripts/soversions.awk: Do not handle configuration names.
46334         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
46335         vendor and os variables to soversions.awk.
46336         * configure.ac: Do not modify gnu-* host_os.
46337         * configure: Regenerated
46338         * shlib-versions: Remove first column with configuration names.
46339         * nptl/shlib-versions: Likewise.
46340         * nptl_db/shlib-versions: Likewise.
46341         * sysdeps/hppa/shlib-versions: Likewise.
46342         * sysdeps/m68k/shlib-versions: Likewise.
46343         * sysdeps/mach/hurd/shlib-versions: Likewise.
46344         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
46345         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
46346         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
46347         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
46348         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
46349         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
46350         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
46351         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
46352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46353         Likewise.
46354         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46355         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46356         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46357         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46358         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46359         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
46360         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46361         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46364         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
46365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46366         Regenerated.
46367         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
46368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46369         Condition symbol version definitions on [HAVE_ELFV2_ABI].
46371         * shlib-versions: Remove OS-specific entries.  Moved to files in
46372         sysdeps.
46373         * sysdeps/mach/hurd/shlib-versions: New file.
46374         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46376         * nptl/shlib-versions: Remove architecture-specific entries.
46377         Moved to files in sysdeps.
46378         * shlib-versions: Likewise.
46379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
46380         file.
46381         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46382         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46383         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46384         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46386         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
46387         (UDP_NO_CHECK6_RX): Likewise.
46389 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46391         * sysdeps/posix/sysconf.c (__sysconf): Spell
46392         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
46394 2014-08-12  Florian Weimer  <fweimer@redhat.com>
46396         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
46397         loading.
46398         * iconv/Versions (__gconv_transliterate): Export for use from
46399         gconv modules.
46400         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
46401         (struct __gconv_trans_data, __gconv_trans_fct,
46402         __gconv_trans_context_fct, __gconv_trans_query_fct,
46403         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
46404         definitions.
46405         (struct __gconv_step_data): Remove __trans member.
46406         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
46407         longer hidden.  Remove unused trans_data argument.
46408         * iconv/gconv_int.h (struct trans_struct): Remove definition.
46409         (__gconv_translit_find): Remove declaration.
46410         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
46411         prototype.
46412         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
46413         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
46414         trans_data argument.  Add hidden definition.
46415         (__gconv_translit_find): Remove.
46416         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
46417         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
46418         * iconv/skeleton.c: Remove transliteration initialization.
46419         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
46420         __gconv_step_data initialization.
46421         * libio/iofwide.c (__libio_translit_): Remove.
46422         (_IO_fwide): Adjust struct __gconv_step_data initialization.
46423         * wcsmbs/btowc.c (__btowc): Likewise.
46424         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46425         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46426         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
46427         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
46428         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
46429         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
46430         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
46431         * wcsmbs/wctob.c (wctob): Likewise.
46433 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46435         [BZ #16194]
46436         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
46437         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
46438         register usage.
46439         * sysdeps/x86/Makefile: Adjust.
46441 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46442             Roland McGrath  <roland@hack.frob.com>
46444         * locale/weight.h: Add include guard.
46445         (findidx): Make static rather than auto; take new parameters
46446         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
46447         * locale/weightwc.h: Likewise.
46448         * posix/fnmatch_loop.c
46449         (FCT): Change type of EXTRA from int32_t to wint_t.
46450         Don't include either header inside the function.
46451         Call FINDIDX rather than findidx, and pass new arguments.
46452         #undef FINDIDX at the end of the file.
46453         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
46454         FINDIDX before including fnmatch_loop.c for the non-wide version.
46455         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
46456         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
46457         for the wide version.
46458         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
46459         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
46460         Pass new arguments to findidx.
46461         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
46462         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
46463         Don't #include it inside the function.  Pass new arguments to findidx.
46464         * posix/regex_internal.h
46465         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
46466         (re_string_elem_size_at): Don't #include it inside the function.
46467         Pass new arguments to findidx.
46468         * string/strcoll_l.c: #include WEIGHT_H at top level.
46469         (get_next_seq): Don't #include it inside the function.
46470         Pass new arguments to findidx.
46471         (get_next_seq_nocache): Likewise.
46472         * string/strxfrm_l.c: #include WEIGHT_H at top level.
46473         (STRXFRM): Don't #include it inside the function.
46474         Pass new arguments to findidx.
46476 2014-09-11  Florian Weimer  <fweimer@redhat.com>
46478         [BZ #17344]
46479         * malloc/malloc.c (unlink): Turn asserts into a call to
46480         malloc_printerr.
46482 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
46484         [BZ #17370]
46485         * libio/wfileops (do_ftell_wide): Free OUT.
46487 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
46489         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
46491 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46493         [BZ #17363]
46494         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
46495         group if the current group is empty.
46497 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46499         * benchtests/bench-memset.c (test_main): Add more test from size
46500         from 32 to 512 bytes.
46501         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46502         Add POWER8 memset object.
46503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46504         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
46505         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
46506         implementation.
46507         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
46508         Likewise.
46509         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
46510         multiarch POWER8 memset optimization.
46511         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
46512         POWER8 memset optimization.
46514         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46515         Remove bzero multiarch objects.
46516         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
46517         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
46518         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
46519         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
46520         Remove define.
46521         [__bzero]: Redefine to specific name.
46522         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
46523         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
46524         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
46525         define.
46526         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46527         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46529 2014-09-10  Florian Weimer  <fweimer@redhat.com>
46531         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
46532         warnings into errors.
46534         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
46535         __cxa_thread_atexit_impl prototype.
46537 2014-09-09  Steve Ellcey  <sellcey@mips.com>
46539         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
46540         Fix capitalization of error message.
46542 2014-09-09  Steve Ellcey  <sellcey@mips.com>
46544         * sysdeps/mips/preconfigure: Modify ABI tests.
46546 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
46548         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
46550 2014-09-07  Roland McGrath  <roland@hack.frob.com>
46551             Carlos O'Donell  <carlos@systemhalted.org>
46553         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
46554         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
46555         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
46556         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
46557         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
46558         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
46559         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
46560         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
46561         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
46562         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
46563         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
46564         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
46565         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
46566         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
46567         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
46568         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
46569         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
46570         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
46571         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
46572         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
46573         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
46574         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
46575         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
46576         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
46577         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
46578         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
46579         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
46580         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
46581         Deconditionalize the code that was previously under [RESET_PID].
46582         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
46583         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
46584         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
46585         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
46586         include sysdep.h.
46588 2014-09-08  Allan McRae  <allan@archlinux.org>
46590         * version.h (RELEASE): Set to "development".
46591         (VERSION): Set to "2.20.90"
46593 2014-09-07  Allan McRae  <allan@archlinux.org
46595         * version.h (RELEASE): Set to "stable".
46596         (VERSION): Set to "2.20"
46597         * include/features.h (__GLIBC_MINOR__): Set to 20.
46599         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
46600         Liebler.
46602         * po/ko.po: Update Korean translation from translation project.
46604 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
46606         [BZ #17354]
46607         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
46608         macro for handling signed relocations.
46610 2014-09-03  Florian Weimer  <fweimer@redhat.com>
46612         [BZ #17325]
46613         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
46614         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
46615         assert.
46616         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
46617         * iconvdata/ibm935.c (BODY): Likewise.
46618         * iconvdata/ibm937.c (BODY): Likewise.
46619         * iconvdata/ibm939.c (BODY): Likewise.
46620         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
46621         assert.
46622         * iconvdata/Makefile (iconv-test.out): Pass module list to test
46623         script.
46624         * iconvdata/run-iconv-test.sh: New test loop for checking for
46625         decoder crashers.
46627 2014-09-02  Khem Raj  <raj.khem@gmail.com>
46629         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
46630         libm_hidden_ver.
46632 2014-09-01  Allan McRae  <allan@archlinux.org>
46634         * po/eo.po: Update Esperanto translation from translation project.
46636         * po/ca.po: Update Catalan translation from translation project.
46638 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46640         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
46641         __proc_dostop call.
46643 2014-08-27  Mark Wielaard  <mjw@redhat.com>
46645         [BZ #17319]
46646         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
46647         to call set_thread_area instead of hand written asm.
46648         (__NR_set_thread_area): Removed define.
46649         (TLS_FLAG_WRITABLE): Likewise.
46650         (__ASSUME_SET_THREAD_AREA): Remove check.
46651         (TLS_EBX_ARG): Remove define.
46652         (TLS_LOAD_EBX): Likewise.
46654 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46656         Simplify atomicity of socket creation in bind.
46658         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
46659         looking up the name after linking the file.
46661 2014-08-27  Allan McRae  <allan@archlinux.org>
46663         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46665 2014-08-26  Florian Weimer  <fweimer@redhat.com>
46667         [BZ #17187]
46668         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
46669         trans_compare, open_translit, __gconv_translit_find):
46670         Remove module loading code.
46672 2014-08-26  Allan McRae  <allan@archlinux.org>
46674         * po/vi.po: Update Vietnamese translation from translation project.
46676         * po/uk.po: Update Ukrainian translation from translation project.
46678         * po/fr.po: Update French translation from translation project.
46680         * po/ru.po: Update Russian translation from translation project.
46682         * po/pl.po: Update Polish translation from translation project.
46684         * po/cs.po: Update Czech translation from translation project.
46686         * po/de.po: Update German translation from translation project.
46688         * po/bg.po: Update Bulgarian translation from translation project.
46690         * po/sv.po: Update Sweedish translation from translation project.
46692         * po/nl.po: Update Dutch translation from translation project.
46694         * po/es.po: Update Spanish translation from translation project.
46696 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46698         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
46700         * catgets/Makefile (CPPFLAGS-gencat): Remove.
46701         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
46702         (CPPFLAGS-iconvconfig): Likewise.
46703         * timezone/Makefile (CPPFLAGS-zic): Likewise.
46705         * include/libc-symbols.h: Remove unnecessary check for
46706         NOT_IN_libc.
46707         * nptl/pthreadP.h: Likewise.
46708         * sysdeps/aarch64/setjmp.S: Likewise.
46709         * sysdeps/alpha/setjmp.S: Likewise.
46710         * sysdeps/arm/sysdep.h: Likewise.
46711         * sysdeps/i386/setjmp.S: Likewise.
46712         * sysdeps/m68k/setjmp.c: Likewise.
46713         * sysdeps/posix/getcwd.c: Likewise.
46714         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46715         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
46716         * sysdeps/s390/s390-32/setjmp.S: Likewise.
46717         * sysdeps/s390/s390-64/setjmp.S: Likewise.
46718         * sysdeps/sh/sh3/setjmp.S: Likewise.
46719         * sysdeps/sh/sh4/setjmp.S: Likewise.
46720         * sysdeps/unix/alpha/sysdep.h: Likewise.
46721         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
46722         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46723         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
46724         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
46725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46727         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46728         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46729         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46730         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46731         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46732         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
46733         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46734         * sysdeps/x86_64/setjmp.S: Likewise.
46736 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
46738         [BZ #17263]
46739         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
46740         <stdint.h>.
46741         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
46742         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
46744 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46746         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
46748         [BZ #17262]
46749         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
46750         and __x86_64__ when disabling x87 inline functions.
46752 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
46754         [BZ #17259]
46755         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
46756         asm statement with __cpuid_count.
46758 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
46760         * configure.ac: Change __ehdr_start code to dereference the struct.
46761         Run readelf on the output to look for relocations.
46762         * configure: Regenerated.
46764 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
46766         [BZ #17261]
46767         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
46768         value to 0.
46769         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
46771 2014-08-12  Roland McGrath  <roland@hack.frob.com>
46773         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
46775 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
46777         [BZ #16892]
46778         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
46779         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
46781 2014-08-12  Sean Anderson  <seanga2@gmail.com>
46783         * malloc/malloc.c: Fix typo in comment.
46785 2014-08-09  Allan McRae  <allan@archlinux.org>
46787         * Regenerate libc.po.
46789 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
46791         * intl/tst-gettext2.sh: Check every lang file for creation.
46793 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
46795         * sysdeps/aarch64/fpu/math_private.h
46796         (libc_feholdsetround_noex_aarch64_ctx): New function.
46798 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
46800         * sysdeps/arm/armv6/strcpy.S (strcpy):
46801         Fix performance issue in misaligned cases.
46803 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46805         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
46806         Move definition from termios.h.
46807         (struct termio): Likewise.
46808         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46809         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46810         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46811         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46812         Likewise.
46813         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
46814         Move definition to ioctl-types.h
46815         (struct termio): Likewise.
46816         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46817         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46818         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46819         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46820         Likewise.
46822 2014-08-05  Richard Henderson  <rth@redhat.com>
46824         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
46825         exceptions.
46826         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
46827         Add fraiseexcpt.
46828         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
46829         Use __feraiseexcept.
46830         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
46831         Protect libm symbols with IS_IN_libm.
46833         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
46835 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
46837         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
46839 2014-08-04  Will Newton  <will.newton@linaro.org>
46841         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
46842         file.
46844 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
46846         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
46847         variants for each function.
46849 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46851         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
46852         appended ...
46853         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
46854         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
46855         appended ...
46856         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
46857         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
46858         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
46859         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
46860         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
46861         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
46862         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
46863         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
46864         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
46865         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
46866         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
46867         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
46868         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
46869         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
46870         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
46871         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
46872         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
46873         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
46874         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
46875         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
46876         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
46877         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
46878         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
46879         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
46880         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
46881         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
46882         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
46883         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
46884         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
46885         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
46886         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
46887         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
46888         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
46889         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
46890         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
46891         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
46892         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
46893         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
46894         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
46895         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
46896         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
46897         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
46898         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
46899         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
46900         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
46901         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
46902         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
46903         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
46904         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
46905         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
46906         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
46907         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
46908         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
46909         Update #include.
46910         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
46911         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
46913 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46915         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
46916         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
46917         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
46918         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
46919         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
46920         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
46922 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46924         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
46925         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
46926         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46927         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
46929 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46931         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
46932         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
46933         (__libc_vfork): Define function under this name.
46934         (__vfork): Define as an alias.
46935         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
46936         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
46938 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46940         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
46941         that was previously under [RESET_PID].
46942         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
46944 2014-08-04  Andreas Schwab  <schwab@suse.de>
46946         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
46948 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
46950         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
46951         (main): Likewise.
46953 2014-08-01  Roland McGrath  <roland@hack.frob.com>
46955         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
46957 2014-08-01  Richard Henderon  <rth@redhat.com>
46959         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
46960         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
46961         typo in exact zero test.
46962         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46963         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46964         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46966 2014-08-01  Roland McGrath  <roland@hack.frob.com>
46968         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
46969         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
46970         * sysdeps/arm/sysdep.h: ... here.
46971         [!__ASSEMBLER__]: Include <stdint.h>.
46973 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
46975         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
46976         (HAVE_WCTYPE_H): Likewise.
46977         (HAVE_ISWCTYPE): Likewise.
46978         (ENABLE_NLS): Likewise.
46979         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
46980         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
46982         * posix/regex_internal.c: Check if DEBUG is defined and is
46983         set.
46985         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
46986         (HAVE_MBSRTOWCS): Likewise.
46987         * posix/fnmatch.c: Include string.h unconditionally.
46989 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
46991         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
46992         reversal.
46994 2014-07-31  Roland McGrath  <roland@hack.frob.com>
46996         * sysdeps/generic/safe-fatal.h: New file.
46997         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
46998         * nptl/forward.c: Include it.
46999         (__pthread_unwind): Use __safe_fatal as default action, rather
47000         than a bogus use of INTERNAL_SYSCALL that could never work.
47002         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
47003         * configure.ac (libc_cv_builtin_trap): New test.
47004         * configure: Regenerated.
47005         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
47006         (ABORT_INSTRUCTION): Define using __builtin_trap.
47008         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
47009         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
47010         * sysdeps/nptl/nptl-signals.h: New file.
47011         * nptl/pthreadP.h: Include <nptl-signals.h>.
47013 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
47015         * sysdeps/s390/s390-64/utf16-utf32-z9.c
47016         (ONE_DIRECTION): Define.
47017         * sysdeps/s390/s390-64/utf8-utf16-z9.c
47018         (ONE_DIRECTION): Define.
47019         * sysdeps/s390/s390-64/utf8-utf32-z9.c
47020         (ONE_DIRECTION): Define.
47022 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
47024         * sysdeps/s390/Makefile: Delete file.
47025         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
47026         * sysdeps/s390/__longjmp.c: Delete file.
47027         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
47028         Remove fields __flags and __reserved.
47029         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
47030         and add versioning.
47031         * sysdeps/s390/rtld-__longjmp.c: Delete file.
47032         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
47033         * sysdeps/s390/rtld-setjmp.S: Likewise.
47034         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
47035         * sysdeps/s390/s390-32/__longjmp.c: ... here.
47036         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
47037         * sysdeps/s390/s390-32/setjmp.S: ... here.
47038         Add versioning.
47039         (__sigsetjmp): Remove setting __flags field.
47040         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
47041         * sysdeps/s390/s390-64/__longjmp.c: ... here.
47042         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
47043         * sysdeps/s390/s390-64/setjmp.S: ... here.
47044         Add versioning.
47045         (__sigsetjmp): Remove setting __flags field.
47046         * sysdeps/s390/setjmp.S: Delete file.
47047         * sysdeps/s390/sigjmp.c: Likewise.
47048         * sysdeps/s390/v1-longjmp.c: Likewise.
47049         * sysdeps/s390/v1-setjmp.h: Likewise.
47050         * sysdeps/s390/v1-sigjmp.c: Likewise.
47051         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
47052         Remove v1-longjmp_chk.
47053         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
47054         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
47055         Include debug/longjmp_chk.c and add versioning.
47056         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
47057         Include nptl/pt-longjmp.c and add versioning.
47058         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
47059         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
47060         Include __longjmp.c.
47061         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47062         Move to ...
47063         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
47064         (__getcontext): Remove setting __flags field.
47065         Add versioning.
47066         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
47067         Don't restore upper high grps.
47068         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
47069         Likewise.
47070         (__swapcontext): Remove setting uc_flags field.
47071         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
47072         Delete file.
47073         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47074         Include __longjmp.c.
47075         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47076         Move to ...
47077         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
47078         (__getcontext): Remove setting __flags field.
47079         Add versioning.
47080         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
47081         (__swapcontext): Remove setting uc_flags field.
47082         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
47083         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
47084         Remove fields uc_high_gprs and __reserved.
47085         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
47086         New file with reverted content.
47087         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
47088         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
47089         Regenerated.
47090         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
47091         Regenerated.
47093 2014-07-31  Andreas Schwab  <schwab@suse.de>
47095         * config.h.in (HAVE_IFUNC): Define to 0.
47096         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
47097         definedness.
47099 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
47101         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47102         memmove-avx-unaligned, memcpy-avx-unaligned and
47103         mempcpy-avx-unaligned.
47104         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47105         Add tests for AVX memcpy functions.
47106         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
47107         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
47108         memcpy_chk.
47109         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
47110         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
47111         memmove_chk.
47112         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
47113         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
47114         mempcpy_chk.
47115         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
47116         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
47117         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
47119 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47121         [BZ #17213]
47122         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
47123         powerpc64le.
47125 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
47127         [BZ #16839]
47128         * manual/llio.texi: Add section about open file description locks.
47129         * manual/examples/ofdlocks.c: Example of open file description
47130         lock usage.
47131         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
47132         F_OFD_SETLK, and F_OFD_SETLKW.
47134 2014-07-23  Allan McRae  <allan@archlinux.org>
47136         * po/es.po: Update Spanish translation from translation project.
47138 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
47140         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
47142 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
47144         [BZ #17078]
47145         * sysdeps/arm/dl-machine.h (elf_machine_rela)
47146         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
47147         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
47149 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
47151         [BZ #17088]
47152         * math/fesetenv.c (__fesetenv)
47153         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
47154         * math/feupdateenv.c (__feupdateenv)
47155         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
47157         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
47158         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
47159         (__ASSUME_SOCKETCALL): Do not define.
47161         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
47162         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
47163         (__ASSUME_SOCKETCALL): Do not define.
47164         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
47165         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47166         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47167         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47168         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47169         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
47170         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47171         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47173         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
47174         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
47175         (__ASSUME_SOCKETCALL): Do not define.
47176         (__ASSUME_IPC64): Define unconditionally.
47177         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47178         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47179         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47180         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47181         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
47182         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47183         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
47184         Likewise.
47186         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
47187         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
47188         (__ASSUME_SOCKETCALL): Do not define.
47189         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
47190         (__ASSUME_FUTEX_LOCK_PI): Likewise.
47191         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47192         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
47193         (__ASSUME_REQUEUE_PI): Define unconditionally.
47194         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
47195         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
47196         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47197         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
47198         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47199         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47201         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
47202         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
47203         (__ASSUME_SOCKETCALL): Do not define.
47204         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
47205         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47206         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47207         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
47208         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47209         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47211         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
47212         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
47213         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47214         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
47215         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47216         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
47217         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47218         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
47219         (__ASSUME_GETCPU_SYSCALL): Likewise.
47221         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
47222         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
47223         cases for individual architectures.
47224         * sysdeps/gnu/configure: Regenerated.
47225         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
47226         LIBC_SLIBDIR_RTLDDIR.
47227         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
47228         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
47229         LIBC_SLIBDIR_RTLDDIR.
47230         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
47231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
47232         LIBC_SLIBDIR_RTLDDIR.
47233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
47234         Regenerated.
47235         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
47236         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
47237         file.
47238         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
47239         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
47240         file.
47241         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
47242         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
47243         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
47244         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
47246         * sysdeps/aarch64/shlib-versions: Move to ...
47247         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
47248         * sysdeps/alpha/shlib-versions: Move to ...
47249         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
47250         * sysdeps/arm/shlib-versions: Move to ...
47251         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
47252         * sysdeps/hppa/shlib-versions: Move all contents except for
47253         libgcc_s entry to ...
47254         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
47255         entry from ...
47256         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
47257         * sysdeps/ia64/shlib-versions: Move to ...
47258         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
47259         entry from ...
47260         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
47261         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
47262         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
47263         * sysdeps/microblaze/shlib-versions: Move to ...
47264         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
47265         * sysdeps/mips/shlib-versions: Move to ...
47266         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
47267         entry from ...
47268         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
47269         * sysdeps/tile/shlib-versions: Move to ...
47270         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
47271         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
47272         from ...
47273         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
47274         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
47275         entry from ...
47276         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
47278 2014-07-17  Will Newton  <will.newton@linaro.org>
47280         * sysdeps/arm/bits/atomic.h
47281         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
47282         (__arch_compare_and_exchange_bool_16_int): Likewise.
47283         (__arch_compare_and_exchange_bool_64_int): Likewise.
47285         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
47286         into an #else block.
47288 2014-07-16  Roland McGrath  <roland@hack.frob.com>
47290         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
47291         just Linux configurations.  Test empirically that the compiler sets
47292         __ARM_EABI__, rather than using the tuple to decide.
47293         * sysdeps/arm/preconfigure: Regenerated.
47294         * sysdeps/unix/sysv/linux/arm/configure: File removed.
47295         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
47296         contents appended ...
47297         * sysdeps/arm/configure.ac: ... here.
47298         * sysdeps/arm/configure: Regenerated.
47300 2014-07-15  Roland McGrath  <roland@hack.frob.com>
47302         * nptl/pthread_kill.c: New file.
47303         * nptl/pthread_sigmask.c: New file.
47304         * nptl/pthread_sigqueue.c: New file.
47306         * sysdeps/nptl/lowlevellock.h: New file.
47307         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
47308         * sysdeps/nptl/lowlevellock-futex.h: New file.
47310         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
47311         Remove dead declarations.
47313 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
47315         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
47316         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
47317         config-cflags-avx2.
47318         * sysdeps/x86_64/configure.ac: Likewise.
47319         * sysdeps/i386/configure: Regenerated.
47320         * sysdeps/x86_64/configure: Likewise.
47321         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47322         memset-avx2 only if config-cflags-avx2 is yes.
47323         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47324         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
47325         defined.
47326         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
47327         only if HAVE_AVX2_SUPPORT is defined.
47328         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47330 2014-07-14  Alan Modra  <amodra@gmail.com>
47332         [BZ #17153]
47333         * elf/elf.h (DT_PPC64_NUM): Correct value.
47334         * NEWS: Add to fixed bug list.
47336 2014-07-13  Jim Meyering  <meyering@fb.com>
47338         [BZ 17150]
47339         regex: don't deref NULL upon heap allocation failure
47340         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
47341         failure in one more place.
47342         To trigger the segfault, configure grep -with-included-regex,
47343         build it, and run these commands:
47344         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
47346 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
47348         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47350 2014-07-11  Richard Henderson  <rth@redhat.com>
47352         * sysdeps/aarch64/libm-test-ulps: Update.
47354 2014-07-10  Florian Weimer  <fweimer@redhat.com>
47356         [BZ #17135]
47357         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
47358         * nptl/allocatestack.c (__nptl_setxid_error): New function.
47359         (__nptl_setxid): Initialize error member.  Call
47360         __nptl_setxid_error.
47361         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
47362         * nptl/descr.h (struct xid_command): Add error member.
47363         * nptl/tst-setuid3.c: New file.
47364         * nptl/Makefile (tests): Add it.
47366 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47368         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
47369         New define.
47370         (__lll_trylock): Use __lll_base_trylock.
47371         (__lll_cond_trylock): Likewise.
47373 2014-07-10  Roland McGrath  <roland@hack.frob.com>
47375         * nptl/pthread_create.c (start_thread): Use atomic_or and
47376         lll_futex_wake directly rather than lll_robust_dead.
47377         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47378         (lll_robust_dead): Macro removed.
47379         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
47380         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47381         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47382         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47383         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47384         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47385         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47386         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47387         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47388         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47389         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47390         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47391         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47392         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47393         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47395         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
47396         Use atomic_compare_and_exchange_val_acq directly rather than
47397         lll_robust_trylock.
47398         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47399         (__lll_robust_trylock, lll_robust_trylock): Removed.
47400         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47401         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47402         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47403         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47404         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47405         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47406         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47407         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47408         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47409         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47410         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47411         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47412         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47413         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47415 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47417         * manual/locale.texi (Locale Names): New section documenting
47418         locale name syntax.  Adjust menu and node chaining accordingly.
47419         (Choosing Locale): Reference Locale Names, Locale Categories.
47420         Mention setting LC_ALL=C.  Reflect that name syntax is now
47421         documented.
47422         (Locale Categories): New section title.  Reference Locale Names.
47423         LC_ALL is an environment variable, but not a category.
47424         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
47425         description, now in Locale Name.  Reference that section.  Locale
47426         name syntax is now documented.
47428 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47430         [BZ #17137]
47431         * locale/findlocale.c (name_present, valid_locale_name): New
47432         functions.
47433         (_nl_find_locale): Use the loc_name variable to store name
47434         candidates.  Call name_present and valid_locale_name to check and
47435         validate locale names.  Return an error if the locale is invalid.
47437 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47439         * locale/setlocale.c (setlocale): Use strdup for allocating
47440         composite name copy.
47442 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47444         Sync up with gnulib.
47445         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
47446         [!_LIBC && ENABLE_NLS]: Include gettext.h.
47447         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
47448         and _GL_ARG_NONNULL.
47449         [USE_UNLOCKED_IO]: Include unlocked-io.h.
47450         [!_LIBC]: Include code for Windows and Cygwin.
47451         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
47452         Include prototype for int strerror_r.
47453         [!_LIBC] (is_open): New function.
47454         (flush_stdout): New function.
47455         (print_errno_message): Use it.
47456         (error): Likewise.
47457         (error_at_line): Likewise.
47458         (error_tail) Add function attribute macros.  Use
47459         __builtin_expect.
47461         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
47463         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
47465         * io/ftw.c: Include sys/param.h unconditionally.
47467         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
47469         [BZ #17125]
47470         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
47471         libc_freeres_ptr.
47472         (freecache): New function to free CACHE on exit.
47474         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
47475         initialization.
47477 2014-07-09  David S. Miller  <davem@davemloft.net>
47479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47481         * sysdeps/sparc/nptl/internaltypes.h: Delete.
47482         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
47483         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
47484         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
47485         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
47486         * sysdeps/sparc/nptl/sem_init.c: Likewise.
47487         * sysdeps/sparc/nptl/sem_post.c: Likewise.
47488         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
47489         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
47490         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
47491         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
47492         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
47493         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
47495 2014-07-09  Andreas Schwab  <schwab@suse.de>
47497         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
47498         output.
47499         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
47500         (do_test): Likewise.
47502         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47504 2014-07-09  Will Newton  <will.newton@linaro.org>
47506         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
47507         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
47508         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
47509         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
47510         * sysdeps/hppa/start.S (_start): Likewise.
47512 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
47514         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
47516         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
47517         defined.
47519 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47521         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
47522         after checking that it is non-NULL.
47524         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
47526 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47528         * sysdeps/powerpc/memmove.c: Remove file.
47529         * sysdeps/powerpc/powerpc32/power4/memcopy.h
47530         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
47531         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
47532         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
47533         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
47534         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
47535         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
47536         string memmove instead of removed powerpc one.
47538         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47539         [weak_alias]: Fix compiler warning due trailing data.
47540         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
47541         [weak_alias]: Likewise.
47542         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
47543         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
47545         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47546         (__libc_ifunc_impl_list): Add memmove functions.
47548 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47550         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
47551         Remove code.
47552         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
47553         Likewise.
47554         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
47555         Likewise.
47556         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
47557         Likewise.
47558         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
47559         Likewise.
47560         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
47561         Likewise.
47562         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
47563         Likewise.
47564         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
47565         Likewise.
47566         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
47567         Likewise.
47568         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
47569         Likewise.
47570         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
47571         Likewise.
47572         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
47573         Likewise.
47574         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
47575         Likewise.
47576         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
47577         Likewise.
47578         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
47579         Likewise.
47580         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
47581         Likewise.
47582         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
47583         Likewise.
47585 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47587         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
47588         to avoid alignment traps in non-cacheable memory.
47589         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47591         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
47592         multiarch objects.
47593         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
47594         file: multiarch power7 memmove.
47595         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
47596         multiarch default memmove.
47597         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
47598         multiarch memove for powerpc32/power4.
47600         * string/bcopy.c: Use full path to include memmove.c.
47601         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
47602         multiarch objects.
47603         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
47604         bcopy for powerpc64.
47605         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
47606         bcopy for powerpc64.
47607         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
47608         and memmove implementations.
47609         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
47610         optimized multiarch memmove for POWER7/powerpc64.
47611         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
47612         default multiarch memmove for powerpc64.
47613         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
47614         multiarch for powerpc64.
47615         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
47616         for POWER7/powerpc64.
47617         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
47618         memmove for POWER7/powerpc64.
47620         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
47621         glibc default one.
47623         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
47624         __ELF_NATIVE_CLASS equal to 64.
47626 2014-07-07  Roland McGrath  <roland@hack.frob.com>
47628         * sysdeps/nptl/lowlevellock.h: File removed.
47630         * NEWS: NPTL is no longer an add-on!
47631         * nptl/internaltypes.h: Moved ...
47632         * sysdeps/nptl/internaltypes.h: ... here.
47633         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
47634         * sysdeps/nptl/fork.c: Likewise.
47635         * sysdeps/nptl/gai_misc.h: Likewise.
47636         * sysdeps/nptl/librt-cancellation.c: Likewise.
47637         * sysdeps/nptl/jmp-unwind.c: Likewise.
47638         * sysdeps/nptl/setxid.h: Likewise.
47639         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
47640         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
47641         * sysdeps/unix/sysv/linux/arm/Implies: New file.
47642         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
47643         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
47644         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
47645         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
47646         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
47647         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
47648         * sysdeps/unix/sysv/linux/mips/Implies: New file.
47649         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
47650         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
47651         * sysdeps/unix/sysv/linux/sh/Implies: New file.
47652         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
47653         * sysdeps/unix/sysv/linux/tile/Implies: New file.
47654         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
47655         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
47656         * nptl/Makeconfig: Moved ...
47657         * sysdeps/nptl/Makeconfig: ... here.
47658         * nptl/configure: File removed.
47659         * nptl/ANNOUNCE: File removed.
47660         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
47661         * sysdeps/unix/sysv/linux/configure: Regenerated.
47663         * nptl/Makefile (routines): Add libc_pthread_init,
47664         libc_multiple_threads, register-atfork and unregister-atfork.
47665         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
47666         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
47667         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
47668         pthread-pi-defines.sym, structsem.sym.
47669         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
47670         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
47671         [$(subdir) = nptl] (tests): Add tst-setgetname.
47672         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
47673         * sysdeps/unix/sysv/linux/sigaction.c: Just include
47674         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
47675         [!LIBC_SIGACTION]: Remove aliases.
47676         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47677         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47678         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47679         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
47680         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47681         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
47682         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47683         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47684         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47685         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
47686         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
47687         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
47688         __libc_allocate_rtsig_private.
47689         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
47690         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
47691         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
47692         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
47693         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
47694         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
47695         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
47696         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
47697         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
47698         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
47699         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
47700         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
47701         * nptl/internaltypes.h: ... here.
47702         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
47703         * sysdeps/nptl/jmp-unwind.c: ... here.
47704         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
47705         * nptl/libc-lowlevellock.c: ... here.
47706         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
47707         * nptl/libc_multiple_threads.c: ... here.
47708         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
47709         * nptl/libc_pthread_init.c: ... here.
47710         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
47711         * nptl/lowlevelbarrier.sym: ... here.
47712         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
47713         * nptl/lowlevelcond.sym: ... here.
47714         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
47715         * nptl/lowlevellock.c: ... here.
47716         * nptl/lowlevellock.h: Moved ...
47717         * sysdeps/nptl/lowlevellock.h: ... here.
47718         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
47719         * nptl/lowlevelrobustlock.c: ... here.
47720         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
47721         * nptl/lowlevelrobustlock.sym: ... here.
47722         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
47723         * nptl/lowlevelrwlock.sym: ... here.
47724         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
47725         * nptl/pt-fork.c: ... here.
47726         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
47727         * nptl/pthread-pi-defines.sym: ... here.
47728         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
47729         * nptl/pthread_attr_getaffinity.c: ... here.
47730         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
47731         * nptl/pthread_attr_setaffinity.c: ... here.
47732         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
47733         * nptl/pthread_mutex_cond_lock.c: ... here.
47734         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47735         Update #include.
47736         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
47737         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
47738         * nptl/pthread_once.c: ... here, replacing old file.
47739         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
47740         * nptl/pthread_yield.c: ... here.
47741         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
47742         * nptl/register-atfork.c: ... here.
47743         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
47744         * nptl/sem_post.c: ... here.
47745         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
47746         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
47747         * nptl/sem_timedwait.c: ... here.
47748         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
47749         * nptl/sem_trywait.c: ... here.
47750         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
47751         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
47752         * nptl/sem_wait.c: ... here.
47753         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
47754         * nptl/structsem.sym: ... here.
47755         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
47756         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
47757         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
47758         * nptl/unregister-atfork.c: ... here.
47759         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
47760         * nptl/unwindbuf.sym: ... here.
47761         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
47762         * sysdeps/nptl/fork.c: ... here.
47763         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
47764         * sysdeps/nptl/fork.h: ... here.
47765         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
47766         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
47767         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
47768         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
47769         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
47770         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
47771         * sysdeps/unix/sysv/linux/getpid.c: ... here.
47772         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
47773         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
47774         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
47775         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
47776         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
47777         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
47778         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
47779         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
47780         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
47781         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
47782         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
47783         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
47784         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
47785         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
47786         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
47787         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
47788         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
47789         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
47790         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
47791         * sysdeps/unix/sysv/linux/raise.c: ... here.
47792         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
47793         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
47794         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
47795         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
47796         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
47797         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
47798         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
47799         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
47800         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
47801         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
47802         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
47803         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
47804         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
47805         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
47806         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
47808 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47810         * sysdeps/generic/memcopy.h: Add comment for
47811         MEMCPY_OK_FOR_FWD_MEMMOVE.
47813 2014-07-04  Will Newton  <will.newton@linaro.org>
47815         * string/memchr.c: Merge from gnulib.
47816         [_LIBC]: Remove conditionals.
47817         (__ptr_t): Remove define.
47818         (LONG_MAX_32_BITS): Likewise.
47819         (LONG_MAX): Likewise.
47820         (MEMCHR): Use ANSI prototype and optimize algorithm.
47822         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
47824 2014-07-03  Roland McGrath  <roland@hack.frob.com>
47826         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
47827         (lll_futex_timed_wait_bitset): Fix syscall argument count.
47829         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
47830         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
47831         in a bare environment with no <stdlib.h> installed.
47832         * sysdeps/nptl/configure: Regenerated.
47834         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
47836         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
47837         AC_EGREP_CPP for kernel header checks, so they only succeed if
47838         including <linux/version.h> actually works right.
47839         * sysdeps/unix/sysv/linux/configure: Regenerated.
47841         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
47842         value so it's not diagnosed as unused.
47844         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
47845         thing) with "ifeq ($(subdir),rt)".
47847 2014-07-03  Richard Henderson  <rth@redhat.com>
47849         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
47850         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
47851         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
47853         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
47854         (math_force_eval): New.
47856         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
47857         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
47859         * sysdeps/alpha/fpu/s_round.c: Remove file.
47860         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
47862         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
47863         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
47864         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
47865         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
47866         (_dl_start, print_statistics): Likewise.
47867         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
47868         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
47870         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47871         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47872         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47873         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47874         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47875         (HP_SMALL_TIMING_AVAIL): Define.
47876         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47877         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47878         (HP_SMALL_TIMING_AVAIL): Define.
47879         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47880         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47882         * sysdeps/aarch64/hp-timing.h: New file.
47884         * sysdeps/generic/hp-timing.h: Remove dead comment.
47885         * sysdeps/generic/hp-timing-common.h: New file.
47886         * sysdeps/alpha/hp-timing.h: Include it.
47887         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
47888         * sysdeps/i386/i686/hp-timing.h: Likewise.
47889         * sysdeps/ia64/hp-timing.h: Likewise.
47890         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47891         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47892         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47893         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47894         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
47895         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
47896         (hp_timing_t): New.
47898         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
47899         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
47900         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
47901         * elf/rtld.c (_dl_start_final): Likewise.
47902         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
47903         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47904         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47905         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47906         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47907         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47908         (HP_TIMING_DIFF_INIT): Remove.
47909         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47910         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47911         (HP_TIMING_DIFF_INIT): Remove.
47912         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47913         * sysdeps/i386/i686/hp-timing.c: Remove file.
47914         * sysdeps/x86_64/hp-timing.c: Remove file.
47915         * sysdeps/ia64/hp-timing.c: Remove file.
47916         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
47917         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
47918         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
47919         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
47921         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
47922         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
47923         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
47924         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47925         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47926         (HP_TIMING_ACCUM): Remove.
47927         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47928         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
47929         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47931         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
47932         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
47933         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
47934         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
47935         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
47936         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47937         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
47938         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47940         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
47942 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
47944         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
47946 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47948         Sync up with gettext.
47949         * intl/loadmsgcat.c: Define O_BINARY if not defined.
47950         [_MSC_VER]: Include malloc.h
47951         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
47952         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
47953         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
47954         TEMP_FAILURE_RETRY.  Cast return of alloca.
47955         [!_LIBC] Call gl_rwlock_init.
47956         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
47958 2014-07-02  Roland McGrath  <roland@hack.frob.com>
47960         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
47961         before checking its value.
47963 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47965         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
47967         * debug/memcpy_chk.c: Don't include pagecopy.h.
47968         * debug/mempcpy_chk.c: Likewise.
47969         * string/memcpy.c: Likewise.
47970         * string/memmove.c: Likewise.
47971         * sysdeps/powerpc/memmove.c: Likewise.
47972         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
47973         definition of PAGE_COPY_FWD_MAYBE here...
47974         * sysdeps/generic/pagecopy.h: ... from here.
47975         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
47977 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47978             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47980         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
47981         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
47982         optimizations.
47983         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47984         (__libc_ifunc_impl_list): Likewise.
47985         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
47986         multiarch strcat for PPC64.
47987         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
47988         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
47990 2014-07-02  Roland McGrath  <roland@hack.frob.com>
47992         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
47994 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47996         * intl/loadmsgcat.c: Remove declaration of
47997         get_sysdep_segment_value.
47998         (get_sysdep_segment_value): Use ISO C style.
47999         (_nl_load_domain): Use ISO C style.  Get rid of redundant
48000         semicolon.  Fix typo and formatting in comment.
48001         (_nl_unload_domain): Use ISO C style.
48003         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
48005 2014-07-02  Will Newton  <will.newton@linaro.org>
48007         * malloc/obstack.c: Merge from gnulib master.
48008         [HAVE_CONFIG_H]: Remove conditional code.
48009         [!_LIBC]: Include config.h.
48010         [!ELIDE_CODE]: Don't include inttypes.h, include
48011         stdint.h unconditionally.
48012         (print_and_abort): Mark as _Noreturn.
48013         (_obstack_allocated_p): Mark as __attribute_pure__.
48014         (obstack_free): Rename to __obstack_free.
48015         [!__attribute__]: Remove conditional code.
48016         * malloc/obstack.h: Merge from gnulib master.
48017         [__cplusplus]: Move conditional down.
48018         [!__attribute_pure__]: Define __attribute_pure__ here
48019         if it is not already defined.
48020         (_obstack_memory_used): Mark as __attribute_pure__.
48021         [!__obstack_free]: Define as obstack_free.
48022         [__GNUC__]: Remove check for ancient NeXT gcc.
48024 2014-07-02  Will Newton  <will.newton@linaro.org>
48025             Paul Eggert  <eggert@cs.ucla.edu>
48027         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
48029 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48031         * resolv/gethnamaddr.c: Add comment warning that the file is
48032         not maintained.
48034 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
48036         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
48037         entries.
48039         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
48040         entry for aio_cancel and aio_cancel64.
48041         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
48042         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
48043         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
48044         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
48045         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
48046         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
48047         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
48048         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
48049         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
48050         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
48051         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
48052         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
48053         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
48055 2014-07-01  Roland McGrath  <roland@hack.frob.com>
48057         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
48058         * nptl/pthread_mutex_lock.c: Likewise.
48059         * nptl/pthread_mutex_timedlock.c: Likewise.
48060         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
48062 2014-07-01  Richard henderson  <rth@redhat.com>
48064         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
48065         (__isnan, __isnanl): Remove.
48066         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
48068         * sysdeps/alpha/fpu/libm-test-ulps: Update.
48070 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
48072         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48074 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
48076         * resolv/nss_dns/dns-host.c (getanswer_r)
48077         [MULTI_PTRS_ARE_ALIASES]: Remove code.
48079 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
48081         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48082         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
48083         undefine.
48084         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
48085         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
48087 2014-07-01  Roland McGrath <roland@hack.frob.com>
48089         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
48090         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
48092         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
48093         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
48095         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
48096         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
48097         ... here.
48098         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
48099         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
48101         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
48102         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
48103         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
48104         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
48106         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
48107         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
48108         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
48109         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
48110         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
48111         Moved ...
48112         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
48113         ... here.
48114         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
48115         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
48116         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
48117         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
48118         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
48119         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
48120         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
48121         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
48122         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
48123         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
48124         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
48125         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
48126         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
48127         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
48128         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
48129         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
48130         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
48131         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
48132         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
48133         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
48134         ... here.
48135         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
48136         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
48137         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
48138         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
48139         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
48140         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
48141         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
48142         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
48144 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
48146         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
48147         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
48148         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
48149         Add sysdep.
48151 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48155 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
48157         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
48158         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48160         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48162         * sysdeps/arm/libm-test-ulps: Regenerated.
48164 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
48165             Roland McGrath <roland@hack.frob.com>
48167         * test-skeleton.c (signal_handler): Kill the whole process group
48168         before killing the child individually.
48169         (main): Report any failure on `setpgid'.
48171 2014-06-30  Roland McGrath  <roland@hack.frob.com>
48173         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
48174         from _TLS_H to _ARM_NPTL_TLS_H.
48175         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
48176         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
48178 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
48180         [BZ #16539]
48181         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
48182         (__expm1l): Return argument unchanged when small but not
48183         subnormal.
48185         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
48186         include macro name.
48187         (_FP_UNPACK_RAW_1_P): Likewise.
48188         (_FP_PACK_RAW_1): Likewise.
48189         (_FP_PACK_RAW_1_P): Likewise.
48190         (_FP_MUL_MEAT_1_wide): Likewise.
48191         (_FP_MUL_MEAT_DW_1_hard): Likewise.
48192         (_FP_MUL_MEAT_1_hard): Likewise.
48193         (_FP_DIV_MEAT_1_imm): Likewise.
48194         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
48195         (_FP_DIV_MEAT_1_udiv): Likewise.
48196         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
48197         (_FP_UNPACK_RAW_2): Likewise.
48198         (_FP_UNPACK_RAW_2_P): Likewise.
48199         (_FP_PACK_RAW_2): Likewise.
48200         (_FP_PACK_RAW_2_P): Likewise.
48201         (_FP_MUL_MEAT_DW_2_wide): Likewise.
48202         (_FP_MUL_MEAT_2_wide): Likewise.
48203         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
48204         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
48205         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
48206         (_FP_MUL_MEAT_2_gmp): Likewise.
48207         (_FP_DIV_MEAT_2_udiv): Likewise.
48208         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
48209         (_FP_FRAC_SRL_4): Likewise.
48210         (_FP_FRAC_SRST_4): Likewise.
48211         (_FP_FRAC_SRS_4): Likewise.
48212         (_FP_UNPACK_RAW_4): Likewise.
48213         (_FP_UNPACK_RAW_4_P): Likewise.
48214         (_FP_PACK_RAW_4): Likewise.
48215         (_FP_PACK_RAW_4_P): Likewise.
48216         (_FP_MUL_MEAT_DW_4_wide): Likewise.
48217         (_FP_MUL_MEAT_4_wide): Likewise.
48218         (_FP_MUL_MEAT_4_gmp): Likewise.
48219         (umul_ppppmnnn): Likewise.
48220         (_FP_DIV_MEAT_4_udiv): Likewise.
48221         (__FP_FRAC_ADD_4): Likewise.
48222         (__FP_FRAC_SUB_3): Likewise.
48223         (__FP_FRAC_SUB_4): Likewise.
48224         (__FP_FRAC_DEC_3): Likewise.
48225         (__FP_FRAC_DEC_4): Likewise.
48226         (__FP_FRAC_ADDI_4): Likewise.
48227         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
48228         (_FP_FRAC_SRL_8): Likewise.
48229         (_FP_FRAC_SRS_8): Likewise.
48231         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
48232         include macro name.
48233         (FP_UNPACK_RAW_EP): Likewise.
48234         (FP_PACK_RAW_E): Likewise.
48235         (FP_PACK_RAW_EP): Likewise.
48236         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
48237         (_FP_ISSIGNAN): Likewise.
48238         (_FP_ADD_INTERNAL): Likewise.
48239         (_FP_FMA): Likewise.
48240         (_FP_CMP): Likewise.
48241         (_FP_SQRT): Likewise.
48242         (_FP_TO_INT): Likewise.
48243         (_FP_FROM_INT): Likewise.
48244         (FP_EXTEND): Likewise.
48245         (_FP_DIV_MEAT_N_loop): Likewise.
48247 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
48249         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
48250         throughout.
48252 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
48254         [BZ #17097]
48255         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
48256         result with correct sign in case of exponents that produce
48257         overflow except for X very close to 1.
48259 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
48261         mktime: merge #if/#ifdef usage from glibc
48262         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
48263         as that works with both Glibc's and Gnulib's style.
48264         See thread starting at Siddhesh Poyarekar's bug report at:
48265         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
48267 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48269         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
48270         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
48271         * sysdeps/tile/tilegx/memmove.c: Remove file.
48273 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
48275         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
48276         abi-name definition.
48277         * scripts/soversions.awk: Do not handle or generate ABI lines.
48278         * shlib-versions: Remove ABI entries.
48279         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
48280         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
48282 2014-06-27  Roland McGrath  <roland@hack.frob.com>
48284         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
48285         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
48286         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
48287         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
48288         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
48289         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
48290         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
48291         Moved ...
48292         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
48293         ... here.
48294         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
48295         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
48296         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
48297         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
48298         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
48299         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
48300         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
48301         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
48302         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
48303         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
48304         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
48305         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
48306         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
48307         Moved ...
48308         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
48309         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
48310         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
48311         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
48312         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
48313         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
48314         Moved ...
48315         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
48316         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
48317         Moved ...
48318         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
48319         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
48320         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
48321         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
48322         Moved ...
48323         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
48324         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
48325         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
48326         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
48327         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
48328         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
48329         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
48330         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
48331         Moved ...
48332         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
48333         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
48334         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
48335         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
48336         Moved ...
48337         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
48338         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
48339         Moved ...
48340         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
48341         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
48342         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
48343         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
48344         Moved ...
48345         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
48346         ... here.
48347         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
48348         Identical file removed.
48349         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
48350         Moved ...
48351         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
48352         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
48353         Identical file removed.
48354         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
48355         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
48356         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
48357         Moved ...
48358         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
48359         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
48360         Identical file removed.
48361         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
48362         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
48363         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
48364         Identical file removed.
48365         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
48366         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
48367         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
48368         Identical file removed.
48369         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
48370         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
48371         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
48372         Identical file removed.
48373         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
48374         Moved ...
48375         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
48376         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
48377         Identical file removed.
48378         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
48379         Moved ...
48380         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
48381         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
48382         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
48383         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
48384         Identical file removed.
48385         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
48386         Moved ...
48387         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
48388         ... here.
48389         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
48390         Identical file removed.
48391         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
48392         Moved ...
48393         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
48394         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
48395         Identical file removed.
48396         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
48397         Moved ...
48398         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
48399         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
48400         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
48401         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
48402         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
48403         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
48404         Moved ...
48405         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
48406         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
48407         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
48409         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
48410         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
48411         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
48412         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
48413         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
48415 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
48417         [BZ #17092]
48418         * nscd/nscd.c (monitor_child): Return exit status of child
48419         instead of return value from wait syscall.
48421 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
48423         * configure.ac (libc_commonpagesize): Remove variable.
48424         (libc_relro_required): Likewise.
48425         (libc_cv_z_relro): Remove configure test.
48426         * configure: Regenerated.
48427         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
48428         variable.
48429         (libc_relro_required): Likewise.
48430         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
48431         (libc_relro_required): Likewise.
48432         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
48433         (libc_relro_required): Likewise.
48434         * sysdeps/arm/preconfigure: Regenerated.
48435         * sysdeps/ia64/preconfigure: Remove file.
48436         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
48437         variable.
48438         (libc_relro_required): Likewise.
48440         [BZ #16561]
48441         [BZ #16562]
48442         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
48443         (__ieee754_yn): Set FE_TONEAREST mode internally and then
48444         recompute overflowing results in original rounding mode.
48445         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
48446         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
48447         recompute overflowing results in original rounding mode.
48448         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
48449         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48450         recompute overflowing results in original rounding mode.
48451         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
48452         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48453         recompute overflowing results in original rounding mode.
48454         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
48455         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48456         recompute overflowing results in original rounding mode.
48457         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
48458         (libc_feholdsetround_ctx): New macro.
48459         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
48460         * sysdeps/i386/fpu/libm-test-ulps: Update.
48461         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
48463 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48465         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
48466         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
48467         corresponding .cpsetup call.
48469 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48471         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
48472         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
48473         * sysdeps/arm/Makefile [$(subdir) = csu]
48474         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
48475         (static-only-routines): Add aeabi_read_tp here.
48476         (shared-only-routines): Add libc-aeabi_read_tp here.
48477         (CFLAGS-libc-start.c): Add -fexceptions here.
48478         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
48479         (sysdep_routines, static-only-routines, shared-only-routines):
48480         Don't add to these here.
48481         (CFLAGS-libc-start.c): Likewise.
48483         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
48484         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48485         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
48486         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48487         * sysdeps/arm/Makefile [$(subdir) = rt]
48488         (librt-sysdep_routines, librt-shared-only-routines):
48489         Append rt-aeabi_unwind_cpp_pr1 here.
48490         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
48491         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
48492         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
48493         (libpthread-sysdep_routines, libpthread-shared-only-routines):
48494         Append nptl-aeabi_unwind_cpp_pr1 here.
48495         (tests): Filter out tst-cleanupx4 here.
48496         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
48497         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
48498         Don't do those here.
48500 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48502         * scripts/list-sources.sh: Do not handle ports specially.
48504 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48506         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
48507         * sysdeps/arm/feupdateenv.c: Likewise.
48509         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
48511 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48513         * manual/texinfo.tex: Update to version 2014-05-05.10 with
48514         trailing whitespace removed.
48515         * scripts/config.guess: Update to version 2014-03-23.
48516         * scripts/config.sub: Update to version 2014-05-01
48517         * scripts/install-sh: Update to version 2013-12-25.23.
48518         * scripts/move-if-change: Update from gnulib.
48520 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48522         * debug/memmove_chk.c: Remove pagecopy.h include.
48524 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
48526         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
48527         identical to gnulib mktime.
48529 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48531         * configure.ac: Do not test for machine being rs6000.  Do not test
48532         for powerpc*-*soft.
48533         * configure: Regenerated.
48535         [BZ #11505]
48536         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
48537         test.
48538         * configure: Regenerated.
48539         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
48540         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
48541         Remove configure test.
48542         * sysdeps/arm/configure: Regenerated.
48543         * sysdeps/nptl/configure.ac: Do not check
48544         libc_cv_asm_cfi_directives.
48545         * sysdeps/nptl/configure: Regenerated.
48546         * sysdeps/x86_64/nptl/configure.ac: Remove file.
48547         * sysdeps/x86_64/nptl/configure: Remove generated file.
48548         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
48549         unconditional.
48550         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
48552 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48554         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
48555         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
48556         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
48557         it is defined.
48559         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
48560         instead of whether it is defined.
48561         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
48562         * sysdeps/hppa/dl-machine.h: Likewise.
48563         * sysdeps/ia64/dl-machine.h: Likewise.
48564         * sysdeps/m68k/dl-machine.h: Likewise.
48565         * sysdeps/microblaze/dl-machine.h: Likewise.
48566         * sysdeps/mips/dl-machine.: Likewise.
48567         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48568         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48569         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48570         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48571         * sysdeps/sh/dl-machine.h: Likewise.
48572         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48573         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48574         * sysdeps/tile/dl-machine.h: Likewise.
48575         * sysdeps/x86_64/dl-machine.h: Likewise.
48577         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
48578         code.
48579         (verify_persistent_db): Likewise.
48581 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
48584         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
48585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
48586         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
48587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48588         Moved ...
48589         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
48590         ... here.
48591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
48592         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
48593         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
48594         Identical file removed.
48595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
48596         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
48597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
48598         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
48599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
48600         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
48601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
48602         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
48603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
48604         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
48605         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48606         Moved ...
48607         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
48608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
48609         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
48610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
48611         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
48612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48613         Moved ...
48614         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
48615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
48616         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
48617         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
48618         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
48619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48620         Identical file removed.
48621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
48622         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
48623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
48624         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
48625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48626         Moved ...
48627         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
48628         ... here.
48629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
48630         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
48631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
48632         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
48633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
48634         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
48635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
48636         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
48637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
48638         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
48639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48640         Moved ...
48641         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
48642         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
48643         Moved ...
48644         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
48645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
48646         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
48647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48648         Moved ...
48649         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
48650         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
48651         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
48653         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
48654         folded into ...
48655         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
48656         * sysdeps/unix/sysv/linux/s390/Versions
48657         (libpthread: GLIBC_2.19): New version set.
48658         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
48659         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
48660         (librt: GLIBC_2.3.3): New version set.
48661         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
48662         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
48663         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
48664         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
48665         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
48666         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
48667         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
48668         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
48669         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
48670         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
48671         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
48672         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
48673         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
48674         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
48675         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
48676         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
48677         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
48678         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
48679         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
48680         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
48681         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
48682         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
48683         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
48684         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
48685         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
48686         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
48687         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
48688         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
48689         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
48690         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
48691         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
48692         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
48693         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
48694         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
48695         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
48696         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
48697         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
48698         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
48699         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
48700         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
48701         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
48702         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
48703         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
48704         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
48705         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
48707         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
48708         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
48709         (__libc_vfork): Define the function under this name.
48710         [!NOT_IN_libc] (__vfork): Make this an alias.
48711         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48712         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
48713         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
48714         (__libc_vfork): Define the function under this name.
48715         [!NOT_IN_libc] (__vfork): Make this an alias.
48716         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48717         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
48718         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
48719         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
48720         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
48721         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48723         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
48724         code that was previously under [RESET_PID].
48725         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
48726         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
48727         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
48729         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
48730         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
48731         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
48732         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
48733         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
48734         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
48735         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
48736         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
48737         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
48738         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
48739         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
48740         Moved ...
48741         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
48742         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
48743         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
48744         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
48745         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
48746         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
48747         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
48748         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
48749         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
48750         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
48751         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48752         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
48753         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
48754         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
48755         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
48756         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
48757         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
48758         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
48759         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
48760         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
48761         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
48762         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
48763         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
48764         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
48765         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
48766         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
48767         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
48768         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
48769         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
48771 2014-06-25  Roland McGrath  <roland@hack.frob.com>
48773         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
48774         that was previously under [RESET_PID].
48775         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
48777 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
48779         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
48780         not undefine and redefine.
48781         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
48782         [O_CLOEXEC]: Make code unconditional.
48783         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
48784         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
48785         <kernel-features.h>.
48786         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
48787         conditional variable definition.
48788         (shm_open) [O_CLOEXEC]: Make code unconditional.
48789         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
48790         code.
48792         * configure.ac (USE_REGPARMS): Don't define here.
48793         * configure: Regenerated.
48794         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
48795         * sysdeps/i386/configure: Regenerated.
48797         * nptl/createthread.c: Don't include kernel-features.h.
48798         * nptl/pthread_cancel.c: Likewise.
48799         * nptl/pthread_condattr_setclock.c: Likewise.
48800         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
48801         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
48802         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
48803         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
48804         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
48805         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
48806         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
48807         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
48808         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
48809         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
48810         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
48811         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
48812         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
48813         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
48814         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
48815         * nscd/gai.c: Likewise.
48816         * nss/nss_db/db-open.c: Likewise.
48817         * sysdeps/generic/ldsodefs.h: Likewise.
48818         * sysdeps/sh/nptl/tls.h: Likewise.
48819         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
48820         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
48821         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
48822         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
48823         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
48824         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
48825         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
48826         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48827         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48828         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
48829         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
48830         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48831         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
48832         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
48833         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
48834         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
48835         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
48836         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
48837         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
48838         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
48839         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
48840         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
48841         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
48842         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
48843         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
48844         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
48845         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
48846         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
48847         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
48848         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
48849         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
48850         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
48851         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
48852         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48853         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48854         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
48855         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48856         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
48857         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
48858         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
48859         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48860         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
48861         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
48862         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48863         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
48864         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
48865         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
48866         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
48867         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
48868         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
48869         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
48870         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
48871         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
48872         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
48873         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
48874         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48875         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
48876         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
48877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
48879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
48880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
48881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
48882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
48883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
48884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
48885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
48888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
48889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
48890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
48891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
48897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
48898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
48899         * sysdeps/unix/sysv/linux/pread.c: Likewise.
48900         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
48901         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
48902         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
48903         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
48904         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
48905         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
48906         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
48907         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
48908         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
48909         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
48910         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
48911         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
48912         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
48913         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
48914         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
48915         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48916         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
48917         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
48918         * sysdeps/unix/sysv/linux/system.c: Likewise.
48919         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
48920         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
48921         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48922         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48923         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
48924         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
48925         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48927         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
48928         * configure: Regenerated.
48929         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
48931         * configure.ac (base_machine): Do not set specially for particular
48932         machines here.
48933         * configure: Regenerated.
48934         * sysdeps/powerpc/preconfigure: Move machine and base_machine
48935         settings from configure.ac.
48936         * sysdeps/i386/preconfigure: New file.
48937         * sysdeps/s390/preconfigure: Likewise.
48938         * sysdeps/sh/preconfigure: Likewise.
48939         * sysdeps/sparc/preconfigure: Likewise.
48941 2014-06-25  Roland McGrath  <roland@hack.frob.com>
48943         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
48944         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
48945         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
48946         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
48947         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
48948         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
48949         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
48950         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
48951         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
48952         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
48953         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
48954         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
48955         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
48956         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
48957         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
48958         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
48959         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
48960         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
48961         * sysdeps/sparc/sparc64/Makefile: ... appended here.
48963         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
48964         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
48965         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
48966         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
48967         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
48968         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
48969         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
48970         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
48971         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
48972         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
48973         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
48974         * sysdeps/sparc/sparc32/sem_post.c: ... here.
48975         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
48976         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
48977         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
48978         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
48979         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
48980         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
48981         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
48982         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
48983         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
48984         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
48985         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
48986         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
48987         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
48988         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
48989         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
48990         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
48991         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
48992         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
48993         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
48994         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
48995         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
48996         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
48997         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
48998         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
48999         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
49000         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
49002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
49003         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
49004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
49005         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
49006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49007         Moved ...
49008         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
49009         ... here.
49010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
49011         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
49012         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
49013         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
49014         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
49015         Moved ...
49016         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
49017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
49018         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
49019         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
49020         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
49021         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
49022         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
49023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49024         Moved ...
49025         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
49026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49027         Moved ...
49028         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
49029         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
49030         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
49031         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49032         Moved ...
49033         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
49034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
49035         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
49036         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
49037         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
49038         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
49039         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
49040         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
49041         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
49042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49043         Moved ...
49044         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
49045         ... here.
49046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
49047         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
49048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
49049         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
49050         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
49051         Moved ...
49052         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
49053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
49054         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
49055         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
49056         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
49057         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
49058         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
49059         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49060         Moved ...
49061         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
49062         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49063         Moved ...
49064         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
49065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
49066         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
49067         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49068         Moved ...
49069         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
49070         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
49071         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
49072         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
49073         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
49075 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
49077         * timezone/checktab.awk: Update from tzcode 2014e.
49078         * timezone/private.h: Likewise.
49079         * timezone/tzfile.h: Likewise.
49080         * timezone/zdump.c: Likewise.
49081         * timezone/zic.c: Likewise.
49083         * sysdeps/unix/sysv/linux/kernel-features.h
49084         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
49085         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
49086         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
49087         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49088         Remove conditional code.
49090 2014-06-25  Will Newton  <will.newton@linaro.org>
49092         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
49093         (_dl_arm_cap_flags): Add HWCAP2 values.
49094         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
49095         (_DL_HWCAP_COUNT): Increase to 37.
49096         (_DL_HWCAP_LAST): New define.
49097         (_DL_HWCAP2_LAST): New define.
49098         (_dl_procinfo): Add support for printing
49099         AT_HWCAP2 entries.
49100         (_dl_string_hwcap): Use _dl_hwcap_string.
49102 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49106 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
49108         * README: Do not mention ports directory.
49110         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
49111         Remove macro.
49112         * sysdeps/unix/sysv/linux/futimes.c: Do not include
49113         <kernel-features.h>.
49114         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
49115         conditional variable definition.
49116         (__futimes): Update comment.
49117         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
49118         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
49120         [BZ #16560]
49121         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
49122         arguments close to 0.
49123         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
49124         Likewise.
49125         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
49126         Likewise.
49127         * math/auto-libm-test-in: Add more tests of exp10.
49128         * math/auto-libm-test-out: Regenerated.
49129         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49131         * sysdeps/unix/sysv/linux/kernel-features.h
49132         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
49133         * sysdeps/unix/sysv/linux/readv.c: Do not include
49134         <kernel-features.h>.
49135         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49136         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49137         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49138         unconditional.
49139         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49140         conditional code.
49141         * sysdeps/unix/sysv/linux/writev.c: Do not include
49142         <kernel-features.h>.
49143         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49144         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49145         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49146         unconditional.
49147         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49148         conditional code.
49150 2014-06-25  Will Newton  <will.newton@linaro.org>
49152         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
49153         comment changes throughout the file.  Remove checks
49154         for HAVE_*_H definitions that are not required.
49155         (__gen_tempname): Call abort if an unknown kind value is
49156         passed.
49158 2014-06-25  Andreas Schwab  <schwab@suse.de>
49160         [BZ #17086]
49161         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
49162         scalbln, scalblnf, scalblnl in libc.
49164 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49166         [BZ #17086]
49167         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
49168         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49169         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49171 2014-06-24  Roland McGrath  <roland@hack.frob.com>
49173         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
49174         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
49175         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
49176         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
49177         Update #include.
49178         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
49179         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
49180         Update #include.
49181         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
49182         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
49183         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
49184         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
49185         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
49186         * sysdeps/x86/bits/pthreadtypes.h: ... here.
49187         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
49188         * sysdeps/x86/bits/semaphore.h: ... here.
49189         * sysdeps/x86/nptl/elide.h: Moved ...
49190         * sysdeps/x86/elide.h: ... here.
49191         * sysdeps/x86_64/nptl/Implies: File removed.
49192         * sysdeps/i386/nptl/Implies: File removed.
49194 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
49196         [BZ #16539]
49197         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
49198         return the argument for normal arguments with exponent below -64.
49199         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
49200         Likewise.
49201         * math/auto-libm-test-in: Add another test of expm1.
49202         * math/auto-libm-test-out: Regenerated.
49204         [BZ #16287]
49205         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
49206         calling __erfcl for arguments at least 16.
49207         * math/auto-libm-test-in: Add more tests of erf.
49208         * math/auto-libm-test-out: Regenerated.
49210         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
49211         individual architectures.
49212         * sysdeps/unix/sysv/linux/configure: Regenerated.
49213         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
49214         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
49215         * sysdeps/unix/sysv/linux/powerpc/configure.ac
49216         (ldd_rewrite_script): Define variable.
49217         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
49218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
49219         file.
49220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
49221         generated file.
49222         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
49223         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
49224         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
49225         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
49226         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
49227         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
49228         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
49229         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
49231 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49233         [BZ #17084]
49234         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
49235         Rename member __data.d to __data.__elision_data.
49237 2014-06-24  Wilco  <wdijkstr@arm.com>
49239         * NEWS: Add 16918 to fixed bug list.
49241 2014-06-24  Wilco  <wdijkstr@arm.com>
49243         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
49245 2014-06-24  Wilco  <wdijkstr@arm.com>
49247         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
49248         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
49249         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
49250         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
49251         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
49252         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
49253         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
49254         Use _FPU_MASK_RM.
49256 2014-06-24  Wilco  <wdijkstr@arm.com>
49258         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
49260 2014-06-24  Wilco  <wdijkstr@arm.com>
49262         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
49263         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
49264         * sysdeps/arm/fesetround.c (fesetround): Remove space.
49265         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
49267 2014-06-24  Wilco  <wdijkstr@arm.com>
49269         [BZ #16918]
49270         * sysdeps/arm/feupdateenv.c (feupdateenv):
49271         Rewrite to reduce FPSCR accesses and fix return value.
49273 2014-06-24  Wilco  <wdijkstr@arm.com>
49275         * sysdeps/arm/fclrexcpt.c (feclearexcept):
49276         Optimize to avoid unnecessary FPSCR writes.
49277         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
49278         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
49279         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
49280         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
49282 2014-06-24  Wilco  <wdijkstr@arm.com>
49284         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
49285         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
49286         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
49287         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
49288         Call libc_fetestexcept_vfp.
49289         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
49290         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
49291         __SOFTFP__ ifdef so that they can be built for softfp.
49293 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49295         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
49296         argument type signed char.
49298         * Makerules (check-abi): Dump diff of symlist if the test
49299         fails.
49301 2014-06-23  Roland McGrath  <roland@hack.frob.com>
49303         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
49304         using abort.
49306         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49307         Remove unused variable ST.
49309 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
49311         [BZ #16354]
49312         [BZ #17061]
49313         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
49314         small arguments before calling __expm1.
49315         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
49316         small arguments before calling __expm1f.
49317         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
49318         small arguments before calling __expm1l.
49319         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49320         Likewise.
49321         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
49322         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
49323         spurious underflow for some cosh tests.
49324         * math/auto-libm-test-out: Regenerated.
49325         * sysdeps/i386/fpu/libm-test-ulps: Update.
49327         [BZ #17050]
49328         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
49329         (__ieee754_y1): Set errno if return value overflows.
49330         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
49331         (__ieee754_y1f): Set errno if return value overflows.
49332         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
49333         (__ieee754_y1l): Set errno if return value overflows.
49334         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
49335         (__ieee754_y1l): Set errno if return value overflows.
49336         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
49337         * math/auto-libm-test-out: Regenerated.
49339         * math/gen-auto-libm-tests.c: Document use of
49340         ignore-zero-inf-sign.
49341         (input_flag_type): Add value flag_ignore_zero_inf_sign.
49342         (input_flags): Add ignore-zero-inf-sign.
49343         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
49344         * math/gen-libm-test.pl (generate_testfile): Handle
49345         ignore-zero-inf-sign.
49346         * math/auto-libm-test-in: Mark some cpow tests with
49347         ignore-zero-inf-sign and some with xfail-rounding.
49348         * math/auto-libm-test-out: Regenerated.
49349         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
49350         * sysdeps/i386/fpu/libm-test-ulps: Update.
49351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49353         [BZ #16315]
49354         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
49355         overflowing or underflowing operations take place with sign of
49356         result.
49357         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49358         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
49359         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
49360         (__ieee754_pow): Recompute overflowing and underflowing results in
49361         original rounding mode.
49362         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
49363         (__powl_helper): Allow negative argument X and scale negated value
49364         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
49365         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
49366         overflowing or underflowing operations take place with sign of
49367         result.
49368         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
49369         Include <math.h>.
49370         * math/auto-libm-test-in: Add more tests of pow.
49371         * math/auto-libm-test-out: Regenerated.
49372         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
49373         (pow_tonearest_test_data): Remove.
49374         (pow_test_tonearest): Likewise.
49375         (pow_towardzero_test_data): Likewise.
49376         (pow_test_towardzero): Likewise.
49377         (pow_downward_test_data): Likewise.
49378         (pow_test_downward): Likewise.
49379         (pow_upward_test_data): Likewise.
49380         (pow_test_upward): Likewise.
49381         (main): Don't call removed functions.
49382         * sysdeps/i386/fpu/libm-test-ulps: Update.
49383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49385 2014-06-23  Roland McGrath  <roland@hack.frob.com>
49387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
49388         Moved ...
49389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
49390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49391         Moved ...
49392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
49393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49394         Moved ...
49395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
49396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49397         Moved ...
49398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
49399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49400         File removed.
49401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49402         File removed.
49403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
49404         File removed.
49405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
49406         File removed.
49407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
49408         File removed.
49409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
49410         File removed.
49411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
49412         File removed.
49413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49414         File removed.
49415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
49416         File removed.
49417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49418         File removed.
49419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
49420         File removed.
49421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
49422         File removed.
49423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
49424         Moved ...
49425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
49426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
49427         Moved ...
49428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
49429         ... here.
49430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
49431         Moved ...
49432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
49433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
49434         Moved ...
49435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
49436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
49437         Moved ...
49438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
49439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
49440         Moved ...
49441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
49442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
49443         Moved ...
49444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
49445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
49446         Moved ...
49447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
49448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
49449         Moved ...
49450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
49451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
49452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
49453         ... here.
49454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
49455         Moved ...
49456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
49457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49458         Moved ...
49459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
49460         ... here.
49461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
49462         Moved ...
49463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
49464         ... here.
49465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49466         Moved ...
49467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
49468         ... here.
49469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49470         Moved ...
49471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
49472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49473         Moved ...
49474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
49475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
49476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
49477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49478         Moved ...
49479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
49480         ... here.
49481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49482         Moved ...
49483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
49484         ... here.
49485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49486         Moved ...
49487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
49488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49489         Moved ...
49490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
49491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49492         Moved ...
49493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
49494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49495         Moved ...
49496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
49497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49498         Moved ...
49499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
49500         ... here.
49501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49502         Moved ...
49503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
49504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49505         Moved ...
49506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
49507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49508         Moved ...
49509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
49510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49511         Moved ...
49512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
49513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
49514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
49515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49516         Moved ...
49517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
49518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49519         Moved ...
49520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
49521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49522         Moved ...
49523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
49524         ... here.
49525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49526         Moved ...
49527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
49528         ... here.
49529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49530         Moved ...
49531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
49532         ... here.
49533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49534         Moved ...
49535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
49536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49537         Moved ...
49538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
49539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49540         Moved ...
49541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
49542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49543         Moved ...
49544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
49545         ... here.
49546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49547         Moved ...
49548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
49549         ... here.
49550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49551         Moved ...
49552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
49553         ... here.
49554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49555         Moved ...
49556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
49557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49558         Moved ...
49559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
49561 2014-06-23  Will Newton  <will.newton@linaro.org>
49562             Wilco  <wdijkstr@arm.com>
49564         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
49565         implementation.  Include get-rounding-mode.h.
49566         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
49567         [!libc_feholdsetround_noex_ctx]: Define
49568         libc_feholdsetround_noex_ctx.
49569         [!libc_feholdsetround_noexf_ctx]: Define
49570         libc_feholdsetround_noexf_ctx.
49571         [!libc_feholdsetround_noexl_ctx]: Define
49572         libc_feholdsetround_noexl_ctx.
49573         (libc_feholdsetround_ctx): New function.
49574         (libc_feresetround_ctx): New function.
49575         (libc_feholdsetround_noex_ctx): New function.
49576         (libc_feresetround_noex_ctx): New function.
49578 2014-06-23  Roland McGrath  <roland@hack.frob.com>
49580         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
49581         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
49582         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
49583         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
49584         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
49585         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
49587         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
49588         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
49589         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
49590         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
49591         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
49592         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
49593         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
49594         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
49595         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
49596         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
49597         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
49598         Moved ...
49599         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
49600         ... here.
49601         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
49602         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
49603         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
49604         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
49605         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
49606         Moved ...
49607         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
49608         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
49609         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
49610         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
49611         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
49612         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
49613         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
49614         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
49615         Moved ...
49616         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
49617         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
49618         Moved ...
49619         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
49620         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
49621         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
49622         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
49623         Moved ...
49624         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
49625         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
49626         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
49627         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
49628         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
49629         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
49630         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
49631         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
49632         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
49633         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
49634         Moved ...
49635         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
49636         ... here.
49637         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
49638         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
49639         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
49640         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
49641         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
49642         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
49643         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
49644         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
49645         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
49646         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
49647         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
49648         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
49649         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
49650         Moved ...
49651         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
49652         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
49653         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
49654         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
49655         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
49656         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
49657         Moved ...
49658         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
49659         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
49660         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
49661         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
49662         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
49664         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
49665         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
49666         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
49667         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
49668         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
49669         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
49670         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
49671         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
49672         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
49673         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
49674         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
49675         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
49676         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
49677         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
49678         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
49679         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
49680         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
49681         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
49682         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
49683         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
49684         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
49685         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
49686         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
49687         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
49688         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
49689         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
49690         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
49691         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
49693 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
49695         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
49696         (FALLOC_FL_COLLAPSE_RANGE): New macro.
49697         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
49698         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
49699         (IPV6_PMTUDISC_INTERFACE): Likewise.
49700         (IPV6_PMTUDISC_OMIT): Likewise.
49702 2014-06-23  Andreas Schwab  <schwab@suse.de>
49704         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
49705         Remove unused errout label.
49707 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49709         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
49710         macro: hardware supports Vector Crypto instructions.
49712 2014-06-23  Will Newton  <will.newton@linaro.org>
49714         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
49715         rather than __builtin_expect.
49717         * elf/dl-lookup.c (undefined_msg): Remove variable.
49718         (_dl_lookup_symbol_x): Replace undefined_msg with string
49719         literal.
49721         * elf/dl-lookup.c (do_lookup_unique): New function.
49722         (do_lookup_x): Move STB_GNU_UNIQUE handling code
49723         to a separate function.
49725 2014-06-23  Andreas Schwab  <schwab@suse.de>
49727         [BZ #17079]
49728         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
49729         before reading the next line.
49731 2014-06-23  Will Newton  <will.newton@linaro.org>
49733         * test-skeleton.c (signal_handler): Use printf and %m
49734         rather than perror.  Use printf rather than fprintf to
49735         stderr.  Use puts rather than fputs to stderr.
49736         (main): Likewise.
49738 2014-06-22  Ludovic CourtĂšs  <ludo@gnu.org>
49740         * nscd/nscd.c (thread_info_t): Remove typedef.
49741         (thread_info): Remove variable.
49743 2014-06-21  Allan McRae  <allan@archlinux.org>
49745         * NEWS: Mention CVE-2014-4043.
49747 2014-06-20  Roland McGrath  <roland@hack.frob.com>
49749         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49750         * nptl/smp.h: ... here.
49752         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
49754         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49755         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
49756         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
49757         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
49759         * nptl/allocatestack.c: Include <stack-aliasing.h>.
49760         * nptl/stack-aliasing.h: New file.
49761         * sysdeps/i386/i686/stack-aliasing.h: New file.
49762         * sysdeps/i386/i686/nptl/Makefile: File removed.
49763         * sysdeps/x86_64/stack-aliasing.h: New file.
49764         * sysdeps/x86_64/nptl/Makefile
49765         (CFLAGS-pthread_create.c): Variable removed.
49767         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
49768         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
49769         old file.
49770         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
49771         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
49772         old file.
49774 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
49776         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49777         (__ASSUME_SIGFRAME_V2): Remove macro.
49778         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
49779         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
49780         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
49781         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
49782         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
49783         Declare as function.  Remove conditional macro definitions.
49784         (__default_rt_sa_restorer): Likewise.
49785         (__default_sa_restorer_v1): Remove declaration.
49786         (__default_sa_restorer_v2): Likewise.
49787         (__default_rt_sa_restorer_v1): Likewise.
49788         (__default_rt_sa_restorer_v2): Likewise.
49789         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
49790         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
49791         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
49793 2014-06-20  Roland McGrath  <roland@hack.frob.com>
49795         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
49796         (libpthread-routines): Add sysdep.
49797         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
49798         * sysdeps/unix/sysv/linux/sparc/Versions
49799         (libpthread: GLIBC_2.3.3): New version set.
49800         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
49801         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
49802         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
49803         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
49804         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
49805         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
49806         Moved ...
49807         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
49808         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
49809         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
49810         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
49811         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
49812         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
49813         * sysdeps/sparc/nptl/sem_init.c: ... here.
49814         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
49815         * sysdeps/sparc/nptl/sem_post.c: ... here.
49816         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
49817         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
49818         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
49819         * sysdeps/sparc/nptl/sem_wait.c: ... here.
49820         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
49821         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
49822         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
49823         (libpthread-routines): Add cpu_relax.
49824         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
49825         File removed.
49826         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
49827         (librt: GLIBC_2.3.3): New version set.
49828         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
49829         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
49830         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
49831         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
49832         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
49833         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
49834         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
49835         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
49836         Moved ...
49837         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
49838         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
49839         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
49840         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
49841         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
49842         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
49843         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
49844         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
49845         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
49846         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
49847         Moved ...
49848         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
49849         Update #include.
49850         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
49851         Moved ...
49852         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
49853         Update #include.
49854         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
49855         Moved ...
49856         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
49857         Update #include.
49858         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
49859         Moved ...
49860         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
49861         Update #include.
49862         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
49863         Moved ...
49864         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
49865         Update #include.
49866         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
49867         Moved ...
49868         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
49869         Update #include.
49870         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
49871         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
49872         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
49873         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
49874         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
49875         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
49876         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
49877         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
49878         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
49879         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
49880         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49881         Moved ...
49882         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
49883         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
49884         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
49885         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
49886         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
49888 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
49890         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
49891         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
49892         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
49893         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
49894         * nscd/nscd.c: Likewise.
49895         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
49896         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
49897         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
49898         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
49900         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
49901         <kernel-features.h>.
49902         (init_mq_netlink): Remove conditional have_sock_cloexec
49903         definitions.  Remove code conditional on have_sock_cloexec < 0.
49904         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
49905         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
49906         * sysdeps/unix/sysv/linux/opensock.c: Do not include
49907         <kernel-features.h>.
49908         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
49909         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
49911 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
49913         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49914         Add tests for memset_chk and memset.
49916         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
49917         with AVX2_Usable.
49919 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
49921         [BZ #16046]
49922         * elf/tst-dl-iter-static.c: New file.
49923         * elf/Makefile (tests-static): Add tst-dl-iter-static.
49925         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
49926         error.
49928 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
49930         * sysdeps/unix/sysv/linux/kernel-features.h
49931         (__ASSUME_F_GETOWN_EX): Remove macro.
49932         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
49933         <kernel-features.h>.
49934         (miss_F_GETOWN_EX): Remove variable or macro.
49935         (do_fcntl): Do not check miss_F_GETOWN_EX.
49936         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
49938         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
49939         Remove macro.
49940         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
49941         [!__ASSUME_AT_RANDOM]: Remove conditional code.
49942         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
49944         * sysdeps/unix/sysv/linux/kernel-features.h
49945         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
49946         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
49947         [ADJ_OFFSET_SS_READ]: Make code unconditional.
49948         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
49950 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
49952         [BZ #17075]
49953         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
49954         Fix calculation of the symbol's value.
49955         * sysdeps/arm/tst-armtlsdescloc.c: New file.
49956         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
49957         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
49958         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
49959         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
49960         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
49961         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
49962         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
49963         (modules-names): Add `tst-armtlsdescmod',
49964         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
49965         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
49966         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49967         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
49968         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
49969         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49970         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
49971         ($(objpfx)tst-armtlsdescloc): New dependency.
49972         ($(objpfx)tst-armtlsdescextnow): Likewise.
49973         ($(objpfx)tst-armtlsdescextlazy): Likewise.
49974         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
49975         TLS scheme support.
49976         * sysdeps/arm/configure: Regenerate.
49978 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
49980         * include/fcntl.h (__atfct_seterrno): Remove prototype.
49981         (__atfct_seterrno_2): Likewise.
49982         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
49983         <kernel-features.h>.
49984         (__ASSUME_ATFCTS): Do not undefine and redefine.
49985         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
49986         (__have_atfcts): Remove conditional definition.
49987         (__fxstatat([__NR_fstatat64]: Make code unconditional.
49988         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
49989         unreachable if [__ASSUME_ATFCTS].
49990         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
49991         not undefine and redefine.
49992         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
49993         <kernel-features.h>.
49994         (faccessat) [__NR_faccessat]: Make code unconditional.
49995         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
49996         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
49997         <kernel-features.h>.
49998         (fchmodat) [__NR_fchmodat]: Make code unconditional.
49999         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
50000         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
50001         <kernel-features.h>.
50002         (fchownat) [__NR_fchownat]: Make code unconditional.
50003         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
50004         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
50005         <kernel-features.h>.
50006         (futimesat) [__NR_futimesat]: Make code unconditional.
50007         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
50008         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
50009         <kernel-features.h>.
50010         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
50011         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50012         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
50013         <kernel-features.h>.
50014         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
50015         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
50016         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
50017         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
50018         <kernel-features.h>.
50019         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
50020         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50021         * sysdeps/unix/sysv/linux/linkat.c: Do not include
50022         <kernel-features.h>.
50023         (linkat) [__NR_linkat]: Make code unconditional.
50024         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50025         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
50026         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
50027         <kernel-features.h>.
50028         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
50029         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
50030         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
50031         <kernel-features.h>.
50032         (mkdirat) [__NR_mkdirat]: Make code unconditional.
50033         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
50034         * sysdeps/unix/sysv/linux/openat.c: Do not include
50035         <kernel-features.h>.
50036         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
50037         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
50038         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
50039         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
50040         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
50041         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
50042         <kernel-features.h>.
50043         (readlinkat) [__NR_readlinkat]: Make code unconditional.
50044         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
50045         result of INLINE_SYSCALL directly, not via int variable.
50046         * sysdeps/unix/sysv/linux/renameat.c: Do not include
50047         <kernel-features.h>.
50048         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
50049         (renameat) [__NR_renameat]: Make code unconditional.
50050         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
50051         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
50052         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
50053         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
50054         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
50055         (__ASSUME_ATFCTS): Do not undefine and redefine.
50056         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
50057         <kernel-features.h>.
50058         (symlinkat) [__NR_symlinkat]: Make code unconditional.
50059         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50060         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
50061         <kernel-features.h>.
50062         (unlinkat) [__NR_unlinkat]: Make code unconditional.
50063         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50064         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
50065         (__ASSUME_ATFCTS): Do not undefine and redefine.
50066         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50067         <kernel-features.h>.
50068         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
50069         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50070         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
50071         <kernel-features.h>.
50072         (__xmknodat) [__NR_mknodat]: Make code unconditional.
50073         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
50075 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
50077         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
50079 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
50081         [BZ #17069]
50082         * posix/regcomp.c (parse_reg_exp): Deallocate partially
50083         constructed tree before returning error.
50084         * posix/bug-regexp36.c: Expand test case.
50086 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
50088         [BZ #6803]
50089         * math/libm-test.inc (scalbln_test_date):
50090         Add errno expectations.
50091         * math/w_scalblnf.c: New File.
50092         Add wrapper which checks for setting errno to ERANGE.
50093         Add weak_alias for corresponding scalbln function.
50094         * math/w_scalbln.c: Likewise.
50095         * math/w_scalblnl.c: Likewise.
50096         * math/Makefile (libm-calls): Add w_scalbln.
50097         * sysdeps/ieee754/flt-32/s_scalblnf.c:
50098         Remove weak_alias for corresponding scalbln function.
50099         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50100         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50101         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50102         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50103         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
50104         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
50105         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
50106         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
50107         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
50108         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
50109         Remove long_double_symbol for scalblnl function in libm, libc.
50110         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
50111         Add wrapper which checks for setting errno to ERANGE.
50112         Add long_double_symbol for scalblnl function in libm, libc.
50113         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
50114         Remove long_double_symbol for scalblnl in libm.
50115         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
50116         Add wrapper which checks for setting errno to ERANGE.
50117         Add long_double_symbol for scalblnl function in libm.
50118         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
50119         Do not use wrapper because of own implementation.
50121 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
50123         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
50124         3 bytes for __pad1 for x32.
50125         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
50127 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
50128             H.J. Lu  <hongjiu.lu@intel.com>
50130         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
50131         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
50132         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50133         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50134         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
50136 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
50138         [BZ #17069]
50139         * posix/regcomp.c (parse_expression): Deallocate partially
50140         constructed tree before returning error.
50141         * posix/Makefile.c (tests): Add bug-regex36.
50142         (generated): Add bug-regex36.mtrace.
50143         (tests-special): Add $(objpfx)bug-regex36-mem.out
50144         (bug-regex36-ENV): New variable.
50145         ($(objpfx)bug-regex36-mem.out): New rule.
50146         * posix/bug-regex36.c: New file.
50148 2014-06-19  Will Newton  <will.newton@linaro.org>
50150         * malloc/malloc.c (systrim): If extra is zero then return
50151         early.
50153 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50155         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
50157 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
50159         * sysdeps/aarch64/strchr.S: New file.
50161 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
50163         [BZ #17022]
50164         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
50165         from arguments -2 or below.
50166         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
50167         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
50169 2014-06-18  Andreas Schwab  <schwab@suse.de>
50171         [BZ #17062]
50172         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
50173         of a bracket expr not to run off the end of the string.
50174         * posix/Makefile (tests): Add tst-fnmatch3.
50175         * posix/tst-fnmatch3.c: New file.
50177 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
50179         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
50180         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50181         [$(cross-compiling) = no]: Likewise.
50182         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50183         [$(cross-compiling) = no]: Likewise.
50185 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50187         [BZ #17031]
50188         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
50189         double, adjusted for any remainder from the high double.
50190         * math/libm-test.inc (nearbyint): Add tests.
50191         (rint): Likewise.
50193 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50195         * nptl/sysdeps/powerpc/Makefile: Moved ...
50196         * sysdeps/powerpc/nptl/Makefile: ... here.
50197         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
50198         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
50199         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
50200         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
50201         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
50202         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
50203         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
50204         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
50205         * nptl/sysdeps/powerpc/tls.h: Moved ...
50206         * sysdeps/powerpc/nptl/tls.h: ... here.
50208 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
50210         [BZ #16681]
50211         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
50212         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
50213         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
50214         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
50215         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
50216         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
50217         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
50218         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
50219         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
50221 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
50223         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
50225 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
50227         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
50228         defined operator.
50230         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
50231         $TIMEOUTFACTOR.
50233 2014-06-16  Florian Weimer  <fweimer@redhat.com>
50235         [BZ #17058]
50236         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
50237         non-executed part of the test.
50239 2014-06-16  Andreas Schwab  <schwab@suse.de>
50241         * string/bits/string2.h (strdup, strndup): Update feature guard.
50243 2014-06-14  David S. Miller  <davem@davemloft.net>
50245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50247 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
50249         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
50250         that was previously under [RESET_PID].
50251         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
50253         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
50254         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
50255         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
50256         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50257         (__libc_vfork): New strong alias.
50258         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
50260 2014-06-14 Andi Kleen  <ak@linux.intel.com>
50262         * sysdeps/generic/elide.h: New file.
50264 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
50266         * Makefile (installed-headers): Adjust path of pthread.h header.
50268 2014-06-13  Roland McGrath  <roland@hack.frob.com>
50270         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
50271         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
50272         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
50273         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
50275         * nptl/sysdeps/s390/Makefile: Moved ...
50276         * sysdeps/s390/nptl/Makefile: ... here.
50277         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
50278         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
50279         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
50280         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
50281         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
50282         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
50283         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
50284         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
50285         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
50286         * sysdeps/s390/nptl/pthreaddef.h: ... here.
50287         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
50288         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
50289         * nptl/sysdeps/s390/tls.h: Moved ...
50290         * sysdeps/s390/nptl/tls.h: ... here.
50292         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
50293         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
50295 2014-06-13  David S. Miller  <davem@davemloft.net>
50297         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
50298         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
50299         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
50300         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
50301         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
50302         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
50303         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
50304         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
50305         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
50306         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
50307         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
50308         Remove RESET_PID cpp guards.
50309         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
50310         Remove RESET_PID cpp guards.
50311         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
50313 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
50315         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
50316         __sp to uintptr_t.
50318 2014-06-13  Andi Kleen  <ak@linux.intel.com>
50320         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
50321         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
50322         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
50323         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
50324         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
50325         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
50326         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
50327         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
50328         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
50329         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
50330         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
50331         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
50332         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
50333         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
50334         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
50335         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
50336         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
50337         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
50338         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
50339         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
50341         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
50342         (pthread_rwlock_rdlock): Add elision.
50343         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
50344         (pthread_rwlock_wrlock): Add elision.
50345         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
50346         (pthread_rwlock_trywrlock): Add elision.
50347         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
50348         (pthread_rwlock_tryrdlock): Add elision.
50349         * nptl/pthread_rwlock_unlock.c: Include elide.h.
50350         (pthread_rwlock_tryrdlock): Add elision unlock.
50351         * nptl/sysdeps/pthread/pthread.h:
50352         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
50353         (PTHREAD_RWLOCK_INITIALIZER,
50354         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
50355         Handle new elision field.
50356         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
50357         * sysdeps/arm/nptl/bits/pthreadtypes.h
50358         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50359         * sysdeps/sh/nptl/bits/pthreadtypes.h
50360         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50361         * sysdeps/tile/nptl/bits/pthreadtypes.h
50362         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50363         * sysdeps/a/nptl/bits/pthreadtypes.h
50364         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50365         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50366         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50367         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50368         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50369         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
50370         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50371         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50372         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50373         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50374         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50375         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50376         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50377         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50378         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50379         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
50380         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50381         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
50382         (elision_init): Set try_xbegin to zero when no RTM.
50383         * sysdeps/x86/nptl/bits/pthreadtypes.h
50384         (pthread_rwlock_t): Change __pad1 to __rwelision.
50385         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50387 2014-06-13  Andi Kleen  <ak@linux.intel.com>
50389         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
50390         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
50391         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
50392         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
50394 2014-06-13  Meador Inge  <meadori@codesourcery.com>
50396         [BZ #16996]
50397         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
50398         that the cached result has been set before returning it.
50400 2014-06-12  Roland McGrath  <roland@hack.frob.com>
50402         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
50403         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
50404         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
50405         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
50406         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
50407         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
50409         * nptl/sysdeps/sparc/Makefile: Moved ...
50410         * sysdeps/sparc/nptl/Makefile: ... here.
50411         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
50412         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
50413         * nptl/sysdeps/sparc/tls.h: Moved ...
50414         * sysdeps/sparc/nptl/tls.h: ... here.
50415         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
50416         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
50417         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
50418         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
50419         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
50420         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
50421         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
50422         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
50423         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
50424         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
50425         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
50426         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
50427         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
50428         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
50429         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
50430         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
50431         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
50432         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
50433         Update #include.
50434         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
50435         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
50436         Update #include.
50437         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
50438         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
50439         Update #include.
50440         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
50441         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
50442         Update #include.
50444         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50446         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
50447         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
50449         * sysdeps/pthread/posix-timer.h: Include <list.h>.
50450         (struct list_links): Type removed.
50451         (struct thread_node, struct timer_node): Replace struct list_links
50452         with struct list_head.
50453         (list_unlink_ip): Likewise.
50454         * sysdeps/pthread/timer_routines.c
50455         (timer_free_list, thread_free_list, thread_active_list): Likewise.
50456         (list_append, list_insbefore): Likewise.
50457         (list_init): Function removed.
50458         (thread_init, init_module): Use INIT_LIST_HEAD instead.
50459         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
50460         * sysdeps/pthread/Makefile: ... here, new file.
50462         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
50463         * sysdeps/nptl/Implies: ... here.
50464         * sysdeps/unix/sysv/linux/Implies: Add nptl.
50465         * nptl/sysdeps/pthread/list.h: Moved ...
50466         * include/list.h: ... here.
50467         * nptl/sysdeps/pthread/createthread.c: Moved ...
50468         * nptl/createthread.c: ... here.
50469         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
50470         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
50471         * nptl/pt-longjmp.c: ... here.
50472         * nptl/sysdeps/pthread/Makefile: Moved ...
50473         * sysdeps/nptl/Makefile: ... here.
50474         * nptl/sysdeps/pthread/Subdirs: Moved ...
50475         * sysdeps/nptl/Subdirs: ... here.
50476         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
50477         * sysdeps/nptl/aio_misc.h: ... here.
50478         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
50479         * sysdeps/nptl/bits/libc-lock.h: ... here.
50480         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
50481         * sysdeps/nptl/bits/libc-lockP.h: ... here.
50482         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
50483         * sysdeps/nptl/bits/stdio-lock.h: ... here.
50484         * nptl/sysdeps/pthread/configure: Moved ...
50485         * sysdeps/nptl/configure: ... here.
50486         * nptl/sysdeps/pthread/configure.ac: Moved ...
50487         * sysdeps/nptl/configure.ac: ... here.
50488         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
50489         * sysdeps/nptl/gai_misc.h: ... here.
50490         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
50491         * sysdeps/nptl/librt-cancellation.c: ... here.
50492         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
50493         * sysdeps/nptl/malloc-machine.h: ... here.
50494         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
50495         * sysdeps/nptl/pthread-functions.h: ... here.
50496         * nptl/sysdeps/pthread/pthread.h: Moved ...
50497         * sysdeps/nptl/pthread.h: ... here.
50498         * nptl/sysdeps/pthread/setxid.h: Moved ...
50499         * sysdeps/nptl/setxid.h: ... here.
50500         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
50501         * sysdeps/nptl/sigfillset.c: ... here.
50502         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
50503         * sysdeps/nptl/tcb-offsets.h: ... here.
50504         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
50505         * sysdeps/nptl/tst-mqueue8x.c: ... here.
50506         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
50507         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
50508         * nptl/sysdeps/pthread/allocalim.h: Moved ...
50509         * sysdeps/pthread/allocalim.h: ... here.
50510         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
50511         * sysdeps/pthread/bits/sigthread.h: ... here.
50512         * nptl/sysdeps/pthread/flockfile.c: Moved ...
50513         * sysdeps/pthread/flockfile.c: ... here.
50514         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
50515         * sysdeps/pthread/ftrylockfile.c: ... here.
50516         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
50517         * sysdeps/pthread/funlockfile.c: ... here.
50518         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
50519         * sysdeps/pthread/posix-timer.h: ... here.
50520         * nptl/sysdeps/pthread/timer_create.c: Moved ...
50521         * sysdeps/pthread/timer_create.c: ... here.
50522         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
50523         * sysdeps/pthread/timer_delete.c: ... here.
50524         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
50525         * sysdeps/pthread/timer_getoverr.c: ... here.
50526         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
50527         * sysdeps/pthread/timer_gettime.c: ... here.
50528         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
50529         * sysdeps/pthread/timer_routines.c: ... here.
50530         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
50531         * sysdeps/pthread/timer_settime.c: ... here.
50532         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
50533         * sysdeps/pthread/tst-timer.c: ... here.
50534         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
50535         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
50537         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
50538         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
50540         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
50541         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
50542         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
50543         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
50544         Update #include target.
50545         * nptl/sysdeps/i386/i686/Makefile: Moved ...
50546         * sysdeps/i386/i686/nptl/Makefile: ... here.
50547         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
50548         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
50549         Update #include target.
50550         * nptl/sysdeps/i386/i686/tls.h: Moved ...
50551         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
50552         * nptl/sysdeps/i386/Makefile: Moved ...
50553         * sysdeps/i386/nptl/Makefile: ... here.
50554         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
50555         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
50556         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
50557         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
50558         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
50559         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
50560         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
50561         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
50562         * sysdeps/i386/nptl/pthreaddef.h: ... here.
50563         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
50564         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
50565         * nptl/sysdeps/i386/tls.h: Moved ...
50566         * sysdeps/i386/nptl/tls.h: ... here.
50568         * sysdeps/sh/Makefile [$(subdir) = csu]
50569         (gen-as-const-headers): Add tcb-offsets.sym.
50570         * nptl/sysdeps/sh/Makefile: File removed.
50571         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
50572         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
50573         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
50574         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
50575         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
50576         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
50577         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
50578         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
50579         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
50580         * sysdeps/sh/nptl/pthreaddef.h: ... here.
50581         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
50582         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
50583         * nptl/sysdeps/sh/tls.h: Moved ...
50584         * sysdeps/sh/nptl/tls.h: ... here.
50585         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
50586         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
50587         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
50588         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
50589         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
50590         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
50591         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
50592         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
50593         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
50594         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
50595         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
50596         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
50597         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
50598         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
50599         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
50600         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
50601         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
50602         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
50603         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
50604         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
50605         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
50606         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
50607         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
50608         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
50609         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
50610         Moved ...
50611         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
50612         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
50613         Moved ...
50614         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
50615         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
50616         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
50617         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
50618         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
50619         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
50620         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
50621         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
50622         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
50623         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
50624         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
50625         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
50626         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
50627         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
50628         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
50629         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
50630         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
50631         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
50632         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
50634 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
50636         * posix/spawn_faction_addopen.c: Include string.h.
50638 2014-06-11  Roland McGrath  <roland@hack.frob.com>
50640         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
50641         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
50642         * nptl/sysdeps/x86_64/Makefile: Moved ...
50643         * sysdeps/x86_64/nptl/Makefile: ... here.
50644         * nptl/sysdeps/x86_64/configure: Moved ...
50645         * sysdeps/x86_64/nptl/configure: ... here.
50646         * nptl/sysdeps/x86_64/configure.ac: Moved ...
50647         * sysdeps/x86_64/nptl/configure.ac: ... here.
50648         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
50649         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
50650         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
50651         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
50652         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
50653         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
50654         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
50655         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
50656         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
50657         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
50658         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
50659         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
50660         * nptl/sysdeps/x86_64/tls.h: Moved ...
50661         * sysdeps/x86_64/nptl/tls.h: ... here.
50662         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
50663         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
50664         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
50665         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
50667         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
50669 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50673 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
50675         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
50676         type.
50677         [POSIX] (off_t): Likewise.
50678         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
50679         [POSIX] (S_ISBLK): Require macro.
50680         [POSIX] (S_ISCHR): Likewise.
50681         [POSIX] (S_ISDIR): Likewise.
50682         [POSIX] (S_ISFIFO): Likewise.
50683         [POSIX] (S_ISREG): Likewise.
50684         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
50685         optional-macro.
50686         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
50687         type.
50688         [POSIX] (time_t): Likewise.
50689         [POSIX] (timer_t): Likewise.
50691 2014-06-11  Florian Weimer  <fweimer@redhat.com>
50693         [BZ #17048]
50694         * posix/spawn_int.h (struct __spawn_action): Make the path string
50695         non-const to support deallocation.
50696         * posix/spawn_faction_addopen.c
50697         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
50698         * posix/spawn_faction_destroy.c
50699         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
50700         path in all spawn_do_open actions.
50701         * posix/tst-spawn.c (do_test): Exercise the copy operation in
50702         posix_spawn_file_actions_addopen.
50704 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
50706         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
50707         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
50708         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
50709         conditional code always true.
50710         (__libc_vfork): New alias.
50712 2014-06-11  Roland McGrath  <roland@hack.frob.com>
50714         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50715         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
50717         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
50719         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50720         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
50722         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50723         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
50725         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50726         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
50728 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50730         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
50731         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
50732         multiarch strcmp for PPC64.
50733         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
50734         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
50735         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
50736         multiarch optimizations.
50737         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50738         (__libc_ifunc_impl_list): Likewise.
50740 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50742         * benchtests/scripts/validate_benchout.py: New script.
50743         * benchtests/Makefile (bench-func): Call it.
50744         * benchtests/scripts/benchout.schema.json: New file.
50746 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
50748         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
50749         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
50750         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
50751         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
50752         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
50753         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
50754         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
50755         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
50756         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
50757         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
50758         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
50759         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
50760         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
50761         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
50762         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
50763         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
50764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
50765         Moved ...
50766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
50767         ... here.
50768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
50769         Moved ...
50770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
50771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
50772         Moved ...
50773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
50774         ... here.
50775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
50776         Moved ...
50777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
50778         ... here.
50779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
50780         Moved ...
50781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
50782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
50783         Moved ...
50784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
50785         ... here.
50786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
50787         Moved ...
50788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
50789         ... here.
50790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
50791         Moved ...
50792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
50793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
50794         Moved ...
50795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
50796         ... here.
50797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
50798         Moved ...
50799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
50800         ... here.
50801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
50802         Moved ...
50803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
50804         ... here.
50805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
50806         Moved ...
50807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
50808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
50809         Moved ...
50810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
50811         ... here.
50812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
50813         Moved ...
50814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
50815         ... here.
50816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
50817         Moved ...
50818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
50819         ... here.
50820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
50821         Moved ...
50822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
50823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
50824         Moved ...
50825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
50826         ... here.
50827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
50828         Moved ...
50829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
50830         ... here.
50831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
50832         Moved ...
50833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
50834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
50835         Moved ...
50836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
50837         ... here.
50838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
50839         Moved ...
50840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
50841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
50842         Moved ...
50843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
50844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
50845         Moved ...
50846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
50847         ... here.
50848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
50849         Moved ...
50850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
50851         ... here.
50852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
50853         Moved ...
50854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
50855         ... here.
50856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
50857         Moved ...
50858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
50859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
50860         Moved ...
50861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
50862         ... here.
50863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
50864         Moved ...
50865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
50866         ... here.
50867         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
50868         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
50869         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
50870         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
50871         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
50872         Moved ...
50873         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
50874         ... here.
50875         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
50876         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
50877         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
50878         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
50879         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
50880         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
50881         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
50882         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
50883         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
50884         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
50885         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
50886         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
50887         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
50888         Moved ...
50889         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
50890         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
50891         Moved ...
50892         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
50893         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
50894         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
50895         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
50896         Moved ...
50897         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
50898         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
50899         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
50900         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
50901         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
50902         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
50903         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
50905 2014-06-10  Wilco  <wdijkstr@arm.com>
50907         * math/test-fenv-return.c: New file.
50908         * math/Makefile: Add new test test-fenv-return.
50910 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
50912         [BZ #17042]
50913         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
50914         when x - 1 is zero.
50915         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
50916         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
50917         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
50918         0.0L for an argument of 1.0L.
50919         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
50920         Likewise.
50921         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
50922         value when x - 1 is zero.
50923         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
50924         * sysdeps/i386/fpu/libm-test-ulps: Update.
50925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50927 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
50929         [BZ #15119]
50930         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
50932 2014-06-09  Roland McGrath  <roland@hack.frob.com>
50934         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
50935         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
50937 2014-06-09  Roland McGrath  <roland@hack.frob.com>
50939         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50940         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
50942         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50943         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
50945         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50946         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
50948         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50949         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
50951         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
50952         if not already defined.
50953         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
50954         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
50955         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
50956         (TLS_INIT_TP): Use it.
50957         (TLS_DEFINE_INIT_TP): New macro.
50958         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
50960 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
50962         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
50963         constant.
50964         [POSIX] (IXANY): Likewise.
50965         [POSIX] (OLCUC): Likewise.
50966         [POSIX || POSIX2008] (CBAUD): Do not allow.
50967         [POSIX || POSIX2008] (DEFECHO): Likewise.
50968         [POSIX || POSIX2008] (ECHOCTL): Likewise.
50969         [POSIX || POSIX2008] (ECHOKE): Likewise.
50970         [POSIX || POSIX2008] (ECHOPRT): Likewise.
50971         [POSIX || POSIX2008] (EXTA): Likewise.
50972         [POSIX || POSIX2008] (EXTB): Likewise.
50973         [POSIX || POSIX2008] (FLUSHO): Likewise.
50974         [POSIX || POSIX2008] (LOBLK): Likewise.
50975         [POSIX || POSIX2008] (PENDIN): Likewise.
50976         [POSIX || POSIX2008] (SWTCH): Likewise.
50977         [POSIX || POSIX2008] (VDISCARD): Likewise.
50978         [POSIX || POSIX2008] (VDSUSP): Likewise.
50979         [POSIX || POSIX2008] (VLNEXT): Likewise.
50980         [POSIX || POSIX2008] (VREPRINT): Likewise.
50981         [POSIX || POSIX2008] (VSTATUS): Likewise.
50982         [POSIX || POSIX2008] (VWERASE): Likewise.
50983         (B*): Change to B[0123456789]*.
50984         * conform/data/time.h-data [POSIX || UNIX98]
50985         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
50986         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50987         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
50988         [POSIX] (tm_*): Do not allow.
50990 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
50992         * Makefile (install): Don't set LANGUAGE.
50993         * Makefile.in (install): Likewise.
50994         * assert/Makefile (test-assert-ENV): Remove variable.
50995         (test-assert-perr-ENV): Likewise.
50996         * elf/Makefile (neededtest4-ENV): Likewise.
50997         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50998         [$(cross-compiling) = no]: Don't set LANGUAGE.
50999         * io/ftwtest-sh (LANG): Remove variable.
51000         * libio/Makefile (tst-widetext-ENV): Likewise.
51001         * manual/install.texi (Running make install): Don't refer to
51002         environment settings for make install.
51003         * INSTALL: Regenerated.
51004         * nptl/tst-tls6.sh: Don't set LANG.
51005         * posix/globtest.sh (LANG): Remove variable.
51006         * string/Makefile (tester-ENV): Likewise.
51007         (inl-tester-ENV): Likewise.
51008         (noinl-tester-ENV): Likewise.
51009         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51010         [$(cross-compiling) = no]: Don't set LANGUAGE.
51011         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
51012         without explicit environment settings.
51014 2014-06-06  Roland McGrath  <roland@hack.frob.com>
51016         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
51017         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
51018         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
51019         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
51021 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
51023         * crypt/crypt-private.h [DOS]: Add some includes taken from the
51024         other files in the crypt directory.
51025         * crypt/crypt.c: Remove duplicate includes.
51026         * crypt/crypt-entry.c: Likewise.
51027         * crypt/crypt_util.c: Likewise.
51029 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
51031         * Makeconfig (run-program-env): New variable.
51032         (run-program-prefix-before-env): Likewise.
51033         (run-program-prefix-after-env): Likewise.
51034         (run-program-prefix): Define in terms of new variables.
51035         (built-program-cmd-before-env): New variable.
51036         (built-program-cmd-after-env): Likewise.
51037         (built-program-cmd): Define in terms of new variables.
51038         (test-program-prefix-before-env): New variable.
51039         (test-program-prefix-after-env): Likewise.
51040         (test-program-prefix): Define in terms of new variables.
51041         (test-program-cmd-before-env): New variable.
51042         (test-program-cmd-after-env): Likewise.
51043         (test-program-cmd): Define in terms of new variables.
51044         * Rules (make-test-out): Use $(run-program-env).
51045         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
51046         (help): Do not mention environment variables.  Mention
51047         --timeoutfactor option.
51048         (timeoutfactor): New variable.
51049         (blacklist_exports): Remove function.
51050         (exports): Remove variable.
51051         (command): Do not include ${exports}.
51052         * manual/install.texi (Configuring and compiling): Do not mention
51053         test wrappers preserving environment variables.  Mention that last
51054         assignment to a variable must take precedence.
51055         * INSTALL: Regenerated.
51056         * benchtests/Makefile (run-bench): Use $(run-program-env).
51057         * catgets/Makefile ($(objpfx)test1.cat): Use
51058         $(built-program-cmd-before-env), $(run-program-env) and
51059         $(built-program-cmd-after-env).
51060         ($(objpfx)test2.cat): Do not specify environment variables
51061         explicitly.
51062         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
51063         $(run-program-env) and $(built-program-cmd-after-env).
51064         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
51065         $(run-program-env) and $(test-program-cmd-after-env).
51066         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
51067         explicitly.
51068         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
51069         run_program_env and test_program_cmd_after_env arguments.
51070         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
51071         * elf/tst-pathopt.sh: Use run_program_env argument.
51072         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
51073         $(test-wrapper-env) and $(run-program-env).
51074         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
51075         run_program_env arguments.
51076         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
51077         * intl/Makefile ($(objpfx)tst-gettext.out): Use
51078         $(test-program-prefix-before-env), $(run-program-env) and
51079         $(test-program-prefix-after-env).
51080         ($(objpfx)tst-gettext2.out): Likewise.
51081         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
51082         run_program_env and test_program_prefix_after_env arguments.
51083         * intl/tst-gettext2.sh: Likewise.
51084         * intl/tst-gettext4.sh: Do not set environment variables
51085         explicitly.
51086         * intl/tst-gettext6.sh: Likewise.
51087         * intl/tst-translit.sh: Likewise.
51088         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
51089         $(test-program-prefix-before-env), $(run-program-env) and
51090         $(test-program-prefix-after-env).
51091         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
51092         run_program_env and test_program_prefix_after_env arguments.
51093         * math/Makefile (run-regen-ulps): Use $(run-program-env).
51094         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
51095         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
51096         explicitly with each use of ${test_wrapper_env}.
51097         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
51098         $(test-program-prefix-before-env), $(run-program-env) and
51099         $(test-program-prefix-after-env).
51100         * posix/tst-getconf.sh: Do not set environment variables
51101         explicitly.
51102         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
51103         run_program_env and test_program_prefix_after_env arguments.
51104         * stdio-common/tst-printf.sh: Do not set environment variables
51105         explicitly.
51106         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
51107         $(test-program-prefix-before-env), $(run-program-env) and
51108         $(test-program-prefix-after-env).
51109         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
51110         run_program_env and test_program_prefix_after_env arguments.
51111         Split $test calls into $test_pre and $test.
51112         * timezone/Makefile (build-testdata): Use
51113         $(built-program-cmd-before-env), $(run-program-env) and
51114         $(built-program-cmd-after-env).
51116 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51118         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
51119         strlen for non SHARED builds.
51121 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51123         * nptl/allocatestack.c (check_list): Inlined function...
51124         (__reclaim_stacks): ... here.
51126 2014-06-05  Ondƙej BĂ­lka  <neleai@seznam.cz>
51128         [BZ #15698]
51129         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
51130         memory overrun.
51132 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
51134         * Rules (make-test-out): Include
51135         LOCPATH=$(common-objpfx)localedata in default environment.
51136         * debug/Makefile (tst-chk1-ENV): Remove variable.
51137         (tst-chk2-ENV): Likewise.
51138         (tst-chk3-ENV): Likewise.
51139         (tst-chk4-ENV): Likewise.
51140         (tst-chk5-ENV): Likewise.
51141         (tst-chk6-ENV): Likewise.
51142         (tst-lfschk1-ENV): Likewise.
51143         (tst-lfschk2-ENV): Likewise.
51144         (tst-lfschk3-ENV): Likewise.
51145         (tst-lfschk4-ENV): Likewise.
51146         (tst-lfschk5-ENV): Likewise.
51147         (tst-lfschk6-ENV): Likewise.
51148         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
51149         (tst-iconv7-ENV): Likewise.
51150         * intl/Makefile (LOCPATH-ENV): Likewise.
51151         (tst-codeset-ENV): Likewise.
51152         (tst-gettext3-ENV): Likewise.
51153         (tst-gettext5-ENV): Likewise.
51154         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
51155         (tst-fopenloc-ENV): Likewise.
51156         (tst-fgetws-ENV): Remove variable.
51157         (tst-ungetwc1-ENV): Likewise.
51158         (tst-ungetwc2-ENV): Likewise.
51159         (bug-ungetwc2-ENV): Likewise.
51160         (tst-swscanf-ENV): Likewise.
51161         (bug-ftell-ENV): Likewise.
51162         (tst-fgetwc-ENV): Likewise.
51163         (tst-fseek-ENV): Likewise.
51164         (tst-ftell-partial-wide-ENV): Likewise.
51165         (tst-ftell-active-handler-ENV): Likewise.
51166         (tst-ftell-append-ENV): Likewise.
51167         * posix/Makefile (tst-fnmatch-ENV): Likewise.
51168         (tst-regexloc-ENV): Likewise.
51169         (bug-regex1-ENV): Likewise.
51170         (tst-regex-ENV): Likewise.
51171         (tst-regex2-ENV): Likewise.
51172         (bug-regex5-ENV): Likewise.
51173         (bug-regex6-ENV): Likewise.
51174         (bug-regex17-ENV): Likewise.
51175         (bug-regex18-ENV): Likewise.
51176         (bug-regex19-ENV): Likewise.
51177         (bug-regex20-ENV): Likewise.
51178         (bug-regex22-ENV): Likewise.
51179         (bug-regex23-ENV): Likewise.
51180         (bug-regex25-ENV): Likewise.
51181         (bug-regex26-ENV): Likewise.
51182         (bug-regex30-ENV): Likewise.
51183         (bug-regex32-ENV): Likewise.
51184         (bug-regex33-ENV): Likewise.
51185         (bug-regex34-ENV): Likewise.
51186         (bug-regex35-ENV): Likewise.
51187         (tst-rxspencer-ENV): Likewise.
51188         (tst-rxspencer-no-utf8-ENV): Likewise.
51189         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
51190         (tst-sscanf-ENV): Likewise.
51191         (tst-swprintf-ENV): Likewise.
51192         (tst-swscanf-ENV): Likewise.
51193         (test-vfprintf-ENV): Likewise.
51194         (scanf13-ENV): Likewise.
51195         (bug14-ENV): Likewise.
51196         (tst-grouping-ENV): Likewise.
51197         * stdlib/Makefile (tst-strtod-ENV): Likewise.
51198         (tst-strtod3-ENV): Likewise.
51199         (tst-strtod4-ENV): Likewise.
51200         (tst-strtod5-ENV): Likewise.
51201         (testmb2-ENV): Likewise./
51202         * string/Makefile (tst-strxfrm-ENV): Likewise.
51203         (tst-strxfrm2-ENV): Likewise.
51204         (bug-strcoll1-ENV): Likewise.
51205         (test-strcasecmp-ENV): Likewise.
51206         (test-strncasecmp-ENV): Likewise.
51207         * time/Makefile (tst-strptime-ENV): Likewise.
51208         (tst-ftime_l-ENV): Likewise.
51209         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
51210         (tst-mbrtowc-ENV): Likewise.
51211         (tst-wcrtomb-ENV): Likewise.
51212         (tst-mbrtowc2-ENV): Likewise.
51213         (tst-c16c32-1-ENV): Likewise.
51214         (tst-mbsnrtowcs-ENV): Likewise.
51216 2014-06-05  Ondƙej BĂ­lka  <neleai@seznam.cz>
51218         * manual/resource.texi (How to get information about the memory
51219         subsystem?): Fix typo.
51220         Reported by Peon de la Parra Ivan <peon@keba.com>
51222 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
51224         [BZ #16882]
51225         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
51226         (pthread_spin_lock): Branch out of spin loop to proper location.
51227         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
51228         (pthread_spin_lock): Likewise.
51230         * nptl/tst-spin4.c: New test.
51231         * nptl/Makefile (tests): Add tst-spin4.
51233 2014-06-03  Andreas Schwab  <schwab@suse.de>
51235         [BZ #15946]
51236         * resolv/res_send.c (send_dg): Reload file descriptor after
51237         calling reopen.
51239 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
51241         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51243 2014-06-03  Richard Henderson  <rth@redhat.com>
51245         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
51246         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
51247         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
51248         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
51249         in the SAVE_PID block.
51250         (__libc_vfork): New alias.
51251         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
51253         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
51254         child in registers, not on the stack.  Remove RESET_PID conditionals.
51255         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
51257 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51259         * sysdeps/aarch64/libm-test-ulps: Regenerate.
51261 2014-06-03  Wilco  <wdijkstr@arm.com>
51263         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
51264         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
51265         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51266         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
51267         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
51268         Likewise.
51270 2014-06-03  Wilco  <wdijkstr@arm.com>
51272         * sysdeps/aarch64/fpu/math_private.h
51273         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
51274         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
51275         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
51276         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51277         Fix declarations.
51279 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
51281         * crypt/crypt-private.h: Include ufc-crypt.h.
51282         (__b64_from_24bit): Declare extern.
51283         * crypt/crypt_util.c(__b64_from_24bit): New function.
51284         (b64t): New static const variable.
51285         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
51286         (b64t): Remove variable.
51287         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
51288         * crypt/sha256-crypt.c: Include crypt-private.h.
51289         (b64t): Remove variable.
51290         (__sha256_crypt_r): Remove b64_from_24bit and replace
51291         with __b64_from_24bit.
51292         * crypt/sha512-crypt.c: Likewise.
51294 2014-06-02  Roland McGrath  <roland@hack.frob.com>
51296         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
51297         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
51298         Label the code __libc_vfork rather than __vfork.
51299         [!NOT_IN_libc] (vfork): Define as weak alias.
51300         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
51301         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
51302         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
51304 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51306         * malloc/malloc.c (malloc_info): Fix format specifier for
51307         n_mmaps.
51309 2014-06-02  Wilco  <wdijkstr@arm.com>
51311         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
51312         FPCR write.
51314 2014-06-02  Wilco  <wdijkstr@arm.com>
51316         [BZ #17009]
51317         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
51318         Rewrite to reduce FPCR/FPSR accesses.
51320 2014-06-01  David S. Miller  <davem@davemloft.net>
51322         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51324 2014-05-31  David S. Miller  <davem@davemloft.net>
51326         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
51327         to occur in round to nearest mode when |x| >= 2.0
51329 2014-05-30  Richard Henderson  <rth@twiddle.net>
51331         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
51332         (PSEUDO_RET_NOERRNO): Remove.
51333         (ret): Don't redefine.
51334         (ret_NOERRNO): Define in terms of ret.
51335         (ret_ERRVAL): Likewise.
51337         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
51338         use of PSEUDO_RET; perform the error check directly.
51340 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
51342         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
51343         with __int128_t.
51345 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51347         * malloc/malloc (malloc_info): Fix formatting.
51349 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51350             Roland McGrath  <roland@hack.frob.com>
51352         * malloc/malloc (malloc_info): Also print mmapped statistics.
51354 2014-05-30  Roland McGrath  <roland@hack.frob.com>
51356         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
51357         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
51359 2014-05-30  Ondƙej BĂ­lka  <neleai@seznam.cz>
51361         * malloc/malloc.c (malloc_info): Inline mi_arena.
51363 2014-05-29  Richard Henderson  <rth@twiddle.net>
51365         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
51366         Remove comma before expanding ASM_ARGS_##nr.
51367         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
51368         Make _x0 a strict output; make _x8 a strict input; adjust expansion
51369         of ASM_ARGS_##nr.
51370         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
51371         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
51372         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
51373         (ASM_ARGS_1): Add leading comma.
51375         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
51376         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
51377         to __errno_location.
51378         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
51379         Remove the expected plt for __errno_location.
51381         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51382         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
51383         call to __read_tp.
51385         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51386         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
51387         it and break it down.
51388         (DOCARGS_0, DOCARGS_1): Do nothing.
51389         (DOCARGS_2): Update to store into the new stack frame.
51390         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
51391         (UNDOCARGS_1): Update to restore from the new stack frame.
51392         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
51393         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
51395         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51396         (SINGLE_THREAD_P): New parameter for result regno.
51397         (PSEUDO): Update to match; use cbz instead of beq.
51399         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51400         Use ENTRY to define the _nocancel entry point.  Share the syscall
51401         and syscall error check paths with the cancel path.
51402         (PSEUDO_END): New.
51404         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
51405         whitespace; tabs before and after asm mnemonics.
51407 2014-05-29  Eric Wong  <normalperson@yhbt.net>
51409         [BZ #15132]
51410         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51411         Call fstat64 or stat64 internally, depending on arguments passed.
51412         Replace stat buffer argument with file descriptor argument.
51413         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
51414         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
51415         Pass fd to __internal_statvfs instead of calling fstat64.
51416         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
51417         Pass fd to __internal_statvfs64 instead of calling fstat64.
51418         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
51419         Pass -1 to __internal_statvfs instead of calling stat64.
51420         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
51421         Pass -1 to __internal_statvfs64 instead of calling stat64.
51423 2014-05-28  Roland McGrath  <roland@hack.frob.com>
51425         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
51426         that was previously under [RESET_PID].
51427         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
51429         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
51430         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
51432 2014-05-27  Roland McGrath  <roland@hack.frob.com>
51434         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
51436         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
51437         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
51439 2014-05-27  Ondƙej BĂ­lka  <neleai@seznam.cz>
51441         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
51443 2014-05-27  Andreas Schwab  <schwab@suse.de>
51445         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
51446         TLS_INIT_TP macro.
51447         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
51448         * elf/rtld.c (init_tls, dl_main): Likewise.
51449         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
51450         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
51451         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
51452         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
51453         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
51454         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
51455         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
51456         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
51457         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
51458         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
51459         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
51460         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
51461         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
51462         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
51463         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
51464         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
51465         * sysdeps/generic/tls.h: Update description.
51467 2014-05-27  Will Newton  <will.newton@linaro.org>
51469         [BZ #16990]
51470         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
51471         and restore r2 rather than just restoring.
51473 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51475         [BZ #16724]
51476         * libio/tst-ftell-append.c: New test case.
51477         * libio/Makefile (tests): Add test case.
51478         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
51479         append mode.
51480         * libio/wfileops.c (do_ftell_wide): Likewise.
51482 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51484         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51486         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
51487         ...
51488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
51489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51490         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
51491         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
51492         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
51493         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
51494         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
51495         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
51496         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
51497         Moved ...
51498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
51499         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
51500         Moved ...
51501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
51502         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
51503         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
51504         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
51505         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
51506         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
51507         ...
51508         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
51509         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
51510         Moved ...
51511         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
51512         here.
51513         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
51514         ...
51515         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
51516         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
51517         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
51519         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
51520         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
51521         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
51522         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
51524         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
51525         merge into ...
51526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
51527         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
51528         ...
51529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
51530         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
51531         ...
51532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
51533         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51534         Moved ...
51535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
51536         here.
51537         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51538         Moved ...
51539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
51540         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51541         Moved ...
51542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
51544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
51545         conditional [RESET_PID].
51546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
51547         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
51548         removed.
51549         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
51550         removed.
51552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
51553         <tcb-offsets.h>.
51554         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51555         (__libc_vfork): New strong alias.
51556         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
51557         removed.
51558         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
51559         Removed.
51561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
51562         <tcb-offsets.h>.
51563         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
51564         (__libc_vfork): New strong alias.
51565         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
51566         removed.
51567         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
51568         removed.
51570 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
51572         * malloc/malloc.c (mi_arena): New function.
51573         (malloc_info): Remove nested function mi_arena. Call non-nosted
51574         function mi_arena.
51576 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51578         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
51579         by insrwi.
51580         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
51581         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
51582         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
51583         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
51584         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
51585         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
51586         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
51588 2014-05-26  Andreas Schwab  <schwab@suse.de>
51590         [BZ #16984]
51591         * locale/programs/repertoire.c (repertoire_read): Add slash
51592         between I18NPATH element and file name.
51593         * locale/programs/locfile.c (locfile_read): Likewise.
51595 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
51597         * nptl/pthread_mutexattr_settype.c
51598         (__pthread_mutexattr_settype):
51599         Disable lock elision for PTHREAD_MUTEX_NORMAL.
51601 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
51603         * nptl/tst-mutex5 (do_test):
51604         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
51606 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51608         * benchtests/README: Document 'init' directive.
51609         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
51610         BENCH_INIT.
51611         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
51612         (parse_file): Recognize 'init' directive.
51614 2014-05-26  Kyle McMartin  <kyle@redhat.com>
51616         [BZ #16796]
51617         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
51618         alignment of struct pthread.
51620 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51622         [BZ #16878]
51623         * nscd/netgroupcache.c (addgetnetgrentX): Look for
51624         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51625         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
51626         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51628 2014-05-25  Richard Henderson  <rth@twiddle.net>
51630         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51631         (SINGLE_THREAD_P_PIC): Remove.
51632         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
51633         (SINGLE_THREAD_P_PIC): Remove.
51635         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
51636         branch to syscall error ...
51637         (PSEUDO): ... here.
51638         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
51639         from __local_syscall_error to .Lsyscall_error.
51640         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
51641         (SYSCALL_ERROR): Update label name.
51643         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51644         Do not use DOARGS/UNDOARGS.
51645         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
51646         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
51647         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
51648         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
51649         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
51651         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
51652         block comment.
51654         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
51655         define if !NOT_IN_libc.
51656         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
51657         define with non-default symbol versions.
51659 2014-05-23  Richard Henderson  <rth@twiddle.net>
51661         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
51662         (vfork, __vfork): Define via compat_symbol.
51664         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
51665         [!HAVE_IFUNC] (vfork_compat): Remove.
51666         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
51668 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
51670         [BZ #16978]
51671         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
51672         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
51673         variable.
51675 2014-05-23  Richard Henderson  <rth@twiddle.net>
51677         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
51678         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
51679         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
51680         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
51682         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
51683         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
51684         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
51685         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
51686         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
51687         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
51688         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
51689         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
51690         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
51691         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
51692         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
51693         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
51694         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
51695         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
51696         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
51697         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
51698         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
51699         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
51700         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
51701         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
51702         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
51703         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
51704         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
51705         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
51706         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
51707         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
51708         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
51709         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
51710         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
51711         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
51712         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
51713         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
51714         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
51715         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
51716         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
51717         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
51718         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
51719         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
51720         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
51721         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
51722         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
51723         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
51724         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
51725         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
51726         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
51727         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
51728         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
51729         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
51730         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
51731         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
51732         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
51733         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
51734         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
51735         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
51736         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
51737         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
51739         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
51740         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
51741         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
51742         before exiting on error.
51743         (__libc_vfork): New strong alias.
51744         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
51745         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
51747         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
51748         that was previously under [RESET_PID].
51749         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
51751         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
51753 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
51755         [BZ #16977]
51756         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
51757         value when x - 1 is zero.
51758         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
51759         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
51760         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
51761         0.0L for an argument of 1.0L.
51762         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
51763         Likewise.
51764         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
51765         value when x - 1 is zero.
51766         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
51767         * sysdeps/i386/fpu/libm-test-ulps: Update.
51768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51770 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
51772         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
51773         alphasort and versionsort.
51775 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51777         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
51778         macro.
51779         [copysignf]: Likewise.
51781 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51783         * crypt/md5-crypt.c: Fix formatting.
51785 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
51787         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
51788         (b64_from_24bit): New function.
51790 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51792         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
51793         libc_hidden_builtin_def to ifunc.
51794         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51795         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
51797 2014-05-21  Roland McGrath  <roland@hack.frob.com>
51799         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
51800         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
51802 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
51804         * nscd/Depend (linuxthreads): Remove.
51805         (nptl): Add.
51806         * resolv/Depend (linuxthreads): Remove.
51807         * rt/Depend (linuxthreads): Remove.
51809         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
51810         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
51811         $(common-objpfx)elf/.
51812         (link-libc-before-gnulib): Likewise.
51813         (elfobjdir): Remove variable.
51814         * Makefile (install): Use $(elf-objpfx) instead of
51815         $(common-objpfx)elf/.
51816         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
51817         $(elfobjdir)/.
51818         (link-libc-deps): Likewise.
51819         ($(common-objpfx)libc.so): Likewise.
51820         ($(common-objpfx)linkobj/libc.so): Likewise.
51821         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
51822         instead of $(common-objpfx)elf/.
51823         (symbolic-link-list): Likewise.
51824         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51825         [$(cross-compiling) = no]: Likewise.
51826         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
51827         $(elfobjdir)/.
51828         (static-gnulib-arch): Likewise.
51829         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51830         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
51831         $(common-objpfx)elf/.
51833 2014-05-21  Richard Henderson  <rth@redhat.com>
51835         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51836         (SINGLE_THREAD_P): Use the correct width load.  Fold
51837         into the ldr offset.
51839         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
51840         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
51842 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
51844         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
51845         (libgcc_s_resume): Use __attribute_used__.
51846         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
51847         Likewise.
51849 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51851         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
51852         optimization when used with float constants.
51854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51856 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
51858         [BZ #16915]
51859         * locale/nl_langinfo_l.c: Make direct reference to every
51860         _nl_current_CATEGORY symbol.
51861         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
51862         (tests-static): Add tst-langinfo-static.
51863         (tests-special): Add tst-langinfo-static.out.
51864         ($(objpfx)tst-langinfo.out): Redirect output.
51865         ($(objpfx)tst-langinfo-static.out): New.
51866         * localedata/tst-langinfo.sh: Send output to stdout.
51867         * localedata/tst-langinfo-static.c: New file.
51869         [BZ #16965]
51870         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
51871         when the shift amount is modulo the limb size.
51873 2014-05-20  Richard Henderson  <rth@redhat.com>
51875         [BZ #16967]
51876         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
51877         Change type of sa_flags from unsigned int to int.
51879         [BZ #16966]
51880         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
51882         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
51884 2014-05-20  Will Newton  <will.newton@linaro.org>
51886         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51887         Test the return value of the system call in the nocancel case.
51889 2014-05-20  Will Newton  <will.newton@linaro.org>
51890             Yvan Roux  <yvan.roux@linaro.org>
51892         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
51893         #include of asm/ptrace.h.
51894         (PTRACE_GET_THREAD_AREA): Remove #undef.
51895         (PTRACE_GETHBPREGS): Likewise.
51896         (PTRACE_SETHBPREGS): Likewise.
51897         (struct user_regs_struct): New structure.
51898         (struct user_fpsimd_struct): New structure.
51899         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
51900         #include of asm/ptrace.h and second #include of sys/user.h.
51901         (PTRACE_GET_THREAD_AREA): Remove #undef.
51902         (PTRACE_GETHBPREGS): Likewise.
51903         (PTRACE_SETHBPREGS): Likewise.
51904         (ELF_NGREG): Use new struct user_regs_struct.
51905         (elf_fpregset_t): Use new struct user_fpsimd_struct.
51907 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51909         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
51910         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
51912 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
51914         [BZ #16958]
51915         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
51916         membar to avoid block loads/stores to overlap previous stores.
51918 2014-05-17  Richard Henderson  <rth@redhat.com>
51920         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
51921         Create the __##syscall_name##_nocancel entry point.
51922         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
51923         Remove; let the sysdep-cancel.h code create it.
51925 2014-05-17  David S. Miller  <davem@davemloft.net>
51927         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
51928         Protect with __USE_GNU.
51929         (TIOCSET_TEMPT): Likewise.
51930         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
51931         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
51932         these are already provided in bits/ioctl-types.h
51934 2014-05-16  Roland McGrath  <roland@hack.frob.com>
51936         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
51937         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
51939         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
51940         Use wait4 regardless of [__NR_waitpid].
51942 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
51944         PR libgcc/60166
51945         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
51946         (_FP_NANSIGN_Q): Set the quiet bit.
51948 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
51950         * benchtests/Makefile
51951         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
51952         not $(common-objpfx)math/libm.so.
51953         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
51954         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
51955         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
51956         $(common-objpfx)dlfcn/libdl.so.
51957         ($(objpfx)tst-audit8): Depend on $(libm), not
51958         $(common-objpfx)math/libm.so.
51959         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
51960         not $(common-objpfx)dlfcn/libdl.so.
51961         * math/Makefile
51962         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
51963         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
51964         [$(build-shared) = yes].
51965         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
51966         $(common-objpfx)nptl/libpthread.so.
51967         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
51968         $(common-objpfx)math/libm.so$(libm.so-version) or
51969         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
51970         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
51971         $(common-objpfx)dlfcn/libdl.so.
51972         * setjmp/Makefile (link-libm): Remove variable.
51973         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
51974         * stdio-common/Makefile (link-libm): Remove variable.
51975         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
51976         * stdlib/Makefile (link-libm): Remove variable.
51977         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
51978         ($(objpfx)tst-strtod-round): Likewise.
51979         ($(objpfx)tst-tininess): Likewise.
51980         ($(objpfx)tst-strtod-underflow): Likewise.
51981         ($(objpfx)tst-strtod6): Likewise.
51982         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
51983         $(libdl), not $(common-objpfx)nptl/libpthread.so and
51984         $(common-objpfx)dlfcn/libdl.so.
51986 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51988         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
51989         BSD terminal modes definitions.
51991 2014-05-16  Roland McGrath  <roland@hack.frob.com>
51993         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
51994         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
51996         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
51997         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
51998         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
51999         Don't do #include_next.
52000         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
52001         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
52002         Don't do #include_next.
52003         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
52004         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
52005         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
52006         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
52008 2014-05-16  Allan McRae  <allan@archlinux.org>
52010         * po/sv.po: Update Swedish translation from translation project.
52012         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
52013         in sed expression.
52015 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
52017         [BZ #16917]
52018         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
52019         errno if the TIOCGPTN ioctl fails with an error different than
52020         EINVAL.
52021         * login/tst-ptsname.c: New file.
52022         * login/Makefile (tests): Add tst-ptsname.
52024         [BZ #16943]
52025         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
52026         and prlimit64.
52028 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52030         [BZ #16849]
52031         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
52032         herrno to return EAI_AGAIN.
52034 2014-05-14  Roland McGrath  <roland@hack.frob.com>
52036         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
52037         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
52038         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
52039         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
52040         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
52041         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
52042         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
52043         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
52044         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
52045         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
52046         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
52047         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
52048         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
52049         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
52050         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
52051         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
52052         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
52053         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
52054         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
52055         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
52056         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
52057         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
52058         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
52059         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
52060         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
52061         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
52062         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
52063         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
52064         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
52065         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
52066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
52067         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
52068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
52069         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
52070         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52071         Moved ...
52072         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
52073         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
52074         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
52075         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
52076         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
52077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
52078         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
52079         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
52080         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
52081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
52082         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
52083         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
52084         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
52085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
52086         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
52087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
52088         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
52089         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
52090         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
52091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
52092         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
52093         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
52094         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
52095         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
52096         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
52097         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
52098         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
52099         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
52100         Moved ...
52101         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
52102         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
52103         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
52104         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
52105         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
52106         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
52107         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
52108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
52109         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
52110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
52111         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
52112         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
52113         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
52114         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
52115         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
52116         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
52117         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
52118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
52119         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
52120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
52121         Moved ...
52122         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
52123         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
52124         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
52126         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
52127         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
52128         (libpthread-sysdep_routines): Add elision-related stuff here instead.
52129         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
52130         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
52131         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
52132         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
52133         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
52134         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
52135         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
52136         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
52137         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
52138         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
52139         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
52140         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
52141         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
52142         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
52143         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
52144         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
52145         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
52146         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
52147         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
52148         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
52149         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
52150         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
52151         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
52152         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
52153         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
52154         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
52155         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
52156         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
52158         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
52159         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
52161         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
52162         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
52163         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
52164         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
52165         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
52166         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
52167         Moved ...
52168         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
52169         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
52170         Moved ...
52171         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
52172         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
52173         Moved ...
52174         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
52175         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
52176         Moved ...
52177         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
52178         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
52179         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
52180         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
52181         Moved ...
52182         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
52183         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
52184         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
52185         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
52186         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
52187         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
52188         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
52189         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
52190         Moved ...
52191         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
52192         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52193         Moved ...
52194         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52195         ... here.
52196         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
52197         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
52198         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
52199         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
52200         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52201         Moved ...
52202         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52203         ... here.
52204         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
52205         Moved ...
52206         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
52207         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
52208         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
52209         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
52210         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
52211         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
52212         Moved ...
52213         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
52214         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
52215         Moved ...
52216         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
52217         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
52218         Moved ...
52219         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
52220         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
52221         Moved ...
52222         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
52223         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
52224         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
52225         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
52226         Moved ...
52227         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
52228         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
52229         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
52230         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
52231         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
52232         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
52233         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
52234         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
52235         Moved ...
52236         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
52237         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52238         Moved ...
52239         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52240         ... here.
52241         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
52242         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
52243         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
52244         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
52245         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52246         Moved ...
52247         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52248         ... here.
52249         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
52250         Moved ...
52251         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
52252         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
52253         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
52254         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
52255         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
52256         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
52257         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
52258         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
52259         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
52260         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
52261         Moved ...
52262         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
52263         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
52264         Moved ...
52265         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
52266         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
52267         Moved ...
52268         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
52269         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
52270         Moved ...
52271         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
52272         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
52273         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
52274         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
52275         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
52276         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
52277         Moved ...
52278         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
52279         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
52280         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
52281         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
52282         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
52283         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
52284         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
52285         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
52286         Moved ...
52287         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
52288         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52289         Moved ...
52290         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52291         ... here.
52292         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
52293         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
52294         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
52295         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
52296         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52297         Moved ...
52298         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52299         ... here.
52300         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
52301         Moved ...
52302         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
52303         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
52304         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
52305         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
52306         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
52307         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
52308         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
52309         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
52310         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
52311         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
52312         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
52314         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
52315         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
52317         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
52318         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
52320         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
52321         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
52322         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
52323         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
52324         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
52325         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
52326         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
52327         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
52328         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
52329         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
52330         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
52331         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
52332         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
52333         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
52334         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
52335         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
52336         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
52337         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
52338         Moved ...
52339         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
52340         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
52341         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
52342         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
52343         Moved ...
52344         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
52345         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
52346         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
52347         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
52348         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
52349         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
52350         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
52351         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
52352         Moved ...
52353         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
52354         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
52355         Moved ...
52356         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
52357         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
52358         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
52359         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
52360         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
52361         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
52362         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
52363         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
52364         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
52365         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
52366         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
52367         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
52368         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
52369         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
52370         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
52371         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
52372         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
52374         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
52375         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
52376         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
52377         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
52378         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
52380         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
52381         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
52382         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
52383         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
52384         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
52385         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
52386         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
52387         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
52388         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
52389         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
52391         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
52392         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
52394         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
52395         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
52396         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
52397         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
52398         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
52399         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
52400         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
52401         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
52402         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
52403         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
52404         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
52405         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
52406         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
52407         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
52408         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
52409         Update #include.
52410         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
52411         Likewise.
52412         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
52413         Likewise.
52414         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
52415         Likewise.
52416         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
52417         Likewise.
52418         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
52419         Likewise.
52420         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
52421         Likewise.
52422         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
52423         Likewise.
52424         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
52425         Likewise.
52426         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
52427         Likewise.
52428         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
52429         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
52430         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
52431         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
52432         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
52433         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
52434         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
52435         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
52436         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
52437         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
52438         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
52439         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
52440         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
52441         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
52442         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
52444         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
52445         that was previously under [RESET_PID].
52446         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
52447         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
52448         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
52450         * sysdeps/i386/nptl/Implies: New file.
52451         * sysdeps/x86_64/nptl/Implies: New file.
52452         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
52453         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
52454         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
52455         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
52457         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
52458         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52459         (__libc_vfork): New strong alias.
52460         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
52461         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
52463         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
52464         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52465         (__libc_vfork): New strong alias.
52466         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
52467         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
52469         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
52470         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52471         (__libc_vfork): New strong alias.
52472         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
52473         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
52474         * nptl/pt-vfork.c: New file.
52475         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
52476         (libpthread: GLIBC_2.20): New version set (empty).
52478 2014-05-14  Will Newton  <will.newton@linaro.org>
52480         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
52481         rather than #if.
52483 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
52485         [BZ #16564]
52486         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
52487         arguments with exponent 65 or above.
52488         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
52489         arguments 0x1p113L or above.
52490         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
52491         to arguments 0x1p107L or above.
52492         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
52493         positive arguments with exponent 65 or above.
52494         * math/auto-libm-test-in: Add more tests of log1p.
52495         * math/auto-libm-test-out: Regenerated.
52497         [BZ #16928]
52498         * math/s_cacos.c (__cacos): Ensure zero real part of result from
52499         non-finite arguments is +0.
52500         * math/s_cacosf.c (__cacosf): Likewise.
52501         * math/s_cacosl.c (__cacosl): Likewise.
52502         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
52503         * sysdeps/i386/fpu/libm-test-ulps: Update.
52504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52506         [BZ #16927]
52507         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
52508         value.
52509         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
52510         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
52511         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
52512         for explicit high bit of mantissa when testing for argument equal
52513         to 1.
52514         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
52515         * sysdeps/i386/fpu/libm-test-ulps: Update.
52516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52518         [BZ #16516]
52519         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
52520         (__erf): Scale by 16 instead of 8 in potentially underflowing
52521         case.  Ensure exception if result actually underflows.
52522         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
52523         (__erff): Scale by 16 instead of 8 in potentially underflowing
52524         case.  Ensure exception if result actually underflows.
52525         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
52526         (efx8): Remove variable.
52527         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52528         case.  Ensure exception if result actually underflows.
52529         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
52530         (efx8): Remove variable.
52531         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52532         case.  Ensure exception if result actually underflows.
52533         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
52534         (efx8): Remove variable.
52535         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52536         case.  Ensure exception if result actually underflows.
52537         * math/auto-libm-test-in: Add more tests of erf.
52538         * math/auto-libm-test-out: Regenerated.
52540 2014-05-14  Andreas Schwab  <schwab@suse.de>
52542         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
52543         Remove code conditionalized on USE___THREAD.
52545         * config.h.in (HAVE_PT_CHOWN): Define as 0.
52546         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
52547         not definedness.
52549 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
52551         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
52552         Define unconditionally.
52553         (__ASSUME_O_CLOEXEC): Likewise.
52554         (__ASSUME_SOCK_CLOEXEC): Likewise.
52555         (__ASSUME_IN_NONBLOCK): Likewise.
52556         (__ASSUME_PIPE2): Likewise.
52557         (__ASSUME_EVENTFD2): Likewise.
52558         (__ASSUME_SIGNALFD4): Likewise.
52559         (__ASSUME_DUP3): Likewise.
52560         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52561         (__ASSUME_DUP3): Do not define.
52562         (__ASSUME_EVENTFD2): Likewise.
52563         (__ASSUME_IN_NONBLOCK): Likewise.
52564         (__ASSUME_O_CLOEXEC): Likewise.
52565         (__ASSUME_PIPE2): Likewise.
52566         (__ASSUME_SIGNALFD4): Likewise.
52567         (__ASSUME_SOCK_CLOEXEC): Likewise.
52568         (__ASSUME_UTIMES): Undefine.
52569         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52570         (__ASSUME_UTIMES): Do not define.
52571         (__ASSUME_O_CLOEXEC): Likewise.
52572         (__ASSUME_SOCK_CLOEXEC): Likewise.
52573         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
52574         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
52575         0x020621].
52576         (__ASSUME_PIPE2): Likewise.
52577         (__ASSUME_EVENTFD2): Likewise.
52578         (__ASSUME_SIGNALFD4): Likewise.
52579         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
52580         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
52581         Do not define.
52582         (__ASSUME_EVENTFD2): Likewise.
52583         (__ASSUME_SIGNALFD4): Likewise.
52584         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
52585         (__ASSUME_32BITUIDS): Likewise.
52586         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
52587         (__ASSUME_IPC64): Likewise.
52588         (__ASSUME_ST_INO_64_BIT): Likewise.
52589         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
52590         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
52591         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52592         (__ASSUME_UTIMES): Do not define.
52593         (__ASSUME_PSELECT): Likewise.
52594         (__ASSUME_PPOLL): Likewise.
52595         (__ASSUME_O_CLOEXEC): Likewise.
52596         (__ASSUME_SOCK_CLOEXEC): Likewise.
52597         (__ASSUME_IN_NONBLOCK): Likewise.
52598         (__ASSUME_PIPE2): Likewise.
52599         (__ASSUME_EVENTFD2): Likewise.
52600         (__ASSUME_SIGNALFD4): Likewise.
52601         (__ASSUME_DUP3): Likewise.
52602         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52603         (__ASSUME_UTIMES): Likewise.
52604         (__ASSUME_O_CLOEXEC): Likewise.
52605         (__ASSUME_SOCK_CLOEXEC): Likewise.
52606         (__ASSUME_IN_NONBLOCK): Likewise.
52607         (__ASSUME_PIPE2): Likewise.
52608         (__ASSUME_EVENTFD2): Likewise.
52609         (__ASSUME_SIGNALFD4): Likewise.
52610         (__ASSUME_DUP3): Likewise.
52611         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52612         (__ASSUME_UTIMES): Likewise.
52613         (__ASSUME_O_CLOEXEC): Likewise.
52614         (__ASSUME_SOCK_CLOEXEC): Likewise.
52615         (__ASSUME_IN_NONBLOCK): Likewise.
52616         (__ASSUME_PIPE2): Likewise.
52617         (__ASSUME_EVENTFD2): Likewise.
52618         (__ASSUME_SIGNALFD4): Likewise.
52619         (__ASSUME_DUP3): Likewise.
52620         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
52621         Likewise.
52622         (__ASSUME_UTIMES): Likewise.
52623         (__ASSUME_EVENTFD2): Likewise.
52624         (__ASSUME_SIGNALFD4): Likewise.
52625         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52626         (__ASSUME_O_CLOEXEC): Likewise.
52627         (__ASSUME_SOCK_CLOEXEC): Likewise.
52628         (__ASSUME_IN_NONBLOCK): Likewise.
52629         (__ASSUME_PIPE2): Likewise.
52630         (__ASSUME_EVENTFD2): Likewise.
52631         (__ASSUME_SIGNALFD4): Likewise.
52632         (__ASSUME_DUP3): Likewise.
52633         (__ASSUME_UTIMES): Undefine.
52635         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
52636         feclearexcept.  Remove symbol versioning code.
52637         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
52638         symbol versioning code.
52639         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
52640         symbol versioning code.
52641         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
52642         feupdateenv.  Remove symbol versioning code.
52643         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
52644         fegetexceptflag.  Remove symbol versioning code.
52645         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
52646         fesetexceptflag.  Remove symbol versioning code.
52647         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
52648         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
52649         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
52650         (__posix_fadvise64_l32): Remove prototype.
52651         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
52652         code.
52654 2014-05-13  Roland McGrath  <roland@hack.frob.com>
52656         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
52657         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
52658         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
52659         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
52661 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
52663         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
52664         current working directory
52666 2014-05-13  Roland McGrath  <roland@hack.frob.com>
52668         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
52669         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
52670         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
52671         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
52672         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
52673         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
52674         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
52675         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
52676         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
52677         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
52678         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
52679         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
52680         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
52681         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
52682         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
52683         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
52684         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
52685         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
52686         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
52687         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
52688         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
52689         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
52690         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
52691         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
52692         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
52693         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
52694         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
52695         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
52696         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
52697         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
52698         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
52699         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
52700         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
52701         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
52702         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
52703         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
52704         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
52705         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
52706         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
52707         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
52708         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
52709         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
52711         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
52712         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
52714         * sysdeps/unix/sysv/linux/arm/Makefile
52715         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
52716         Add rt-aeabi_unwind_cpp_pr1.
52717         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
52718         Add nptl-aeabi_unwind_cpp_pr1.
52719         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
52720         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
52721         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
52722         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
52723         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
52724         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
52726         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
52727         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
52728         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
52729         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
52731         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
52732         Deconditionalize the code that was previously under [RESET_PID].
52733         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
52735         * sysdeps/generic/exit-thread.h: New file.
52736         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
52737         * include/unistd.h (__exit_thread): Remove declaration.
52738         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
52739         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
52740         * csu/libc-start.c: Include <exit-thread.h>.
52741         (LIBC_START_MAIN): Pass no argument to __exit_thread.
52742         * nptl/pthread_create.c: Include <exit-thread.h>.
52743         (start_thread): Call __exit_thread in place of __exit_thread_inline.
52744         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
52745         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
52746         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
52747         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
52748         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
52749         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
52750         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
52751         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
52752         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
52753         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
52754         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
52755         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
52756         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
52757         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
52758         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
52759         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
52761 2014-05-13  Andreas Schwab  <schwab@suse.de>
52763         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
52765 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
52767         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
52768         (__ASSUME_UTIMES): Do not condition on kernel version.
52769         (__ASSUME_PSELECT): Define unconditionally.
52770         (__ASSUME_PPOLL): Likewise.
52771         (__ASSUME_ATFCTS): Likewise.
52772         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
52773         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
52774         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
52775         (__ASSUME_UTIMENSAT): Define unconditionally.
52776         (__ASSUME_PRIVATE_FUTEX): Likewise.
52777         (__ASSUME_FALLOCATE): Likewise.
52778         (__ASSUME_O_CLOEXEC): Likewise.
52779         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
52780         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
52781         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
52782         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
52783         (__ASSUME_IN_NONBLOCK): Likewise.
52784         (__ASSUME_PIPE2): Likewise.
52785         (__ASSUME_EVENTFD2): Likewise.
52786         (__ASSUME_SIGNALFD4): Likewise.
52787         (__ASSUME_DUP3): Likewise.
52788         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52789         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
52790         (__ASSUME_AT_RANDOM): Likewise.
52791         (__ASSUME_PREADV): Likewise.
52792         (__ASSUME_PWRITEV): Likewise.
52793         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
52794         (__ASSUME_F_GETOWN_EX): Define unconditionally.
52795         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
52796         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52797         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
52798         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52799         (__ASSUME_O_CLOEXEC): Define unconditionally.
52800         (__ASSUME_PSELECT): Do not undefine conditionally.
52801         (__ASSUME_PPOLL): Likewise.
52802         (__ASSUME_ATFCTS): Likewise.
52803         (__ASSUME_SET_ROBUST_LIST): Likewise.
52804         (__ASSUME_UTIMENSAT): Likewise.
52805         (__ASSUME_FDATASYNC): Define unconditionally.
52806         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52807         (__ASSUME_SIGFRAME_V2): Likewise.
52808         )__ASSUME_EVENTFD2): Likewise.
52809         (__ASSUME_SIGNALFD4): Likewise.
52810         (__ASSUME_PSELECT): Do not undefine conditionally.
52811         (__ASSUME_PPOLL): Likewise.
52812         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52813         (__ASSUME_PSELECT): Define unconditionally.
52814         (__ASSUME_PPOLL): Likewise.
52815         (__ASSUME_O_CLOEXEC): Likewise.
52816         (__ASSUME_SOCK_CLOEXEC): Likewise.
52817         (__ASSUME_IN_NONBLOCK): Likewise.
52818         (__ASSUME_PIPE2): Likewise.
52819         (__ASSUME_EVENTFD2): Likewise.
52820         (__ASSUME_SIGNALFD4): Likewise.
52821         (__ASSUME_DUP3): Likewise.
52822         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52823         (__ASSUME_O_CLOEXEC): Likewise.
52824         (__ASSUME_SOCK_CLOEXEC): Likewise.
52825         (__ASSUME_IN_NONBLOCK): Likewise.
52826         (__ASSUME_PIPE2): Likewise.
52827         (__ASSUME_EVENTFD2): Likewise.
52828         (__ASSUME_SIGNALFD4): Likewise.
52829         (__ASSUME_DUP3): Likewise.
52830         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52831         (__ASSUME_EVENTFD2): Likewise.
52832         (__ASSUME_SIGNALFD4): Likewise.
52833         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52835 2014-05-12  Andreas Schwab  <schwab@suse.de>
52837         [BZ #16932]
52838         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
52839         (_nss_nis_gethostbyname4_r): Return error if item length is larger
52840         than maximum RPC packet size.
52841         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
52842         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
52843         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
52844         (_nss_nis_getservbyport_r): Likewise.
52846 2014-05-12  Will Newton  <will.newton@linaro.org>
52848         * malloc/Makefile (tests): Add tst-mallopt.
52849         * malloc/tst-mallopt.c: New file.
52851 2014-05-09  Roland McGrath  <roland@hack.frob.com>
52853         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
52854         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
52856 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52858         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
52859         (tst-tlsmod6.so): Likewise.
52861 2014-05-09  Roland McGrath  <roland@hack.frob.com>
52863         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
52865 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
52867         [BZ #16064]
52868         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
52869         and <dl-procinfo.h>.
52870         (__fegetenv): Save SSE state in envp->__eip if supported.
52871         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
52872         envp->__eip if supported.
52873         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
52874         and <dl-procinfo.h>.
52875         (__fesetenv): Always set __eip, __cs_selector, __opcode,
52876         __data_offset and __data_selector in environment to 0.  Set SSE
52877         state if supported.
52878         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
52879         test-fenv-sse.
52880         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
52881         -mfpmath=sse.
52882         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
52884 2014-05-09  Will Newton  <will.newton@linaro.org>
52886         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
52887         and libc_relro_required for ARM.
52888         * sysdeps/arm/preconfigure: Regenerate.
52890 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
52891             Stefan Liebler  <stli@linux.vnet.ibm.com>
52893         * config.make.in (enable-lock-elision): New Makefile variable.
52894         * configure.ac: Likewise.
52895         * configure: Regenerate.
52896         * sysdeps/s390/configure.ac:
52897         Add check for gcc transactions support.
52898         * sysdeps/s390/configure: Regenerate.
52899         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
52900         Build elision files if enabled.
52901         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
52902         Add lock elision support for s390.
52903         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
52904         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
52905         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
52906         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
52907         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
52908         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
52909         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
52910         Likewise.
52911         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
52912         Likewise.
52913         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
52914         Likewise.
52915         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
52916         Likewise.
52917         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
52918         (__lll_timedlock_elision, __lll_lock_elision)
52919         (__lll_unlock_elision, __lll_trylock_elision)
52920         (lll_timedlock_elision, lll_lock_elision)
52921         (lll_unlock_elision, lll_trylock_elision): Add.
52922         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52923         (pthread_mutex_t): Add lock elision support for s390.
52925 2014-05-14  Wilco  <wdijkstr@arm.com>
52927         * sysdeps/arm/fclrexcpt.c: Cleanup.
52928         * sysdeps/arm/fedisblxcpt.c: Cleanup.
52929         * sysdeps/arm/feenablxcpt.c: Cleanup.
52930         * sysdeps/arm/fegetenv.c: Cleanup.
52931         * sysdeps/arm/fegetexcept.c: Cleanup.
52932         * sysdeps/arm/fegetround.c: Cleanup.
52933         * sysdeps/arm/feholdexcpt.c: Cleanup.
52934         * sysdeps/arm/fesetenv.c: Cleanup.
52935         * sysdeps/arm/fesetround.c: Cleanup.
52936         * sysdeps/arm/feupdateenv.c: Cleanup.
52937         * sysdeps/arm/fgetexcptflg.c: Cleanup.
52938         * sysdeps/arm/fraiseexcpt.c: Cleanup.
52939         * sysdeps/arm/fsetexcptflg.c: Cleanup.
52940         * sysdeps/arm/ftestexcept.c: Cleanup.
52941         * sysdeps/arm/get-rounding-mode.h: Cleanup.
52942         * sysdeps/arm/setfpucw.c: Cleanup.
52944 2014-05-09  Will Newton  <will.newton@linaro.org>
52946         * sysdeps/arm/armv7/strcmp.S: New file.
52947         * NEWS: Mention addition of ARMv7 optimized strcmp.
52949 2014-05-08  Roland McGrath  <roland@hack.frob.com>
52951         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
52952         look for %.ac rather than %.in.
52954         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
52955         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
52956         * sysdeps/mach/hurd/configure: Regenerated.
52957         * sysdeps/unix/sysv/linux/configure: Regenerated.
52959         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
52961 2014-05-07  Steve Ellcey  <sellcey@mips.com>
52963         [BZ #16922]
52964         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
52965         (LONG_SUB): Ditto.
52966         (PTR_SUB): Ditto.
52968 2014-05-07  Andreas Schwab  <schwab@suse.de>
52970         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
52971         when skipping over non-matching result from nscd.
52973 2014-05-07  Ondƙej BĂ­lka  <neleai@seznam.cz>
52975         [BZ #16876]
52976         * nptl/sockperf.c (client): Check socket return value.
52978         [BZ #16877]
52979         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
52980         nscd security class.
52982 2014-05-06  Roland McGrath  <roland@hack.frob.com>
52984         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
52985         * sysdeps/arm/unwind.h: ... here.
52987 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
52989         [BZ #16916]
52990         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
52991         Define.
52993 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
52995         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
52996         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
52997         multiarch strncpy for PPC64.
52998         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
52999         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
53000         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
53001         multiarch optimizations.
53002         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53003         (__libc_ifunc_impl_list): Likewise.
53004         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
53005         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
53006         multiarch stpncpy for PPC64.
53007         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
53008         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
53010 2014-05-06  Andreas Schwab  <schwab@suse.de>
53012         [BZ #16912]
53013         * gmon/mcount.c (_MCOUNT_DECL): Use
53014         atomic_compare_and_exchange_bool_acq instead of
53015         catomic_compare_and_exchange_bool_acq.
53017 2014-05-05  Roland McGrath  <roland@hack.frob.com>
53019         * elf/Makefile (others, install-bin): Remove pldd.
53020         (pldd-modules): Variable removed.
53021         ($(objpfx)pldd): Target removed.
53022         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
53023         (others, install-bin): Append pldd here.
53024         ($(objpfx)pldd): New target.
53026         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
53027         to 0, so the first #if test emitted later doesn't see it undefined.
53028         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
53029         * sysdeps/gnu/errlist.c: Regenerated.
53031 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53033         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
53034         [libc_hidden_builtin_def]: Define to empty value.
53035         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
53036         [libc_hidden_builtin_def]: Likewise.
53037         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
53038         [libc_hidden_builtin_def]: Likewise.
53039         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
53040         [libc_hidden_builtin_def]: Likewise.
53041         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
53042         __redirect_memcpy and define ifunc as default hidden symbol.
53043         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
53044         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
53046 2014-05-04  Adam Conrad  <adconrad@0c3.net>
53048         * locale/iso-4217.def: Reintroduce XDR currency.
53050 2014-05-04  Allan McRae  <allan@archlinux.org>
53052         * po/eo.po: Update Esperanto translation from translation project.
53054 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
53056         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
53057         and FEATURE_INDEX_MAX to 1.
53058         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
53060 2014-05-01  Steve Ellcey  <sellcey@mips.com>
53062         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
53063         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
53064         * iconvdata/big5.c (ONE_DIRECTION): Define.
53065         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
53066         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
53067         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
53068         * iconvdata/cp932.c (ONE_DIRECTION): Define.
53069         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
53070         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
53071         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
53072         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
53073         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
53074         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
53075         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
53076         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
53077         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
53078         * iconvdata/gbk.c (ONE_DIRECTION): Define.
53079         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
53080         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
53081         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
53082         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
53083         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
53084         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
53085         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
53086         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
53087         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
53088         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
53089         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
53090         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
53091         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
53092         * iconvdata/iso646.c (ONE_DIRECTION): Define.
53093         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
53094         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
53095         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
53096         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
53097         * iconvdata/johab.c (ONE_DIRECTION): Define.
53098         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
53099         * iconvdata/sjis.c (ONE_DIRECTION): Define.
53100         * iconvdata/t.61.c (ONE_DIRECTION): Define.
53101         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
53102         * iconvdata/tscii.c (ONE_DIRECTION): Define.
53103         * iconvdata/uhc.c (ONE_DIRECTION): Define.
53104         * iconvdata/unicode.c (ONE_DIRECTION): Define.
53105         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
53106         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
53107         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
53109 2014-05-01  Roland McGrath  <roland@hack.frob.com>
53111         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
53112         (_IO_JUMPS_OFFSET): Define to 0.
53114         * nptl/sysdeps/pthread/bits/libc-lock.h
53115         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
53116         (__libc_lock_define_initialized_recursive): Always define using
53117         initializer.  Modern compilers treat uninitialized (implicit zero) and
53118         explicit zero initializers the same (i.e. put the datum in bss).
53120 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
53122         * nscd/nscd-client.h: Include <string.h>.
53124 2014-05-01  David S. Miller  <davem@davemloft.net>
53126         [BZ #16885]
53127         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
53128         multiple zero bytes exist at the end of a string.
53129         Reported by Aurelien Jarno <aurelien@aurel32.net>
53131         * string/test-strcmp.c (check): Add explicit test for situations where
53132         there are multiple zero bytes after the first.
53134 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
53136         [BZ #16890]
53137         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
53138         when compiling wprintf.
53139         * stdio-common/tstdiomisc.c (t3): New function.
53140         (main): Call it.
53142 2014-05-01  Steve Ellcey  <sellcey@mips.com>
53144         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
53145         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
53146         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
53147         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
53149 2014-05-01  Steve Ellcey  <sellcey@mips.com>
53151         * stdlib/longlong.h: Updated from GCC.
53153 2014-05-01  Will Newton  <will.newton@linaro.org>
53154             Bernard Ogden  <bernie.ogden@linaro.org>
53156         * NEWS: Update fixed bug list.
53158         [BZ #15119]
53159         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
53161 2014-04-30  David S. Miller  <davem@davemloft.net>
53163         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
53164         (libc_feholdexcept_setround_sparc_ctx): New function.
53165         (libc_fesetenv_sparc_ctx): Likewise.
53166         (libc_feupdateenv_sparc_ctx): Likewise.
53167         (libc_feholdsetround_sparc_ctx): Likewise.
53168         (libc_feholdexcept_setround_ctx): Define.
53169         (libc_feholdexcept_setroundf_ctx): Likewise.
53170         (libc_feholdexcept_setroundl_ctx): Likewise.
53171         (libc_fesetenv_ctx): Likewise.
53172         (libc_fesetenvf_ctx): Likewise.
53173         (libc_fesetenvl_ctx): Likewise.
53174         (libc_feupdateenv_ctx): Likewise.
53175         (libc_feupdateenvf_ctx): Likewise.
53176         (libc_feupdateenvl_ctx): Likewise.
53177         (libc_feresetround_ctx): Likewise.
53178         (libc_feresetroundf_ctx): Likewise.
53179         (libc_feresetroundl_ctx): Likewise.
53180         (libc_feholdsetround_ctx): Likewise.
53181         (libc_feholdsetroundf_ctx): Likewise.
53182         (libc_feholdsetroundl_ctx): Likewise.
53184         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53185         with __USE_GNU instead of XOPEN cpp guards.
53187         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
53188         0.
53190         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53191         with XOPEN cpp guards.
53193 2014-04-30  Julian Brown  <julian@codesourcery.com>
53195         [BZ #16888]
53196         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
53197         handling.
53199 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
53201         [BZ #9894]
53202         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
53203         Change to 2.6.32.
53204         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
53205         * sysdeps/unix/sysv/linux/configure: Regenerated.
53206         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
53207         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
53208         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
53209         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
53210         * README: Update reference to required Linux kernel version.
53211         * manual/install.texi (Linux): Update reference to required Linux
53212         kernel headers version.
53213         * INSTALL: Regenerated.
53215         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
53216         header inclusion.
53217         [POSIX] (limits.h): Likewise.
53218         [POSIX] (math.h): Likewise.
53219         [POSIX] (sys/wait.h): Likewise.
53220         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
53221         function.
53222         [POSIX] (stddef.h): Do not allow header inclusion.
53224 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53226         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
53228 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
53230         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
53231         Return immediately after lll_futex_wake.
53233 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53235         [BZ #16791]
53236         * nscd/nscd-client.h (datahead_init_common): Initialize entire
53237         structure.
53238         (datahead_init_pos): Call datahead_init_common early.
53239         (datahead_init_neg): Likewise.
53241         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
53242         datahead_init_neg): New functions.
53243         * nscd/aicache.c (addhstaiX): Use them.
53244         * nscd/grpcache.c (cache_addgr): Likewise.
53245         * nscd/hstcache.c (cache_addhst): Likewise.
53246         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53247         * nscd/netgroupcache.c (do_notfound): Likewise.
53248         (addgetnetgrentX): Likewise.
53249         (addinnetgrX): Likewise.
53250         * nscd/pwdcache.c (cache_addpw): Likewise.
53251         * nscd/servicescache.c (cache_addserv): Likewise.
53253 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53254             Atsushi Onoe  <atsushi@onoe.org>
53256         [BZ #14308]
53257         [BZ #12994]
53258         [BZ #13651]
53259         * resolv/res_query.c (__libc_res_nsearch): Return if at least
53260         one response is valid.
53261         * resolv/res_send.c (send_dg): Check for validity of other
53262         response if the current response is a referral.
53264 2014-04-29  Steve Ellcey  <sellcey@mips.com>
53266         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
53268 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
53270         [BZ #16823]
53271         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
53272         Always divide by positive zero when computing -Inf result.
53273         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
53274         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
53276 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53278         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
53279         FPSCR if value do not change.
53280         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
53281         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
53282         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
53283         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53284         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
53285         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
53286         function.
53288 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
53290         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
53291         * sysdeps/unix/sysv/linux/hppa: Move directory from
53292         ports/systeps/unix/sysv/linux/hppa.
53293         * README: Update listing for hppa-*-linux-gnu.
53295 2014-04-28  Ondƙej BĂ­lka  <neleai@seznam.cz>
53297         [BZ #16754]
53298         * manual/stdio.texi (Hook functions): Fix types of stream hook
53299         functions.
53300         [BZ #16854]
53301         * socket/sys/socket.h: Fix typo in comment.
53303 2014-04-28  Wilco  <wdijkstr@arm.com>
53305         * sysdeps/arm/fenv_private.h: New file.
53306         * sysdeps/arm/math_private.h: New file.
53307         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
53309 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
53311         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
53312         with __int128_t.
53313         (La_x86_64_retval): Likewise.
53315 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
53317         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
53318         fpsr if value didn't change.
53319         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
53320         to fpcr if value didn't change.
53321         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
53322         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
53323         fpsr or fpcr if value didn't change.
53324         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53325         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
53326         fpcr if value didn't change.
53327         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
53328         to fpsr if value didn't change.
53330 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
53332         * nptl/tst-sem3.c: Use test-skeleton.c
53333         (main): Rename to do_test.  Use return instead of
53334         exit.
53335         * nptl/tst-sem4.c: Use test-skeleton.c
53336         (main): Rename to do_test.
53338 2014-04-22  David S. Miller  <davem@davemloft.net>
53340         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
53341         (struct sigaction): New struct member __glibc_reserved0, change
53342         type of sa_flags to int.
53344 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
53346         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
53347         (COUNT_LEADING_ZEROS_0): Define for AArch64.
53349 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53351         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
53352         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
53354 2014-04-22  Will Newton  <will.newton@linaro.org>
53355             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
53357         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
53358         (__longjmp): Add longjmp and longjmp_target SystemTap
53359         probes.
53360         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
53361         (__sigsetjmp): Add setjmp SystemTap probe.
53363 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
53365         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
53366         match manual order.
53368 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53370         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
53372         * sysdeps/powerpc/fpu/fenv_private.h
53373         (libc_feholdexcept_setroundl_ctx): Define to
53374         libc_feholdexcept_setround_ppc_ctx.
53375         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
53376         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
53377         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
53378         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
53380 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
53382         * sysdeps/aarch64/math-tests.h: New file.
53384 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
53386         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
53387         New.
53388         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53389         Check and set bit_AVX2_Usable.
53390         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
53391         macro.
53392         (bit_AVX2): Likewise.
53393         (index_AVX2_Usable): Likewise.
53394         (CPUID_AVX2): Likewise.
53395         (HAS_AVX2): Likewise.
53397 2014-04-17  Will Newton  <will.newton@linaro.org>
53399         * manual/setjmp.texi (System V contexts): Add note that
53400         calling setcontext on a context created by a call to a
53401         signal handler is undefined.  Update text to note that
53402         setcontext from a signal handler is possible but not
53403         recommended.
53405         [BZ #16629]
53406         * stdlib/tst-setcontext.c: Include signal.h.
53407         (main): Check that the signal stack before and
53408         after swapcontext is the same.
53410         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
53411         Re-implement to restore registers in user code and avoid
53412         rt_sigreturn system call.
53414 2014-04-17  Wilco  <wdijkstr@arm.com>
53416         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
53417         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
53418         * math/test-fenv.c: Skip exception trap tests on targets which only
53419         support non-stop mode.
53421 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
53422             Wilco Dijkstra  <wilco.dijkstra@arm.com>
53424         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
53425         (libc_feholdsetround_aarch64_ctx)
53426         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
53427         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
53428         (libc_feresetround_ctx, libc_feresetroundf_ctx)
53429         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
53430         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
53431         (libc_feresetround_noexl_ctx): Define.
53433 2014-04-16  Richard Henderson  <rth@redhat.com>
53435         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
53437         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
53438         unwind tables.
53440         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
53441         const from the non-libc, non-ldso copy.
53443         * sysdeps/alpha/libm-test-ulps: Regenerate.
53445 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
53446             Wilco Dijkstra  <wilco.dijkstra@arm.com>
53448         * sysdeps/aarch64/fpu/math_private.h: New file.
53450 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53452         * sysdeps/aarch64/libm-test-ulps: Regenerate.
53454 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
53456         [BZ #16275]
53457         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
53458         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
53459         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
53460         Intel MPX bound registers before _dl_profile_fixup.
53461         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
53462         registers after _dl_profile_fixup.  Save and restore bound
53463         registers bnd0/bnd1 when calling _dl_call_pltexit.
53464         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
53465         (LR_BND_OFFSET): Likewise.
53466         (LRV_BND0_OFFSET): Likewise.
53467         (LRV_BND1_OFFSET): Likewise.
53469 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53471         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
53472         to...
53473         * sysdeps/mach/hurd/i386/tls.h: ... here.
53474         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
53475         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
53476         fields.
53478 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53480         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
53482 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
53484         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53486 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
53488         [BZ #14770]
53489         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
53490         * sysdeps/s390/configure: Regenerate.
53492         [BZ #16824]
53493         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
53494         Set round-to-nearest internally to reduce error accumulation.
53496 2014-04-16  Alan Modra  <amodra@gmail.com>
53498         [BZ #16740]
53499         [BZ #16619]
53500         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
53501         * math/libm-test.inc (frexp_test_data): Add tests.
53502         * NEWS: Update fixed bug list.
53504 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53506         * benchtests/Makefile: Depend on libraries in build directory.
53507         (bench-math): Separate out math tests.
53508         (bench-pthread): Separate out pthread tests.
53509         (bench): Include math and pthread tests.
53511 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
53513         [BZ #16831]
53514         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
53515         _dl_debug_initialize.
53517         * configure.ac: Remove SELinux header check.
53518         * configure: Regenerate.
53519         * nscd/selinux.c (perms): Array of const char* to permission names.
53520         (nscd_request_avc_has_perm): Call security_deny_unknown to find
53521         default policy. Call string_to_security_class and string_to_av_perm to
53522         translate strings. Enforce default policy and call avs_has_perm with
53523         results of translated strings.
53525 2014-04-13  David S. Miller  <davem@davemloft.net>
53527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53529 2014-04-12  Allan McRae  <allan@archlinux.org>
53531         [BZ #16838]
53532         * manual/string.texi (Collation Functions): Fix qsort argument
53533         order in example.
53534         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
53536 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
53538         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
53539         Make the test a no-op if there are no exceptions defined.
53541 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
53543         * elf/Makefile (tests): make tst-dlopen-aout conditional on
53544         enable-hardcoded-path-in-tests
53546 2014-04-11  Will Newton  <will.newton@linaro.org>
53548         * benchtests/Makefile (extra-objs): Add json-lib.o.
53549         (bench-func): Tidy up JSON output.
53550         * benchtests/bench-skeleton.c: Include json-lib.h.
53551         (main): Use JSON library functions to do output of
53552         benchmark results.
53553         * benchtests/bench-timing-type.c (main): Output the
53554         timing type simply, leaving formatting to the user.
53555         * benchtests/json-lib.c: New file.
53556         * benchtests/json-lib.h: Likewise.
53558 2014-04-11  Torvald Riegel  <triegel@redhat.com>
53560         [BZ #15215]
53561         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
53562         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
53563         memory barriers.  Add comments.
53564         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
53565         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
53566         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
53567         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
53568         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
53569         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
53571 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
53573         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
53574         * sysdeps/s390/s390-64/configure.ac: ... this ...
53575         * sysdeps/s390/configure.ac: ... to here.
53576         * sysdeps/s390/s390-32/configure: Delete file.
53577         * sysdeps/s390/s390-64/configure: Delete file.
53578         * sysdeps/s390/configure: Regenerate.
53580 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
53582         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
53584 2014-04-11  Will Newton  <will.newton@linaro.org>
53586         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
53587         to zero if it is not defined elsewhere.  (mtrim): Test
53588         the value of MALLOC_DEBUG with #if rather than #ifdef.
53590 2014-04-10 Torvald Riegel  <triegel@redhat.com>
53592         * benchtests/pthread_once-inputs: New file.
53593         * benchtests/pthread_once-source.c: New file.
53594         * benchtests/README: Update documentation.
53596 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
53597             H.J. Lu  <hongjiu.lu@intel.com>
53599         [BZ #16275]
53600         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
53601         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
53602         * sysdeps/x86_64/configure: Regenerated.
53603         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
53604         macro.
53605         (REGISTER_SAVE_RAX): Likewise.
53606         (REGISTER_SAVE_RCX): Likewise.
53607         (REGISTER_SAVE_RDX): Likewise.
53608         (REGISTER_SAVE_RSI): Likewise.
53609         (REGISTER_SAVE_RDI): Likewise.
53610         (REGISTER_SAVE_R8): Likewise.
53611         (REGISTER_SAVE_R9): Likewise.
53612         (REGISTER_SAVE_BND0): Likewise.
53613         (REGISTER_SAVE_BND1): Likewise.
53614         (REGISTER_SAVE_BND2): Likewise.
53615         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
53616         bound registers when calling _dl_fixup.
53618 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53620         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
53621         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
53622         of its definition.
53623         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
53624         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
53625         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
53626         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
53627         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
53628         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
53629         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
53631 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
53633         [BZ #15514]
53634         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
53635         pathconf(_PC_NAME_MAX).
53637 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53639         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
53640         Remove macro usage.
53641         (__PTHREAD_SPINS): Move definition to ...
53642         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53643         (__PTHREAD_SPINS): ... here.
53644         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53645         (__PTHREAD_SPIN): Likewise.
53646         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
53647         (__PTHREAD_SPIN): Likewise.
53648         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
53649         (__PTHREAD_SPIN): Likewise.
53650         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
53651         (__PTHREAD_SPIN): Likewise.
53652         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
53653         (__PTHREAD_SPIN): Likewise.
53654         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
53655         (__PTHREAD_SPIN): Likewise.
53656         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
53657         (__PTHREAD_SPIN): Likewise.
53658         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
53659         (__PTHREAD_SPIN): Likewise.
53660         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
53661         (__PTHREAD_SPIN): Likewise.
53662         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
53663         (__PTHREAD_SPIN): Likewise.
53664         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
53665         (__PTHREAD_SPIN): Likewise.
53666         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
53667         (__PTHREAD_SPIN): Likewise.
53669         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
53670         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
53671         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
53672         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
53673         imply folder.
53674         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
53675         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
53676         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
53677         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
53678         correct imply path.
53679         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
53680         strlen symbol for non multi-arch builds.
53681         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
53682         missing hidden_def and weak_alias.
53684 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
53686         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
53688 2014-04-07  Will Newton  <will.newton@linaro.org>
53690         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
53691         and contents.  [!_LIBC] Remove #ifndef and contents.
53692         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
53693         * string/memccpy.c (__memccpy): Use ANSI prototype.
53694         * string/memfrob.c (memfrob): Likewise.
53695         * string/strcoll.c (STRCOLL): Likewise.
53696         * string/strlen.c (strlen): Likewise.
53697         * string/strtok.c (STRTOK): Likewise.
53698         * string/strcat.c: Remove unused #include of memcopy.h.
53699         (strcat): Use ANSI prototype.
53700         * string/strchr.c: Remove unused #include of memcopy.h.
53701         (strchr): Use ANSI prototype.
53702         * string/strcmp.c: Remove unused #include of memcopy.h.
53703         (strcmp): Use ANSI prototype.
53704         * string/strcpy.c: Remove unused #include of memcopy.h.
53705         (strcpy): Use ANSI prototype.
53707 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53709         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
53710         * config.make.in (config-extra-cppflags): Set it from
53711         libc_extra_cppflags.
53712         * configure.ac (libc_extra_cflags): Make it accumulate over
53713         configure fragments.
53714         (libc_extra_cppflags): New flag.
53715         * configure. Regenerate.
53716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
53717         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
53718         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
53719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
53721         [BZ #16815]
53722         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
53723         result for FE_DOWNWARD rounding mode.
53724         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
53725         Likewise.
53726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53728 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
53730         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
53731         in function argument name.
53733 2014-04-03  David Svoboda  <svoboda@cert.org>
53735         [BZ #5666]
53736         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
53737         explicitly.
53739 2014-04-03  Roland McGrath  <roland@hack.frob.com>
53741         * elf/dl-unmap-segments.h: New file.
53742         * sysdeps/generic/ldsodefs.h
53743         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
53744         * elf/dl-close.c: Include <dl-unmap-segments.h>.
53745         * elf/dl-fptr.c: Likewise.
53746         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
53747         * sysdeps/aarch64/tlsdesc.c: Likewise.
53748         * sysdeps/arm/tlsdesc.c: Likewise.
53749         * sysdeps/i386/tlsdesc.c: Likewise.
53750         * sysdeps/tile/dl-runtime.c: Likewise.
53751         * sysdeps/x86_64/tlsdesc.c: Likewise.
53752         * elf/dl-load.h: New file.
53753         * elf/dl-load.c: Include it.
53754         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
53755         Macros moved to dl-load.h.
53756         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
53757         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
53758         Use _dl_unmap_segments in place of __munmap.
53759         Break out segment-mapping loop into ...
53760         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
53762 2014-04-03  Will Newton  <will.newton@linaro.org>
53764         * elf/dl-lookup.c (do_lookup_x): Remove comment
53765         referring to nested function and move variable
53766         declarations down to before first use.
53768 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
53770         [BZ #16799]
53771         [BZ #16800]
53772         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
53773         with 0 numerator.
53774         * math/s_catanf.c (__catanf): Likewise.
53775         * math/s_catanh.c (__catanh): Likewise.
53776         * math/s_catanhf.c (__catanhf): Likewise.
53777         * math/s_catanhl.c (__catanhl): Likewise.
53778         * math/s_catanl.c (__catanl): Likewise.
53779         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
53780         by positive zero when computing -Inf result.
53781         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
53782         (catanh_test): Likewise.
53783         * sysdeps/i386/fpu/libm-test-ulps: Update.
53784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53786         [BZ #16789]
53787         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
53788         instead of using underflowing value in computing result.
53789         * math/s_clog10.c (__clog10): Likewise.
53790         * math/s_clog10f.c (__clog10f): Likewise.
53791         * math/s_clog10l.c (__clog10l): Likewise.
53792         * math/s_clogf.c (__clogf): Likewise.
53793         * math/s_clogl.c (__clogl): Likewise.
53794         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
53795         (clog10_test): Likewise.
53796         * sysdeps/i386/fpu/libm-test-ulps: Update.
53797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53799 2014-04-02  Alan Modra  <amodra@gmail.com>
53801         [BZ #16739]
53802         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
53803         output when value is near a power of two.  Use int64_t for lx and
53804         remove casts.  Use decimal rather than hex exponent constants.
53805         Don't use long double multiplication when double will suffice.
53806         * math/libm-test.inc (nextafter_test_data): Add tests.
53807         * NEWS: Add 16739 and 16786 to bug list.
53809         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
53811         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
53813 2014-04-01  Will Newton  <will.newton@linaro.org>
53815         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
53816         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
53818 2014-04-01  Florian Weimer  <fweimer@redhat.com>
53820         [BZ #13347]
53821         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
53822         * nptl/tst-setuid2.c: New file.
53823         * nptl/Makefile (xtests): Add tst-setuid2.
53825 2014-04-01  Alan Modra  <amodra@gmail.com>
53827         [BZ #16786]
53828         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
53830 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
53832         [BZ #6803]
53833         [BZ #6804]
53834         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
53835         set errno as appropriate.
53836         * math/w_scalbf.c (__scalbf): Likewise.
53837         * math/w_scalbl.c (__scalbl): Likewise.
53838         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
53839         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
53840         * math/libm-test.inc (scalb_test_data): Add errno expectations.
53841         Add more NaN tests.
53843         [BZ #16349]
53844         * math/w_atan2.c: Include <errno.h>.
53845         (__atan2): Set errno for result underflowing to zero.
53846         * math/w_atan2f.c: Include <errno.h>.
53847         (__atan2f): Set errno for result underflowing to zero.
53848         * math/w_atan2l.c: Include <errno.h>.
53849         (__atan2l): Set errno for result underflowing to zero.
53850         * math/auto-libm-test-in: Don't allow missing errno for some atan2
53851         tests.
53852         * math/auto-libm-test-out: Regenerated.
53854 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53856         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
53857         Encode instruction correctly in little endian.
53858         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
53859         Likewise.
53860         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
53861         Likewise.
53862         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
53863         Likewise.
53864         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
53865         Likewise.
53867 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
53869         [BZ #9894]
53870         * sysdeps/unix/sysv/linux/kernel-features.h
53871         [__sparc__ && !__arch64__ && !__sparc_v9__]
53872         (__ASSUME_SET_ROBUST_LIST): Do not define.
53873         [__sparc__ && !__arch64__ && !__sparc_v9__]
53874         (__ASSUME_FUTEX_LOCK_PI): Likewise.
53875         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
53876         Likewise.
53877         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53878         (__ASSUME_FUTEX_LOCK_PI): Undefine.
53879         (__ASSUME_REQUEUE_PI): Likewise.
53880         (__ASSUME_SET_ROBUST_LIST): Likewise.
53881         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53882         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
53883         Undefine.
53884         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53885         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
53886         Likewise.
53887         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
53888         Likewise.
53889         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
53890         Likewise.
53891         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53892         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
53893         Undefine.
53894         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
53895         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
53896         Likewise.
53898         [BZ #16648]
53899         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53900         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
53901         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
53903 2014-03-31  Will Newton  <will.newton@linaro.org>
53905         * benchtests/Makefile (bench): Add ffs and ffsll to list
53906         of tests.
53907         * benchtests/ffs-inputs: New file.
53908         * benchtests/ffsll-inputs: Likewise.
53910 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
53912         [BZ #16770]
53913         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
53914         too large before casting to int.
53915         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
53916         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
53917         * math/libm-test.inc (scalb_test_data): Add more tests.
53919 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53921         * benchtests/Makefile (DETAILED_OPT): New make option.
53922         (bench-func): Run benchmark program with -d if DETAILED_OPT is
53923         set.
53924         * benchtests/bench-skeleton.c: Include stdbool.h.
53925         (main): Store and print timings per input.
53926         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
53927         member to each argument value.
53928         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
53929         (_print_arg_data): Initialize per-input timing to 0.
53931         * benchtests/Makefile (timing-type): New binary.
53932         (bench-clean): Also remove bench-timing-type.
53933         (bench): New target for timing-type.
53934         (bench-func): Print output in JSON format.
53935         * benchtests/bench-skeleton.c (main): Print output in JSON
53936         format.
53937         * benchtests/bench-timing-type.c: New file.
53938         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
53939         (TIMING_PRINT_STATS): Remove.
53940         * benchtests/scripts/bench.py (_print_arg_data): Store variant
53941         name separately.
53943         * benchtests/bench-modf.c: Remove.
53944         * benchtests/modf-inputs: New inputs file.
53946 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
53948         [BZ #16362]
53949         * math/s_clog10.c (M_PI_LOG10E): New macro.
53950         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
53951         imaginary parts are 0.
53952         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
53953         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
53954         imaginary parts are 0.
53955         * math/s_clog10l.c (M_PI_LOG10El): New macro.
53956         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
53957         imaginary parts are 0.
53958         * math/libm-test.inc (clog10_test_data): Update expected results
53959         for when real and imaginary parts are 0.
53961 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
53963         * elf/dl-load.c: Finish conversion of __builtin_expect into
53964         __glibc_{un}likely.
53966 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
53968         [BZ #16348]
53969         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
53970         1+x for argument with exponent below -67.
53971         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
53972         Likewise.
53973         * math/auto-libm-test-in: Add more tests of exp.
53974         * math/auto-libm-test-out: Regenerated.
53976 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53978         [BZ #16759]
53979         * inet/getnetgrent_r.c (get_nonempty_val): New function.
53980         (nscd_getnetgrent): Use it.
53982         [BZ #16760]
53983         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
53984         of stpcpy.
53986 2014-03-27  Andi Kleen  <ak@linux.intel.com>
53988         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
53989         (lll_robust_lock, lll_cond_lock, lll_timedlock)
53990         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53991         (lll_robust_unlock): Remove out of line section. Use cfi
53992         intrinsics.
53993         (LLL_STUB_UNWIND_INFO*): Remove.
53994         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
53995         (lll_robust_lock, lll_cond_lock, lll_timedlock)
53996         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53997         (lll_robust_unlock): Remove out of line section. Use cfi
53998         intrinsics.
53999         (LLL_STUB_UNWIND_INFO*): Remove.
54001 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54003         [BZ #16758]
54004         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
54005         blank values.
54007 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
54009         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
54011 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
54013         [BZ #16198]
54014         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
54015         fnstenv.
54016         * math/test-fenv-preserve.c: New file.
54017         * math/Makefile (tests): Add test-fenv-preserve.
54019 2014-03-26  Will Newton <will.newton@linaro.org>
54021         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
54023 2014-03-25  Roland McGrath  <roland@hack.frob.com>
54025         * scripts/versionlist.awk: Partition the version sets and emit all
54026         GLIBC_* (sorted) before all others (sorted).
54028 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
54030         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
54031         GLIBC_2.2.5 version.
54033 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54035         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
54036         calls.
54038         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
54039         previous change.
54041         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54043 2014-03-25  Andreas Schwab  <schwab@suse.de>
54045         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
54046         label to be used after in6ailist is initialized.
54048 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54050         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
54051         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54053 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
54055         [BZ #16357]
54056         [BZ #16599]
54057         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
54058         min_plus_half.
54059         (fp_formats): Update initializers.
54060         (init_fp_formats): Initialize new field.
54061         (output_for_one_input_case): Allow underflow for results up to
54062         min_plus_half.
54063         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
54064         * math/auto-libm-test-in: Don't mark some underflows from asin and
54065         atanh as spurious.
54066         * math/auto-libm-test-out: Regenerated.
54067         * sysdeps/i386/fpu/libm-test-ulps: Update.
54068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54070 2014-03-25  Andreas Schwab  <schwab@suse.de>
54072         * libio/Makefile (tst-ftell-partial-wide-ENV)
54073         (tst-ftell-active-handler-ENV): Define.
54075 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
54077         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
54079 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
54081         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
54083 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
54085         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
54086         * sysdeps/x86_64/fpu/multiarch/e_exp.c
54087         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
54089 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
54091         [BZ #16634]
54092         * elf/dl-load.c (open_verify): Add mode parameter.
54093         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
54094         (open_path): Change from boolean 'secure' to complete flag 'mode'
54095         (_dl_map_object): Adjust.
54096         * elf/Makefile (tests): Add tst-dlopen-aout.
54097         * elf/tst-dlopen-aout.c: New test.
54099 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
54101         [BZ #16714]
54102         * sysdeps/unix/sysv/linux/s390/bits/stat.h
54103         (struct stat): Rename member pad0 to __glibc_reserved0.
54105         [BZ #16712]
54106         * sysdeps/s390/s390-32/bits/wordsize.h
54107         (__WORDSIZE32_SIZE_ULONG): New define.
54108         * sysdeps/s390/s390-64/bits/wordsize.h
54109         (__WORDSIZE32_SIZE_ULONG): Likewise.
54110         * sysdeps/generic/stdint.h (SIZE_MAX):
54111         Define as UL if __WORDSIZE32_SIZE_ULONG.
54113         [BZ #16713]
54114         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
54115         (__glibc_reserved0): New variable.
54116         (sa_flags): Change type to int.
54118         * posix/Makefile (before-compile): Use += before-compile instead
54119         of a :=.
54121         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
54122         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54124 2014-03-20  Andreas Schwab  <schwab@suse.de>
54126         [BZ #16743]
54127         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
54128         non-matching result from nscd.
54130 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54132         * scripts/bench.py: Moved to ...
54133         * benchtests/scripts/bench.py: ... here.
54134         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
54136 2014-03-24  Andreas Schwab  <schwab@suse.de>
54138         [BZ #16002]
54139         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
54140         alloca_account and account alloca use for struct in6ailist.
54142 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
54144         [BZ #16284]
54145         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
54146         rounding mode to recompute results that overflow to infinity or
54147         underflow to zero.
54148         * math/auto-libm-test-in: Don't mark tests as expected to fail for
54149         bug 16284.
54150         * math/auto-libm-test-out: Regenerated.
54151         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
54152         (ccosh_test): Likewise.
54153         (csin_test_data): Use plus_oflow.
54154         (csin_test): Use ALL_RM_TEST.
54155         (csinh_test_data): Use plus_oflow.
54156         (csinh_test): Use ALL_RM_TEST.
54157         * sysdeps/i386/fpu/libm-test-ulps: Update.
54158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54160 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
54162         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
54163         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
54164         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
54166         [BZ #16731]
54167         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
54168         when x - 1 is zero.
54169         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
54170         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
54171         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
54172         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
54173         argument is 1.
54174         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
54175         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
54176         zero.
54177         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
54178         * sysdeps/i386/fpu/libm-test-ulps: Update.
54179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54181 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54183         * scripts/bench.pl: Remove file.
54184         * scripts/bench.py: New benchmark script.
54185         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
54186         * benchtests/README: Mention python dependency.
54187         * scripts/pylintrc: New file.
54188         * scripts/pylint: New file.
54190         * bits/mathdef.h: Use #ifdef instead of #if.
54191         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
54192         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54193         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
54194         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54195         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
54196         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54198 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54199             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
54201         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
54202         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
54203         and strpbrk-ppc64 objects.
54204         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54205         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
54206         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
54207         multiarch strpbrk for POWER7.
54208         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
54209         multiarch strpbrk for PPC64.
54210         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
54211         ifunc selector.
54212         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
54213         strpbrk for POWER7.
54215 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
54217         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
54218         (atan_test): Likewise.
54219         (atanh_test_data): Use NO_TEST_INLINE for two tests.
54220         (atanh_test): Use ALL_RM_TEST.
54221         (atan2_test_data): Likewise.
54222         (cabs_test): Likewise.
54223         (cacosh_test): Likewise.
54224         (carg_test): Likewise.
54225         (casin_test): Likewise.
54226         (casinh_test): Likewise.
54227         (cbrt_test): Likewise.
54228         (csqrt_test): Likewise.
54229         (erf_test): Likewise.
54230         (erfc_test): Likewise.
54231         (pow10_test): Likewise.
54232         (exp2_test): Likewise.
54233         (hypot_test): Likewise.
54234         (j0_test): Likewise.
54235         (j1_test): Likewise.
54236         (lgamma_test): Likewise.
54237         (gamma_test): Likewise.
54238         (sincos_test): Likewise.
54239         (tanh_test): Likewise.
54240         (y0_test): Likewise.
54241         (y1_test): Likewise.
54242         * sysdeps/i386/fpu/libm-test-ulps: Update.
54243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54245 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54247         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
54248         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
54249         and strcspn-ppc64 objects.
54250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54251         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
54252         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
54253         multiarch strcspn for POWER7.
54254         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
54255         multiarch strcspn for PPC64.
54256         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
54257         ifunc selector.
54258         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
54259         strcspn for POWER7.
54261 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
54263         * math/gen-libm-test.pl (generate_testfile): Expect only function
54264         name as argument to AUTO_TESTS_* and pass results for all rounding
54265         modes to parse_args.
54266         (parse_auto_input): Separate inputs of automatic tests from
54267         outputs before storing in %auto_tests.
54268         * math/libm-test.inc (acos_test_data): Update call to
54269         AUTO_TESTS_f_f.
54270         (acos_test): Use ALL_RM_TEST.
54271         (acos_tonearest_test_data): Remove.
54272         (acos_test_tonearest): Likewise.
54273         (acos_towardzero_test_data): Likewise.
54274         (acos_test_towardzero): Likewise.
54275         (acos_downward_test_data): Likewise.
54276         (acos_test_downward): Likewise.
54277         (acos_upward_test_data): Likewise.
54278         (acos_test_upward): Likewise.
54279         (acosh_test_data): Update call to AUTO_TESTS_f_f.
54280         (asin_test_data): Likewise.
54281         (asin_test): Use ALL_RM_TEST.
54282         (asin_tonearest_test_data): Remove.
54283         (asin_test_tonearest): Likewise.
54284         (asin_towardzero_test_data): Likewise.
54285         (asin_test_towardzero): Likewise.
54286         (asin_downward_test_data): Likewise.
54287         (asin_test_downward): Likewise.
54288         (asin_upward_test_data): Likewise.
54289         (asin_test_upward): Likewise.
54290         (asinh_test_data): Update call to AUTO_TESTS_f_f.
54291         (atan_test_data): Likewise.
54292         (atanh_test_data): Likewise.
54293         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
54294         (cabs_test_data): Update call to AUTO_TESTS_c_f.
54295         (carg_test_data): Likewise.
54296         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
54297         (ccos_test_data): Update call to AUTO_TESTS_c_c.
54298         (ccosh_test_data): Likewise.
54299         (cexp_test_data): Likewise.
54300         (clog_test_data): Likewise.
54301         (clog10_test_data): Likewise.
54302         (cos_test_data): Update call to AUTO_TESTS_f_f.
54303         (cos_test): Use ALL_RM_TEST.
54304         (cos_tonearest_test_data): Remove.
54305         (cos_test_tonearest): Likewise.
54306         (cos_towardzero_test_data): Likewise.
54307         (cos_test_towardzero): Likewise.
54308         (cos_downward_test_data): Likewise.
54309         (cos_test_downward): Likewise.
54310         (cos_upward_test_data): Likewise.
54311         (cos_test_upward): Likewise.
54312         (cosh_test_data): Update call to AUTO_TESTS_f_f.
54313         (cosh_test): Use ALL_RM_TEST.
54314         (cosh_tonearest_test_data): Remove.
54315         (cosh_test_tonearest): Likewise.
54316         (cosh_towardzero_test_data): Likewise.
54317         (cosh_test_towardzero): Likewise.
54318         (cosh_downward_test_data): Likewise.
54319         (cosh_test_downward): Likewise.
54320         (cosh_upward_test_data): Likewise.
54321         (cosh_test_upward): Likewise.
54322         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
54323         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
54324         (ctan_test_data): Likewise.
54325         (ctan_test): Use ALL_RM_TEST.
54326         (ctan_tonearest_test_data): Remove.
54327         (ctan_test_tonearest): Likewise.
54328         (ctan_towardzero_test_data): Likewise.
54329         (ctan_test_towardzero): Likewise.
54330         (ctan_downward_test_data): Likewise.
54331         (ctan_test_downward): Likewise.
54332         (ctan_upward_test_data): Likewise.
54333         (ctan_test_upward): Likewise.
54334         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
54335         (ctanh_test): Use ALL_RM_TEST.
54336         (ctanh_tonearest_test_data): Remove.
54337         (ctanh_test_tonearest): Likewise.
54338         (ctanh_towardzero_test_data): Likewise.
54339         (ctanh_test_towardzero): Likewise.
54340         (ctanh_downward_test_data): Likewise.
54341         (ctanh_test_downward): Likewise.
54342         (ctanh_upward_test_data): Likewise.
54343         (ctanh_test_upward): Likewise.
54344         (erf_test_data): Update call to AUTO_TESTS_f_f.
54345         (erfc_test_data): Likewise.
54346         (exp_test_data): Likewise.
54347         (exp_test): Use ALL_RM_TEST.
54348         (exp_tonearest_test_data): Remove.
54349         (exp_test_tonearest): Likewise.
54350         (exp_towardzero_test_data): Likewise.
54351         (exp_test_towardzero): Likewise.
54352         (exp_downward_test_data): Likewise.
54353         (exp_test_downward): Likewise.
54354         (exp_upward_test_data): Likewise.
54355         (exp_test_upward): Likewise.
54356         (exp10_test_data): Update call to AUTO_TESTS_f_f.
54357         (exp10_test): Use ALL_RM_TEST.
54358         (exp10_tonearest_test_data): Remove.
54359         (exp10_test_tonearest): Likewise.
54360         (exp10_towardzero_test_data): Likewise.
54361         (exp10_test_towardzero): Likewise.
54362         (exp10_downward_test_data): Likewise.
54363         (exp10_test_downward): Likewise.
54364         (exp10_upward_test_data): Likewise.
54365         (exp10_test_upward): Likewise.
54366         (exp2_test_data): Update call to AUTO_TESTS_f_f.
54367         (expm1_test_data): Likewise.
54368         (expm1_test): Use ALL_RM_TEST.
54369         (expm1_tonearest_test_data): Remove.
54370         (expm1_test_tonearest): Likewise.
54371         (expm1_towardzero_test_data): Likewise.
54372         (expm1_test_towardzero): Likewise.
54373         (expm1_downward_test_data): Likewise.
54374         (expm1_test_downward): Likewise.
54375         (expm1_upward_test_data): Likewise.
54376         (expm1_test_upward): Likewise.
54377         (fma_test_data): Update call to AUTO_TESTS_fff_f.
54378         (fma_test): Use ALL_RM_TEST.
54379         (fma_towardzero_test_data): Remove.
54380         (fma_test_towardzero): Likewise.
54381         (fma_downward_test_data): Likewise.
54382         (fma_test_downward): Likewise.
54383         (fma_upward_test_data): Likewise.
54384         (fma_test_upward): Likewise.
54385         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
54386         (j0_test_data): Update call to AUTO_TESTS_f_f.
54387         (j1_test_data): Likewise.
54388         (jn_test_data): Update call to AUTO_TESTS_if_f.
54389         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
54390         (log_test_data): Update call to AUTO_TESTS_f_f.
54391         (log10_test_data): Likewise.
54392         (log1p_test_data): Likewise.
54393         (log2_test_data): Likewise.
54394         (pow_test_data): Update call to AUTO_TESTS_ff_f.
54395         (pow_tonearest_test_data): Likewise.
54396         (sin_test_data): Update call to AUTO_TESTS_f_f.
54397         (sin_test): Use ALL_RM_TEST.
54398         (sin_tonearest_test_data): Remove.
54399         (sin_test_tonearest): Likewise.
54400         (sin_towardzero_test_data): Likewise.
54401         (sin_test_towardzero): Likewise.
54402         (sin_downward_test_data): Likewise.
54403         (sin_test_downward): Likewise.
54404         (sin_upward_test_data): Likewise.
54405         (sin_test_upward): Likewise.
54406         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
54407         (sinh_test_data): Update call to AUTO_TESTS_f_f.
54408         (sinh_test): Use ALL_RM_TEST.
54409         (sinh_tonearest_test_data): Remove.
54410         (sinh_test_tonearest): Likewise.
54411         (sinh_towardzero_test_data): Likewise.
54412         (sinh_test_towardzero): Likewise.
54413         (sinh_downward_test_data): Likewise.
54414         (sinh_test_downward): Likewise.
54415         (sinh_upward_test_data): Likewise.
54416         (sinh_test_upward): Likewise.
54417         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
54418         (sqrt_test): Use ALL_RM_TEST.
54419         (sqrt_tonearest_test_data): Remove.
54420         (sqrt_test_tonearest): Likewise.
54421         (sqrt_towardzero_test_data): Likewise.
54422         (sqrt_test_towardzero): Likewise.
54423         (sqrt_downward_test_data): Likewise.
54424         (sqrt_test_downward): Likewise.
54425         (sqrt_upward_test_data): Likewise.
54426         (sqrt_test_upward): Likewise.
54427         (tan_test_data): Update call to AUTO_TESTS_f_f.
54428         (tan_test): Use ALL_RM_TEST.
54429         (tan_tonearest_test_data): Remove.
54430         (tan_test_tonearest): Likewise.
54431         (tan_towardzero_test_data): Likewise.
54432         (tan_test_towardzero): Likewise.
54433         (tan_downward_test_data): Likewise.
54434         (tan_test_downward): Likewise.
54435         (tan_upward_test_data): Likewise.
54436         (tan_test_upward): Likewise.
54437         (tanh_test_data): Update call to AUTO_TESTS_f_f.
54438         (tgamma_test_data): Likewise.
54439         (y0_test_data): Likewise.
54440         (y1_test_data): Likewise.
54441         (yn_test_data): Update call to AUTO_TESTS_if_f.
54442         (main): Do not call removed functions.
54444 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
54446         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
54447         (ldexp_test_data): Remove.
54448         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
54449         scalbn_test_data.
54450         (scalb_test): Use ALL_RM_TEST.
54452 2014-03-19  Andreas Schwab  <schwab@suse.de>
54454         * nscd/nscd.service: Also invalidate netgroup cache on reload.
54456 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
54458         [BZ #16649]
54459         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54460         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
54461         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
54462         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54463         (__ASSUME_PREADV): Undefine.
54464         (__ASSUME_PWRITEV): Likewise.
54466 2014-03-18  Roland McGrath  <roland@hack.frob.com>
54468         * bits/mman-linux.h: Add comment about non-Linux use.
54469         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
54470         bits/mman-linux.h resting place.
54472         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
54473         * bits/mman-linux.h: ... here.
54475 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54477         * conform/conformtest.pl: Add standard definition when calling C
54478         preprocessor on data files.
54479         (checknamespace): Remove unused variable.
54481 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
54483         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
54484         minus_oflow, plus_uflow and minus_uflow in expected results.
54485         * math/libm-test.inc (scalbn_test_data): Add more tests of
54486         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
54487         minus_uflow.
54488         (scalbn_test): Use ALL_RM_TEST.
54489         (scalbln_test_data): Add more tests of negative arguments.  Use
54490         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
54491         (scalbln_test): Use ALL_RM_TEST.
54493 2014-03-18  Roland McGrath  <roland@hack.frob.com>
54495         * scripts/abilist.awk: Ignore symbols marked with .hidden.
54497 2014-03-18  Will Newton  <will.newton@linaro.org>
54499         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
54500         inaccurate comment.
54502 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
54504         * Makerules [!subdir] (check-abi): Exit with error status if a
54505         test failed.
54507 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
54509         * math/libm-test.inc (nearbyint_test_data): Include all tests used
54510         for rint.  Include results for all rounding modes.
54511         (nearbyint_test): Use ALL_RM_TEST.
54512         (rint_test_data): Include all tests used for nearbyint.
54514 2014-03-17  Will Newton  <will.newton@linaro.org>
54516         * nptl/sysdeps/pthread/pthread.h: Revert previous
54517         change.
54519         * sysdeps/generic/ldsodefs.h: Revert previous
54520         change.
54522         * libio/genops.c: Revert previous change.
54523         * libio/libioP.h: Likewise.
54524         * stdio-common/vfprintf.c: Likewise.
54526         * sysdeps/generic/math_private.h: Revert previous
54527         change.
54529         * sysdeps/generic/math_private.h: Check whether
54530         HAVE_RM_CTX is defined with #ifdef rather
54531         than #if.
54533         * argp/argp-fmtstream.h: Check whether
54534         __STRICT_ANSI__ is defined with #ifdef rather
54535         than #if.
54536         * argp/argp.h: Likewise.
54538         * libio/genops.c: Check whether
54539         _IO_JUMPS_OFFSET is defined with #ifdef rather
54540         than #if.
54541         * libio/libioP.h: Likewise.
54542         * stdio-common/vfprintf.c: Likewise.
54544         * sysdeps/generic/ldsodefs.h: Check whether
54545         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
54546         than #if.
54548         * nptl/sysdeps/pthread/pthread.h: Check
54549         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
54550         its value.
54552 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54554         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
54555         setting O_APPEND.
54556         * libio/tst-ftell-active-handler.c (do_append_test): Add a
54557         test case.
54559         [BZ #16680]
54560         * libio/fileops.c (_IO_file_open): Seek to end of file but
54561         don't cache the offset.
54562         (get_file_offset): Remove function.
54563         (do_ftell): Use cached offset when available.
54564         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
54565         don't cache the offset.
54566         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
54567         case.
54568         (do_one_test): Call it.
54569         (do_ftell_test): Fix up expected old offset for a+ mode.
54570         * libio/wfileops.c (do_ftell_wide): Used cached offset when
54571         available.
54573         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
54574         up test status with function return status.
54575         (do_write_test): Likewise.
54576         (do_append_test): Likewise.
54578         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
54579         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
54580         Remove.
54582 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
54584         * math/gen-libm-test.pl (parse_args): Handle results specified for
54585         each rounding mode separately.
54586         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
54587         tests and results from lrint_tonearest_test_data,
54588         lrint_towardzero_test_data, lrint_downward_test_data and
54589         lrint_upward_test_data.
54590         (lrint_test): Use ALL_RM_TEST.
54591         (lrint_tonearest_test_data): Remove.
54592         (lrint_test_tonearest): Likewise.
54593         (lrint_towardzero_test_data): Likewise.
54594         (lrint_test_towardzero): Likewise.
54595         (lrint_downward_test_data): Likewise.
54596         (lrint_test_downward): Likewise.
54597         (lrint_upward_test_data): Likewise.
54598         (lrint_test_upward): Likewise.
54599         (llrint_test_data): Merge in per-rounding-mode tests and results
54600         from llrint_tonearest_test_data, llrint_towardzero_test_data,
54601         llrint_downward_test_data and llrint_upward_test_data.
54602         (llrint_test): Use ALL_RM_TEST.
54603         (llrint_tonearest_test_data): Remove.
54604         (llrint_test_tonearest): Likewise.
54605         (llrint_towardzero_test_data): Likewise.
54606         (llrint_test_towardzero): Likewise.
54607         (llrint_downward_test_data): Likewise.
54608         (llrint_test_downward): Likewise.
54609         (llrint_upward_test_data): Likewise.
54610         (llrint_test_upward): Likewise.
54611         (rint_test_data): Merge in per-rounding-mode tests and results
54612         from rint_tonearest_test_data, rint_towardzero_test_data,
54613         rint_downward_test_data and rint_upward_test_data.  Add
54614         per-rounding-mode results for tests not in those arrays.
54615         (rint_test): Use ALL_RM_TEST.
54616         (rint_tonearest_test_data): Remove.
54617         (rint_test_tonearest): Likewise.
54618         (rint_towardzero_test_data): Likewise.
54619         (rint_test_towardzero): Likewise.
54620         (rint_downward_test_data): Likewise.
54621         (rint_test_downward): Likewise.
54622         (rint_upward_test_data): Likewise.
54623         (rint_test_upward): Likewise.
54624         (main): Don't call removed functions.
54626 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54628         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
54629         "Compiled on ..." crapola.  It is anti-useful.
54631 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
54633         * scripts/evaluate-test.sh: Handle fourth argument to determine
54634         whether test run should stop on failure.
54635         * Makeconfig (stop-on-test-failure): New variable.
54636         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
54637         $(stop-on-test-failure).
54638         * Makefile (tests): Give a summary of results from testing and
54639         exit with failure status if they include an ERROR or FAIL.
54640         (xtests): Likewise.
54641         * manual/install.texi (Configuring and compiling): Mention
54642         stop-on-test-failure=y.
54643         * INSTALL: Regenerated.
54645 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54647         * scripts/versionlist.awk: New file.
54648         * Makerules [$(build-shared) = yes]
54649         (postclean-generated): Add Versions.def, not Versions.def.v and
54650         Versions.def.v.i.
54651         ($(common-objpfx)Versions.def.v.i): Target removed.
54652         ($(common-objpfx)Versions.def): New target.
54653         ($(common-objpfx)Versions.all): Depend on that rather that
54654         $(common-objpfx)Versions.def.v.
54655         * Versions.def: File removed.
54657         * Makeconfig (+gccwarn): Add -Wundef.
54658         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
54659         a dl-sysdep.h breaking its contract.
54660         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
54661         * include/stackinfo.h: New file.
54662         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
54663         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
54664         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
54665         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
54666         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
54667         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
54668         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54669         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54670         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54671         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54672         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54673         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
54674         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54675         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54676         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54678 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54680         [BZ #16707]
54681         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
54682         implementation.
54683         * math/libm-test.inc (round_test_data): Add more tests.
54685         [BZ #16706]
54686         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
54687         implementation.
54688         * math/libm-test.inc (nearbyint_test_data): Add more tests.
54690         [BZ #16701]
54691         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
54692         implementation.
54693         * math/libm-test.inc (ceil_test_data): Add more tests.
54695         * math/libm-test.inc (trunc_test_data): Add more tests related to
54696         BZ#16414.
54698 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54700         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
54701         with #if rather than #ifdef.
54702         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
54704 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
54706         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
54707         first.  Disable AVX-512 GCC support if assembler doesn't support
54708         it.
54709         * sysdeps/x86_64/configure: Regenerated.
54711 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
54713         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
54714         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
54715         (__old_pthread_attr_setstack): Likewise.
54716         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
54717         [!_STACK_GROWS_DOWN]: Likewise.
54719 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
54721         * config.make.in (have-bash2): Delete.
54722         * configure.ac (libc_cv_have_bash2): Delete.
54723         * configure: Regenerate.
54724         * elf/Makefile (common-ldd-rewrite): Rename to ...
54725         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
54726         (sh-ldd-rewrite): Delete.
54727         (bash-ldd-rewrite): Delete.
54728         (have-bash2): Delete checks.
54729         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
54730         ldd-rewrite.
54732         * config.make.in (have-ksh): Delete.
54733         (KSH): Delete.
54734         * configure.ac (libc_cv_have_ksh): Delete.
54735         * configure: Regenerate.
54737         * elf/Makefile: Delete $(have-ksh) check.
54738         ($(objpfx)sotruss): Change KSH to BASH.
54739         * elf/sotruss.ksh: Rename to ...
54740         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
54741         function style to match POSIX.  Drop ksh vim mode setting.
54743         * manual/time.texi (Specifying the Time Zone with TZ): Change
54744         Tuesday to Thursday.
54746         * debug/tst-longjmp_chk2.c: Update header comment.
54747         (stackoverflow_handler): Add comment.  Call assert on pass value.
54749 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
54751         [BZ #16194]
54752         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
54753         (HAVE_AVX512_ASM_SUPPORT): Likewise.
54754         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
54755         (La_x86_64_vector): Add zmm.
54756         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
54757         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
54758         ($(objpfx)tst-audit10): New target.
54759         ($(objpfx)tst-audit10.out): Likewise.
54760         (tst-audit10-ENV): New.
54761         (AVX512-CFLAGS): Likewise.
54762         (CFLAGS-tst-audit10.c): Likewise.
54763         (CFLAGS-tst-auditmod10a.c): Likewise.
54764         (CFLAGS-tst-auditmod10b.c): Likewise.
54765         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
54766         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
54767         * sysdeps/x86_64/configure: Regenerated.
54768         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
54769         AVX-512 zmm register support.
54770         (_dl_x86_64_save_sse): Likewise.
54771         (_dl_x86_64_restore_sse): Likewise.
54772         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
54773         size vector registers.
54774         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
54775         (ZMM_SIZE): Likewise.
54776         * sysdeps/x86_64/tst-audit10.c: New file.
54777         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
54778         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
54780 2014-03-13  Roland McGrath  <roland@hack.frob.com>
54782         * configure.ac (HAVE_EHDR_START): New check.
54783         * configure: Regenerated.
54784         * config.h.in (HAVE_EHDR_START): New #undef.
54785         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
54786         assuming the lowest-addressed segment maps the start of the file.
54788 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
54790         * INSTALL: Regenerated.
54792 2014-03-13  Will Newton  <will.newton@linaro.org>
54794         * manual/setjmp.texi (System V contexts): Improve
54795         clarity and grammar of documentation.
54797 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
54799         [BZ #16381]
54800         * elf/Makefile (tests): Add tst-pie2.
54801         (tests-pie): Add tst-pie2.
54802         * elf/tst-pie2.c: New file.
54803         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
54804         for ET_EXEC.
54805         * elf/rtld.c (map_doit): Load executable as lt_executable.
54806         (dl_main): Likewise.
54808 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
54810         [BZ #16642]
54811         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54812         (__ASSUME_PSELECT): Undefine.
54814 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54816         [BZ #16689]
54817         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
54818         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
54819         static build.
54820         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
54821         selector for static builds.
54823 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54825         [BZ #16695]
54826         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
54827         key in the buffer.
54829 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54831         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
54832         IFUNC selector for static builds.
54834 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
54836         * sysdeps/mips/math_private.h [__mips_hard_float]
54837         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
54838         libc_feresetround_mips_ctx.
54839         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
54840         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
54841         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
54843         [BZ #16677]
54844         * math/s_nextafter.c (__nextafter): Do not return value from
54845         overflowing computation.
54846         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
54847         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
54848         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
54849         Likewise.
54850         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
54851         Likewise.
54852         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
54853         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
54855 2014-03-11  Roland McGrath  <roland@hack.frob.com>
54857         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
54858         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
54859         Move sfi_sp use from the load-multiple (that no longer sets sp) to
54860         the new mov targetting sp.
54862 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54864         [BZ #16683]
54865         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
54866         Define it for static builds as well.
54867         (NO_BZERO_IMPL): Likewise.
54869 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
54871         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
54872         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
54873         multiarch strspn for PPC64.
54874         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
54875         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
54876         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54877         (__libc_ifunc_impl_list): Likewise.
54878         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
54879         multiarch optimizations
54880         * string/strspn.c (strspn): Using macro to redefine symbol name.
54882 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
54883             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54885         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
54886         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
54887         multiarch strncat for PPC64.
54888         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
54889         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
54890         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54891         (__libc_ifunc_impl_list): Likewise.
54892         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
54893         multiarch optimizations
54895 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54897         [BZ #16639]
54898         * nscd/nscd.service: Make service type forking.
54900 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54902         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
54903         sign in non default rounding modes.
54904         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
54906 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
54908         * math/libm-test.inc (ALL_RM_TEST): New macro.
54909         (ceil_test): Use ALL_RM_TEST.
54910         (cimag_test): Likewise.
54911         (conj_test): Likewise.
54912         (copysign_test): Likewise.
54913         (cproj_test): Likewise.
54914         (creal_test): Likewise.
54915         (fabs_test): Likewise.
54916         (floor_test): Likewise.
54917         (fmax_test): Likewise.
54918         (fmin_test): Likewise.
54919         (fmod_test): Likewise.
54920         (fpclassify_test): Likewise.
54921         (frexp_test): Likewise.
54922         (ilogb_test): Likewise.
54923         (isfinite_test): Likewise.
54924         (finite_test): Likewise.
54925         (isgreater_test): Likewise.
54926         (isgreaterequal_test): Likewise.
54927         (isinf_test): Likewise.
54928         (isless_test): Likewise.
54929         (islessequal_test): Likewise.
54930         (islessgreater_test): Likewise.
54931         (isnan_test): Likewise.
54932         (isnormal_test): Likewise.
54933         (issignaling_test): Likewise.
54934         (isunordered_test): Likewise.
54935         (logb_test): Likewise.
54936         (logb_downward_test_data): Remove.
54937         (logb_test_downward): Likewise.
54938         (lround_test): Use ALL_RM_TEST.
54939         (llround_test): Likewise.
54940         (modf_test): Likewise.
54941         (nexttoward_test): Likewise.
54942         (remainder_test): Likewise.
54943         (drem_test): Likewise.
54944         (remainder_tonearest_test_data): Likewise.
54945         (remainder_test_tonearest): Likewise.
54946         (drem_test_tonearest): Likewise.
54947         (remainder_towardzero_test_data): Likewise.
54948         (remainder_test_towardzero): Likewise.
54949         (drem_test_towardzero): Likewise.
54950         (remainder_downward_test_data): Likewise.
54951         (remainder_test_downward): Likewise.
54952         (drem_test_downward): Likewise.
54953         (remainder_upward_test_data): Likewise.
54954         (remainder_test_upward): Likewise.
54955         (drem_test_upward): Likewise.
54956         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
54957         (round_test): Use ALL_RM_TEST.
54958         (signbit_test): Likewise.
54959         (trunc_test): Likewise.
54960         (significand_test): Likewise.
54961         (main): Don't call removed functions.
54963 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
54965         [BZ #16674]
54966         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
54967         || __USE_XOPEN2K8].
54968         (ILL_ILLOPN): Likewise.
54969         (ILL_ILLADR): Likewise.
54970         (ILL_ILLTRP): Likewise.
54971         (ILL_PRVOPC): Likewise.
54972         (ILL_PRVREG): Likewise.
54973         (ILL_COPROC): Likewise.
54974         (ILL_BADSTK): Likewise.
54975         (FPE_INTDIV): Likewise.
54976         (FPE_INTOVF): Likewise.
54977         (FPE_FLTDIV): Likewise.
54978         (FPE_FLTOVF): Likewise.
54979         (FPE_FLTUND): Likewise.
54980         (FPE_FLTRES): Likewise.
54981         (FPE_FLTINV): Likewise.
54982         (FPE_FLTSUB): Likewise.
54983         (SEGV_MAPERR): Likewise.
54984         (SEGV_ACCERR): Likewise.
54985         (BUS_ADRALN): Likewise.
54986         (BUS_ADRERR): Likewise.
54987         (BUS_OBJERR): Likewise.
54988         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54989         (TRAP_TRACE): Likewise.
54990         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54991         __USE_XOPEN2K8].
54992         (CLD_KILLED): Likewise.
54993         (CLD_DUMPED): Likewise.
54994         (CLD_TRAPPED): Likewise.
54995         (CLD_STOPPED): Likewise.
54996         (CLD_CONTINUED): Likewise.
54997         (POLL_IN): Likewise.
54998         (POLL_OUT): Likewise.
54999         (POLL_MSG): Likewise.
55000         (POLL_ERR): Likewise.
55001         (POLL_PRI): Likewise.
55002         (POLL_HUP): Likewise.
55003         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
55004         Likewise.
55005         (ILL_ILLOPN): Likewise.
55006         (ILL_ILLADR): Likewise.
55007         (ILL_ILLTRP): Likewise.
55008         (ILL_PRVOPC): Likewise.
55009         (ILL_PRVREG): Likewise.
55010         (ILL_COPROC): Likewise.
55011         (ILL_BADSTK): Likewise.
55012         (FPE_INTDIV): Likewise.
55013         (FPE_INTOVF): Likewise.
55014         (FPE_FLTDIV): Likewise.
55015         (FPE_FLTOVF): Likewise.
55016         (FPE_FLTUND): Likewise.
55017         (FPE_FLTRES): Likewise.
55018         (FPE_FLTINV): Likewise.
55019         (FPE_FLTSUB): Likewise.
55020         (SEGV_MAPERR): Likewise.
55021         (SEGV_ACCERR): Likewise.
55022         (BUS_ADRALN): Likewise.
55023         (BUS_ADRERR): Likewise.
55024         (BUS_OBJERR): Likewise.
55025         (BUS_MCEERR_AR): Likewise.
55026         (BUS_MCEERR_AO): Likewise.
55027         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55028         (TRAP_TRACE): Likewise.
55029         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55030         __USE_XOPEN2K8].
55031         (CLD_KILLED): Likewise.
55032         (CLD_DUMPED): Likewise.
55033         (CLD_TRAPPED): Likewise.
55034         (CLD_STOPPED): Likewise.
55035         (CLD_CONTINUED): Likewise.
55036         (POLL_IN): Likewise.
55037         (POLL_OUT): Likewise.
55038         (POLL_MSG): Likewise.
55039         (POLL_ERR): Likewise.
55040         (POLL_PRI): Likewise.
55041         (POLL_HUP): Likewise.
55042         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
55043         (ILL_ILLOPN): Likewise.
55044         (ILL_ILLADR): Likewise.
55045         (ILL_ILLTRP): Likewise.
55046         (ILL_PRVOPC): Likewise.
55047         (ILL_PRVREG): Likewise.
55048         (ILL_COPROC): Likewise.
55049         (ILL_BADSTK): Likewise.
55050         (FPE_INTDIV): Likewise.
55051         (FPE_INTOVF): Likewise.
55052         (FPE_FLTDIV): Likewise.
55053         (FPE_FLTOVF): Likewise.
55054         (FPE_FLTUND): Likewise.
55055         (FPE_FLTRES): Likewise.
55056         (FPE_FLTINV): Likewise.
55057         (FPE_FLTSUB): Likewise.
55058         (SEGV_MAPERR): Likewise.
55059         (SEGV_ACCERR): Likewise.
55060         (BUS_ADRALN): Likewise.
55061         (BUS_ADRERR): Likewise.
55062         (BUS_OBJERR): Likewise.
55063         (BUS_MCEERR_AR): Likewise.
55064         (BUS_MCEERR_AO): Likewise.
55065         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55066         (TRAP_TRACE): Likewise.
55067         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55068         __USE_XOPEN2K8].
55069         (CLD_KILLED): Likewise.
55070         (CLD_DUMPED): Likewise.
55071         (CLD_TRAPPED): Likewise.
55072         (CLD_STOPPED): Likewise.
55073         (CLD_CONTINUED): Likewise.
55074         (POLL_IN): Likewise.
55075         (POLL_OUT): Likewise.
55076         (POLL_MSG): Likewise.
55077         (POLL_ERR): Likewise.
55078         (POLL_PRI): Likewise.
55079         (POLL_HUP): Likewise.
55080         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
55081         Likewise.
55082         (ILL_ILLOPN): Likewise.
55083         (ILL_ILLADR): Likewise.
55084         (ILL_ILLTRP): Likewise.
55085         (ILL_PRVOPC): Likewise.
55086         (ILL_PRVREG): Likewise.
55087         (ILL_COPROC): Likewise.
55088         (ILL_BADSTK): Likewise.
55089         (ILL_BADIADDR): Likewise.
55090         (ILL_BREAK): Likewise.
55091         (FPE_INTDIV): Likewise.
55092         (FPE_INTOVF): Likewise.
55093         (FPE_FLTDIV): Likewise.
55094         (FPE_FLTOVF): Likewise.
55095         (FPE_FLTUND): Likewise.
55096         (FPE_FLTRES): Likewise.
55097         (FPE_FLTINV): Likewise.
55098         (FPE_FLTSUB): Likewise.
55099         (FPE_DECOVF): Likewise.
55100         (FPE_DECDIV): Likewise.
55101         (FPE_DECERR): Likewise.
55102         (FPE_INVASC): Likewise.
55103         (FPE_INVDEC): Likewise.
55104         (SEGV_MAPERR): Likewise.
55105         (SEGV_ACCERR): Likewise.
55106         (SEGV_PSTKOVF): Likewise.
55107         (BUS_ADRALN): Likewise.
55108         (BUS_ADRERR): Likewise.
55109         (BUS_OBJERR): Likewise.
55110         (BUS_MCEERR_AR): Likewise.
55111         (BUS_MCEERR_AO): Likewise.
55112         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55113         (TRAP_TRACE): Likewise.
55114         (TRAP_BRANCH): Likewise.
55115         (TRAP_HWBKPT): Likewise.
55116         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55117         __USE_XOPEN2K8].
55118         (CLD_KILLED): Likewise.
55119         (CLD_DUMPED): Likewise.
55120         (CLD_TRAPPED): Likewise.
55121         (CLD_STOPPED): Likewise.
55122         (CLD_CONTINUED): Likewise.
55123         (POLL_IN): Likewise.
55124         (POLL_OUT): Likewise.
55125         (POLL_MSG): Likewise.
55126         (POLL_ERR): Likewise.
55127         (POLL_PRI): Likewise.
55128         (POLL_HUP): Likewise.
55129         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
55130         (ILL_ILLOPN): Likewise.
55131         (ILL_ILLADR): Likewise.
55132         (ILL_ILLTRP): Likewise.
55133         (ILL_PRVOPC): Likewise.
55134         (ILL_PRVREG): Likewise.
55135         (ILL_COPROC): Likewise.
55136         (ILL_BADSTK): Likewise.
55137         (FPE_INTDIV): Likewise.
55138         (FPE_INTOVF): Likewise.
55139         (FPE_FLTDIV): Likewise.
55140         (FPE_FLTOVF): Likewise.
55141         (FPE_FLTUND): Likewise.
55142         (FPE_FLTRES): Likewise.
55143         (FPE_FLTINV): Likewise.
55144         (FPE_FLTSUB): Likewise.
55145         (SEGV_MAPERR): Likewise.
55146         (SEGV_ACCERR): 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         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55155         __USE_XOPEN2K8].
55156         (CLD_KILLED): Likewise.
55157         (CLD_DUMPED): Likewise.
55158         (CLD_TRAPPED): Likewise.
55159         (CLD_STOPPED): Likewise.
55160         (CLD_CONTINUED): Likewise.
55161         (POLL_IN): Likewise.
55162         (POLL_OUT): Likewise.
55163         (POLL_MSG): Likewise.
55164         (POLL_ERR): Likewise.
55165         (POLL_PRI): Likewise.
55166         (POLL_HUP): Likewise.
55167         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
55168         (ILL_ILLOPN): Likewise.
55169         (ILL_ILLADR): Likewise.
55170         (ILL_ILLTRP): Likewise.
55171         (ILL_PRVOPC): Likewise.
55172         (ILL_PRVREG): Likewise.
55173         (ILL_COPROC): Likewise.
55174         (ILL_BADSTK): Likewise.
55175         (FPE_INTDIV): Likewise.
55176         (FPE_INTOVF): Likewise.
55177         (FPE_FLTDIV): Likewise.
55178         (FPE_FLTOVF): Likewise.
55179         (FPE_FLTUND): Likewise.
55180         (FPE_FLTRES): Likewise.
55181         (FPE_FLTINV): Likewise.
55182         (FPE_FLTSUB): Likewise.
55183         (SEGV_MAPERR): Likewise.
55184         (SEGV_ACCERR): Likewise.
55185         (BUS_ADRALN): Likewise.
55186         (BUS_ADRERR): Likewise.
55187         (BUS_OBJERR): Likewise.
55188         (BUS_MCEERR_AR): Likewise.
55189         (BUS_MCEERR_AO): Likewise.
55190         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55191         (TRAP_TRACE): Likewise.
55192         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55193         __USE_XOPEN2K8].
55194         (CLD_KILLED): Likewise.
55195         (CLD_DUMPED): Likewise.
55196         (CLD_TRAPPED): Likewise.
55197         (CLD_STOPPED): Likewise.
55198         (CLD_CONTINUED): Likewise.
55199         (POLL_IN): Likewise.
55200         (POLL_OUT): Likewise.
55201         (POLL_MSG): Likewise.
55202         (POLL_ERR): Likewise.
55203         (POLL_PRI): Likewise.
55204         (POLL_HUP): Likewise.
55205         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
55206         (ILL_ILLOPN): Likewise.
55207         (ILL_ILLADR): Likewise.
55208         (ILL_ILLTRP): Likewise.
55209         (ILL_PRVOPC): Likewise.
55210         (ILL_PRVREG): Likewise.
55211         (ILL_COPROC): Likewise.
55212         (ILL_BADSTK): Likewise.
55213         (FPE_INTDIV): Likewise.
55214         (FPE_INTOVF): Likewise.
55215         (FPE_FLTDIV): Likewise.
55216         (FPE_FLTOVF): Likewise.
55217         (FPE_FLTUND): Likewise.
55218         (FPE_FLTRES): Likewise.
55219         (FPE_FLTINV): Likewise.
55220         (FPE_FLTSUB): Likewise.
55221         (SEGV_MAPERR): Likewise.
55222         (SEGV_ACCERR): Likewise.
55223         (BUS_ADRALN): Likewise.
55224         (BUS_ADRERR): Likewise.
55225         (BUS_OBJERR): Likewise.
55226         (BUS_MCEERR_AR): Likewise.
55227         (BUS_MCEERR_AO): Likewise.
55228         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55229         (TRAP_TRACE): Likewise.
55230         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55231         __USE_XOPEN2K8].
55232         (CLD_KILLED): Likewise.
55233         (CLD_DUMPED): Likewise.
55234         (CLD_TRAPPED): Likewise.
55235         (CLD_STOPPED): Likewise.
55236         (CLD_CONTINUED): Likewise.
55237         (POLL_IN): Likewise.
55238         (POLL_OUT): Likewise.
55239         (POLL_MSG): Likewise.
55240         (POLL_ERR): Likewise.
55241         (POLL_PRI): Likewise.
55242         (POLL_HUP): Likewise.
55243         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
55244         (ILL_ILLOPN): Likewise.
55245         (ILL_ILLADR): Likewise.
55246         (ILL_ILLTRP): Likewise.
55247         (ILL_PRVOPC): Likewise.
55248         (ILL_PRVREG): Likewise.
55249         (ILL_COPROC): Likewise.
55250         (ILL_BADSTK): Likewise.
55251         (ILL_DBLFLT): Likewise.
55252         (ILL_HARDWALL): 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/x86/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         (FPE_INTDIV): Likewise.
55292         (FPE_INTOVF): Likewise.
55293         (FPE_FLTDIV): Likewise.
55294         (FPE_FLTOVF): Likewise.
55295         (FPE_FLTUND): Likewise.
55296         (FPE_FLTRES): Likewise.
55297         (FPE_FLTINV): Likewise.
55298         (FPE_FLTSUB): Likewise.
55299         (SEGV_MAPERR): Likewise.
55300         (SEGV_ACCERR): Likewise.
55301         (BUS_ADRALN): Likewise.
55302         (BUS_ADRERR): Likewise.
55303         (BUS_OBJERR): Likewise.
55304         (BUS_MCEERR_AR): Likewise.
55305         (BUS_MCEERR_AO): Likewise.
55306         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55307         (TRAP_TRACE): Likewise.
55308         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55309         __USE_XOPEN2K8].
55310         (CLD_KILLED): Likewise.
55311         (CLD_DUMPED): Likewise.
55312         (CLD_TRAPPED): Likewise.
55313         (CLD_STOPPED): Likewise.
55314         (CLD_CONTINUED): Likewise.
55315         (POLL_IN): Likewise.
55316         (POLL_OUT): Likewise.
55317         (POLL_MSG): Likewise.
55318         (POLL_ERR): Likewise.
55319         (POLL_PRI): Likewise.
55320         (POLL_HUP): Likewise.
55321         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
55322         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55324         [BZ #16670]
55325         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
55326         before #include of <time.h>.
55327         [!__USE_XOPEN2K] (__need_timespec): Likewise.
55328         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
55329         (test-xfail-UNIX98/sched.h/conform): Likewise.
55331 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
55333         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
55334         error absence of trapping exception support.
55335         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
55337 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
55339         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
55340         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
55341         * timezone/Makefile (testdata): Move definition above include of
55342         Rules.
55343         (test-zones): New variable.
55344         (tests-special): Add zone files.
55345         (build-testdata): Use $(evaluate-test).
55347         * elf/Makefile (tests-special): Rename tests to end with .out.
55348         ($(objpfx)noload-mem): Likewise.
55349         ($(objpfx)tst-leaks1-mem): Likewise.
55350         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
55351         * iconv/Makefile (xtests-special): Change test-iconvconfig to
55352         $(objpfx)test-iconvconfig.out.
55353         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
55354         set -e inside subshell and redirect output to file.
55355         * iconvdata/Makefile (generated): Rename tests to end with .out.
55356         Correct type.
55357         (tests-special): Rename tests to end with .out.
55358         ($(objpfx)mtrace-tst-loading): Likewise.
55359         * intl/Makefile (generated): Likewise.
55360         (tests-special): Likewise.
55361         ($(objpfx)mtrace-tst-gettext): Likewise.
55362         * misc/Makefile (generated): Likewise.
55363         (tests-special): Likewise.
55364         ($(objpfx)tst-error1-mem): Likewise.
55365         * nptl/Makefile (tests-special): Likewise.
55366         ($(objpfx)tst-stack3-mem): Likewise.
55367         (generated): Likewise.
55368         * posix/Makefile (generated): Likewise.
55369         (tests-special): Likewise.
55370         (xtests-special): Likewise.
55371         ($(objpfx)tst-fnmatch-mem): Likewise.
55372         ($(objpfx)bug-regex2-mem): Likewise.
55373         ($(objpfx)bug-regex14-mem): Likewise.
55374         ($(objpfx)bug-regex21-mem): Likewise.
55375         ($(objpfx)bug-regex31-mem): Likewise.
55376         ($(objpfx)tst-vfork3-mem): Likewise.
55377         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55378         ($(objpfx)tst-pcre-mem): Likewise.
55379         ($(objpfx)tst-boost-mem): Likewise.
55380         ($(objpfx)bug-ga2-mem): Likewise.
55381         ($(objpfx)bug-glob2-mem): Likewise.
55382         * resolv/Makefile (generate): Likewise.
55383         (tests-special): Likewise.
55384         (xtests-special): Likewise.
55385         (generated): Likewise.
55386         ($(objpfx)mtrace-tst-leaks): Likewise.
55387         ($(objpfx)mtrace-tst-leaks2): Likewise.
55389         * scripts/merge-test-results.sh: New file.
55390         * Makefile (tests-special-notdir): New variable.
55391         (tests): Run merge-test-results.sh.
55392         (xtests): Likewise.
55393         * Rules (tests-special-notdir): New variable.
55394         (xtests-special-notdir): Likewise.
55395         (tests): Run merge-test-results.sh
55396         (xtests): Likewise.
55398         * Makeconfig (test-xfail-name): New variable.
55399         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
55400         compute variable name for expected failures.
55401         * conform/Makefile (conformtest-headers-data): New variable.
55402         (conformtest-standards): Likewise.
55403         (conformtest-headers-ISO): Likewise.
55404         (conformtest-headers-ISO99): Likewise.
55405         (conformtest-headers-ISO11): Likewise.
55406         (conformtest-headers-POSIX): Likewise.
55407         (conformtest-headers-XPG3): Likewise.
55408         (conformtest-headers-XPG4): Likewise.
55409         (conformtest-headers-UNIX98): Likewise.
55410         (conformtest-headers-XOPEN2K): Likewise.
55411         (conformtest-headers-POSIX2008): Likewise.
55412         (conformtest-headers-XOPEN2K8): Likewise.
55413         (conformtest-header-list-base): Likewise.
55414         (conformtest-header-list-tests): Likewise.
55415         (conformtest-header-base): Likewise.
55416         (conformtest-header-tests): Likewise.
55417         (tests-special): Add $(conformtest-header-list-tests).  If
55418         [$(fast-check) && !$(cross-compiling)], add
55419         $(conformtest-header-tests) instead of
55420         $(objpfx)run-conformtest.out.
55421         (generated): Add $(conformtest-header-list-base).  If
55422         [$(fast-check) && !$(cross-compiling)], add
55423         $(conformtest-header-base).  Remove previous setting.
55424         ($(conformtest-header-list-tests)): New target.
55425         (test-xfail-run-conformtest): Remove variable.
55426         ($(objpfx)run-conformtest.out): Remove target.
55427         (test-xfail-ISO11/complex.h/conform): New variable.
55428         (test-xfail-ISO11/stdalign.h/conform): Likewise.
55429         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
55430         (test-xfail-XPG3/varargs.h/conform): Likewise.
55431         (test-xfail-XPG4/varargs.h/conform): Likewise.
55432         (test-xfail-UNIX98/varargs.h/conform): Likewise.
55433         (test-xfail-XPG4/ndbm.h/conform): Likewise.
55434         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
55435         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
55436         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
55437         (test-xfail-XPG3/fcntl.h/conform): Likewise.
55438         (test-xfail-XPG3/ftw.h/conform): Likewise.
55439         (test-xfail-XPG3/grp.h/conform): Likewise.
55440         (test-xfail-XPG3/langinfo.h/conform): Likewise.
55441         (test-xfail-XPG3/limits.h/conform): Likewise.
55442         (test-xfail-XPG3/pwd.h/conform): Likewise.
55443         (test-xfail-XPG3/search.h/conform): Likewise.
55444         (test-xfail-XPG3/signal.h/conform): Likewise.
55445         (test-xfail-XPG3/stdio.h/conform): Likewise.
55446         (test-xfail-XPG3/stdlib.h/conform): Likewise.
55447         (test-xfail-XPG3/string.h/conform): Likewise.
55448         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
55449         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
55450         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
55451         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
55452         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
55453         (test-xfail-XPG3/sys/types.h/conform): Likewise.
55454         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
55455         (test-xfail-XPG3/termios.h/conform): Likewise.
55456         (test-xfail-XPG3/time.h/conform): Likewise.
55457         (test-xfail-XPG3/unistd.h/conform): Likewise.
55458         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
55459         (test-xfail-XPG4/fcntl.h/conform): Likewise.
55460         (test-xfail-XPG4/langinfo.h/conform): Likewise.
55461         (test-xfail-XPG4/netdb.h/conform): Likewise.
55462         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
55463         (test-xfail-XPG4/signal.h/conform): Likewise.
55464         (test-xfail-XPG4/stdio.h/conform): Likewise.
55465         (test-xfail-XPG4/stdlib.h/conform): Likewise.
55466         (test-xfail-XPG4/stropts.h/conform): Likewise.
55467         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
55468         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
55469         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
55470         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
55471         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
55472         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
55473         (test-xfail-XPG4/sys/time.h/conform): Likewise.
55474         (test-xfail-XPG4/sys/types.h/conform): Likewise.
55475         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
55476         (test-xfail-XPG4/termios.h/conform): Likewise.
55477         (test-xfail-XPG4/ucontext.h/conform): Likewise.
55478         (test-xfail-XPG4/unistd.h/conform): Likewise.
55479         (test-xfail-XPG4/utmpx.h/conform): Likewise.
55480         (test-xfail-POSIX/sched.h/conform): Likewise.
55481         (test-xfail-POSIX/signal.h/conform): Likewise.
55482         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55483         (test-xfail-POSIX/tar.h/conform): Likewise.
55484         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
55485         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
55486         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
55487         (test-xfail-UNIX98/netdb.h/conform): Likewise.
55488         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
55489         (test-xfail-UNIX98/sched.h/conform): Likewise.
55490         (test-xfail-UNIX98/signal.h/conform): Likewise.
55491         (test-xfail-UNIX98/stdio.h/conform): Likewise.
55492         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
55493         (test-xfail-UNIX98/stropts.h/conform): Likewise.
55494         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
55495         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
55496         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
55497         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
55498         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
55499         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
55500         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
55501         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
55502         (test-xfail-UNIX98/unistd.h/conform): Likewise.
55503         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
55504         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
55505         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
55506         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
55507         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
55508         (test-xfail-XOPEN2K/math.h/conform): Likewise.
55509         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
55510         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
55511         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
55512         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
55513         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
55514         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
55515         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
55516         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
55517         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
55518         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
55519         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
55520         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
55521         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
55522         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
55523         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
55524         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
55525         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
55526         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
55527         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
55528         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
55529         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
55530         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
55531         (test-xfail-POSIX2008/signal.h/conform): Likewise.
55532         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
55533         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
55534         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
55535         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
55536         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
55537         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
55538         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
55539         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
55540         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
55541         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
55542         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
55543         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
55544         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
55545         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
55546         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
55547         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
55548         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
55549         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
55550         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
55551         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
55552         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
55553         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
55554         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
55555         (conformtest-cc-flags): Likewise.
55556         ($(conformtest-header-tests): New target.
55557         * conform/check-header-lists.sh: New file.
55558         * conform/run-conformtest.sh: Remove.
55560         * conform/conformtest.pl: Allow ' and \ in values given for
55561         constants.
55562         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
55563         inclusion.
55564         [POSIX] (sys/types.h): Likewise.
55565         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
55566         inclusion.
55567         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
55568         inclusion.
55569         * conform/data/signal.h-data (SIGIO): Remove expectation.
55570         [XPG3] (SIGBUS): Do not expect.
55571         [POSIX || XPG3] (SIGPOLL): Likewise.
55572         [POSIX || XPG3] (SIGPROF): Likewise.
55573         [POSIX || XPG3] (SIGSYS): Likewise.
55574         [XPG3] (SIGTRAP): Likewise.
55575         [POSIX || XPG3] (SIGURG): Likewise.
55576         [POSIX || XPG3] (SIGVTALRM): Likewise.
55577         [POSIX || XPG3] (SIGXCPU): Likewise.
55578         [POSIX || XPG3] (SIGXFSZ): Likewise.
55579         [POSIX] (SA_SIGINFO): Expect.
55580         [XPG3] (siginfo_t): Do not expect type or contents.
55581         [POSIX] (si_pid): Do not expect element.
55582         [POSIX] (si_uid): Likewise.
55583         [POSIX] (si_addr): Likewise.
55584         [POSIX] (si_status): Likewise.
55585         [POSIX] (si_band): Likewise.
55586         [XPG4] (si_value): Likewise.
55587         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
55588         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
55589         [POSIX || XPG3] (ILL_ILLADR): Likewise.
55590         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
55591         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
55592         [POSIX || XPG3] (ILL_PRVREG): Likewise.
55593         [POSIX || XPG3] (ILL_COPROC): Likewise.
55594         [POSIX || XPG3] (ILL_BADSTK): Likewise.
55595         [POSIX || XPG3] (FPE_INTDIV): Likewise.
55596         [POSIX || XPG3] (FPE_INTOVF): Likewise.
55597         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
55598         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
55599         [POSIX || XPG3] (FPE_FLTUND): Likewise.
55600         [POSIX || XPG3] (FPE_FLTRES): Likewise.
55601         [POSIX || XPG3] (FPE_FLTINV): Likewise.
55602         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
55603         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
55604         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
55605         [POSIX || XPG3] (BUS_ADRALN): Likewise.
55606         [POSIX || XPG3] (BUS_ADRERR): Likewise.
55607         [POSIX || XPG3] (BUS_OBJERR): Likewise.
55608         [POSIX || XPG3] (CLD_EXITED): Likewise.
55609         [POSIX || XPG3] (CLD_KILLED): Likewise.
55610         [POSIX || XPG3] (CLD_DUMPED): Likewise.
55611         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
55612         [POSIX || XPG3] (CLD_STOPPED): Likewise.
55613         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
55614         [POSIX || XPG3] (POLL_IN): Likewise.
55615         [POSIX || XPG3] (POLL_OUT): Likewise.
55616         [POSIX || XPG3] (POLL_MSG): Likewise.
55617         [POSIX || XPG3] (POLL_ERR): Likewise.
55618         [POSIX || XPG3] (POLL_PRI): Likewise.
55619         [POSIX || XPG3] (POLL_HUP): Likewise.
55620         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
55621         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
55622         (SIG*): Do not allow.
55623         [XPG3] (si_*): Likewise.
55624         [XPG3] (SI_*): Likewise.
55625         [XPG3 || XPG4] (sigev_*): Likewise.
55626         [XPG3 || XPG4] (SIGEV_*): Likewise.
55627         [XPG3 || XPG4] (sival_*): Likewise.
55628         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
55629         [POSIX || XPG3] (BUS_*): Likewise.
55630         [POSIX || XPG3] (CLD_*): Likewise.
55631         [POSIX || XPG3] (FPE_*): Likewise.
55632         [POSIX || XPG3] (ILL_*): Likewise.
55633         [POSIX || XPG3] (POLL_*): Likewise.
55634         [POSIX || XPG3] (SEGV_*): Likewise.
55635         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
55636         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
55637         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
55638         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
55639         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
55640         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
55641         Specify type and value.
55642         (TVERSLEN): Likewise.
55643         (REGTYPE): Likewise.
55644         (AREGTYPE): Likewise.
55645         (LNKTYPE): Likewise.
55646         (SYMTYPE): Likewise.
55647         (CHRTYPE): Likewise.
55648         (BLKTYPE): Likewise.
55649         (DIRTYPE): Likewise.
55650         (FIFOTYPE): Likewise.
55651         (CONTTYPE): Likewise.
55652         (TSUID): Likewise.
55653         (TSGID): Likewise.
55654         (TSVTX): Likewise.
55655         (TUREAD): Likewise.
55656         (TUWRITE): Likewise.
55657         (TUEXEC): Likewise.
55658         (TGREAD): Likewise.
55659         (TGWRITE): Likewise.
55660         (TGEXEC): Likewise.
55661         (TOREAD): Likewise.
55662         (TOWRITE): Likewise.
55663         (TOEXEC): Likewise.
55664         [POSIX] (TSVTX): Expect constant.
55666 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
55668         * Makefile (tests): Change dependencies to ....
55669         (tests-special): ... additions to this variable.
55670         (tests): Depend on $(tests-special).
55671         * Makerules (check-abi-list): New variable.
55672         (check-abi): Depend on $(check-abi-list).
55673         [$(subdir) = elf] (tests-special): Add
55674         $(objpfx)check-abi-libc.out.
55675         [$(build-shared) = yes && subdir] (tests-special): Add
55676         $(check-abi-list).
55677         [$(build-shared) = yes && subdir] (tests): Do not depend on
55678         check-abi.
55679         * Rules (tests): Depend on $(tests-special).
55680         (xtests): Depend on $(xtests-special).
55681         * catgets/Makefile (tests): Change dependencies to ....
55682         (tests-special): ... additions to this variable.
55683         * conform/Makefile (tests): Change dependencies to ....
55684         (tests-special): ... additions to this variable.
55685         * elf/Makefile (tests): Change dependencies to ....
55686         (tests-special): ... additions to this variable.
55687         * grp/Makefile (tests): Change dependencies to ....
55688         (tests-special): ... additions to this variable.
55689         * iconv/Makefile (xtests): Change dependencies to ....
55690         (xtests-special): ... additions to this variable.
55691         * iconvdata/Makefile (tests): Change dependencies to ....
55692         (tests-special): ... additions to this variable.
55693         * intl/Makefile (tests): Change dependencies to ....
55694         (tests-special): ... additions to this variable.  Also add
55695         $(objpfx)tst-gettext.out.
55696         * io/Makefile (tests): Change dependencies to ....
55697         (tests-special): ... additions to this variable.
55698         * libio/Makefile (tests): Change dependencies to ....
55699         (tests-special): ... additions to this variable.
55700         * malloc/Makefile (tests): Change dependencies to ....
55701         (tests-special): ... additions to this variable.
55702         * misc/Makefile (tests): Change dependencies to ....
55703         (tests-special): ... additions to this variable.
55704         * nptl/Makefile (tests): Change dependencies to ....
55705         (tests-special): ... additions to this variable.
55706         * nptl_db/Makefile (tests): Change dependencies to ....
55707         (tests-special): ... additions to this variable.
55708         * posix/Makefile (tests): Change dependencies to ....
55709         (tests-special): ... additions to this variable.
55710         (xtests): Change dependencies to ....
55711         (xtests-special): ... additions to this variable.
55712         * resolv/Makefile (tests): Change dependencies to ....
55713         (tests-special): ... additions to this variable.
55714         (xtests): Change dependencies to ....
55715         (xtests-special): ... additions to this variable.
55716         * stdio-common/Makefile (tests): Change dependencies to ....
55717         (tests-special): ... additions to this variable.
55718         (do-tst-unbputc): Remove target.
55719         (do-tst-printf): Likewise.
55720         * stdlib/Makefile (tests): Change dependencies to ....
55721         (tests-special): ... additions to this variable.
55722         * string/Makefile (tests): Change dependencies to ....
55723         (tests-special): ... additions to this variable.
55724         * sysdeps/x86/Makefile (tests): Change dependencies to ....
55725         (tests-special): ... additions to this variable.
55727         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
55728         whole file.
55729         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
55730         whole file.
55731         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
55732         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
55734         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
55735         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
55736         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
55737         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
55738         * conform/data/libgen.h-data [XPG3]: Likewise.
55739         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
55740         * conform/data/ndbm.h-data [XPG3]: Likewise.
55741         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55742         * conform/data/netdb.h-data [XPG3]: Likewise.
55743         * conform/data/netinet/in.h-data [XPG3]: Likewise.
55744         * conform/data/poll.h-data [XPG3]: Likewise.
55745         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55746         * conform/data/strings.h-data [XPG3]: Likewise.
55747         * conform/data/stropts.h-data [XPG3]: Likewise.
55748         * conform/data/sys/mman.h-data [XPG3]: Likewise.
55749         * conform/data/sys/resource.h-data [XPG3]: Likewise.
55750         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
55751         Likewise.
55752         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
55753         * conform/data/sys/time.h-data [XPG3]: Likewise.
55754         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
55755         * conform/data/sys/uio.h-data [XPG3]: Likewise.
55756         * conform/data/sys/un.h-data [XPG3]: Likewise.
55757         * conform/data/syslog.h-data [XPG3]: Likewise.
55758         * conform/data/ucontext.h-data [XPG3]: Likewise.
55759         * conform/data/utmpx.h-data [XPG3]: Likewise.
55760         * conform/data/varargs.h-data [UNIX98]: Enable file.
55762         * manual/Makefile (INSTALL_INFO): Remove variable setting.
55764         * math/libm-test.inc (struct test_f_f_data): Move expected results
55765         into structure for each rounding mode.
55766         (struct test_ff_f_data): Likewise.
55767         (struct test_ff_f_data_nexttoward): Likewise.
55768         (struct test_fi_f_data): Likewise.
55769         (struct test_fl_f_data): Likewise.
55770         (struct test_if_f_data): Likewise.
55771         (struct test_fff_f_data): Likewise.
55772         (struct test_c_f_data): Likewise.
55773         (struct test_f_f1_data): Likewise.
55774         (struct test_fF_f1_data): Likewise.
55775         (struct test_ffI_f1_data): Likewise.
55776         (struct test_c_c_data): Likewise.
55777         (struct test_cc_c_data): Likewise.
55778         (struct test_f_i_data): Likewise.
55779         (struct test_ff_i_data): Likewise.
55780         (struct test_f_l_data): Likewise.
55781         (struct test_f_L_data): Likewise.
55782         (struct test_fFF_11_data): Likewise.
55783         (RM_): New macro.
55784         (RM_FE_DOWNWARD): Likewise.
55785         (RM_FE_TONEAREST): Likewise.
55786         (RM_FE_TOWARDZERO): Likewise.
55787         (RM_FE_UPWARD): Likewise.
55788         (RUN_TEST_LOOP_f_f): Update references to expected results.
55789         (RUN_TEST_LOOP_2_f): Likewise.
55790         (RUN_TEST_LOOP_fff_f): Likewise.
55791         (RUN_TEST_LOOP_c_f): Likewise.
55792         (RUN_TEST_LOOP_f_f1): Likewise.
55793         (RUN_TEST_LOOP_fF_f1): Likewise.
55794         (RUN_TEST_LOOP_fI_f1): Likewise.
55795         (RUN_TEST_LOOP_ffI_f1): Likewise.
55796         (RUN_TEST_LOOP_c_c): Likewise.
55797         (RUN_TEST_LOOP_cc_c): Likewise.
55798         (RUN_TEST_LOOP_f_i): Likewise.
55799         (RUN_TEST_LOOP_f_i_tg): Likewise.
55800         (RUN_TEST_LOOP_ff_i_tg): Likewise.
55801         (RUN_TEST_LOOP_f_b): Likewise.
55802         (RUN_TEST_LOOP_f_b_tg): Likewise.
55803         (RUN_TEST_LOOP_f_l): Likewise.
55804         (RUN_TEST_LOOP_f_L): Likewise.
55805         (RUN_TEST_LOOP_fFF_11): Likewise.
55806         * math/gen-libm-test.pl (parse_args): Output four copies of
55807         expected results for each test.
55809         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55810         (__ASSUME_UTIMES): Remove.
55811         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55812         (__ASSUME_UTIMES): Likewise.
55814         * math/gen-auto-libm-tests.c: Update comment on output format.
55815         (output_for_one_input_case): Generate before-rounding and
55816         after-rounding information as conditions on output flags not
55817         floating-point format.
55818         * math/auto-libm-test-out: Regenerated.
55819         * math/gen-libm-test.pl (cond_value): New function.
55820         (or_cond_value): Use cond_value.
55821         (generate_testfile): Handle conditional exceptions.
55823 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
55825         * math/libm-test.inc (max_valid_error): New variable.
55826         (init_max_error): Take new argument specifying whether function
55827         results are exactly determined.  Set max_valid_error and bound
55828         other variables for errors based on this argument.
55829         (set_max_error): Do not record results above max_valid_error.
55830         (check_float_internal): Only accept errors of up to 0.5ulps if
55831         also at most max_valid_error.
55832         (START): Take new argument EXACT and pass it to init_max_error.
55833         (acos_test): Update call to START.
55834         (acos_test_tonearest): Likewise.
55835         (acos_test_towardzero): Likewise.
55836         (acos_test_downward): Likewise.
55837         (acos_test_upward): Likewise.
55838         (acosh_test): Likewise.
55839         (asin_test): Likewise.
55840         (asin_test_tonearest): Likewise.
55841         (asin_test_towardzero): Likewise.
55842         (asin_test_downward): Likewise.
55843         (asin_test_upward): Likewise.
55844         (asinh_test): Likewise.
55845         (atan_test): Likewise.
55846         (atanh_test): Likewise.
55847         (atan2_test): Likewise.
55848         (cabs_test): Likewise.
55849         (cacos_test): Likewise.
55850         (cacosh_test): Likewise.
55851         (carg_test): Likewise.
55852         (casin_test): Likewise.
55853         (casinh_test): Likewise.
55854         (catan_test): Likewise.
55855         (catanh_test): Likewise.
55856         (cbrt_test): Likewise.
55857         (ccos_test): Likewise.
55858         (ccosh_test): Likewise.
55859         (ceil_test): Likewise.
55860         (cexp_test): Likewise.
55861         (cimag_test): Likewise.
55862         (clog_test): Likewise.
55863         (clog10_test): Likewise.
55864         (conj_test): Likewise.
55865         (copysign_test): Likewise.
55866         (cos_test): Likewise.
55867         (cos_test_tonearest): Likewise.
55868         (cos_test_towardzero): Likewise.
55869         (cos_test_downward): Likewise.
55870         (cos_test_upward): Likewise.
55871         (cosh_test): Likewise.
55872         (cosh_test_tonearest): Likewise.
55873         (cosh_test_towardzero): Likewise.
55874         (cosh_test_downward): Likewise.
55875         (cosh_test_upward): Likewise.
55876         (cpow_test): Likewise.
55877         (cproj_test): Likewise.
55878         (creal_test): Likewise.
55879         (csin_test): Likewise.
55880         (csinh_test): Likewise.
55881         (csqrt_test): Likewise.
55882         (ctan_test): Likewise.
55883         (ctan_test_tonearest): Likewise.
55884         (ctan_test_towardzero): Likewise.
55885         (ctan_test_downward): Likewise.
55886         (ctan_test_upward): Likewise.
55887         (ctanh_test): Likewise.
55888         (ctanh_test_tonearest): Likewise.
55889         (ctanh_test_towardzero): Likewise.
55890         (ctanh_test_downward): Likewise.
55891         (ctanh_test_upward): Likewise.
55892         (erf_test): Likewise.
55893         (erfc_test): Likewise.
55894         (exp_test): Likewise.
55895         (exp_test_tonearest): Likewise.
55896         (exp_test_towardzero): Likewise.
55897         (exp_test_downward): Likewise.
55898         (exp_test_upward): Likewise.
55899         (exp10_test): Likewise.
55900         (exp10_test_tonearest): Likewise.
55901         (exp10_test_towardzero): Likewise.
55902         (exp10_test_downward): Likewise.
55903         (exp10_test_upward): Likewise.
55904         (pow10_test): Likewise.
55905         (exp2_test): Likewise.
55906         (expm1_test): Likewise.
55907         (expm1_test_tonearest): Likewise.
55908         (expm1_test_towardzero): Likewise.
55909         (expm1_test_downward): Likewise.
55910         (expm1_test_upward): Likewise.
55911         (fabs_test): Likewise.
55912         (fdim_test): Likewise.
55913         (floor_test): Likewise.
55914         (fma_test): Likewise.
55915         (fma_test_towardzero): Likewise.
55916         (fma_test_downward): Likewise.
55917         (fma_test_upward): Likewise.
55918         (fmax_test): Likewise.
55919         (fmin_test): Likewise.
55920         (fmod_test): Likewise.
55921         (fpclassify_test): Likewise.
55922         (frexp_test): Likewise.
55923         (hypot_test): Likewise.
55924         (ilogb_test): Likewise.
55925         (isfinite_test): Likewise.
55926         (finite_test): Likewise.
55927         (isgreater_test): Likewise.
55928         (isgreaterequal_test): Likewise.
55929         (isinf_test): Likewise.
55930         (isless_test): Likewise.
55931         (islessequal_test): Likewise.
55932         (islessgreater_test): Likewise.
55933         (isnan_test): Likewise.
55934         (isnormal_test): Likewise.
55935         (issignaling_test): Likewise.
55936         (isunordered_test): Likewise.
55937         (j0_test): Likewise.
55938         (j1_test): Likewise.
55939         (jn_test): Likewise.
55940         (ldexp_test): Likewise.
55941         (lgamma_test): Likewise.
55942         (gamma_test): Likewise.
55943         (lrint_test): Likewise.
55944         (lrint_test_tonearest): Likewise.
55945         (lrint_test_towardzero): Likewise.
55946         (lrint_test_downward): Likewise.
55947         (lrint_test_upward): Likewise.
55948         (llrint_test): Likewise.
55949         (llrint_test_tonearest): Likewise.
55950         (llrint_test_towardzero): Likewise.
55951         (llrint_test_downward): Likewise.
55952         (llrint_test_upward): Likewise.
55953         (log_test): Likewise.
55954         (log10_test): Likewise.
55955         (log1p_test): Likewise.
55956         (log2_test): Likewise.
55957         (logb_test): Likewise.
55958         (logb_test_downward): Likewise.
55959         (lround_test): Likewise.
55960         (llround_test): Likewise.
55961         (modf_test): Likewise.
55962         (nearbyint_test): Likewise.
55963         (nextafter_test): Likewise.
55964         (nexttoward_test): Likewise.
55965         (pow_test): Likewise.
55966         (pow_test_tonearest): Likewise.
55967         (pow_test_towardzero): Likewise.
55968         (pow_test_downward): Likewise.
55969         (pow_test_upward): Likewise.
55970         (remainder_test): Likewise.
55971         (drem_test): Likewise.
55972         (remainder_test_tonearest): Likewise.
55973         (drem_test_tonearest): Likewise.
55974         (remainder_test_towardzero): Likewise.
55975         (drem_test_towardzero): Likewise.
55976         (remainder_test_downward): Likewise.
55977         (drem_test_downward): Likewise.
55978         (remainder_test_upward): Likewise.
55979         (drem_test_upward): Likewise.
55980         (remquo_test): Likewise.
55981         (rint_test): Likewise.
55982         (rint_test_tonearest): Likewise.
55983         (rint_test_towardzero): Likewise.
55984         (rint_test_downward): Likewise.
55985         (rint_test_upward): Likewise.
55986         (round_test): Likewise.
55987         (scalb_test): Likewise.
55988         (scalbn_test): Likewise.
55989         (scalbln_test): Likewise.
55990         (signbit_test): Likewise.
55991         (sin_test): Likewise.
55992         (sin_test_tonearest): Likewise.
55993         (sin_test_towardzero): Likewise.
55994         (sin_test_downward): Likewise.
55995         (sin_test_upward): Likewise.
55996         (sincos_test): Likewise.
55997         (sinh_test): Likewise.
55998         (sinh_test_tonearest): Likewise.
55999         (sinh_test_towardzero): Likewise.
56000         (sinh_test_downward): Likewise.
56001         (sinh_test_upward): Likewise.
56002         (sqrt_test): Likewise.
56003         (sqrt_test_tonearest): Likewise.
56004         (sqrt_test_towardzero): Likewise.
56005         (sqrt_test_downward): Likewise.
56006         (sqrt_test_upward): Likewise.
56007         (tan_test): Likewise.
56008         (tan_test_tonearest): Likewise.
56009         (tan_test_towardzero): Likewise.
56010         (tan_test_downward): Likewise.
56011         (tan_test_upward): Likewise.
56012         (tanh_test): Likewise.
56013         (tgamma_test): Likewise.
56014         (trunc_test): Likewise.
56015         (y0_test): Likewise.
56016         (y1_test): Likewise.
56017         (yn_test): Likewise.
56018         (significand_test): Likewise.
56020         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
56021         individual tests in comment.
56022         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
56023         (prev_max_error): New variable.
56024         (prev_real_max_error): Likewise.
56025         (prev_imag_max_error): Likewise.
56026         (compare_ulp_data): Don't refer to test names in comment.
56027         (find_test_ulps): Remove function.
56028         (find_function_ulps): Likewise.
56029         (find_complex_function_ulps): Likewise.
56030         (init_max_error): Take function name as argument.  Look up ulps
56031         for that function.
56032         (print_ulps): Remove function.
56033         (print_max_error): Use prev_max_error instead of calling
56034         find_function_ulps.
56035         (print_complex_max_error): Use prev_real_max_error and
56036         prev_imag_max_error instead of calling find_complex_function_ulps.
56037         (check_float_internal): Take max_ulp parameter instead of calling
56038         find_test_ulps.  Don't call print_ulps.
56039         (check_float): Update call to check_float_internal.
56040         (check_complex): Update calls to check_float_internal.
56041         (START): Pass argument to init_max_error.
56042         * math/gen-libm-test.pl (%results): Don't include "kind"
56043         information.
56044         (parse_ulps): Don't handle ulps of individual tests.
56045         (print_ulps_file): Likewise.
56046         (output_ulps): Likewise.
56047         * math/README.libm-test: Update.
56048         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
56049         individual tests.
56050         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
56051         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
56052         * sysdeps/arm/libm-test-ulps: Likewise.
56053         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
56054         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
56055         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
56056         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
56057         * sysdeps/microblaze/libm-test-ulps: Likewise.
56058         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
56059         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
56060         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56061         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
56062         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56063         * sysdeps/sh/libm-test-ulps: Likewise.
56064         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56065         * sysdeps/tile/libm-test-ulps: Likewise.
56066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56068 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
56070         * math/libm-test.inc (print_complex_max_error): Check separately
56071         whether real and imaginary errors are within allowed range and
56072         pass 0 to print_complex_function_ulps instead of value within
56073         allowed range.
56075 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56077         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
56078         formatting.
56079         (get_handles_fopen): Likewise.
56080         (do_write_test): Likewise.
56082         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
56084         * libio/fileops.c (do_ftell): Use cached offset when
56085         available.
56086         * libio/iofwide.c (do_ftell_wide): Likewise.
56087         * libio/iofdopen.c (_IO_new_fdopen): Don't use
56088         _IO_file_attach.
56089         * libio/wfileops.c (_IO_fwide): Don't cache offset.
56091         [BZ #16532]
56092         * libio/libioP.h (get_file_offset): New function.
56093         * libio/fileops.c (get_file_offset): Likewise.
56094         (do_ftell): Likewise.
56095         (_IO_new_file_seekoff): Split out ftell logic.
56096         * libio/wfileops.c (do_ftell_wide): Likewise.
56097         (_IO_wfile_seekoff): Split out ftell logic.
56098         * libio/tst-ftell-active-handler.c: New test case.
56099         * libio/Makefile (tests): Add it.
56101 2014-03-03  Roland McGrath  <roland@hack.frob.com>
56103         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
56104         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
56106 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
56108         [BZ #16639]
56109         * nscd/connections.c (nscd_init): Call do_exit.
56110         (start_threads): Call do_exit and notify_parent.
56111         (begin_drop_privileges): Call do_exit.
56112         (finish_drop_privileges): Likewise.
56113         * nscd/selinux.c (preserve_capabilities): Likewise.
56114         (install_real_capabilities): Likewise.
56115         (nscd_selinux_enabled): Likewise.
56116         (avc_create_thread): Likewise.
56117         (avc_alloc_lock): Likewise.
56118         (nscd_avc_init): Likewise.
56119         * nscd/nscd.c (parent_fd): New static variable.
56120         (main): Create a pipe between parent and child processes.
56121         Skip closing parent_fd.
56122         (monitor_child): New function.
56123         (do_exit): Likewise.
56124         (notify_parent): Likewise.
56125         * nscd/nscd.h (notify_parent): Likewise.
56126         (do_exit): Likewise.
56128 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
56130         * malloc/malloc.c (__libc_calloc): Revert last change.
56132 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56136 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56138         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
56139         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
56140         implementation.
56141         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
56142         (__libc_ifunc_impl_list): Likewise.
56143         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
56144         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
56145         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
56146         * string/strrchr.c: Define STRRCHR.
56148 2014-02-28  Ondƙej BĂ­lka  <neleai@seznam.cz>
56150         * benchtest/bench-strtok.c (simple_strtok): Delete.
56151         (strtok_string): Use as benchmark.
56152         * string/strtok (STRTOK): New macro.
56154 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
56156         * manual/threads.texi: Add header and standard comments to all
56157         functions.
56159         * elf/dl-lookup.c (check_match): New function.
56160         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
56161         (do_lookup_x): Remove nested function check_match. Use non-nested
56162         function check_match.
56164 2014-02-28  Roland McGrath  <roland@hack.frob.com>
56166         * csu/Makefile (generated, before-compile): Use += rather than =.
56167         * catgets/Makefile (generated, generated-dirs): Likewise.
56168         * debug/Makefile (generated): Likewise.
56169         * dlfcn/Makefile (generated): Likewise.
56170         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
56171         * iconvdata/Makefile (before-compile, generated): Likewise.
56172         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
56173         * libio/Makefile (generated): Likewise.
56174         * malloc/Makefile (generated): Likewise.
56175         * manual/Makefile (generated, generated-dirs): Likewise.
56176         * misc/Makefile (generated): Likewise.
56177         * posix/Makefile (generated): Likewise.
56178         * resolv/Makefile (generated): Likewise.
56179         * sunrpc/Makefile (generated, generated-dirs): Likewise.
56180         * timezone/Makefile (generated, generated-dirs): Likewise.
56182         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
56184 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56186         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
56187         power8 implementation.
56188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
56189         file: POWER8 llround ifunc implementation.
56190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
56191         (__lllround): Add POWER8 implementation.
56192         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
56193         POWER8 llround implementation.
56195         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
56196         power8 implementation.
56197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
56198         file: POWER8 llrint ifunc implementation.
56199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
56200         Add POWER8 implementation.
56201         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
56202         POWER8 llrint implementation.
56204         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
56205         power8 implementation.
56206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
56207         file: POWER8 finite ifunc implementation.
56208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
56209         Add POWER8 implementation.
56210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
56211         Likewise.
56212         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
56213         POWER8 finite implementation.
56214         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
56216         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
56217         power8 implementation.
56218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
56219         file: POWER8 isinf ifunc implementation.
56220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
56221         POWER8 implementation.
56222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
56223         Likewise.
56224         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
56225         isinf implementation.
56226         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
56228         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
56229         (INIT_ARCH): Add hwcap2 initialization.
56230         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
56231         power8 implementation.
56232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
56233         file: POWER8 isnan ifunc implementation.
56234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
56235         POWER8 implementation.
56236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
56237         Likewise.
56238         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
56239         isnan implementation.
56240         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
56242 2014-02-27  Joey Ye  <joey.ye@arm.com>
56244         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
56245         (_FP_NANFRAC_Q): Set to zero.
56247 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56249         [BZ #16623]
56250         * math/auto-libm-test-in: New test inputs.
56251         * math/auto-libm-test-out: Regenerate.
56252         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
56253         and DA.
56254         (__cos): Likewise.
56255         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
56257 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
56259         * scripts/evaluate-test.sh: Take new argument indicating whether
56260         failure is expected.
56261         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
56262         indicating whether failure is expected.
56263         * conform/Makefile (test-xfail-run-conformtest): New variable.
56264         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
56265         level.
56266         * posix/Makefile (test-xfail-annexc): New variable.
56267         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
56269 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
56271         * argp/Makefile: Include Makeconfig immediately after defining
56272         subdir.
56273         * assert/Makefile: Likewise.
56274         * benchtests/Makefile: Likewise.
56275         * catgets/Makefile: Likewise.
56276         * conform/Makefile: Likewise.
56277         * crypt/Makefile: Likewise.
56278         * csu/Makefile: Likewise.
56279         (all): Remove target.
56280         * ctype/Makefile: Include Makeconfig immediately after defining
56281         subdir.
56282         * debug/Makefile: Likewise.
56283         * dirent/Makefile: Likewise.
56284         * dlfcn/Makefile: Likewise.
56285         * gmon/Makefile: Likewise.
56286         * gnulib/Makefile: Likewise.
56287         * grp/Makefile: Likewise.
56288         * gshadow/Makefile: Likewise.
56289         * hesiod/Makefile: Likewise.
56290         * hurd/Makefile: Likewise.
56291         (all): Remove target.
56292         * iconvdata/Makefile: Include Makeconfig immediately after
56293         defining subdir.
56294         * inet/Makefile: Likewise.
56295         * intl/Makefile: Likewise.
56296         * io/Makefile: Likewise.
56297         * libio/Makefile: Likewise.
56298         (all): Remove target.
56299         * locale/Makefile: Include Makeconfig immediately after defining
56300         subdir.
56301         * login/Makefile: Likewise.
56302         * mach/Makefile: Likewise.
56303         (all): Remove target.
56304         * malloc/Makefile: Include Makeconfig immediately after defining
56305         subdir.
56306         (all): Remove target.
56307         * manual/Makefile: Include Makeconfig immediately after defining
56308         subdir.
56309         * math/Makefile: Likewise.
56310         * misc/Makefile: Likewise.
56311         * nis/Makefile: Likewise.
56312         * nss/Makefile: Likewise.
56313         * po/Makefile: Likewise.
56314         (all): Remove target.
56315         * posix/Makefile: Include Makeconfig immediately after defining
56316         subdir.
56317         * pwd/Makefile: Likewise.
56318         * resolv/Makefile: Likewise.
56319         * resource/Makefile: Likewise.
56320         * rt/Makefile: Likewise.
56321         * setjmp/Makefile: Likewise.
56322         * shadow/Makefile: Likewise.
56323         * signal/Makefile: Likewise.
56324         * socket/Makefile: Likewise.
56325         * soft-fp/Makefile: Likewise.
56326         * stdio-common/Makefile: Likewise.
56327         * stdlib/Makefile: Likewise.
56328         * streams/Makefile: Likewise.
56329         * string/Makefile: Likewise.
56330         * sunrpc/Makefile: Likewise.
56331         (all): Remove target.
56332         * sysvipc/Makefile: Include Makeconfig immediately after defining
56333         subdir.
56334         * termios/Makefile: Likewise.
56335         * time/Makefile: Likewise.
56336         * timezone/Makefile: Likewise.
56337         (all): Remove target.
56338         * wcsmbs/Makefile: Include Makeconfig immediately after defining
56339         subdir.
56340         * wctype/Makefile: Likewise.
56342 2014-02-26  Steve Ellcey  <sellcey@mips.com>
56344         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
56345         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
56346         (libc_feholdexcept_setround_mips): Ditto.
56347         (libc_feholdsetround): New.
56348         (libc_feholdsetroundf): New.
56349         (libc_feholdsetroundl): New.
56350         (libc_feupdateenv_test_mips): New.
56351         (libc_feupdateenv_test): New.
56352         (libc_feupdateenv_testf): New.
56353         (libc_feupdateenv_testl): New.
56354         (libc_feresetround): New.
56355         (libc_feresetroundf): New.
56356         (libc_feresetroundl): New.
56357         (libc_fetestexcept_mips): New.
56358         (libc_fetestexcept): New.
56359         (libc_fetestexceptf): New.
56360         (libc_fetestexceptl): New.
56361         (HAVE_RM_CTX): New.
56362         (libc_feholdexcept_setround_mips_ctx): New.
56363         (libc_feholdexcept_setround_ctx): New.
56364         (libc_feholdexcept_setroundf_ctx): New.
56365         (libc_feholdexcept_setroundl_ctx): New.
56366         (libc_fesetenv_mips_ctx): New.
56367         (libc_fesetenv_ctx): New.
56368         (libc_fesetenv_ctxf): New.
56369         (libc_fesetenv_ctxl): New.
56370         (libc_feupdateenv_mips_ctx): New.
56371         (libc_feupdateenv_ctx): New.
56372         (libc_feupdateenvf_ctx): New.
56373         (libc_feupdateenvl_ctx): New.
56374         (libc_feholdsetround_mips_ctx): New.
56375         (libc_feholdsetround_ctx): New.
56376         (libc_feholdsetroundf_ctx): New.
56377         (libc_feholdsetroundl_ctx): New.
56378         (libc_feresetround_mips_ctx): New.
56379         (libc_feresetround_ctx): New.
56380         (libc_feresetroundf_ctx): New.
56381         (libc_feresetroundl_ctx): New.
56383 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
56385         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
56387         * manual/ipc.texi: New file.
56388         * manual/Makefile (chapters): Add ipc.
56389         * manual/job.texi: Add "Inter-Process Communication" to next.
56390         * manual/process.texi: Add "Inter-Process Communication" to prev.
56392 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56396 2014-02-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
56398         * malloc/malloc.c (__libc_calloc): Simplify implementation.
56400         * manual/arith.texi: Fix spaces after sentences.
56401         * manual/charset.texi: Likewise.
56402         * manual/errno.texi: Likewise.
56403         * manual/install.texi: Likewise.
56404         * manual/llio.texi: Likewise.
56405         * manual/locale.texi: Likewise.
56406         * manual/maint.texi: Likewise.
56407         * manual/math.texi: Likewise.
56408         * manual/memory.texi: Likewise.
56409         * manual/message.texi: Likewise.
56410         * manual/probes.texi: Likewise.
56411         * manual/resource.texi: Likewise.
56412         * manual/signal.texi: Likewise.
56413         * manual/socket.texi: Likewise.
56414         * manual/stdio.texi: Likewise.
56415         * manual/string.texi: Likewise.
56416         * manual/time.texi: Likewise.
56417         * manual/users.texi: Likewise.
56419 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
56421         [BZ #16632]
56422         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
56423         _DEFAULT_SOURCE is defined.
56425 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
56426             Carlos O'Donell  <carlos@redhat.com>
56428         [BZ #16613]
56429         * elf/dl-tls.c (_dl_count_modids): New function.
56430         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
56431         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
56432         audit library and increment generation counter.
56433         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
56434         * elf/tst-audit9.c: New file.
56435         * elf/tst-auditmod9a.c: New file.
56436         * elf/tst-auditmod9b.c: New file.
56437         * elf/Makefile: Add rules to build and run tst-audit9.
56439 2014-02-25  Florian Weimer  <fweimer@redhat.com>
56441         [BZ #15347]
56442         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
56444 2014-02-25  Will Newton  <will.newton@linaro.org>
56446         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
56447         (__longjmp): Restore sp and lr before restoring callee
56448         saved registers.  Add longjmp and longjmp_target
56449         SystemTap probe point.
56450         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
56451         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
56452         Define to zero to match jmpbuf layout.
56453         * sysdeps/arm/setjmp.S: Include stap-probe.h.
56454         (__sigsetjmp): Save sp and lr before saving callee
56455         saved registers.  Add setjmp SystemTap probe point.
56457 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
56459         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56461 2014-02-24  Andreas Schwab  <schwab@suse.de>
56463         [BZ #15804]
56464         * elf/pldd.c (wait_for_ptrace_stop): New function.
56465         (main): Call it after attaching.
56467 2014-02-22  Roland McGrath  <roland@hack.frob.com>
56469         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
56470         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
56471         Versions files is now verboten.
56472         * hurd/Versions (libc: GLIBC_2.0):
56473         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
56474         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
56475         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
56476         * mach/Versions: Likewise.
56478         * csu/Versions: Remove unused %include.
56479         * resolv/Versions: Likewise.
56481 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
56483         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
56484         ($(objpfx)check-local-headers.out): Likewise.
56485         ($(objpfx)begin-end-check.out): Likewise.
56486         * Makerules (check-abi-%.out): Likewise.
56487         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
56488         ($(objpfx)test2.cat): Likewise.
56489         ($(objpfx)de/libc.cat): Likewise.
56490         ($(objpfx)test-gencat.out): Likewise.
56491         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
56492         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
56493         ($(objpfx)noload-mem): Likewise.
56494         ($(objpfx)tst-pathopt.out): Likewise.
56495         ($(objpfx)tst-rtld-load-self.out): Likewise.
56496         ($(objpfx)tst-array1-cmp.out): Likewise.
56497         ($(objpfx)tst-array1-static-cmp.out): Likewise.
56498         ($(objpfx)tst-array2-cmp.out): Likewise.
56499         ($(objpfx)tst-array3-cmp.out): Likewise.
56500         ($(objpfx)tst-array4-cmp.out): Likewise.
56501         ($(objpfx)tst-array5-cmp.out): Likewise.
56502         ($(objpfx)tst-array5-static-cmp.out): Likewise.
56503         ($(objpfx)check-textrel.out): Likewise.
56504         ($(objpfx)check-execstack.out): Likewise.
56505         ($(objpfx)check-localplt.out): Likewise.
56506         ($(objpfx)order2-cmp.out): Likewise.
56507         ($(objpfx)tst-leaks1-mem): Likewise.
56508         ($(objpfx)tst-leaks1-static-mem): Likewise.
56509         ($(objpfx)tst-initorder-cmp.out): Likewise.
56510         ($(objpfx)tst-initorder2-cmp.out): Likewise.
56511         ($(objpfx)tst-unused-dep.out): Likewise.
56512         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
56513         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
56514         * iconv/Makefile (test-iconvconfig): Likewise.
56515         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
56516         ($(objpfx)iconv-test.out): Likewise.
56517         ($(objpfx)tst-tables.out): Likewise.
56518         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
56519         ($(objpfx)tst-gettext.out): Likewise.
56520         ($(objpfx)tst-translit.out): Likewise.
56521         ($(objpfx)tst-gettext2.out): Likewise.
56522         ($(objpfx)tst-gettext4.out): Likewise.
56523         ($(objpfx)tst-gettext6.out): Likewise.
56524         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
56525         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
56526         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
56527         ($(objpfx)tst-fopenloc-mem.out): Likewise.
56528         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
56529         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
56530         * posix/Makefile ($(objpfx)globtest.out): Likewise.
56531         ($(objpfx)wordexp-tst.out): Likewise.
56532         ($(objpfx)annexc.out): Likewise.
56533         ($(objpfx)tst-fnmatch-mem): Likewise.
56534         ($(objpfx)bug-regex2-mem): Likewise.
56535         ($(objpfx)bug-regex14-mem): Likewise.
56536         ($(objpfx)bug-regex21-mem): Likewise.
56537         ($(objpfx)bug-regex31-mem): Likewise.
56538         ($(objpfx)tst-vfork3-mem): Likewise.
56539         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
56540         ($(objpfx)tst-pcre-mem): Likewise.
56541         ($(objpfx)tst-boost-mem): Likewise.
56542         ($(objpfx)tst-getconf.out): Likewise.
56543         ($(objpfx)bug-ga2-mem): Likewise.
56544         ($(objpfx)bug-glob2-mem): Likewise.
56545         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
56546         ($(objpfx)mtrace-tst-leaks2): Likewise.
56547         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
56548         ($(objpfx)tst-printf.out): Likewise.
56549         ($(objpfx)tst-setvbuf1.out): Likewise.
56550         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
56551         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
56552         ($(objpfx)tst-fmtmsg.out): Likewise.
56553         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
56554         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
56556         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
56557         * bits/sigaction.h [__USE_MISC]: Likewise.
56558         * bits/waitstatus.h: Update #endif comments.
56559         * ctype/ctype.h: Likewise.
56560         * dirent/dirent.h: Likewise.
56561         [__USE_MISC]: Remove redundant conditionals.
56562         * grp/grp.h: Update #endif comments.
56563         [__USE_GNU]: Remove redundant conditionals.
56564         [__USE_MISC]: Likewise.
56565         * inet/netinet/in.h [__USE_GNU]: Likewise.
56566         * io/sys/stat.h [__USE_MISC]: Likewise.
56567         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
56568         * libio/bits/stdio.h: Update #endif comments.
56569         [__USE_MISC]: Remove redundant conditionals.
56570         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
56571         * libio/stdio.h: Update #endif comments.
56572         [__USE_MISC]: Remove redundant conditionals.
56573         * math/bits/math-finite.h [__USE_MISC]: Likewise.
56574         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
56575         * math/math.h: Update #else and #endif comments.
56576         [__USE_MISC]: Remove redundant conditionals.
56577         * misc/sys/uio.h: Update #endif comments.
56578         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
56579         * posix/glob.h [__USE_MISC]: Likewise.
56580         * posix/sys/types.h: Update #endif comments.
56581         [__USE_MISC]: Remove redundant conditionals.
56582         * posix/sys/wait.h: Update #endif comments.
56583         [__USE_MISC]: Remove redundant conditionals.
56584         * posix/unistd.h: Update #endif comments.
56585         [__USE_MISC]: Remove redundant conditionals.
56586         * pwd/pwd.h [__USE_GNU]: Likewise.
56587         [__USE_MISC]: Likewise.
56588         * resolv/netdb.h [__USE_GNU]: Likewise.
56589         * signal/signal.h: Update #endif comments.
56590         [__USE_MISC]: Remove redundant conditionals.
56591         * stdlib/stdlib.h: Update #else and #endif comments.
56592         [__USE_MISC]: Remove redundant conditionals.
56593         [__USE_GNU]: Likewise.
56594         * string/bits/string2.h [__USE_MISC]: Likewise.
56595         * string/string.h: Update #endif comments.
56596         [__USE_MISC]: Remove redundant conditionals.
56597         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
56598         Likewise.
56599         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
56600         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
56601         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
56602         Likewise.
56603         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
56604         Likewise.
56605         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
56606         comments.
56607         [__USE_MISC]: Remove redundant conditionals.
56608         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
56609         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
56610         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
56611         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
56612         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
56613         Likewise.
56614         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
56615         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
56616         Likewise.
56617         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
56618         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
56619         Likewise.
56620         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
56621         Likewise.
56622         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
56623         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
56624         Likewise.
56625         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
56626         Likewise.
56627         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
56628         * sysdeps/x86/bits/string.h: Update #endif comments.
56629         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
56630         conditionals.
56631         * time/sys/time.h: Update #endif comments.
56632         * time/time.h: Likewise.
56633         [__USE_MISC]: Remove redundant conditionals.
56635 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
56637         [BZ #16600]
56638         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
56640 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
56642         * Versions.def (librt): Add GLIBC_2.17.
56644 2014-02-21  Adam Conrad  <adconrad@0c3.net>
56646         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
56647         synonym for _SYS_AUXV_H to allow direct inclusion.
56648         * sysdeps/sparc/bits/hwcap.h: Likewise.
56649         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
56650         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
56651         * sysdeps/sparc/sysdep.h: Likewise.
56653 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56655         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
56657 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
56659         * benchtests/bench-strrchr.c: Print length instead of position.
56661 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
56663         [BZ #16611]
56664         * sysdeps/unix/sysv/linux/kernel-features.h
56665         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
56666         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
56667         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
56668         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
56669         Likewise.
56670         [__i386__ || __powerpc__ || __sh__ || __sparc__]
56671         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56672         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
56673         (__ASSUME_SENDMMSG): Define instead of using previous
56674         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
56675         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56676         (__ASSUME_SENDMMSG_SYSCALL): Define.
56677         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56678         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
56679         Likewise.
56680         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56681         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56682         Likewise.
56683         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56684         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56685         Likewise.
56686         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
56687         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56688         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56689         [__ASSUME_SENDMMSG]: Change conditionals to
56690         [__ASSUME_SENDMMSG_SOCKETCALL].
56691         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56692         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
56693         Define.
56694         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56695         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
56696         Likewise.
56697         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
56698         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56699         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56700         [!__ASSUME_SENDMMSG]: Change conditional to
56701         [!__ASSUME_SENDMMSG_SOCKETCALL].
56702         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56703         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56704         Define.
56706         [BZ #16610]
56707         * sysdeps/unix/sysv/linux/kernel-features.h
56708         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
56709         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
56710         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
56711         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
56712         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
56713         [__i386__ || __sparc__]
56714         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56715         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
56716         (__ASSUME_RECVMMSG): Define instead of using previous
56717         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
56718         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56719         (__ASSUME_RECVMMSG_SYSCALL): Define.
56720         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56721         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56722         Likewise.
56723         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56724         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56725         Likewise.
56726         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56727         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56728         Likewise.
56729         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
56730         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56731         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56732         [__ASSUME_RECVMMSG]: Change condition to
56733         [__ASSUME_RECVMMSG_SOCKETCALL].
56734         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56735         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56736         Define.
56737         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56738         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56739         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56740         Likewise.
56741         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
56742         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56743         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56744         [!__ASSUME_RECVMMSG]: Change condition to
56745         [!__ASSUME_RECVMMSG_SOCKETCALL].
56746         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56747         (__ASSUME_RECVMMSG_SYSCALL): Define.
56749         [BZ #16609]
56750         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
56751         __powerpc__ || __s390__ || __sh__ || __sparc__]
56752         (__ASSUME_SOCKETCALL): Define.
56753         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
56754         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
56755         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
56756         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
56757         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
56758         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56759         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
56760         (__ASSUME_ACCEPT4): Define instead of using previous
56761         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
56762         __powerpc__ || __sparc__ || __s390__)] condition.
56763         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56764         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56765         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
56766         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56767         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56768         [!__ASSUME_ACCEPT4]: Change condition to
56769         [!__ASSUME_ACCEPT4_SOCKETCALL].
56770         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56771         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
56772         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
56773         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56774         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
56775         __ASSUME_ACCEPT4_SYSCALL.
56776         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
56777         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
56778         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56779         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
56780         __ASSUME_ACCEPT4_SYSCALL.
56781         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
56782         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56783         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56784         [__ASSUME_ACCEPT4]: Change condition to
56785         [__ASSUME_ACCEPT4_SOCKETCALL].
56786         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
56787         (__ASSUME_SOCKETCALL): Define.
56788         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
56789         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56790         (__ASSUME_SOCKETCALL): Define.
56791         (__ASSUME_ACCEPT4): Remove.
56792         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
56793         Define.
56794         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56795         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
56796         Likewise.
56797         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56798         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56800         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
56801         macro.
56802         (HWCAP_ARM_LPAE): Likewise.
56803         (HWCAP_ARM_EVTSTRM): Likewise.
56804         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
56805         Add vpfd32, lpae and evtstrm.
56806         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
56807         Increase to 22.
56809 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
56811         * math/auto-libm-test-in: Add tests of clog10.
56812         * math/auto-libm-test-out: Regenerated.
56813         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
56814         * sysdeps/i386/fpu/libm-test-ulps: Update.
56815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56817 2014-02-18  Andreas Schwab  <schwab@suse.de>
56819         [BZ #16574]
56820         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
56821         Store non-zero if the second buffer was newly allocated.
56822         (send_dg): Likewise.
56823         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
56824         to send_vc and send_dg.
56825         (res_nsend): Pass NULL for ansp2_malloced.
56826         * resolv/res_query.c (__libc_res_nquery): Add parameter
56827         answerp2_malloced and pass it down to __libc_res_nsend.
56828         (res_nquery): Pass additional NULL to __libc_res_nquery.
56829         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
56830         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
56831         second answer buffer if answerp2_malloced was set.
56832         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
56833         (__libc_res_nquerydomain): Add parameter
56834         answerp2_malloced and pass it down to __libc_res_nquery.
56835         (res_nquerydomain): Pass additional NULL to
56836         __libc_res_nquerydomain.
56837         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
56838         additional NULL to __libc_res_nsend and __libc_res_nquery.
56839         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
56840         additional NULL to __libc_res_nsearch.
56841         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
56842         parameter of __libc_res_nsearch to check for separately allocated
56843         second buffer.
56844         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
56845         __libc_res_nquery.
56846         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
56847         additional NULL to __libc_res_nquery.
56848         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
56849         __libc_res_nsearch.
56850         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
56851         * include/resolv.h: Update prototypes of __libc_res_nquery,
56852         __libc_res_nsearch, __libc_res_nsend.
56854 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
56856         * math/auto-libm-test-in: Add tests of fma.
56857         * math/auto-libm-test-out: Regenerated.
56858         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
56859         (fma_towardzero_test_data): Likewise.
56860         (fma_downward_test_data): Likewise.
56861         (fma_upward_test_data): Likewise.
56862         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
56863         mpc_mode.
56864         (rounding_modes): Add values for new field.
56865         (func_calc_method): Add value mpfr_fff_f.
56866         (func_calc_desc): Add mpfr_fff_f union field.
56867         (test_function): Add field exact_args.
56868         (FUNC): Add macro argument EXACT_ARGS.
56869         (FUNC_mpfr_f_f): Update call to FUNC.
56870         (FUNC_mpfr_f_f): Likewise.
56871         (FUNC_mpfr_ff_f): Likewise.
56872         (FUNC_mpfr_if_f): Likewise.
56873         (FUNC_mpc_c_f): Likewise.
56874         (FUNC_mpc_c_c): Likewise.
56875         (test_functions): Add fma.  Update calls to FUNC.
56876         (handle_input_arg): Add argument exact_args.
56877         (add_test): Update call to handle_input_arg.
56878         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
56879         (output_for_one_input_case): Update call to calc_generic_results.
56880         Recalculate exact zero results in each rounding mode.
56882         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
56883         non-negative before setting low bit.
56884         * math/auto-libm-test-in: Mark one asin test possibly having
56885         spurious underflow.
56886         * math/auto-libm-test-out: Regenerated.
56887         * sysdeps/i386/fpu/libm-test-ulps: Update.
56888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56890 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
56892         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
56893         * sysdeps/unix/sysv/linux/microblaze: Move directory from
56894         ports/sysdeps/unix/sysv/linux/microblaze.
56895         * README: Add missing listing for microblaze*-*-linux-gnu.
56897 2014-02-16  Ondƙej BĂ­lka  <neleai@seznam.cz>
56899         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
56900         duplicate code
56902 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
56904         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
56905         * sysdeps/unix/sysv/linux/ia64: Move directory from
56906         ports/sysdeps/unix/sysv/linux/ia64.
56907         * README: Update listing for ia64-*-linux-gnu.
56909 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
56910             Joseph Myers  <joseph@codesourcery.com>
56912         * Makeconfig (test-name): New variable.
56913         (evaluate-test): Likewise.
56914         * Makerules (do-test-clean): Remove .test-result files.
56915         (common-mostlyclean): Likewise.
56916         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
56917         * scripts/evaluate-test.sh: New file.
56919 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
56921         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
56922         separate $(objpfx)tst-fopenloc-cmp.out and
56923         $(objpfx)tst-fopenloc-mem.out targets.
56924         (tests): Update dependencies.
56925         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
56926         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
56927         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
56928         (tst-rxspencer-no-utf8-ARGS): New variable.
56929         (tst-rxspencer-no-utf8-ENV): Likewise.
56930         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
56931         instead of $(objpfx)tst-rxspencer-mem.
56932         ($(objpfx)tst-rxspencer-mem): Change target to
56933         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
56934         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
56935         * posix/tst-rxspencer-no-utf8.c: New file.
56937         * elf/Makefile ($(objpfx)order.out): Remove rule.
56938         [$(run-built-tests) = yes] (tests): Depend on
56939         $(objpfx)order-cmp.out.
56940         ($(objpfx)order-cmp.out): New rule.
56941         [$(run-built-tests) = yes] (tests): Depend on
56942         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
56943         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
56944         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
56945         $(objpfx)tst-array5-static-cmp.out.
56946         ($(objpfx)tst-array1.out): Remove rule.
56947         ($(objpfx)tst-array1-cmp.out): New rule.
56948         ($(objpfx)tst-array1-static.out): Remove rule.
56949         ($(objpfx)tst-array1-static-cmp.out): New rule.
56950         ($(objpfx)tst-array2.out): Remove rule.
56951         ($(objpfx)tst-array2-cmp.out): New rule.
56952         ($(objpfx)tst-array3.out): Remove rule.
56953         ($(objpfx)tst-array3-cmp.out): New rule.
56954         ($(objpfx)tst-array4.out): Remove rule.
56955         ($(objpfx)tst-array4-cmp.out): New rule.
56956         ($(objpfx)tst-array5.out): Remove rule.
56957         ($(objpfx)tst-array5-cmp.out): New rule.
56958         ($(objpfx)tst-array5-static.out): Remove rule.
56959         ($(objpfx)tst-array5-static-cmp.out): New rule.
56960         [$(run-built-tests) = yes] (tests): Depend on
56961         $(objpfx)order2-cmp.out.
56962         ($(objpfx)order2.out): Remove rule.
56963         ($(objpfx)order2-cmp.out): New rule.
56964         ($(objpfx)tst-initorder.out): Remove rule.
56965         [$(run-built-tests) = yes] (tests): Depend on
56966         $(objpfx)tst-initorder-cmp.out.
56967         ($(objpfx)tst-initorder-cmp.out): New rule.
56968         ($(objpfx)tst-initorder2.out): Remove rule.
56969         [$(run-built-tests) = yes] (tests): Depend on
56970         $(objpfx)tst-initorder2-cmp.out.
56971         ($(objpfx)tst-initorder2-cmp.out): New rule.
56972         [$(run-built-tests) = yes] (tests): Depend on
56973         $(objpfx)tst-unused-dep-cmp.out.
56974         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
56975         ($(objpfx)tst-unused-dep-cmp.out): New rule.
56976         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
56977         on $(objpfx)tst-setvbuf1-cmp.out.
56978         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
56979         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
56980         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
56981         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
56982         ($(objpfx)tst-svc.out): Remove rule.
56983         ($(objpfx)tst-svc-cmp.out): New rule.
56985 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
56987         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
56988         * ctype/ctype.h [__USE_MISC]: Likewise.
56989         * dirent/dirent.h [__USE_MISC]: Likewise.
56990         * grp/grp.h [__USE_MISC]: Likewise.
56991         * io/fcntl.h [__USE_MISC]: Likewise.
56992         * io/sys/stat.h [__USE_MISC]: Likewise.
56993         * libio/stdio.h [__USE_MISC]: Likewise.
56994         * posix/unistd.h [__USE_MISC]: Likewise.
56995         * pwd/pwd.h [__USE_MISC]: Likewise.
56996         * stdlib.h [__USE_MISC]: Likewise.
56997         * string/bits/string2.h [__USE_MISC]: Likewise.
56998         * string/string.h [__USE_MISC]: Likewise.
56999         * time/time.h [__USE_MISC]: Likewise.
57001 2014-02-13  Andreas Schwab  <schwab@suse.de>
57003         [BZ #16574]
57004         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
57005         second answer buffer if it was separately allocated.
57007 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
57009         * sysdeps/mips/math-tests.h: Include <features.h>.
57010         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
57011         (ROUNDING_TESTS_long_double): Do not define.
57012         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
57013         (EXCEPTION_TESTS_long_double): Likewise.
57014         * sysdeps/mips/mips64/libm-test-ulps: Update.
57016         * include/features.h (__USE_BSD): Remove macro definitions.
57017         (__USE_SVID): Likewise.
57018         (_BSD_SOURCE): Likewise.
57019         (_SVID_SOURCE): Likewise.
57020         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
57021         from definition of _DEFAULT_SOURCE.
57022         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
57023         [_DEFAULT_SOURCE].
57024         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
57025         * bits/mman.h [__USE_BSD]: Likewise.
57026         * bits/termios.h [__USE_BSD]: Likewise.
57027         * bits/waitstatus.h [__USE_BSD]: Likewise.
57028         * ctype/ctype.h [__USE_SVID]: Likewise.
57029         * dirent/dirent.h [__USE_BSD]: Likewise.
57030         * grp/grp.h [__USE_SVID]: Likewise.
57031         [__USE_BSD]: Likewise.
57032         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
57033         * io/fcntl.h [__USE_BSD]: Likewise.
57034         * io/ftw.h [__USE_BSD]: Likewise.
57035         * io/sys/stat.h [__USE_BSD]: Likewise.
57036         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
57037         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
57038         * libio/stdio.h [__USE_SVID]: Likewise.
57039         [__USE_BSD]: Likewise.
57040         * math/math.h [__USE_SVID]: Likewise.
57041         [__USE_BSD]: Likewise.
57042         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
57043         * misc/bits/syslog.h [__USE_BSD]: Likewise.
57044         * misc/search.h [__USE_SVID]: Likewise.
57045         * misc/sys/mman.h [__USE_BSD]: Likewise.
57046         * misc/sys/syslog.h [__USE_BSD]: Likewise.
57047         * misc/sys/uio.h [__USE_BSD]: Likewise.
57048         * posix/bits/unistd.h [__USE_BSD]: Likewise.
57049         * posix/glob.h [__USE_BSD]: Likewise.
57050         * posix/regex.h [__USE_BSD]: Likewise.
57051         * posix/sys/types.h [__USE_BSD]: Likewise.
57052         [__USE_SVID]: Likewise.
57053         * posix/sys/utsname.h [__USE_SVID]: Likewise.
57054         * posix/sys/wait.h [__USE_BSD]: Likewise.
57055         [__USE_SVID]: Likewise.
57056         * posix/unistd.h [__USE_BSD]: Likewise.
57057         [__USE_SVID]: Likewise.
57058         * pwd/pwd.h [__USE_SVID]: Likewise.
57059         * resolv/netdb.h [__USE_BSD]: Likewise.
57060         * setjmp/setjmp.h [__USE_BSD]: Likewise.
57061         * signal/signal.h [__USE_BSD]: Likewise.
57062         [__USE_SVID]: Likewise.
57063         * socket/sys/socket.h [__USE_BSD]: Likewise.
57064         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
57065         * stdlib/stdlib.h [__USE_BSD]: Likewise.
57066         [__USE_SVID]: Likewise.
57067         * string/bits/string2.h [__USE_BSD]: Likewise.
57068         [__USE_SVID]: Likewise.
57069         * string/bits/string3.h [__USE_BSD]: Likewise.
57070         * string/endian.h [__USE_BSD]: Likewise.
57071         * string/string.h [__USE_SVID]: Likewise.
57072         [__USE_BSD]: Likewise.
57073         * string/strings.h [__USE_BSD]: Likewise.
57074         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
57075         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
57076         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
57077         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
57078         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
57079         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
57080         Likewise.
57081         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
57082         Likewise.
57083         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
57084         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
57085         Likewise.
57086         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
57087         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
57088         Likewise.
57089         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
57090         Likewise.
57091         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
57092         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
57093         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
57094         Likewise.
57095         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
57096         Likewise.
57097         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
57098         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
57099         * termios/termios.h [__USE_BSD]: Likewise.
57100         * time/sys/time.h [__USE_BSD]: Likewise.
57101         * time/time.h [__USE_BSD]: Likewise.
57102         [__USE_SVID]: Likewise.
57104         * Makefile (subdir_targets): Remove subdir_lint.out.
57106         * stdio-common/Makefile (do-tst-unbputc): Remove target.
57107         (do-tst-printf): Likewise.
57108         (tests): Depend directly on $(objpfx)tst-unbputc.out and
57109         $(objpfx)tst-printf.out.
57111         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
57113         * Makerules (check-abi-%): Change target to
57114         $(objpfx)check-abi-%.out.
57115         (check-abi target): Update dependencies.
57116         (check-abi-pattern variable): Redirect output of diff to $@.
57117         (check-abi variable): Likewise.
57118         * elf/Makefile (check-abi): Update dependencies.
57120         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
57121         unused.
57122         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
57123         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
57124         subnormal range.
57125         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
57126         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
57127         value has largest subnormal exponent.
57128         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
57129         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
57130         * sysdeps/aarch64/soft-fp/sfp-machine.h
57131         (_FP_TININESS_AFTER_ROUNDING): New macro.
57132         * sysdeps/alpha/soft-fp/sfp-machine.h
57133         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57134         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57135         Likewise.
57136         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
57137         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57138         * sysdeps/mips/soft-fp/sfp-machine.h
57139         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57140         * sysdeps/powerpc/soft-fp/sfp-machine.h
57141         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57142         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57143         Likewise.
57144         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57145         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57146         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57147         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57148         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57149         Likewise.
57151 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
57153         [BZ #16545]
57154         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
57155         model 1.
57157 2014-02-12  Richard Henderson  <rth@redhat.com>
57159         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
57160         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
57161         * sysdeps/unix/sysv/linux/alpha: Move directory from
57162         ports/sysdeps/unix/sysv/linux/alpha.
57163         * README: Update listing for alpha-*-linux-gnu.
57165 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
57167         * include/features.h: Update comment documenting feature test
57168         macros.
57169         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
57170         _DEFAULT_SOURCE.
57171         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
57172         (_SVID_SOURCE): Likewise.
57173         (_DEFAULT_SOURCE): Update description of default features.
57174         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
57175         with _GNU_SOURCE.
57176         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
57177         (S_ISVTX): Likewise.
57178         * manual/math.texi (Mathematical Constants): Likewise.
57179         * manual/signal.texi (Interrupted Primitives): Likewise.
57180         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
57181         * math/test-matherr.c (_SVID_SOURCE): Do not define.
57182         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
57183         Don't refer to _SVID_SOURCE in warning text.
57185         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57187         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
57188         already defined.
57189         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
57190         * sysdeps/mips/dl-lookup.c: Remove.
57191         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
57193 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
57195         [BZ #16447]
57196         * math/auto-libm-test-in: Add testcase for expl.
57197         * math/auto-libm-test-out: Regenerate.
57198         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
57199         calculation of unsafe.
57200         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
57202 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
57204         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
57205         * sysdeps/unix/sysv/linux/aarch64: Move directory from
57206         ports/sysdeps/unix/sysv/linux/aarch64.
57207         * README: Update listing for aarch64*-*-linux-gnu.
57209 2014-02-11  Will Newton  <will.newton@linaro.org>
57211         * manual/probes.texi (Mathematical Function Probes): Use
57212         "triggered" instead of "hit".
57214         * manual/probes.texi (Internal Probes): Add documentation
57215         of setjmp, longjmp and longjmp_target probes.
57217         * include/stap-probe.h: Add comment about probe argument
57218         format.
57220         * malloc/mtrace.c (attribute_hidden): Remove unused macro
57221         definition.  (tr_where, tr_freehook, tr_mallochook,
57222         tr_reallochook, tr_memalignhook): Use ANSI protoype.
57224 2014-02-11  David S. Miller  <davem@davemloft.net>
57226         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
57227         processing int_tests.
57229 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
57231         * sysdeps/mips: Move directory from ports/sysdeps/mips.
57232         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
57233         * sysdeps/unix/sysv/linux/mips: Move directory from
57234         ports/sysdeps/unix/sysv/linux/mips.
57235         * README: Update listing for mips-*-linux-gnu and
57236         mips64-*-linux-gnu.
57238 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
57240         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
57241         * sysdeps/unix/sysv/linux/m68k: Move directory from
57242         ports/sysdeps/unix/sysv/linux/m68k.
57243         * README: Update listing for m68k-*-linux-gnu.
57245 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
57247         * sysdeps/tile: Move directory from ports/sysdeps/tile.
57248         * sysdeps/unix/sysv/linux/generic: Move directory from
57249         ports/sysdeps/unix/sysv/linux/generic.
57250         * sysdeps/unix/sysv/linux/tile: Move directory from
57251         ports/sysdeps/unix/sysv/linux/tile.
57252         * README: Update listing for tile*-*-linux-gnu.
57254 2014-02-10  Ondƙej BĂ­lka  <neleai@seznam.cz>
57256         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
57257         __builtin_expect.
57258         * benchtests/bench-memmem.c (simple_memmem): Likewise.
57259         * catgets/open_catalog.c (__open_catalog): Likewise.
57260         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
57261         * debug/confstr_chk.c: Likewise.
57262         * debug/fread_chk.c (__fread_chk): Likewise.
57263         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
57264         * debug/getgroups_chk.c: Likewise.
57265         * debug/mbsnrtowcs_chk.c: Likewise.
57266         * debug/mbsrtowcs_chk.c: Likewise.
57267         * debug/mbstowcs_chk.c: Likewise.
57268         * debug/memcpy_chk.c: Likewise.
57269         * debug/memmove_chk.c: Likewise.
57270         * debug/mempcpy_chk.c: Likewise.
57271         * debug/memset_chk.c: Likewise.
57272         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
57273         * debug/strcat_chk.c (__strcat_chk): Likewise.
57274         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
57275         * debug/strncat_chk.c (__strncat_chk): Likewise.
57276         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
57277         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
57278         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
57279         * debug/wcpncpy_chk.c: Likewise.
57280         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
57281         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
57282         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
57283         * debug/wcsncpy_chk.c: Likewise.
57284         * debug/wcsnrtombs_chk.c: Likewise.
57285         * debug/wcsrtombs_chk.c: Likewise.
57286         * debug/wcstombs_chk.c: Likewise.
57287         * debug/wmemcpy_chk.c: Likewise.
57288         * debug/wmemmove_chk.c: Likewise.
57289         * debug/wmempcpy_chk.c: Likewise.
57290         * debug/wmemset_chk.c: Likewise.
57291         * dirent/scandirat.c (SCANDIRAT): Likewise.
57292         * dlfcn/dladdr1.c (dladdr1): Likewise.
57293         * dlfcn/dladdr.c (dladdr): Likewise.
57294         * dlfcn/dlclose.c (dlclose_doit): Likewise.
57295         * dlfcn/dlerror.c (__dlerror): Likewise.
57296         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
57297         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
57298         * dlfcn/dlopen.c (dlopen_doit): Likewise.
57299         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
57300         * dlfcn/dlsym.c (dlsym_doit): Likewise.
57301         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
57302         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
57303         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
57304         Likewise.
57305         * elf/dl-conflict.c: Likewise.
57306         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
57307         * elf/dl-dst.h: Likewise.
57308         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
57309         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
57310         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
57311         * elf/dl-init.c (call_init, _dl_init): Likewise.
57312         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57313         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
57314         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
57315         Likewise.
57316         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
57317         Likewise.
57318         * elf/dl-minimal.c (__libc_memalign): Likewise.
57319         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
57320         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57321         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
57322         * elf/dl-sym.c (do_sym): Likewise.
57323         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
57324         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
57325         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
57326         * elf/dl-writev.h (_dl_writev): Likewise.
57327         * elf/ldconfig.c (search_dir): Likewise.
57328         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
57329         (dl_main): Likewise.
57330         * elf/setup-vdso.h (setup_vdso): Likewise.
57331         * grp/compat-initgroups.c (compat_call): Likewise.
57332         * grp/fgetgrent.c (fgetgrent): Likewise.
57333         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
57334         * grp/putgrent.c (putgrent): Likewise.
57335         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57336         Likewise.
57337         * hurd/hurdinit.c: Likewise.
57338         * iconvdata/8bit-gap.c (struct): Likewise.
57339         * iconvdata/ansi_x3.110.c : Likewise.
57340         * iconvdata/big5.c : Likewise.
57341         * iconvdata/big5hkscs.c : Likewise.
57342         * iconvdata/cp1255.c: Likewise.
57343         * iconvdata/cp1258.c : Likewise.
57344         * iconvdata/cp932.c : Likewise.
57345         * iconvdata/euc-cn.c: Likewise.
57346         * iconvdata/euc-jisx0213.c : Likewise.
57347         * iconvdata/euc-jp.c: Likewise.
57348         * iconvdata/euc-jp-ms.c : Likewise.
57349         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
57350         * iconvdata/gb18030.c : Likewise.
57351         * iconvdata/gbbig5.c (const): Likewise.
57352         * iconvdata/gbgbk.c: Likewise.
57353         * iconvdata/gbk.c : Likewise.
57354         * iconvdata/ibm1364.c : Likewise.
57355         * iconvdata/ibm930.c : Likewise.
57356         * iconvdata/ibm932.c: Likewise.
57357         * iconvdata/ibm933.c : Likewise.
57358         * iconvdata/ibm935.c : Likewise.
57359         * iconvdata/ibm937.c : Likewise.
57360         * iconvdata/ibm939.c : Likewise.
57361         * iconvdata/ibm943.c: Likewise.
57362         * iconvdata/iso_11548-1.c: Likewise.
57363         * iconvdata/iso-2022-cn.c : Likewise.
57364         * iconvdata/iso-2022-cn-ext.c : Likewise.
57365         * iconvdata/iso-2022-jp-3.c: Likewise.
57366         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
57367         * iconvdata/iso-2022-kr.c : Likewise.
57368         * iconvdata/iso646.c (gconv_end): Likewise.
57369         * iconvdata/iso_6937-2.c : Likewise.
57370         * iconvdata/iso_6937.c : Likewise.
57371         * iconvdata/iso8859-1.c: Likewise.
57372         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
57373         * iconvdata/shift_jisx0213.c : Likewise.
57374         * iconvdata/sjis.c : Likewise.
57375         * iconvdata/t.61.c : Likewise.
57376         * iconvdata/tcvn5712-1.c : Likewise.
57377         * iconvdata/tscii.c: Likewise.
57378         * iconvdata/uhc.c : Likewise.
57379         * iconvdata/unicode.c (gconv_end): Likewise.
57380         * iconvdata/utf-16.c (gconv_end): Likewise.
57381         * iconvdata/utf-32.c (gconv_end): Likewise.
57382         * iconvdata/utf-7.c (base64): Likewise.
57383         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
57384         * iconv/gconv_close.c (__gconv_close): Likewise.
57385         * iconv/gconv_open.c (__gconv_open): Likewise.
57386         * iconv/gconv_simple.c (internal_ucs4_loop_single)
57387         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
57388         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
57389         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
57390         (ucs4le_internal_loop_single): Likewise.
57391         * iconv/iconv.c (iconv): Likewise.
57392         * iconv/iconv_close.c: Likewise.
57393         * iconv/loop.c (SINGLE): Likewise.
57394         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
57395         * include/atomic.h: Likewise.
57396         * inet/inet6_option.c (option_alloc): Likewise.
57397         * intl/bindtextdom.c (set_binding_values): Likewise.
57398         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
57399         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
57400         * intl/localealias.c (read_alias_file): Likewise.
57401         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57402         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
57403         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
57404         * libio/fmemopen.c (fmemopen): Likewise.
57405         * libio/iofgets.c (_IO_fgets): Likewise.
57406         * libio/iofgets_u.c (fgets_unlocked): Likewise.
57407         * libio/iofgetws.c (fgetws): Likewise.
57408         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
57409         * libio/iogetdelim.c (_IO_getdelim): Likewise.
57410         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
57411         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
57412         * locale/findlocale.c (_nl_find_locale): Likewise.
57413         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
57414         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
57415         Likewise.
57416         * locale/setlocale.c (setlocale): Likewise.
57417         * login/programs/pt_chown.c (main): Likewise.
57418         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
57419         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57420         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
57421         (mmap, mmap64, mremap, munmap): Likewise.
57422         * math/e_exp2l.c: Likewise.
57423         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
57424         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
57425         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
57426         * math/s_catan.c (__catan): Likewise.
57427         * math/s_catanf.c (__catanf): Likewise.
57428         * math/s_catanh.c (__catanh): Likewise.
57429         * math/s_catanhf.c (__catanhf): Likewise.
57430         * math/s_catanhl.c (__catanhl): Likewise.
57431         * math/s_catanl.c (__catanl): Likewise.
57432         * math/s_ccosh.c (__ccosh): Likewise.
57433         * math/s_ccoshf.c (__ccoshf): Likewise.
57434         * math/s_ccoshl.c (__ccoshl): Likewise.
57435         * math/s_cexp.c (__cexp): Likewise.
57436         * math/s_cexpf.c (__cexpf): Likewise.
57437         * math/s_cexpl.c (__cexpl): Likewise.
57438         * math/s_clog10.c (__clog10): Likewise.
57439         * math/s_clog10f.c (__clog10f): Likewise.
57440         * math/s_clog10l.c (__clog10l): Likewise.
57441         * math/s_clog.c (__clog): Likewise.
57442         * math/s_clogf.c (__clogf): Likewise.
57443         * math/s_clogl.c (__clogl): Likewise.
57444         * math/s_csin.c (__csin): Likewise.
57445         * math/s_csinf.c (__csinf): Likewise.
57446         * math/s_csinh.c (__csinh): Likewise.
57447         * math/s_csinhf.c (__csinhf): Likewise.
57448         * math/s_csinhl.c (__csinhl): Likewise.
57449         * math/s_csinl.c (__csinl): Likewise.
57450         * math/s_csqrt.c (__csqrt): Likewise.
57451         * math/s_csqrtf.c (__csqrtf): Likewise.
57452         * math/s_csqrtl.c (__csqrtl): Likewise.
57453         * math/s_ctan.c (__ctan): Likewise.
57454         * math/s_ctanf.c (__ctanf): Likewise.
57455         * math/s_ctanh.c (__ctanh): Likewise.
57456         * math/s_ctanhf.c (__ctanhf): Likewise.
57457         * math/s_ctanhl.c (__ctanhl): Likewise.
57458         * math/s_ctanl.c (__ctanl): Likewise.
57459         * math/w_pow.c: Likewise.
57460         * math/w_powf.c: Likewise.
57461         * math/w_powl.c: Likewise.
57462         * math/w_scalb.c (sysv_scalb): Likewise.
57463         * math/w_scalbf.c (sysv_scalbf): Likewise.
57464         * math/w_scalbl.c (sysv_scalbl): Likewise.
57465         * misc/error.c (error_tail): Likewise.
57466         * misc/pselect.c (__pselect): Likewise.
57467         * nis/nis_callback.c (__nis_create_callback): Likewise.
57468         * nis/nis_call.c (__nisfind_server): Likewise.
57469         * nis/nis_creategroup.c (nis_creategroup): Likewise.
57470         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
57471         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
57472         * nis/nis_getservlist.c (nis_getservlist): Likewise.
57473         * nis/nis_lookup.c (nis_lookup): Likewise.
57474         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57475         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
57476         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
57477         * nis/nis_xdr.c (xdr_endpoint): Likewise.
57478         * nis/nss_compat/compat-grp.c (getgrent_next_file)
57479         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
57480         * nis/nss_compat/compat-initgroups.c (add_group)
57481         (internal_getgrent_r): Likewise.
57482         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
57483         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
57484         * nis/nss_compat/compat-spwd.c (getspent_next_file)
57485         (internal_getspnam_r): Likewise.
57486         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
57487         (_nss_nis_getaliasbyname_r): Likewise.
57488         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
57489         (_nss_nis_getntohost_r): Likewise.
57490         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
57491         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
57492         (_nss_nis_getgrgid_r): Likewise.
57493         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
57494         (internal_nis_gethostent_r, internal_gethostbyname2_r)
57495         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
57496         (_nss_nis_gethostbyname4_r): Likewise.
57497         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
57498         (initgroups_netid): Likewise.
57499         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57500         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
57501         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
57502         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
57503         (_nss_nis_getprotobynumber_r): Likewise.
57504         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
57505         (_nss_nis_getsecretkey): Likewise.
57506         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
57507         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
57508         (_nss_nis_getpwuid_r): Likewise.
57509         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
57510         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
57511         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
57512         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
57513         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
57514         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
57515         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
57516         Likewise.
57517         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
57518         (_nss_nisplus_getntohost_r): Likewise.
57519         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
57520         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
57521         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
57522         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
57523         Likewise.
57524         * nis/nss_nisplus/nisplus-initgroups.c
57525         (_nss_nisplus_initgroups_dyn): Likewise.
57526         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
57527         (_nss_nisplus_getnetbyaddr_r): Likewise.
57528         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
57529         (_nss_nisplus_getprotobynumber_r): Likewise.
57530         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
57531         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
57532         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
57533         Likewise.
57534         * nis/nss_nisplus/nisplus-service.c
57535         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
57536         (_nss_nisplus_getservbyport_r): Likewise.
57537         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
57538         (_nss_nisplus_getspnam_r): Likewise.
57539         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
57540         Likewise.
57541         * nscd/aicache.c (addhstaiX): Likewise.
57542         * nscd/cache.c (cache_search, prune_cache): Likewise.
57543         * nscd/connections.c (register_traced_file, send_ro_fd)
57544         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
57545         (main_loop_epoll): Likewise.
57546         * nscd/grpcache.c (addgrbyX): Likewise.
57547         * nscd/hstcache.c (addhstbyX): Likewise.
57548         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57549         * nscd/mem.c (gc, mempool_alloc): Likewise.
57550         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
57551         (addinnetgrX): Likewise.
57552         * nscd/nscd-client.h (__nscd_acquire_maplock)
57553         (__nscd_drop_map_ref): Likewise.
57554         * nscd/nscd_getai.c (__nscd_getai): Likewise.
57555         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
57556         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
57557         Likewise.
57558         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
57559         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57560         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
57561         (__nscd_get_map_ref): Likewise.
57562         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57563         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
57564         Likewise.
57565         * nscd/pwdcache.c (addpwbyX): Likewise.
57566         * nscd/selinux.c (preserve_capabilities): Likewise.
57567         * nscd/servicescache.c (addservbyX): Likewise.
57568         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
57569         * posix/fnmatch.c (fnmatch): Likewise.
57570         * posix/getopt.c (_getopt_internal_r): Likewise.
57571         * posix/glob.c (glob, glob_in_dir): Likewise.
57572         * posix/wordexp.c (exec_comm_child): Likewise.
57573         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
57574         (getanswer_r, gaih_getanswer_slice): Likewise.
57575         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
57576         * resolv/res_init.c: Likewise.
57577         * resolv/res_mkquery.c (res_nmkquery): Likewise.
57578         * resolv/res_query.c (__libc_res_nquery): Likewise.
57579         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
57580         Likewise.
57581         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
57582         * stdio-common/perror.c (perror): Likewise.
57583         * stdio-common/printf_fp.c (___printf_fp): Likewise.
57584         * stdio-common/tmpnam.c (tmpnam): Likewise.
57585         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
57586         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57587         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
57588         Likewise.
57589         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
57590         * stdlib/putenv.c (putenv): Likewise.
57591         * stdlib/setenv.c (__add_to_environ): Likewise.
57592         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
57593         * stdlib/strtol_l.c (INTERNAL): Likewise.
57594         * string/memmem.c (memmem): Likewise.
57595         * string/strerror.c (strerror): Likewise.
57596         * string/strnlen.c (__strnlen): Likewise.
57597         * string/test-memmem.c (simple_memmem): Likewise.
57598         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
57599         * sunrpc/pm_getport.c (__get_socket): Likewise.
57600         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
57601         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57602         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
57603         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
57604         Likewise.
57605         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
57606         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
57607         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
57608         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
57609         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57610         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
57611         Likewise.
57612         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
57613         Likewise.
57614         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
57615         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
57616         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57617         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
57618         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
57619         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
57620         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
57621         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
57622         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
57623         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
57624         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57625         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
57626         Likewise.
57627         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
57628         Likewise.
57629         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
57630         Likewise.
57631         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
57632         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57633         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
57634         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
57635         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
57636         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
57637         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57638         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
57639         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
57640         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
57641         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
57642         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57643         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57644         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
57645         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57646         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
57647         Likewise.
57648         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
57649         Likewise.
57650         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
57651         Likewise.
57652         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
57653         Likewise.
57654         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57655         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57656         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
57657         Likewise.
57658         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
57659         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
57660         * sysdeps/posix/opendir.c (__opendirat): Likewise.
57661         * sysdeps/posix/sleep.c: Likewise.
57662         * sysdeps/posix/tempname.c: Likewise.
57663         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
57664         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57665         Likewise.
57666         * sysdeps/powerpc/powerpc32/dl-machine.h
57667         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
57668         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57669         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57670         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
57671         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
57672         Likewise.
57673         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57674         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
57675         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57676         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
57677         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57678         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
57679         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
57680         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
57681         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57682         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57683         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
57684         (elf_machine_lazy_rel): Likewise.
57685         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57686         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
57687         (elf_machine_lazy_rel): Likewise.
57688         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
57689         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
57690         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
57691         * sysdeps/unix/grantpt.c (grantpt): Likewise.
57692         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
57693         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
57694         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
57695         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57696         Likewise.
57697         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
57698         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
57699         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
57700         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
57701         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57702         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57703         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
57704         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
57705         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
57706         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57707         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57708         Likewise.
57709         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
57710         (__posix_fallocate64_l64): Likewise.
57711         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
57712         (posix_fallocate): Likewise.
57713         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
57714         Likewise.
57715         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57716         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
57717         (getifaddrs_internal): Likewise.
57718         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
57719         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
57720         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
57721         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
57722         * sysdeps/unix/sysv/linux/posix_fallocate64.c
57723         (__posix_fallocate64_l64): Likewise.
57724         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
57725         Likewise.
57726         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57727         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
57728         (__get_clockfreq): Likewise.
57729         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
57730         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
57731         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
57732         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57733         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57734         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
57735         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
57736         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
57737         Likewise.
57738         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
57739         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
57740         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
57741         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
57742         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57743         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
57744         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
57745         Likewise.
57746         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57747         (posix_fallocate): Likewise.
57748         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57749         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
57750         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57751         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
57752         (elf_machine_rela, elf_machine_rela_relative)
57753         (elf_machine_lazy_rel): Likewise.
57754         * time/asctime.c (asctime_internal): Likewise.
57755         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
57756         * time/tzset.c (__tzset_parse_tz): Likewise.
57757         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
57758         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
57759         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
57760         * wcsmbs/wcsmbsload.h: Likewise.
57762         [BZ #15894]
57763         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
57765         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
57766         (arena_get2): Remove THREAD_STATS conditionals.
57767         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
57768         (__malloc_stats, int): Likewise.
57770 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
57772         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
57773         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
57775         * manual/setjmp.texi: Fix typos/grammar errors.
57777         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
57778         Only return early when n is <= 0.  Delete unused return statement.
57780         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
57781         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
57782         * debug/tst-longjmp_chk3.c: New file.
57784         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
57785         (test_main): Replace code with set_fortify_handler call.
57786         * debug/test-strcpy_chk.c: Likewise.
57787         * debug/tst-chk1.c: Likewise.
57788         * debug/tst-longjmp_chk.c: Likewise.
57789         * test-skeleton.c: Include fcntl.h & paths.h
57790         (set_fortify_handler): Define.
57792         * debug/tst-longjmp_chk.c: Add header comment and include
57793         ../test-skeleton.c.
57794         (do_test): Mark static.
57795         (TEST_FUNCTION): Define.
57797         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
57798         (IP_PMTUDISC_INTERFACE): Likewise.
57799         (IP_MULTICAST_IF): Likewise.
57800         (IP_MULTICAST_TTL): Likewise.
57801         (IP_MULTICAST_LOOP): Likewise.
57802         (IP_ADD_MEMBERSHIP): Likewise.
57803         (IP_DROP_MEMBERSHIP): Likewise.
57804         (IP_UNBLOCK_SOURCE): Likewise.
57805         (IP_BLOCK_SOURCE): Likewise.
57806         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
57807         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
57808         (IP_MSFILTER): Likewise.
57809         (MCAST_JOIN_GROUP): Likewise.
57810         (MCAST_BLOCK_SOURCE): Likewise.
57811         (MCAST_UNBLOCK_SOURCE): Likewise.
57812         (MCAST_LEAVE_GROUP): Likewise.
57813         (MCAST_JOIN_SOURCE_GROUP): Likewise.
57814         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
57815         (MCAST_MSFILTER): Likewise.
57816         (IP_MULTICAST_ALL): Likewise.
57817         (IP_UNICAST_IF): Likewise.
57819         * timezone/Makefile: Delete $(have-ksh) check.
57820         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
57821         * timezone/tzselect.ksh: Add +x mode bits.
57823         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
57824         (ANON_INODE_FS_MAGIC): Likewise.
57825         (BDEVFS_MAGIC): Likewise.
57826         (BINFMTFS_MAGIC): Likewise.
57827         (BTRFS_TEST_MAGIC): Likewise.
57828         (CRAMFS_MAGIC_WEND): Likewise.
57829         (DEBUGFS_MAGIC): Likewise.
57830         (ECRYPTFS_SUPER_MAGIC): Likewise.
57831         (EXT3_SUPER_MAGIC): Likewise.
57832         (EXT4_SUPER_MAGIC): Likewise.
57833         (FUTEXFS_SUPER_MAGIC): Likewise.
57834         (HOSTFS_SUPER_MAGIC): Likewise.
57835         (HUGETLBFS_MAGIC): Likewise.
57836         (MINIX3_SUPER_MAGIC): Likewise.
57837         (MTD_INODE_FS_MAGIC): Likewise.
57838         (NILFS_SUPER_MAGIC): Likewise.
57839         (OPENPROM_SUPER_MAGIC): Likewise.
57840         (PIPEFS_MAGIC): Likewise.
57841         (PSTOREFS_MAGIC): Likewise.
57842         (QNX6_SUPER_MAGIC): Likewise.
57843         (RAMFS_MAGIC): Likewise.
57844         (REISERFS_SUPER_MAGIC_STRING): Likewise.
57845         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
57846         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
57847         (SECURITYFS_MAGIC): Likewise.
57848         (SELINUX_MAGIC): Likewise.
57849         (SMACK_MAGIC): Likewise.
57850         (SOCKFS_MAGIC): Likewise.
57851         (SQUASHFS_MAGIC): Likewise.
57852         (STACK_END_MAGIC): Likewise.
57853         (TMPFS_MAGIC): Likewise.
57854         (USBDEVICE_SUPER_MAGIC): Likewise.
57855         (V9FS_MAGIC): Likewise.
57856         (XENFS_SUPER_MAGIC): Likewise.
57857         (CRAMFS_MAGIC): Fix typo in comment.
57858         (EXT2_SUPER_MAGIC): Update comment.
57859         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
57861 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
57863         * sysdeps/arm: Move directory from ports/sysdeps/arm.
57864         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
57865         * sysdeps/unix/sysv/linux/arm: Move directory from
57866         ports/sysdeps/unix/sysv/linux/arm.
57867         * README: Update listing for arm-*-linux-gnueabi.
57869         * README: Remove mention of am33.
57871 2014-02-07  Roland McGrath  <roland@hack.frob.com>
57873         * bits/sigset.h (__sigemptyset): Use a statement expression rather
57874         than the comma operator, to avoid "rhs of comma has no effect"
57875         compiler warnings.
57876         (__sigfillset, __sigandset, __sigorset): Likewise.
57877         * include/signal.h (__sigemptyset): Likewise.
57878         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
57880 2014-02-07  Allan McRae  <allan@archlinux.org>
57882         * version.h (RELEASE): Set to "development".
57883         (VERSION): Set to "2.19.90"
57884         * NEWS: Add 2.20 section.
57886 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
57888         [BZ #16529]
57889         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
57891 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57893         * manual/contrib.texi: Update entry for Carlos O'Donell,
57894         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
57896 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
57898         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
57900         * sysdeps/unix/sysv/linux/kernel-features.h
57901         [__LINUX_KERNEL_VERSION >= 0x020621]
57902         (__ASSUME_PROC_PID_TASK_COMM): Define.
57904 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57906         [BZ #16398]
57907         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
57908         conversion when destination buffer does not have enough space.
57909         * libio/tst-ftell-partial-wide.c: New test case.
57910         * libio/Makefile (tests): Add tst-ftell-partial-wide.
57912         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
57913         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
57914         Leonard and Allan McRae.
57916 2014-02-04  David S. Miller  <davem@davemloft.net>
57918         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
57919         32-bit.
57921 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
57924         New file
57925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
57926         New file
57927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
57928         New file.
57929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
57930         New file.
57931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
57932         New file.
57933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
57934         New file.
57935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
57936         New file.
57937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
57938         New file.
57939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
57940         New file.
57941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
57942         New file.
57943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
57944         New file.
57945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
57946         New file.
57947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
57948         New file.
57950 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57952         * nptl/shlib-versions: Change powerpc*le start to 2.17.
57953         * shlib-versions: Likewise.
57955 2014-02-04  Roland McGrath  <roland@hack.frob.com>
57956             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57958         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
57959         (abilist-pattern): New variable, set to %-le.abilist.
57961         * Makerules (abilist-pattern): New variable.
57962         (vpath): Use $(abilist-pattern) in place of %.abilist.
57963         (check-abi-% pattern rule): Likewise.
57964         (check-abi, update-abi): Likewise.
57966 2014-02-04  Eric Wong  <normalperson@yhbt.net>
57968         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57970 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
57972         * manual/startup.texi: Add next, previous, and top entries for
57973         the `Program Arguments' and `Environment Variables' nodes.
57975 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
57977         * manual/macros.texi: Add comments before MTASC-safety macros.
57979         * manual/users.texi: Document MTASC-safety properties.
57981         * manual/threads.texi (pthread_key_create, pthread_key_delete)
57982         (pthread_getspecific, pthread_setspecific): Format with
57983         @deftypefun, and add @safety note.
57984         * manual/signal.texi: Move comments that analyze the above
57985         functions to their home place.
57987 2014-02-03  Allan McRae  <allan@archlinux.org>
57989         * po/sl.po: Update Slovenian translation from translation project.
57991 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
57993         * manual/time.texi (timegm): Add missing blank after @c.
57994         Reported by Joseph Myers <joseph@codesourcery.com>.
57996 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
57998         * manual/check-safety.sh: New.
57999         * manual/Makefile ($(objpfx)stamp-summary): Run it.
58001         * manual/terminal.texi: Document MTASC-safety properties.
58003         * manual/filesys.texi: Document MTASC-safety properties.
58005         * manual/errno.texi: Document MTASC-safety properties.
58007         * manual/intro.texi: Document safety identifiers and
58008         conditionals.
58010         * manual/string.texi (wcstok): Fix prototype.
58011         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
58013         * manual/time.texi: Document MTASC-safety properties.
58015         * manual/string.texi: Document MTASC-safety properties.
58017         * manual/threads.texi: Document MTASC-safety properties.
58019         * manual/stdio.texi: Document MTASC-safety properties.
58021         * manual/syslog.texi: Document MTASC-safety properties.
58023         * manual/sysinfo.texi: Document MTASC-safety properties.
58025         * manual/startup.texi: Document MTASC-safety properties.
58027         * manual/socket.texi: Document MTASC-safety properties.
58029         * manual/signal.texi: Document MTASC-safety properties.
58031 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
58033         * manual/setjmp.texi: Document MTASC-safety properties.
58035         * manual/search.texi: Document MTASC-safety properties.
58037         * manual/resource.texi: Document MTASC-safety properties.
58039         * manual/process.texi: Document MTASC-safety properties.
58041         * manual/platform.texi: Document MTASC-safety properties.
58043         * manual/pipe.texi: Document MTASC-safety properties.
58045         * manual/pattern.texi: Document MTASC-safety properties.
58047         * manual/message.texi: Document MTASC-safety properties.
58049         [BZ #12751]
58050         * manual/memory.texi: Document MTASC-safety properties.
58052         * manual/math.texi: Document MTASC-safety properties.
58054         * manual/locale.texi: Document MTASC-safety properties.
58056         * manual/llio.texi: Document MTASC-safety properties.
58058         * manual/libdl.texi: New.
58060         * manual/lang.texi: Document MTASC-safety properties.
58062         * manual/job.texi: Document MTASC-safety properties.
58064         * manual/getopt.texi: Document MTASC-safety properties.
58066         * manual/ctype.texi: Document MTASC-safety properties.
58068 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
58070         [BZ #16046]
58071         * csu/libc-tls.c (static_map): Remove variable.
58072         (__libc_setup_tls): Use main executable's link map for TLS data.
58073         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
58074         casing for LM_ID_BASE and GL(dl_nns).
58075         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
58076         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
58077         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
58078         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
58079         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
58080         member.
58081         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
58082         l_phnum members.
58084 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
58086         * manual/debug.texi: Document MTASC-safety properties.
58088 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
58090         [BZ #16510]
58091         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
58092         of __x86_64__ when disabling x87 inline functions.
58094 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
58096         * manual/charset.texi: Document MTASC-safety properties.
58098         * manual/crypt.texi: Document MTASC-safety properties.
58100         * manual/conf.texi: Document MTASC-safety properties.
58102         * manual/arith.texi: Document MTASC-safety properties.
58104         * manual/argp.texi: Document MTASC-safety properties.
58106         * manual/macros.texi: Introduce macros to document multi
58107         thread, asynchronous signal and asynchronous cancellation
58108         safety properties.
58109         * manual/intro.texi: Introduce the properties themselves.
58111 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58113         * sysdeps/sh/sh4/Makefile: New file.
58115 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
58117         * math/gen-libm-test.pl ($srcdir): New variable.
58118         ($auto_input): Use it.
58120 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58122         [BZ #16506]
58123         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
58124         access beyond array bounds when parsing netgroups file.
58126         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
58127         the old buffer before realloc.
58129 2014-01-27  Allan McRae  <allan@archlinux.org>
58131         * po/fr.po: Update French translation from translation project.
58133 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58135         * sysdeps/sh/libm-test-ulps: Regenerate.
58137 2014-01-24  David S. Miller  <davem@davemloft.net>
58139         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
58141 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58143         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
58144         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
58146 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
58148         [BZ #16474]
58149         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
58150         string pointers after reallocation.
58152 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58154         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
58155         __SH4A__ instead of __SH_FPU_ANY__.
58157 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58159         * sysdeps/sh/fpu_control.h: New file.
58160         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
58161         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
58162         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
58163         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
58164         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
58165         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
58166         * sysdeps/sh/sys/ucontext.h: Remove.
58167         * sysdeps/sh/sys: Remove directory.
58169 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58171         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
58172         s390/sys/ucontext.h.
58173         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
58174         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
58176 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
58178         [BZ #15605]
58179         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
58181 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58183         [BZ #16431]
58184         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58185         Adjust the vDSO correctly for internal calls.
58186         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
58188 2014-01-20  Allan McRae  <allan@archlinux.org>
58190         * po/ca.po: Update Catalan translation from translation project.
58192 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
58194         * sysdeps/s390/sotruss-lib.c: New file.
58196 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58198         [BZ #16430]
58199         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
58200         (__GI___gettimeofday): Alias for a different internal symbol to avoid
58201         local calls issues by not having a PLT stub required for IFUNC calls.
58202         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
58204 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
58206         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
58207         * math/test-fpucw-static.c: Likewise.
58209 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58211         [BZ #16453]
58212         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
58214 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58216         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
58217         implementation for powerpc.
58219 2014-01-15  Ondƙej BĂ­lka  <neleai@seznam.cz>
58221         [BZ #14782]
58222         * sysdeps/posix/system.c (__libc_system): Do not enable
58223         asynchronous cancellation.
58225 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58227         [BZ #16427]
58228         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
58229         handling only for numbers special also in the IEEE case.
58231 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58233         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
58235 2014-01-11  Allan McRae  <allan@archlinux.org>
58237         * po/bg.po: Update Bulgarian translation from translation project.
58239         * po/de.po: Update German translation from translation project.
58241 2014-01-10  Roland McGrath  <roland@hack.frob.com>
58243         * sysdeps/generic/gcc-compat.h: New file.
58245 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58247         * benchtests/asin-inputs: Correct slow inputs.
58248         * benchtests/acos-inputs: Likewise.
58250 2014-01-10  Allan McRae  <allan@archlinux.org>
58252         * po:sv.po: Update Swedish translation from translation project.
58254         * po/vi.po: Update Vietnamese translation from translation project.
58256         * po/eo.po: Update Esperanto translation from translation project.
58258         * po/cs.po: Update Czech translation from translation project.
58260         * po/nl.po: Update Dutch translation from translation project.
58262         * po/pl.po: Update Polish translation from translation project.
58264         * po/ru.po: Update Russian translation from translation project.
58266         * po/uk.po: Update Ukrainian translation from translation project.
58268 2014-01-08  Brooks Moses  <bmoses@google.com>
58270         * elf/dl-load.c: Fix comment typo.
58272 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
58274         * po/header.pot: Rename to...
58275         * po/pot.header: ... this.
58276         * po/Makefile: Use pot.header.
58278 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
58279             Maxim Kuvyrkov  <maxim@kugelworks.com>
58281         [BZ #16394]
58282         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
58283         SRC and DEST against LEN.
58285 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58287         [BZ #16414]
58288         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
58289         implementation.
58290         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
58292 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58294         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58296 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
58298         [BZ #16408]
58299         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
58300         for large positive arguments.
58302 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
58304         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58306         * math/auto-libm-test-in: Mark various tests with
58307         xfail-rounding:ldbl-128ibm.
58308         * math/auto-libm-test-out: Regenerated.
58310         [BZ #16407]
58311         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
58312         Increase overflow threshold.
58314 2014-01-07  Ondƙej BĂ­lka  <neleai@seznam.cz>
58316         [BZ #14286]
58317         * stdio-common/vfprintf.c: Check for integer overflow.
58319 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58321         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
58322         the first argument and return value of __tls_get_addr_internal.
58324 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58326         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
58327         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
58329 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58331         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
58332         * sysdeps/s390/rtld-global-offsets.sym: New file.
58333         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
58334         GLIBC_2.19 symbol.
58335         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
58336         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
58337         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
58338         ... this.
58339         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
58340         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
58341         ... this.
58342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58343         Regenerate.
58344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58345         Regenerate.
58346         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
58347         halfs of GPRs for high_gprs contexts.
58348         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
58349         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
58350         field.
58351         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
58352         uc_flags field.
58353         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
58354         64 bit versions:
58355         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
58356         for high GPRs (uc_high_gprs) and for future extensions
58357         (__reserved).
58358         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
58359         for future extensions (__reserved).
58360         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
58361         64 bit versions:
58362         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
58363         SC_HIGHGPRS offset definition.
58364         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
58365         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
58367         * Versions.def: Add GLIBC_2.19 for libpthread.
58368         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
58369         siglongjmp for libpthread with GLIBC_2.19 symver.
58370         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
58371         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
58372         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
58373         * sysdeps/s390/__longjmp.c: New file.
58374         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
58375         * sysdeps/s390/longjmp.c: New file.
58376         * sysdeps/s390/setjmp.S: New file.
58377         * sysdeps/s390/sigjmp.S: New file.
58378         * sysdeps/s390/v1-longjmp.c: New file.
58379         * sysdeps/s390/v1-setjmp.h: New file.
58380         * sysdeps/s390/v1-sigjmp.c: New file.
58381         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
58382         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
58383         GLIBC_2.19 version.
58384         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
58385         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
58386         versioned symbols for ____longjmp_chk.
58387         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
58388         Likewise.
58389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58390         Regenerate.
58391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58392         Regenerate.
58393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58394         Regenerate.
58395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58396         Regenerate.
58397         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
58398         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
58399         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
58400         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
58401         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
58402         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
58403         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
58404         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
58405         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
58406         * sysdeps/s390/rtld-__longjmp.c: New file.
58407         * sysdeps/s390/rtld-setjmp.S: New file.
58409 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
58411         [BZ #16400]
58412         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58413         Return -__logl (x) for small positive arguments without evaluating
58414         a polynomial.
58416 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
58418         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
58419         Rename to ...
58420         (__ptrace_peeksiginfo_args): ... this.
58421         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58422         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58423         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58425 2014-01-06  Allan McRae  <allan@archlinux.org>
58427         * inet/netinet/in.h: Fix typo in comment.
58429 2014-01-05  Andreas Jaeger  <aj@suse.de>
58431         * sysdeps/i386/fpu/libm-test-ulps: Update.
58433 2014-01-05  Allan McRae  <allan@archlinux.org>
58435         * po/libc.pot: Regenerated.
58437         * malloc/memusagestat.c: Fix gettext call formatting.
58439 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
58441         * nscd/nscd.c: Improve usage() output.
58443 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
58445         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
58446         * sysdeps/unix/sysv/linux/configure: Regenerated.
58447         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
58448         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
58450 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
58452         [BZ #16390]
58453         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58454         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
58456 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58458         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
58459         extra tokens at end of #undef directive.
58460         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
58461         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
58462         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
58464 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
58466         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58468         * math/auto-libm-test-in: Mark various tests with
58469         xfail-rounding:ldbl-128ibm.
58470         * math/auto-libm-test-out: Regenerated.
58472 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
58474         [BZ #16386]
58475         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
58476         numbers with subnormal high part when calculating exponent.
58478         [BZ #16385]
58479         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
58480         fabs.
58482         [BZ #16384]
58483         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
58484         M_LN2l.
58485         (__ieee754_acoshl): Use __log1pl not __log1p.
58487 2013-01-02  Ondƙej BĂ­lka  <neleai@seznam.cz>
58489         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
58490         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
58491         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
58492         (grow_heap, heap_trim, _int_new_arena, get_free_list)
58493         (reused_arena, arena_get2): Convert to GNU style.
58494         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
58495         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
58496         (memalign_check, __malloc_set_state): Likewise.
58497         * malloc/mallocbug.c (main): Likewise.
58498         * malloc/malloc.c (__malloc_assert, malloc_init_state)
58499         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
58500         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
58501         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
58502         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
58503         (__posix_memalign, malloc_info): Likewise.
58504         * malloc/malloc.h: Likewise.
58505         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
58506         (mallochook, memalignhook, reallochook, mabort): Likewise.
58507         * malloc/mcheck.h: Likewise.
58508         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
58509         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
58510         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
58511         * malloc/morecore.c (__default_morecore): Likewise.
58512         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
58513         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
58514         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
58515         (print_and_abort): Likewise.
58516         * malloc/obstack.h: Likewise.
58517         * malloc/set-freeres.c (__libc_freeres): Likewise.
58518         * malloc/tst-mallocstate.c (main): Likewise.
58519         * malloc/tst-mtrace.c (main): Likewise.
58520         * malloc/tst-realloc.c (do_test): Likewise.
58522 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58524         [BZ #16366]
58525         * nscd/netgroupcache.c (do_notfound): New function.
58526         (addgetnetgrentX): Use it.
58528         [BZ # 16365]
58529         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
58530         NSS_STATUS_NOTFOUND.
58532 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
58534         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58537 2014-01-01  Allan McRae  <allan@archlinux.org>
58539         * scripts/update-copyrights: Update configure input file suffix.
58541         * NEWS: Update copyright year.
58542         * catgets/gencat.c: Likewise.
58543         * csu/version.c: Likewise.
58544         * debug/catchsegv.sh: Likewise.
58545         * debug/pcprofiledump.c: Likewise.
58546         * debug/xtrace.sh: Likewise.
58547         * elf/ldconfig.c: Likewise.
58548         * elf/ldd.bash.in: Likewise.
58549         * elf/pldd.c: Likewise.
58550         * elf/sotruss.ksh: Likewise.
58551         * elf/sprof.c: Likewise.
58552         * iconv/iconv_prog.c: Likewise.
58553         * iconv/iconvconfig.c: Likewise.
58554         * locale/programs/locale.c: Likewise.
58555         * locale/programs/localedef.c: Likewise.
58556         * login/programs/pt_chown.c: Likewise.
58557         * malloc/memusage.sh: Likewise.
58558         * malloc/memusagestat.c: Likewise.
58559         * malloc/mtrace.pl: Likewise.
58560         * manual/libc.texinfo: Likewise.
58561         * nscd/nscd.c: Likewise.
58562         * nss/getent.c: Likewise.
58563         * nss/makedb.c: Likewise.
58564         * posix/getconf.c: Likewise.
58565         * scripts/test-installation.pl: Likewise.
58567         * All files with FSF copyright notices: Update copyright dates
58568         using scripts/update-copyrights.
58569         * intl/plural.c: Regenerated.
58570         * locale/programs/charmap-kw.h: Likewise.
58571         * locale/programs/locfile-kw.h: Likewise.
58573 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
58575         * sysdeps/unix/sysv/linux/configure: Regenerated.
58576         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
58577         the linux/fanotify.h header.
58578         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
58579         HAVE_LINUX_FANOTIFY_H is defined.
58581 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
58583         * benchtests/cos-inputs: New inputs.
58584         * benchtests/sin-inputs: Likewise.
58586         * benchtests/atan-inputs: New inputs. Fix name of multiple
58587         precision fallback inputs.
58589         * benchtests/atanh-inputs: New inputs.
58590         * benchtests/tanh-inputs: Likewise.
58592         * benchtests/acosh-inputs: New inputs.
58593         * benchtests/asinh-inputs: Likewise.
58595         * benchtests/cosh-inputs: New inputs.
58596         * benchtests/sinh-inputs: Likewise.
58598         * benchtests/acos-inputs: Add more inputs.
58599         * benchtests/asin-inputs: Likewise.
58601 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
58603         [BZ #16375]
58604         * manual/arith.texi: Fix spelling.
58605         * manual/charset.texi: Likewise.
58606         * manual/errno.texi: Likewise.
58607         * manual/filesys.texi: Likewise.
58608         * manual/lang.texi: Likewise.
58609         * manual/llio.texi: Likewise.
58610         * manual/locale.texi: Likewise.
58611         * manual/message.texi: Likewise.
58612         * manual/resource.texi: Likewise.
58613         * manual/search.texi: Likewise.
58614         * manual/setjmp.texi: Likewise.
58615         * manual/stdio.texi: Likewise.
58616         * manual/string.texi: Likewise.
58617         * manual/sysinfo.texi: Likewise.
58618         * manual/time.texi: Likewise.
58620 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
58622         * po/sl.po: New file.
58624 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
58626         * .gitignore: Add core/.gdbinit/.gdb_history.
58628 2013-12-27  Allan McRae  <allan@archlinux.org>
58630         [BZ #16369]
58631         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
58632         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
58634 2013-12-24  Brooks Moses  <bmoses@google.com>
58636         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
58637         all compilers that claim C++98 compliance, not just GCC.
58638         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
58639         Likewise.
58641 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
58643         * NEWS: Restore accidentally deleted bug-fix entries.
58645 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
58646             Ondƙej BĂ­lka  <neleai@seznam.cz>
58648         [BZ #15073]
58649         * malloc/malloc.c (_int_free): Perform sanity check only if we
58650         have_lock.
58652 2013-12-23  Ondƙej BĂ­lka  <neleai@seznam.cz>
58654         [BZ #12986]
58655         * manual/stdio.texi (String Input Conversions): Clarify that character
58656         classes are not supported.
58658 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58662 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
58664         [BZ #16337]
58665         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58666         Calculate results for small negative arguments directly rather
58667         than using reflection formula with special underflow handling.
58669         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
58670         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
58671         sysdeps/unix/bsd/bsd4.4/syscalls.list.
58672         (fchflags): Likewise.
58673         (revoke): Likewise.
58674         (setlogin): Likewise.
58675         (sigaltstack): Likewise.
58676         (wait4): Likewise.
58677         (sigblock): Remove.
58678         (sigsetmask): Likewise.
58679         (wait3): Likewise.
58680         (waitpid): Likewise.
58681         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
58682         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
58683         file.
58684         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
58685         * sysdeps/unix/bsd/Makefile: ... here.
58686         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
58687         * sysdeps/unix/bsd/Versions: ... here.
58688         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
58689         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
58690         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
58691         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
58692         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
58693         * sysdeps/unix/bsd/sigblock.c: ... here.
58694         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
58695         * sysdeps/unix/bsd/sigsetmask.c: ... here.
58696         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
58697         * sysdeps/unix/bsd/sigvec.c: ... here.
58698         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
58699         * sysdeps/unix/bsd/tcdrain.c: ... here.
58700         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
58701         * sysdeps/unix/bsd/tcgetattr.c: ... here.
58702         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
58703         * sysdeps/unix/bsd/tcsetattr.c: ... here.
58704         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
58705         * sysdeps/unix/bsd/wait.c: ... here.
58706         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
58707         * sysdeps/unix/bsd/wait3.c: ... here.
58708         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
58709         * sysdeps/unix/bsd/waitpid.c: ... here.
58711 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
58713         [BZ #16356]
58714         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
58715         round-to-nearest for [!USE_AS_EXPM1L].
58716         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
58717         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
58718         more tests of exp and exp10.  Expect some exp10 tests to miss
58719         exceptions or fail in directed rounding modes.
58720         * math/auto-libm-test-out: Regenerated.
58721         * math/libm-test.inc (exp10_tonearest_test_data): New array.
58722         (exp10_test_tonearest): New function.
58723         (exp10_towardzero_test_data): New array.
58724         (exp10_test_towardzero): New function.
58725         (exp10_downward_test_data): New array.
58726         (exp10_test_downward): New function.
58727         (exp10_upward_test_data): New array.
58728         (exp10_test_upward): New function.
58729         (main): Call the new functions.
58730         * sysdeps/i386/fpu/libm-test-ulps: Update.
58731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58733 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
58735         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
58736         asinh, atan, atan2, atanh, cbrt, cos and cosh.
58737         * math/auto-libm-test-out: Regenerated.
58738         * math/libm-test.inc (acosh_test_data): Add more tests.
58739         (atanh_test_data): Likewise.
58740         (ceil_test_data): Likewise.
58741         (copysign_test_data): Likewise.
58742         * sysdeps/i386/fpu/libm-test-ulps: Update.
58743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58745         * timezone/checktab.awk: Update from tzcode 2013i.
58746         * timezone/private.h: Likewise.
58747         * timezone/scheck.c: Likewise.
58748         * timezone/tzfile.h: Likewise.
58749         * timezone/tzselect.ksh: Likewise.
58750         * timezone/zdump.c: Likewise.
58751         * timezone/zic.c: Likewise.
58753         * math/auto-libm-test-in: Add tests of cpow.
58754         * math/auto-libm-test-out: Regenerated.
58755         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
58756         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58757         mpc_cc_c.
58758         (func_calc_desc): Add mpc_cc_c union field.
58759         (test_functions): Add cpow.
58760         (special_fill_2pi): New function.
58761         (special_real_inputs): Add 2pi.
58762         (calc_generic_results): Handle mpc_cc_c.
58763         * sysdeps/i386/fpu/libm-test-ulps: Update.
58764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58766         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
58767         csqrt, ctan and ctanh.
58768         * math/auto-libm-test-out: Regenerated.
58769         * math/libm-test.inc (TEST_COND_x86_64): New macro.
58770         (TEST_COND_x86): Likewise.
58771         (ccos_test_data): Use AUTO_TESTS_c_c.
58772         (ccosh_test_data): Likewise.
58773         (cexp_test_data): Likewise.
58774         (clog_test_data): Likewise.
58775         (csqrt_test_data): Likewise.
58776         (ctan_test_data): Likewise.
58777         (ctan_tonearest_test_data): Likewise.
58778         (ctan_towardzero_test_data): Likewise.
58779         (ctan_downward_test_data): Likewise.
58780         (ctan_upward_test_data): Likewise.
58781         (ctanh_test_data): Likewise.
58782         (ctanh_tonearest_test_data): Likewise.
58783         (ctanh_towardzero_test_data): Likewise.
58784         (ctanh_downward_test_data): Likewise.
58785         (ctanh_upward_test_data): Likewise.
58786         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58787         mpc_c_c.
58788         (func_calc_desc): Add mpc_c_c union field.
58789         (FUNC_mpc_c_c): New macro.
58790         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
58791         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
58792         ctanh.
58793         (special_fill_min_subnorm_p120): New function.
58794         (special_real_inputs): Add min_subnorm_p120.
58795         (calc_generic_results): Handle mpc_c_c.
58796         * sysdeps/i386/fpu/libm-test-ulps: Update.
58797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58799 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58801         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
58802         (do_sin_slow): New functions.
58803         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
58804         (cslow2, csloww1, csloww2): Use the new functions.
58806         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
58807         Use M to change sign of result instead of X.  Assume X is
58808         positive.
58809         (csloww1): Likewise.
58810         (__sin): Adjust.
58811         (__cos): Adjust.
58813         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
58814         arguments A and DA.
58815         (__sin): Adjust.
58816         (__cos): Likewise.
58818         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
58819         (__cos): Likewise.
58820         (sloww1): Don't adjust sign of DX.
58821         (csloww1): Likewise.
58822         (sloww2): Use X directly and don't adjust sign of DX.
58823         (csloww2): Likewise.
58825 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
58827         * math/auto-libm-test-in: Add tests of cabs and carg.
58828         * math/auto-libm-test-out: Regenerated.
58829         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
58830         (carg_test_data): Likewise.
58831         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58832         mpc_c_f.
58833         (func_calc_desc): Add mpc_c_f union field.
58834         (test_functions): Add cabs and carg.
58835         (calc_generic_results): Handle mpc_c_f.
58837         * sysdeps/powerpc/powerpc32/libgcc-compat.S
58838         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
58839         as a macro and a compat symbol.
58840         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
58841         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
58842         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
58843         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
58844         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
58845         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
58846         not use .hidden.
58847         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
58848         Likewise.
58849         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
58850         Likewise.
58851         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
58852         Likewise.
58853         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
58854         Likewise.
58855         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
58856         Likewise.
58857         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
58858         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
58859         from GLIBC_2.3.2.
58861 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58863         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58865 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
58867         * manual/texinfo.tex: Update to version 2013-11-26.10 with
58868         trailing whitespace removed.
58869         * scripts/config.guess: Update to version 2013-11-29.
58870         * scripts/config.sub: Update to version 2013-10-01.
58872         * math/auto-libm-test-in: Add tests of sincos.
58873         * math/auto-libm-test-out: Regenerated.
58874         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
58875         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58876         mpfr_f_11.
58877         (func_calc_desc): Add mpfr_f_11 union field.
58878         (test_functions): Add sincos.
58879         (calc_generic_results): Handle mpfr_f_11.
58880         * sysdeps/i386/fpu/libm-test-ulps: Update.
58881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58883 2013-12-19  Andreas Schwab  <schwab@suse.de>
58885         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
58886         CALL_MCOUNT.
58887         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58888         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
58889         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
58891 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
58893         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
58894         * sysdeps/i386/fpu/libm-test-ulps: Update.
58895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58897         [BZ #16293]
58898         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
58899         round-to-nearest mode when using frndint.
58900         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
58901         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58902         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
58903         Likewise.
58904         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
58905         sinh test to fail.
58906         * math/auto-libm-test-out: Regenerated.
58907         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
58908         (TEST_COND_x86): Likewise.
58909         (expm1_tonearest_test_data): New array.
58910         (expm1_test_tonearest): New function.
58911         (expm1_towardzero_test_data): New array.
58912         (expm1_test_towardzero): New function.
58913         (expm1_downward_test_data): New array.
58914         (expm1_test_downward): New function.
58915         (expm1_upward_test_data): New array.
58916         (expm1_test_upward): New function.
58917         (main): Run the new test functions.
58918         * sysdeps/i386/fpu/libm-test-ulps: Update.
58919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58921         * include/features.h: Update comment documenting feature test
58922         macros.  Mention _DEFAULT_SOURCE in comment.
58923         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
58924         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
58925         _BSD_SOURCE and _SVID_SOURCE.
58926         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
58927         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
58928         !_SVID_SOURCE]: Likewise.
58929         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58930         (__USE_POSIX_IMPLICITLY): Define.
58931         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58932         (_POSIX_SOURCE): Undefine and redefine.
58933         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58934         (_POSIX_C_SOURCE): Likewise.
58935         * manual/creature.texi (_DEFAULT_SOURCE): Document.
58936         (Feature Test Macros): Update documentation of default features.
58938 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
58940         * benchtests/Makefile: Add bench-strtok.
58941         * benchtests/bench-strtok.c: New file: strtok benchtest.
58943 2013-12-19  Allan McRae  <allan@archlinux.org>
58945         * manual/install.texi: Suppress menu for plain text output.
58946         * INSTALL: Regenerated.
58948 2013-12-18  Brooks Moses  <bmoses@google.com>
58950         [BZ #15846]
58951         * misc/getauxval.c: Include errno.h.
58952         (__getauxval): Set errno to ENOENT if the requested type is not
58953         found.
58954         * misc/sys/auxv.h (getauxval): Document that it may set errno;
58955         don't declare with __attribute_const__.
58956         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
58957         * manual/startup.texi: Document that getauxval sets errno.
58959 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
58961         * math/auto-libm-test-in: Add tests of jn and yn.
58962         * math/auto-libm-test-out: Regenerated.
58963         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
58964         (yn_test_data): Likewise.
58965         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58966         mpfr_if_f.
58967         (func_calc_desc): Add mpfr_if_f union field.
58968         (FUNC_mpfr_if_f): New macro.
58969         (test_functions): Add jn and yn.
58970         (calc_generic_results): Assert type of second input for
58971         mpfr_ff_f.  Handle mpfr_if_f.
58972         (output_for_one_input_case): Disable all checking for arguments
58973         fitting floating-point types in case of an integer argument.
58974         * sysdeps/i386/fpu/libm-test-ulps: Update.
58975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
58978         Don't expect fegetround reference in libm.so.
58980 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58982         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
58983         $(config-cflags-nofma).
58985 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
58987         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
58988         * math/auto-libm-test-out: Regenerated.
58990         [BZ #16338]
58991         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
58992         to determine exponent and adjust argument to have exponent of -1.
58993         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
58994         log2.
58995         * math/auto-libm-test-out: Regenerated.
58996         * sysdeps/i386/fpu/libm-test-ulps: Update.
58997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58999 2013-12-18  Ondƙej BĂ­lka  <neleai@seznam.cz>
59001         * manual/probes.texi: Remove cases when per-thread arenas are
59002         disabled.
59004 2013-12-18  Andreas Schwab  <schwab@suse.de>
59006         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
59007         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
59008         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
59009         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
59010         * sysdeps/i386/i686/multiarch/Makefile: Update.
59011         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
59013 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
59015         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
59016         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
59018 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
59020         [BZ #15968]
59021         Support TZ transition times < 00:00:00.
59022         This is needed for version-3 tz-format files; it supports time
59023         stamps past 2037 for America/Godthab (the only entry in the tz
59024         database for which this change is relevant).
59025         * manual/time.texi (TZ Variable): Document transition times
59026         from -167:59:59 through -00:00:01.
59027         * time/tzset.c (tz_rule): Time of day is now signed.
59028         (__tzset_parse_tz): Parse negative time of day.
59030         Document TZ transition times >= 25:00:00.
59031         * manual/time.texi (TZ Variable): Document transition times from
59032         25:00:00 through 167:59:59.  These are already supported, and this
59033         support will help with version-3 tz-format files.
59035         * manual/time.texi (TZ Variable): Modernize North America example
59036         to reflect current (i.e., 2007-and-later) daylight saving rules.
59038         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
59040 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
59042         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
59043         * sysdeps/unix/bsd/bits/stat.h: Likewise.
59044         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
59045         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
59046         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
59047         * sysdeps/unix/bsd/bsdstat.h: Likewise.
59048         * sysdeps/unix/bsd/clock.c: Likewise.
59049         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
59050         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
59051         * sysdeps/unix/bsd/init-posix.c: Likewise.
59052         * sysdeps/unix/bsd/poll.c: Likewise.
59053         * sysdeps/unix/bsd/ptsname.c: Likewise.
59054         * sysdeps/unix/bsd/seekdir.c: Likewise.
59055         * sysdeps/unix/bsd/setegid.c: Likewise.
59056         * sysdeps/unix/bsd/seteuid.c: Likewise.
59057         * sysdeps/unix/bsd/setgid.c: Likewise.
59058         * sysdeps/unix/bsd/setrgid.c: Likewise.
59059         * sysdeps/unix/bsd/setruid.c: Likewise.
59060         * sysdeps/unix/bsd/setsid.c: Likewise.
59061         * sysdeps/unix/bsd/setuid.c: Likewise.
59062         * sysdeps/unix/bsd/sigaction.c: Likewise.
59063         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
59064         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
59065         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
59066         * sysdeps/unix/bsd/telldir.c: Likewise.
59067         * sysdeps/unix/bsd/times.c: Likewise.
59068         * sysdeps/unix/bsd/usleep.c: Likewise.
59070         * misc/Makefile (install-lib): Remove libbsd-compat.a.
59071         ($(objpfx)libbsd-compat.a): Remove rule.
59073         * include/features.h (__FAVOR_BSD): Do not define.
59074         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
59075         features conflicting with POSIX.
59076         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
59077         (_BSD_SOURCE): Remove description of not being a subset of other
59078         feature test macros.
59079         * manual/job.texi (getpgrp): Do not document BSD version.
59080         (getpgid): Do not document by reference to BSD getpgrp.
59081         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
59082         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
59083         * signal/signal.h [__FAVOR_BSD]: Likewise.
59084         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
59085         instead of making contents conditional on [__FAVOR_BSD].
59086         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
59088 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59090         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59092 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
59094         [BZ #16314]
59095         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
59096         values below 2**-450, not 2**-500.
59097         * math/auto-libm-test-in: Don't allow spurious underflow from
59098         hypot.
59099         * math/auto-libm-test-out: Regenerated.
59101         [BZ #16316]
59102         [BZ #16330]
59103         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
59104         values of ha and hb and sort them after adjusting subnormal
59105         arguments.
59106         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
59107         Likewise.
59108         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
59109         values of ea and eb and sort them after adjusting subnormal
59110         arguments.
59111         * math/auto-libm-test-in: Do not expect some hypot tests of
59112         subnormals to fail.  Add more hypot tests.
59113         * math/auto-libm-test-out: Regenerated.
59115 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59117         [BZ #13304]
59118         * sysdeps/sh/s_fma.c: New file.
59119         * sysdeps/sh/s_fmaf.c: New file.
59120         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
59121         version.
59122         * sysdeps/sh/Implies: Add sh/soft-fp.
59124 2013-12-16  Roland McGrath  <roland@hack.frob.com>
59126         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
59127         level of indirection to members `objname', `errstring', `malloced'.
59128         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
59129         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
59130         it as the __longjmp argument (just pass 1 instead).
59131         (_dl_catch_error): Initialize C with argument pointers and address of
59132         volatile local ERRCODE rather than copying values out of C at return.
59134 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
59136         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
59137         * math/auto-libm-test-out: Regenerated.
59138         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
59139         (hypot_test_data): Likewise.
59140         (pow_test_data): Likewise.
59141         (pow_tonearest_test_data): Likewise.
59142         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59143         mpfr_ff_f.
59144         (func_calc_desc): Add mpfr_ff_f union field.
59145         (FUNC_mpfr_ff_f): New macro.
59146         (test_functions): Add atan2, hypot and pow.
59147         (special_fill_min): New function.
59148         (special_fill_minus_min): Likewise.
59149         (special_fill_min_subnorm): Likewise.
59150         (special_fill_minus_min_subnorm): Likewise.
59151         (special_real_inputs): Add min, -min, min_subnorm and
59152         -min_subnorm.
59153         (calc_generic_results): Handle mpfr_ff_f.
59154         * sysdeps/i386/fpu/libm-test-ulps: Update.
59155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59157 2013-12-16  Will Newton  <will.newton@linaro.org>
59159         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
59160         (Aligned Memory Blocks): Add documentation for aligned_alloc
59161         and suggest it as an alternative to posix_memalign.
59162         (Hooks for Malloc): Document __memalign_hook is also called
59163         for aligned_alloc.  (Summary of Malloc): Add summary for
59164         aligned alloc.  Document __memalign_hook is also called
59165         for aligned_alloc.
59167 2013-12-16  Will Newton  <will.newton@linaro.org>
59169         * manual/memory.texi (Malloc Examples): Clarify default
59170         alignment documentation.  Suggest posix_memalign rather
59171         than memalign or valloc.
59172         (Aligned Memory Blocks): Remove suggestion to use memalign
59173         or valloc.  Remove obsolete comment about BSD.
59174         Document memalign errno values and mark the function obsolete.
59175         Document posix_memalign returned error codes.  Mark valloc
59176         as obsolete.  (Hooks for Malloc): __memalign_hook is also
59177         called for posix_memalign and valloc.
59178         (Summary of Malloc): Add posix_memalign to function summary.
59179         __memalign_hook is also called for posix_memalign and valloc.
59181 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59183         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
59184         TAYLOR_SIN.
59185         (__sin): Adjust.
59186         (__cos): Likewise.
59187         (sloww): Use mynumber union.  Expand ternary operator into
59188         if-else statements.
59189         (cslow): use mynumber union.
59191 2013-12-16  Allan McRae  <allan@archlinux.org>
59193         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
59194         * configure: Regenerated.
59196         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
59198         [BZ #14120]
59199         * configure.ac: Added --enable-maintainer-mode. Check for
59200         autoconf when enabled.
59201         * configure: Regenerated.
59203         * nscd/nscd.service: New file.
59204         * nscd/nscd.tmpfiles: New file.
59206 2013-12-14  Ondƙej BĂ­lka  <neleai@seznam.cz>
59208         [BZ #12100]
59209         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
59210         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
59211         * sysdeps/x86_64/multiarch/strstr.c: ... here.
59212         (strstr): Add __strstr_sse2_unaligned ifunc.
59213         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
59214         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
59215         (strcasestr): Remove __strcasestr_sse42 ifunc.
59216         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
59217         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
59218         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
59220 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59222         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
59223         * sysdeps/sh/bits/fenv.h: ... here.
59224         * sysdeps/sh/sh4/fpu/bits: Remove directory.
59226 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59228         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
59230         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
59231         hypotf multiarch implementations.
59232         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
59233         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
59234         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
59235         multiarch hypot for PPC64.
59236         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
59237         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
59238         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
59239         multiarch hypotf for PPC64.
59241         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
59242         modff multiarch implementations.
59243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
59244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
59245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
59246         multiarch modf for PPC64.
59247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
59248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
59249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
59250         multiarch modff for PPC64.
59252         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
59253         and logl multiarch implementations.
59254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
59255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
59256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
59257         multiarch logb for PPC64.
59258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
59259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
59260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
59261         multiarch logb for PPC64.
59262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
59263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
59264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
59265         multiarch logb for PPC64.
59267         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
59268         isinff multiarch implementation.
59269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
59270         file.
59271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
59272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
59273         multiarch isinf for PPC64.
59274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
59275         file.
59276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
59277         multiarch isinff for PPC64.
59279         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
59280         finitef multiarch implementation.
59281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
59282         file.
59283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
59284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
59285         multiarch finite for PPC64.
59286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
59287         file.
59288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
59289         multiarch finitef for PPC64.
59291         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
59292         lrint multiarch implementation.
59293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
59294         file.
59295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
59296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
59297         multiarch llrint for PPC64.
59298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
59299         multiarch lrint for PPC64.
59301         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
59302         copysignf multiarch implementation.
59303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
59304         file.
59305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
59306         file.
59307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
59308         multiarch copysign for PPC64.
59309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
59310         multiarch copysignf for PPC64.
59312         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
59313         multiarch implementation.
59314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
59315         file.
59316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
59317         file.
59318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
59319         file.
59320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
59321         file.
59322         multiarch llround for PPC64.
59323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
59324         multiarch trunc for PPC64.
59325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
59326         multiarch truncf for PPC64.
59328         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
59329         multiarch implementation.
59330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
59331         file.
59332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
59333         file.
59334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
59335         file.
59336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
59337         file.
59338         multiarch llround for PPC64.
59339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
59340         multiarch round for PPC64.
59341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
59342         multiarch roundf for PPC64.
59344         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
59345         multiarch implementation.
59346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
59347         file.
59348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
59349         file.
59350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
59351         file.
59352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
59353         file.
59354         multiarch llround for PPC64.
59355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
59356         multiarch floor for PPC64.
59357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
59358         multiarch floorf for PPC64.
59360         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
59361         multiarch implementation.
59362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
59363         file.
59364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
59365         file.
59366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
59367         file.
59368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
59369         file.
59370         multiarch llround for PPC64.
59371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
59372         multiarch ceil for PPC64.
59373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
59374         multiarch ceilf for PPC64.
59376         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
59377         multiarch implementation.
59378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
59379         file.
59380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
59381         file.
59382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
59383         file.
59384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
59385         multiarch llround for PPC64.
59386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
59387         multiarch lround for PPC64.
59389         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
59390         multiarch implementation.
59391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
59392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
59393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
59394         file.
59395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
59396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
59397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
59398         multiarch isnan for PPC64.
59399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
59400         multiarch isnanf for PPC64.
59402         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
59403         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
59404         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
59405         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
59406         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
59407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
59409         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
59410         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59411         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59412         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59414         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
59415         multiarch implementations.
59416         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59417         (__libc_ifunc_impl_list): Likewise.
59418         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
59419         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
59420         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
59421         multiarch stpcpy for PPC64.
59423         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
59424         multiarch implementations.
59425         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59426         (__libc_ifunc_impl_list): Likewise.
59427         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
59428         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
59429         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
59430         multiarch strcpy for PPC64.
59432         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
59433         redefine function name.
59434         (_wordcopy_fwd_dest_aligned): Likewise.
59435         (_wordcopy_bwd_aligned): Likewise.
59436         (_wordcopy_bwd_dest_aligned): Likewise.
59437         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
59438         multiarch implementations.
59439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59440         (__libc_ifunc_impl_list): Likewise.
59441         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
59442         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
59443         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
59444         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
59445         multiarch wcscpy for PPC64.
59447         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
59448         multiarch implementations.
59449         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59450         (__libc_ifunc_impl_list): Likewise.
59451         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
59452         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
59453         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
59454         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
59455         multiarch wcscpy for PPC64.
59457         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
59458         multiarch implementations.
59459         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59460         (__libc_ifunc_impl_list): Likewise.
59461         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
59462         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
59463         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
59464         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
59465         multiarch wcsrchr for PPC64.
59467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
59468         multiarch implementations.
59469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59470         (__libc_ifunc_impl_list): Likewise.
59471         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
59472         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
59473         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
59474         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
59475         multiarch wcschr for PPC64.
59477         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
59478         multiarch implementations.
59479         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59480         (__libc_ifunc_impl_list): Likewise.
59481         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
59482         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
59483         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
59484         multiarch strchrnul for PPC64.
59486         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
59487         implementations.
59488         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59489         (__libc_ifunc_impl_list): Likewise.
59490         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
59491         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
59492         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
59493         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
59494         strchr for PPC64.
59496         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
59497         implementations.
59498         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59499         (__libc_ifunc_impl_list): Likewise.
59500         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
59501         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
59502         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
59503         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
59504         strncmp for PPC64.
59506         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
59507         multiarch implementations.
59508         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59509         (__libc_ifunc_impl_list): Likewise.
59510         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
59511         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
59512         strncasecmp for PPC64.
59513         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
59514         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
59515         multiarch strncasecmp_l for PPC64.
59517         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
59518         multiarch implementations.
59519         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
59520         (__libc_ifunc_impl_list): Likewise.
59521         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
59522         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
59523         multiarch strcasecmp for PPC64.
59524         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
59525         file.
59526         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
59527         multiarch strcasecmp_l for PPC64.
59529         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
59530         implementations.
59531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59532         (__libc_ifunc_impl_list): Likewise.
59533         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
59534         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
59535         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
59536         strnlen for PPC64.
59538         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
59539         implementations.
59540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59541         (__libc_ifunc_impl_list): Likewise.
59542         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
59543         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
59544         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
59545         strlen for PPC64.
59547         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
59548         implementations.
59549         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59550         (__libc_ifunc_impl_list): Likewise.
59551         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
59552         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
59553         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
59554         rawmemrchr for PPC64.
59556         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
59557         implementation.
59558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59559         (__libc_ifunc_impl_list): Likewise.
59560         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
59561         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
59562         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
59563         memrchr for PPC64.
59565         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
59566         implementation.
59567         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59568         (__libc_ifunc_impl_list): Likewise.
59569         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
59570         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
59571         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
59572         memchr for PPC64.
59574         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
59575         implementation.
59576         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59577         (__libc_ifunc_impl_list): Likewise.
59578         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
59579         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
59580         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
59581         mempcpy for PPC64.
59583         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
59584         avoid cretion of __bzero symbol.
59585         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
59586         Likewise.
59587         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
59588         Likewise.
59589         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
59590         Likewise.
59591         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
59592         multiarch implementations.
59593         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59594         (__libc_ifunc_impl_list): Likewise.
59595         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
59596         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
59597         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
59598         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
59599         bzero for PPC32.
59600         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
59601         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
59602         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
59603         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
59604         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
59605         memset for PPC64.
59606         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
59608         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
59609         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
59610         implementations.
59611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59612         (__libc_ifunc_impl_list): Likewise.
59613         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
59614         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
59615         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
59616         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
59617         memcmp for PPC64.
59619         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
59620         multiarch for POWER/PPC64.
59621         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
59622         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
59623         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
59624         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
59625         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
59626         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
59627         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
59628         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
59629         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
59630         memcpy for PPC64.
59632         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
59633         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
59634         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
59635         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
59636         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
59637         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
59638         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
59639         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
59640         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
59641         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
59642         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
59643         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
59644         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
59645         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
59646         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
59647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
59648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
59649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
59650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
59651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
59652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
59653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
59655 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59657         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
59659 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
59661         * benchtests/Makefile (bench): Add exp2 and log2.
59662         (LDLIBS-bench-exp2): Add -lm.
59663         (LDLIBS-bench-log2): Likewise.
59664         * benchtests/exp2-inputs: New inputs file.
59665         * benchtests/log2-inputs: New inputs file.
59666         * benchtests/log-inputs: Add new inputs.
59667         * benchtests/tan-inputs: Likewise.
59669 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59671         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
59672         definition...
59673         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
59674         (csloww2): ... from here.
59676         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
59677         instead of structures.
59678         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
59679         (POLYNOMIAL): Likewise.
59680         (TAYLOR_SLOW): Likewise.
59681         (__sin): Likewise.
59682         (__cos): Likewise.
59683         (slow1): Likewise.
59684         (slow2): Likewise.
59685         (sloww): Likewise.
59686         (sloww1); Likewise.
59687         (sloww2): Likewise.
59688         (bsloww1): Likewise.
59689         (bsloww2): Likewise.
59690         (cslow2): Likewise.
59691         (csloww): Likewise.
59692         (csloww1): Likewise.
59693         (csloww2): Likewise.
59695 2013-12-10  Ondƙej BĂ­lka  <neleai@seznam.cz>
59697         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
59698         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
59699         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
59700         * malloc/hooks.c (realloc_check): Likewise.
59702         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
59703         * malloc/arena.c: Remove PER_THREAD conditional.
59704         [!PER_THREAD]: Remove code.
59705         (ptmalloc_unlock_all2): Likewise.
59706         (ptmalloc_init): Likewise.
59707         (_int_new_arena): Likewise.
59708         (arena_get2): Likewise.
59709         * malloc/hooks.c (__malloc_get_state): Likewise.
59710         (__malloc_set_state): Likewise.
59711         * malloc/malloc.c: Likewise.
59712         (struct malloc_state): Likewise.
59713         (struct malloc_par): Likewise.
59714         (__libc_realloc): Likewise.
59715         (__libc_mallopt): Likewise.
59717 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59719         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
59721 2013-12-09  Ondƙej BĂ­lka  <neleai@seznam.cz>
59723         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
59724         macro to a function.  Check for zero perturb_byte.
59725         (_int_malloc, _int_free): Remove zero perturb_byte checks.
59727         * malloc/malloc.c: (force_reg): Remove.
59728         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
59729         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
59730         force_reg by atomic_forced_read.
59731         * malloc/arena.c (ptmalloc_init): Likewise.
59732         * malloc/hooks.c (top_check): Likewise.
59734 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59736         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59738 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
59740         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59742 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
59744         * math/auto-libm-test-in: Add tests of lgamma.
59745         * math/auto-libm-test-out: Regenerated.
59746         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
59747         (M_LOG_2_SQRT_PIl): Likewise.
59748         (lgamma_test_data): Use AUTO_TESTS_f_f1.
59749         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59750         mpfr_f_f1.
59751         (func_calc_desc): Add mpfr_f_f1 union field.
59752         (ARGS1): New macro.
59753         (ARGS2): Likewise.
59754         (ARGS3): Likewise.
59755         (ARGS4): Likewise.
59756         (RET1): Likewise.
59757         (RET2): Likewise.
59758         (CALC): Likewise.
59759         (FUNC): Likewise.
59760         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
59761         (test_functions): Add lgamma.
59762         (calc_generic_results): Handle mpfr_f_f1.
59763         * sysdeps/i386/fpu/libm-test-ulps: Update.
59764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59766 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59768         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
59769         __mpn_add_n for PowerPC64/POWER7.
59770         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
59771         __mpn_sub_n for PowerPC64/POWER7.
59773         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
59774         __mpn_addmul_1 for PowerPC64.
59775         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
59776         __mpn_submul_1 for PowerPC64.
59777         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
59778         for PowerPC64.
59779         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
59780         for PowerPC64.
59782 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
59784         [BZ #15089]
59785         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
59787 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59789         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
59791         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
59792         add multiarch folders.
59793         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
59794         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
59795         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
59796         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
59797         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
59798         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
59799         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
59800         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
59801         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
59802         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
59803         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
59804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
59805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
59806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
59807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
59808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
59809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
59811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59812         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
59813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
59814         New file.
59815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
59816         New file.
59817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
59818         multiarch __ieee754_hypot for PowerPC32.
59819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
59820         New file.
59821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
59822         New file.
59823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
59824         multiarch __ieee754_hypotf for PowerPC32.
59826         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
59827         long_double_symbol only if __logbl is defined.
59828         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
59829         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
59830         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
59831         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
59832         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
59833         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
59834         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
59835         path for implementation.
59836         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
59837         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
59838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
59839         logb, and logbl multiarch implementations for PowerPC32.
59840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
59841         file.
59842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
59843         file.
59844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
59845         multiarch logb for PowerPC32.
59846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
59847         file.
59848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
59849         file.
59850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
59851         multiarch logbf for PowerPC32.
59852         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
59853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
59854         file.
59855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
59856         multiarch logbl implementation for PowerPC32.
59858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
59859         and modff multiarch implementations.
59860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
59861         New file.
59862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
59863         New file.
59864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
59865         multiarch modf for PowerPC32.
59866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
59867         New file.
59868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
59869         New file.
59870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
59871         multiarch modff for PowerPC32.
59873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
59874         and lrintf multiarch implementations.
59875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
59876         New file.
59877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
59878         New file.
59879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
59880         multiarch lrint for PowerPC32.
59881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
59882         file: multiarch lrintf for PowerPC32.
59884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
59885         and lroundf multiarch implementations.
59886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
59887         New file.
59888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
59889         New file.
59890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
59891         New file.
59892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
59893         multiarch lround for PowerPC32.
59894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
59895         file: multiarch lroundf for PowerPC32.
59897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59898         copysign and copysignf multiarch implementations.
59899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
59900         New file.
59901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
59902         New file.
59903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
59904         file: multiarch copysign for PowerPC32.
59905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
59906         file: multiarch copysignf for PowerPC32.
59908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
59909         and truncf multiarch implementations.
59910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
59911         New file.
59912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
59913         file.
59914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
59915         multiarch trunc for PowerPC32.
59916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
59917         New file.
59918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
59919         New file.
59920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
59921         multiarch truncf for PowerPC32.
59923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
59924         and roundf multiarch implementations.
59925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
59926         New file.
59927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
59928         file.
59929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
59930         multiarch round for PowerPC32.
59931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
59932         New file.
59933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
59934         New file.
59935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
59936         multiarch roundf for PowerPC32.
59938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
59939         and floorf multiarch implementations.
59940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
59941         New file.
59942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
59943         file.
59944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
59945         multiarch floor for PowerPC32.
59946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
59947         New file.
59948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
59949         New file.
59950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
59951         multiarch floorf for PowerPC32.
59953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
59954         and ceilf multiarch implementations.
59955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
59956         New file.
59957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
59958         file.
59959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
59960         multiarch ceil for PowerPC32.
59961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
59962         New file.
59963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
59964         file.
59965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
59966         multiarch ceilf for PowerPC32.
59968         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
59969         is defined.
59970         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
59971         FINITEF is defined.
59972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
59973         and finitef multiarch implementations.
59974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
59975         New file.
59976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
59977         file.
59978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
59979         multiarch finite for PowerPC32.
59980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
59981         New file.
59982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
59983         file: multiarch finitef for PowerPC32.
59985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
59986         and isinff multiarch implementations.
59987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
59988         file.
59989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
59990         file.
59991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
59992         multiarch isinf for PowerPC32.
59993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
59994         New file.
59995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
59996         multiarch isinff for PowerPC32.
59998         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
59999         alias when __isnan is defined.
60000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
60001         and isnanf multiarch implementations.
60002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
60003         file.
60004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
60005         file.
60006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
60007         file.
60008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
60009         file.
60010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
60011         multiarch isnan for PowerPC32.
60012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
60013         New file.
60014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
60015         New file.
60016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
60017         multiarch isnanf for PowerPC32.
60019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
60020         and sqrtf multiarch implementations.
60021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
60022         file.
60023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
60024         file.
60025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
60026         multiarch sqrt for PowerPC32.
60027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
60028         file.
60029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
60030         file.
60031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
60032         multiarch sqrtf for PowerPC32.
60034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
60035         and llroundf multiarch implementations.
60036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
60037         New file.
60038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
60039         New file.
60040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
60041         New file.
60042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
60043         file: multiarch llround for PowerPC32.
60044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
60045         file: multiarch llroundf for PowerPC32.
60047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
60048         multiarch PowerPC32 fpu implementations.
60049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
60050         New file.
60051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
60052         New file.
60053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
60054         multiarch llrint for PowerPC32.
60055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
60056         New file.
60057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
60058         New file.
60059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
60060         file.
60062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
60064         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
60065         file.
60066         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
60067         file.
60068         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
60069         file.
60070         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
60071         multiarch wordcopy for PPC32.
60072         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
60073         wordcopy objects.
60074         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60075         (__libc_ifunc_impl_list): Likewise.
60076         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
60077         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
60078         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
60079         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
60080         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
60081         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
60083         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
60084         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
60085         file.
60086         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
60087         file.
60088         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
60089         file.
60090         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
60091         multiarch wcscpy for PPC32.
60092         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
60093         multiarch objects.
60094         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60095         (__libc_ifunc_impl_list): Likewise.
60096         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
60097         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60098         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
60099         sysdeps/powerpc/power6/wcscpy.c.
60101         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
60102         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
60103         file.
60104         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
60105         file.
60106         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
60107         file.
60108         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
60109         multiarch wcsrchr for PPC32.
60110         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60111         multiarch objects.
60112         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60113         (__libc_ifunc_impl_list): Likewise.
60114         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
60115         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60116         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
60117         sysdeps/powerpc/power6/wcsrchr.c.
60119         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
60120         file.
60121         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
60122         file.
60123         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
60124         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
60125         multiarch wcschr for PPc32.
60126         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60127         multiarch objects.
60128         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60129         (__libc_ifunc_impl_list): Likewise.
60130         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
60131         * sysdeps/powerpc/power6/wcschr.c: ... to here.
60132         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
60133         sysdeps/powerpc/power6/wcschr.c.
60135         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
60136         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
60137         file.
60138         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
60139         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
60140         file: multiarch strchr for PPC32.
60141         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
60142         multiarch objects.
60143         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60144         (__libc_ifunc_impl_list): Likewise.
60146         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
60147         name.
60148         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
60149         file.
60150         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
60151         file.
60152         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
60153         multiarch strchrnul for PPC32.
60154         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
60155         multiarch objects.
60156         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60157         (__libc_ifunc_impl_list): Likewise.
60159         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
60160         file.
60161         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
60162         multiarch strncasecmp for PPC32.
60163         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
60164         file.
60165         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
60166         multiarch strncasecmp_l for PPC32.
60167         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
60168         strncasecmp multiarch objects.
60169         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60170         (__libc_ifunc_impl_list): Likewise.
60172         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
60173         file.
60174         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
60175         multiarch strncasecmp for PPC32.
60176         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
60177         New file.
60178         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
60179         multiarch strcasecmp_l for PPC32.
60180         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
60181         multiarch objects.
60182         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60183         (__libc_ifunc_impl_list): Likewise.
60185         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
60186         file.
60187         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
60188         file.
60189         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
60190         multiarch strncmp for PPC32.
60191         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
60192         multiarch objects.
60193         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60194         (__libc_ifunc_impl_list): Likewise.
60196         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
60197         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
60198         file.
60199         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
60200         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
60201         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
60202         multiarch objects.
60203         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60204         (__libc_ifunc_impl_list): Likewise.
60206         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
60207         file.
60208         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
60209         file.
60210         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
60211         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
60212         multiarch objects.
60213         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60214         (__libc_ifunc_impl_list): Likewise.
60216         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
60217         file.
60218         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
60219         file.
60220         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
60221         multiarch rawmemchr for PPC32.
60222         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
60223         multiarch objects.
60224         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60225         (__libc_ifunc_impl_list): Likewise.
60227         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
60228         file.
60229         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
60230         file.
60231         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
60232         file: memrchr multiarch for PPC32.
60233         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
60234         multiarch objects.
60235         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60236         (__libc_ifunc_impl_list): Likewise.
60238         * string/memchr.c (__memchr): Using macro to redefine symbol name.
60239         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
60240         file.
60241         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
60242         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
60243         multiarch memchr for PPC32.
60244         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
60245         multiarch objects.
60246         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60247         (__libc_ifunc_impl_list): Likewise.
60249         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
60250         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
60251         file.
60252         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
60253         file.
60254         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
60255         file: multiarch mempcpy for PPC32.
60256         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
60257         multiarch objects.
60258         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60259         (__libc_ifunc_impl_list): Likewise.
60261         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
60262         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
60263         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
60264         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
60265         multiarch bzero for PPC32.
60266         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
60267         file.
60268         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
60269         file.
60270         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
60271         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
60272         file: multiarch memset for PPC32.
60273         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
60274         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
60275         memset multiarch objects.
60276         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60277         (__libc_ifunc_impl_list): Likewise.
60279         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
60280         file.
60281         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
60282         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
60283         memcmp for PPC32.
60284         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
60285         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
60286         multiarch objects.
60287         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60288         (__libc_ifunc_impl_list): Likewise.
60290         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
60291         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
60292         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
60293         file.
60294         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
60295         file.
60296         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
60297         file.
60298         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
60299         multiarch memcpy for PPC32.
60300         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
60301         multiarch objects.
60302         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60303         (__libc_ifunc_impl_list): Likewise.
60305         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
60306         support multiarch for POWER/PPC32.
60307         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
60308         Likewise.
60309         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
60310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
60311         Implies file to make multiarch folder appers before the fpu and
60312         default folder for power4 configuration.
60314 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60316         * scripts/bench.pl: Append volatile keyword to type.
60318 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60320         * sysdeps/sh/sotruss-lib.c: New file.
60321         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
60323 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60327 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
60329         [BZ #6810]
60330         * math/w_tgamma.c: Include <errno.h>.
60331         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
60332         * math/w_tgammaf.c: Include <errno.h>.
60333         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
60334         * math/w_tgammal.c: Include <errno.h>.
60335         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
60336         * math/auto-libm-test-in: Do not allow missing errno on tgamma
60337         underflow.  Add more tgamma tests.
60338         * math/auto-libm-test-out: Regenerated.
60339         * sysdeps/i386/fpu/libm-test-ulps: Update.
60340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60342         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
60343         sin, sinh, tan, tanh, tgamma, y0 and y1.
60344         * math/auto-libm-test-out: Regenerated.
60345         * math/libm-test.inc (TEST_COND_x86_64): New macro.
60346         (TEST_COND_x86): Likewise.
60347         (M_E2l): Remove macro.
60348         (M_E3l): Likewise.
60349         (M_2_SQRT_PIl): Likewise.
60350         (M_SQRT_PIl): Likewise.
60351         (M_1_DIV_El): Likewise.
60352         (log_test_data): Use AUTO_TESTS_f_f.
60353         (log10_test_data): Likewise.
60354         (log1p_test_data): Likewise.
60355         (log2_test_data): Likewise.
60356         (sin_test_data): Likewise.
60357         (sin_tonearest_test_data): Likewise.
60358         (sin_towardzero_test_data): Likewise.
60359         (sin_downward_test_data): Likewise.
60360         (sin_upward_test_data): Likewise.
60361         (sinh_test_data): Likewise.
60362         (sinh_tonearest_test_data): Likewise.
60363         (sinh_towardzero_test_data): Likewise.
60364         (sinh_downward_test_data): Likewise.
60365         (sinh_upward_test_data): Likewise.
60366         (tan_test_data): Likewise.
60367         (tan_tonearest_test_data): Likewise.
60368         (tan_towardzero_test_data): Likewise.
60369         (tan_downward_test_data): Likewise.
60370         (tan_upward_test_data): Likewise.
60371         (tanh_test_data): Likewise.
60372         (tgamma_test_data): Likewise.
60373         (y0_test_data): Likewise.
60374         (y1_test_data): Likewise.
60375         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
60376         (special_real_inputs): Add pi/4.
60377         * sysdeps/i386/fpu/libm-test-ulps: Update.
60378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60380 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60382         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
60383         "longjmp_target" static probes.
60384         (__longjmp): Rename to __longjmp_symbol.
60385         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60386         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
60387         on which longjmp to generate.
60388         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60389         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
60390         probe.
60391         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60392         (__sigjmp_save): Rename to __sigjmp_save_symbol.
60393         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
60394         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
60395         and __sigjmp_save_symbol based on which sigsetjmp to generated.
60396         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
60398         __longjmp_symbol based on which __longjmp to generate.
60399         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
60400         probe.
60401         (setjmp): Rename to setjmp_symbol.
60402         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60403         (_setjmp): Rename to _setjmp_symbol.
60404         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60405         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
60406         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
60407         which setjmp to generate.
60408         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
60409         "longjmp_target" static probes.
60411 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60413         * benchtests/README: Add note about output arguments.
60414         * benchtests/bench-sincos.c: Remove file.
60415         * benchtests/sincos-inputs: New file.
60416         * scripts/bench.pl: Identify output arguments and define
60417         static variables for them.
60419         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
60421         [BZ #15941]
60422         * Makefile (INSTALL): Add install-plain.texi as the primary
60423         dependency.
60424         * manual/install-plain.texi: New file.
60425         * manual/install.texi: Include node directive only for
60426         non-plaintext output.
60428 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
60430         * stdlib/longlong.h: Update from GCC.
60432         [BZ #6807]
60433         [BZ #15901]
60434         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
60435         * math/w_j0f.c (y0f): Likewise.
60436         * math/w_j0l.c (__y0l): Likewise.
60437         * math/w_j1.c (y1): Likewise.
60438         * math/w_j1f.c (y1f): Likewise.
60439         * math/w_j1l.c (__y1l): Likewise.
60440         * math/w_jn.c (yn): Likewise.
60441         * math/w_jnf.c (ynf): Likewise.
60442         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
60443         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
60444         value for Bessel function domain errors outside _SVID_ mode.
60445         Adjust sign of return value for yn (negative integer, 0).
60446         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
60447         by zero in return for negative x and set sign appropriately for
60448         negative n.
60449         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
60450         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60451         * math/libm-test.inc (y0_test_data): Add more tests and adjust
60452         expectations in error cases.
60453         (y1_test_data): Likewise.
60454         (yn_test_data): Likewise.
60455         * sysdeps/i386/fpu/libm-test-ulps: Update.
60456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60458 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60460         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
60461         "64" to "64-v1".  Add "64-v2".
60462         (abi-64-options): Rename to ...
60463         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
60464         (abi-64-condition): Rename to ...
60465         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
60466         (abi-64-ld-soname): Rename to ...
60467         (abi-64-v1-ld-soname): ... this.
60468         (abi-64-v2-options): Define.
60469         (abi-64-v2-condition): Likewise.
60470         (abi-64-v2-ld-soname): Likewise.
60471         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
60472         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
60473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
60474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
60475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
60477 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60478             Alan Modra  <amodra@gmail.com>
60480         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
60481         New versions for use with the ELFv2 ABI.
60482         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
60483         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
60484         declaration.
60485         (struct La_ppc64v2_retval): Likewise.
60486         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
60487         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
60488         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
60489         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
60490         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
60491         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60492         Do not save or restore CR.
60493         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
60494         (_dl_profile_resolve): Do no save or restore CR.  Support extended
60495         return values for ELFv2 ABI.  Fix location of FPR return registers.
60496         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
60497         updated values for _CALL_ELF == 2.
60498         (La_regs, La_retval, int_retval): Likewise.
60500 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60502         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
60503         (FRAME_MIN_SIZE_PARM): Likewise.
60504         (FRAME_BACKCHAIN): Likewise.
60505         (FRAME_CR_SAVE): Likewise.
60506         (FRAME_LR_SAVE): Likewise.
60507         (FRAME_TOC_SAVE): Likewise.
60508         (FRAME_PARM_SAVE): Likewise.
60509         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
60510         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
60511         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60512         (call_mcount_parm_offset): New macro.
60513         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
60514         (PROF): Use symbolic stack frame offsets.
60515         (TAIL_CALL_SYSCALL_ERROR): Likewise.
60516         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
60517         Redefine in terms of FRAME_MIN_SIZE.
60518         (_dl_runtime_resolve): Use symbolic stack frame offsets.
60519         (_dl_profile_resolve): Likewise.  Update comment.
60520         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
60521         symbols stack frame offsets.
60522         (__sigsetjmp): Likewise.
60523         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
60524         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
60525         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
60526         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
60528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
60529         (FRAME_BACKCHAIN): Remove.
60530         (FRAME_CR_SAVE): Likewise.
60531         (FRAME_LR_SAVE): Likewise.
60532         (FRAME_COMPILER_DW): Likewise.
60533         (FRAME_LINKER_DW): Likewise.
60534         (FRAME_TOC_SAVE): Likewise.
60535         (FRAME_PARM_SAVE): Likewise.
60536         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
60537         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
60538         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
60540         (CHECK_SP): Use symbolic stack frame offsets.
60541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
60542         zone" instead of caller's parameter save area for temp storage.
60543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60544         Likewise.  Also, use symbolic stack frame offsets.
60545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
60546         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
60547         our own stack frame instead of the caller's.
60548         (__socket): Use symbolic stack frame offsets.
60550 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60551             Alan Modra  <amodra@gmail.com>
60553         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
60554         Define.
60555         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
60556         (PPC64_LOCAL_ENTRY_OFFSET): Define.
60557         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
60558         New function.
60559         (elf_machine_fixup_plt): Call it.
60560         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
60561         reloc arguments.
60562         (elf_machine_rela): Update call to elf_machine_plt_conflict.
60563         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60564         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
60565         r2 before calling target.
60567 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60568             Alan Modra  <amodra@gmail.com>
60570         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
60571         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
60572         versions of macros to support ELFv2 ABI.
60573         (LOCALENTRY): New macro.
60574         (ENTRY, EALIGN): Use it.
60575         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
60576         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
60577         fall through into ENTRY entry point.
60578         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
60579         Only define if _CALL_ELF != 2.
60581         (elf_machine_matches_host): Verify ABI version matches.
60582         (RTLD_START): Use LOCALENTRY.
60583         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
60584         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
60585         (PLT_ENTRY_WORDS): New macro.
60586         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
60587         (elf_machine_runtime_setup): Support ELFv2 ABI.
60588         (elf_machine_fixup_plt): Likewise.
60589         (elf_machine_plt_conflict): Likewise.
60590         (resolve_ifunc): Likewise.
60591         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
60592         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60593         Likewise.
60594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
60595         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
60596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60597         (makecontext): Support ELFv2 ABI.
60598         * elf/elf.h (EF_PPC64_ABI): Define.
60600 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60602         * sysdeps/powerpc/powerpc64/sysdep.h
60603         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
60604         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
60605         (ENTRY) [ASSEMBLER]: ... but instead here ...
60606         (EALIGN) [ASSEMBLER]: ... and here.
60607         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
60608         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
60609         (ENTRY_2) [!ASSEMBLER]: Use it.
60610         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
60611         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
60612         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60613         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
60614         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
60615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
60616         Use PPC64_LOAD_FUNCPTR.
60618         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
60620 2013-12-04  Alan Modra  <amodra@gmail.com>
60622         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
60623         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
60624         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
60625         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
60627         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
60628         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
60629         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
60630         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
60631         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
60632         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
60634 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60637         (__makecontext): Fix incorrect CFI when backtracing out of
60638         context created via makecontext.
60639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
60640         (__setcontext): Fix incorrect CFI during switch to new context.
60641         (__novec_setcontext): Likewise.
60643 2013-12-04  Ondƙej BĂ­lka  <neleai@seznam.cz>
60645         [BZ #4772]
60646         * time/strptime_l.c (__strptime_internal): Allow modifiers
60647         in strptime.
60648         * time/tst-strptime.c (day_tests): Add testcase.
60650 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60652         * scripts/bench.pl: Skip over blank lines.
60654 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
60656         [BZ #926]
60657         * manual/time.texi (Calendar Time): Clarify what timezone functions
60658         use.
60660 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60664 2013-12-04  Ondƙej BĂ­lka  <neleai@seznam.cz>
60666         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
60667         implementation.
60668         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
60669         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
60670         * debug/memset_chk.c (__memset_chk): Likewise.
60671         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
60672         * debug/strncpy_chk.c: Likewise.
60674 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
60676         [BZ #15268]
60677         [BZ #15425]
60678         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
60679         (__ieee754_exp): For possibly underflowing results, check size of
60680         result and force underflow exception if required.
60681         * math/auto-libm-test-in: Add more tests of exp.
60682         * math/auto-libm-test-out: Regenerated.
60683         * sysdeps/i386/fpu/libm-test-ulps: Update.
60684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60686         [BZ #16283]
60687         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
60688         * math/w_exp2f.c (__exp2f): Likewise.
60689         * math/w_exp2l.c (__exp2l): Likewise.
60690         * math/auto-libm-test-in: Do not allow missing errno on exp2
60691         underflow.
60692         * math/auto-libm-test-out: Regenerated.
60694 2013-12-03  Ondƙej BĂ­lka  <neleai@seznam.cz>
60696         [BZ #16274]
60697         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
60698         handle filename validation.
60699         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
60700         (do_open): Delete.
60702 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
60704         [BZ #6786]
60705         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
60706         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
60707         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
60708         <float.h>.
60709         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
60710         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
60711         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60712         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
60713         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60714         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
60715         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60716         * math/auto-libm-test-in: Don't allow missing errno from erfc.
60717         Add more erfc tests.
60718         * math/auto-libm-test-out: Regenerated.
60719         * sysdeps/i386/fpu/libm-test-ulps: Update.
60720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60722         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
60723         exp2, expm1, j0 and j1.
60724         * math/auto-libm-test-out: Regenerated.
60725         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
60726         (erfc_test_data): Likewise.
60727         (exp_test_data): Likewise.
60728         (exp_tonearest_test_data): Likewise.
60729         (exp_towardzero_test_data): Likewise.
60730         (exp_downward_test_data): Likewise.
60731         (exp_upward_test_data): Likewise.
60732         (exp10_test_data): Likewise.
60733         (exp2_test_data): Likewise.
60734         (expm1_test_data): Likewise.
60735         (j0_test_data): Likewise.
60736         (j1_test_data): Likewise.
60737         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
60738         (input_flag_type): Add flag_xfail_rounding.
60739         (input_flags): Add xfail-rounding.
60740         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
60741         (output_for_one_input_case): Handle flag_xfail_rounding.
60742         * sysdeps/i386/fpu/libm-test-ulps: Update.
60743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60745 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
60747         [BZ #16289]
60748         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
60749         division by 0.
60751 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60753         [BZ #16195]
60754         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
60755         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
60756         (STAP_PROBE0): New macro.
60757         (STAP_PROBE1): Likewise.
60758         (STAP_PROBE2): Likewise.
60759         (STAP_PROBE3): Likewise.
60760         (STAP_PROBE4): Likewise.
60762 2013-12-02  Ondƙej BĂ­lka  <neleai@seznam.cz>
60764         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
60766 2013-12-02  Steve Ellcey  <sellcey@mips.com>
60768         * benchtests/Makefile (bench): Add sqrt.
60769         (LDLIBS-bench-sqrt): New.
60770         * benchtests/sqrt-input: New.
60772 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
60774         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
60775         (GAIH_EAI): Likewise.
60776         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
60777         (gaih_inet): Likewise.
60778         (getaddrinfo): Don't use GAIH_EAI.
60780         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
60781         (struct gaih): Remove definition.
60783 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
60785         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
60786         Use HERRNOP directly.
60788 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60792 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
60794         * math/gen-auto-libm-tests.c (test_functions): Add more
60795         single-argument functions.
60796         (special_fill_pi_2): New function.
60797         (special_fill_minus_pi_2): Likewise.
60798         (special_fill_pi_6): Likewise.
60799         (special_fill_minus_pi_6): Likewise.
60800         (special_fill_pi_3): Likewise.
60801         (special_fill_2pi_3): Likewise.
60802         (special_fill_e): Likewise.
60803         (special_fill_1_e): Likewise.
60804         (special_fill_e_minus_1): Likewise.
60805         (special_real_inputs): Add more special inputs.
60806         (output_for_one_input_case): Do not require ERANGE on underflow to
60807         zero if round-to-nearest result does not underflow to zero, unless
60808         exact results required.
60809         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
60810         atan, atanh, cbrt, cos and cosh.
60811         * math/auto-libm-test-out: Regenerated.
60812         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
60813         (acos_tonearest_test_data): Likewise.
60814         (acos_towardzero_test_data): Likewise.
60815         (acos_downward_test_data): Likewise.
60816         (acos_upward_test_data): Likewise.
60817         (acosh_test_data): Likewise.
60818         (asin_test_data): Likewise.
60819         (asin_tonearest_test_data): Likewise.
60820         (asin_towardzero_test_data): Likewise.
60821         (asin_upward_test_data): Likewise.
60822         (asinh_test_data): Likewise.
60823         (atan_test_data): Likewise.
60824         (atanh_test_data): Likewise.
60825         (cbrt_test_data): Likewise.
60826         (cos_test_data): Likewise.
60827         (cos_tonearest_test_data): Likewise.
60828         (cos_towardzero_test_data): Likewise.
60829         (cos_downward_test_data): Likewise.
60830         (cos_upward_test_data): Likewise.
60831         (cosh_test_data): Likewise.
60832         (cosh_tonearest_test_data): Likewise.
60833         (cosh_towardzero_test_data): Likewise.
60834         (cosh_downward_test_data): Likewise.
60835         (cosh_upward_test_data): Likewise.
60836         * sysdeps/i386/fpu/libm-test-ulps: Update.
60837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60839 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
60841         [BZ #6787]
60842         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
60843         * math/w_exp10f.c (__exp10f): Likewise.
60844         * math/w_exp10l.c (__exp10l): Likewise.
60845         * math/libm-test.inc (exp10_test_data): Add more tests and expect
60846         errno settings in existing tests.
60848         [BZ #14032]
60849         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
60850         precision control set to double precision.
60851         * sysdeps/i386/fpu/w_sqrt.c: New file.
60852         * math/auto-libm-test-in: Add more tests.
60853         * math/auto-libm-test-out: Update.
60855         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
60856         (sqrt_test_tonearest): New function.
60857         (sqrt_towardzero_test_data): New variable.
60858         (sqrt_test_towardzero): New function.
60859         (sqrt_downward_test_data): New variable.
60860         (sqrt_test_downward): New function.
60861         (sqrt_upward_test_data): New variable.
60862         (sqrt_test_upward): New function.
60863         (main): Call the new functions.
60865         * math/gen-auto-libm-tests.c: New file.
60866         * math/auto-libm-test-in: Likewise.
60867         * math/auto-libm-test-out: New generated file.
60868         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
60869         variables.
60870         (%beautify): Add generated representations of zero.
60871         (top level): Set $auto_input and call parse_auto_input.
60872         (beautify): Remove trailing "f" from hex float constants.
60873         (parse_args): Handle XFAIL_TEST.
60874         (convert_condition): New function.
60875         (or_value): Likewise.
60876         (or_cond_value): Likewise.
60877         (generate_testfile): Handle AUTO_TESTS_* lines.
60878         (parse_auto_input): New function.
60879         * math/libm-test.inc (XFAIL_TEST): New macro.
60880         (ERRNO_UNCHANGED): Update value.
60881         (ERRNO_EDOM): Likewise.
60882         (ERRNO_ERANGE): Likewise.
60883         (IGNORE_RESULT): Likewise.
60884         (TEST_COND_flt_32): New macro.
60885         (TEST_COND_dbl_64): Likewise.
60886         (TEST_COND_ldbl_96_intel): Likewise.
60887         (TEST_COND_ldbl_96_m68k): Likewise.
60888         (TEST_COND_ldbl_128): Likewise.
60889         (TEST_COND_ldbl_128ibm): Likewise.
60890         (TEST_COND_long32): Likewise.
60891         (TEST_COND_long64): Likewise.
60892         (TEST_COND_before_rounding): Likewise.
60893         (TEST_COND_after_rounding): Likewise.
60894         (enable_test): Handle XFAIL_TEST flag.
60895         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
60896         with finite results.
60897         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
60898         auto-libm-test-out.
60900 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60901             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60903         [BZ #16214]
60904         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
60905         __tls_get_addr_internal instead of __tls_get_offset in order to
60906         avoid GOT pointer dependency.  Make rtld export
60907         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
60908         __tls_get_addr since we are a __tls_get_offset platform.
60909         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
60910         GOT pointer being set up before.
60911         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
60913 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
60915         * manual/math.texi (Errors in Math Functions): Document accuracy
60916         goals.
60918         [BZ #15004]
60919         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
60920         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
60921         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60922         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
60923         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
60924         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
60925         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
60926         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
60927         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
60928         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
60929         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
60930         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
60931         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
60932         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
60933         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
60934         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
60936         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
60937         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
60938         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
60939         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
60940         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
60941         Likewise.
60942         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
60943         Likewise.
60944         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
60945         Likewise.
60946         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
60947         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
60948         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
60949         atomic-feupdateenv and flt-rounds.
60950         * sysdeps/powerpc/nofpu/Versions (libc): Add
60951         __atomic_feholdexcept, __atomic_feclearexcept,
60952         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
60953         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
60954         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
60955         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
60956         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
60957         here.
60958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
60959         Update.
60961         * manual/arith.texi (FP Exceptions): Document that exceptions may
60962         not be raised when matherr is used.
60963         (Math Error Reporting): Document overflow in directed rounding
60964         modes.  Document that errno may not be set when finite values are
60965         returned on overflow.  Document intent to set errno on underflow
60966         only for underflow to zero.
60968         [BZ #16271]
60969         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
60970         round-to-nearest then adjust result for other rounding modes.
60971         * include/fenv.h (fegetround): Use libm_hidden_proto.
60972         * math/fegetround.c (fegetround): Use libm_hidden_def.
60973         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
60974         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
60975         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
60976         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
60977         Likewise.
60978         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
60979         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60980         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
60981         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
60983 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60985         [BZ #16077]
60986         * nss/Versions (libnss_files): Add
60987         _nss_files_gethostbyname3_r.
60988         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
60989         New function.
60990         (HOST_DB_LOOKUP): Remove macro.
60991         (_nss_files_gethostbyname_r): Implement function without the
60992         HOST_DB_LOOKUP macro.
60993         (_nss_files_gethostbyname2_r): Likewise.
60995 2013-11-28  Ondƙej BĂ­lka  <neleai@seznam.cz>
60997         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
60999 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
61001         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
61002         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
61003         warning.
61005 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61007         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
61008         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
61009         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
61010         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
61011         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
61012         __fe_nomask_env_priv and attribute_hidden.
61013         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
61014         (libc_feupdateenv_test_ppc): Likewise.
61015         (libc_feresetround_ppc): Likewise.
61016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61017         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
61018         compat_symbol macro.
61019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61020         (__fe_nomask_env): Likewise.
61021         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
61023 2013-11-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
61025         * string/Makefile: Remove ifunc tests.
61026         * string/test-string.h: Define TEST_IFUNC.
61027         * string/test-bcopy-ifunc.c: Remove.
61028         * string/test-bzero-ifunc.c: Likewise.
61029         * string/test-memccpy-ifunc.c: Likewise.
61030         * string/test-memchr-ifunc.c: Likewise.
61031         * string/test-memcmp-ifunc.c: Likewise.
61032         * string/test-memcpy-ifunc.c: Likewise.
61033         * string/test-memmem-ifunc.c: Likewise.
61034         * string/test-memmove-ifunc.c: Likewise.
61035         * string/test-mempcpy-ifunc.c: Likewise.
61036         * string/test-memrchr-ifunc.c: Likewise.
61037         * string/test-memset-ifunc.c: Likewise.
61038         * string/test-rawmemchr-ifunc.c: Likewise.
61039         * string/test-stpcpy-ifunc.c: Likewise.
61040         * string/test-stpncpy-ifunc.c: Likewise.
61041         * string/test-strcasecmp-ifunc.c: Likewise.
61042         * string/test-strcasestr-ifunc.c: Likewise.
61043         * string/test-strcat-ifunc.c: Likewise.
61044         * string/test-strchr-ifunc.c: Likewise.
61045         * string/test-strchrnul-ifunc.c: Likewise.
61046         * string/test-strcmp-ifunc.c: Likewise.
61047         * string/test-strcpy-ifunc.c: Likewise.
61048         * string/test-strcspn-ifunc.c: Likewise.
61049         * string/test-strlen-ifunc.c: Likewise.
61050         * string/test-strncasecmp-ifunc.c: Likewise.
61051         * string/test-strncat-ifunc.c: Likewise.
61052         * string/test-strncmp-ifunc.c: Likewise.
61053         * string/test-strncpy-ifunc.c: Likewise.
61054         * string/test-strnlen-ifunc.c: Likewise.
61055         * string/test-strpbrk-ifunc.c: Likewise.
61056         * string/test-strrchr-ifunc.c: Likewise.
61057         * string/test-strspn-ifunc.c: Likewise.
61058         * string/test-strstr-ifunc.c: Likewise.
61060 2013-11-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
61062         * benchtests/Makefile: Remove ifunc tests.
61063         * benchtests/bench-string.h: Define TEST_IFUNC.
61064         * benchtests/bench-bcopy-ifunc.c: Remove.
61065         * benchtests/bench-bzero-ifunc.c: Likewise.
61066         * benchtests/bench-memccpy-ifunc.c: Likewise.
61067         * benchtests/bench-memchr-ifunc.c: Likewise.
61068         * benchtests/bench-memcmp-ifunc.c: Likewise.
61069         * benchtests/bench-memcpy-ifunc.c: Likewise.
61070         * benchtests/bench-memmem-ifunc.c: Likewise.
61071         * benchtests/bench-memmove-ifunc.c: Likewise.
61072         * benchtests/bench-mempcpy-ifunc.c: Likewise.
61073         * benchtests/bench-memrchr-ifunc.c: Likewise.
61074         * benchtests/bench-memset-ifunc.c: Likewise.
61075         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
61076         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
61077         * benchtests/bench-stpcpy-ifunc.c: Likewise.
61078         * benchtests/bench-stpncpy-ifunc.c: Likewise.
61079         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
61080         * benchtests/bench-strcasestr-ifunc.c: Likewise.
61081         * benchtests/bench-strcat-ifunc.c: Likewise.
61082         * benchtests/bench-strchr-ifunc.c: Likewise.
61083         * benchtests/bench-strchrnul-ifunc.c: Likewise.
61084         * benchtests/bench-strcmp-ifunc.c: Likewise.
61085         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
61086         * benchtests/bench-strcpy-ifunc.c: Likewise.
61087         * benchtests/bench-strcspn-ifunc.c: Likewise.
61088         * benchtests/bench-strlen-ifunc.c: Likewise.
61089         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
61090         * benchtests/bench-strncat-ifunc.c: Likewise.
61091         * benchtests/bench-strncmp-ifunc.c: Likewise.
61092         * benchtests/bench-strncpy-ifunc.c: Likewise.
61093         * benchtests/bench-strnlen-ifunc.c: Likewise.
61094         * benchtests/bench-strpbrk-ifunc.c: Likewise.
61095         * benchtests/bench-strrchr-ifunc.c: Likewise.
61096         * benchtests/bench-strsep-ifunc.c: Likewise.
61097         * benchtests/bench-strspn-ifunc.c: Likewise.
61098         * benchtests/bench-strstr-ifunc.c: Likewise.
61100 2013-11-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
61102         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
61104 2013-11-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
61106         * resolv/netdb.h: Use __glibc_reserved instead __unused.
61107         * rt/aio.h: Likewise.
61108         * sysdeps/gnu/bits/utmp.h: Likewise.
61109         * sysdeps/gnu/bits/utmpx.h: Likewise.
61110         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
61111         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
61112         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
61113         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
61114         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
61115         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
61116         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
61117         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
61118         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
61119         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
61120         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
61121         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
61122         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
61123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
61124         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
61125         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
61126         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
61127         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
61128         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
61129         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
61130         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
61131         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
61132         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
61133         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
61134         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
61135         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61136         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
61137         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
61138         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
61139         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
61140         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
61141         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
61142         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
61143         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
61144         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
61145         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
61146         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
61147         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
61148         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
61149         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
61150         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
61151         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
61153 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
61155         [BZ #16245]
61156         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
61157         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
61159 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
61161         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
61162         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
61163         Likewise.
61165 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61167         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
61168         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
61169         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
61170         (__fesetround): Remove define.
61171         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
61172         rounding and exceptions handling.
61173         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
61174         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
61175         (__fe_nomask_env): Likewise.
61176         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
61177         __fegetround instead of fegetround.
61178         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
61179         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
61181 2013-11-21  Roland McGrath  <roland@hack.frob.com>
61183         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
61184         it's there.
61186         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
61188 2013-11-21  Meador Inge  <meadori@codesourcery.com>
61190         [BZ #11157]
61191         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
61192         (encrypt_r): Likewise.
61193         * malloc/obstack.h (obstack_free): Likewise.
61194         * posix/unistd.h (encrypt): Likewise.
61196 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
61198         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
61199         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
61200         DL_CALL_DT_FINI() that call the functions directly.
61201         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
61202         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
61203         * elf/dl-fini.c: Likewise.
61205 2013-11-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
61207         * malloc/hooks.c (memalign_check): Add alignment rounding.
61208         * malloc/malloc.c (_mid_memalign): New function.
61209         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
61210         Implement by calling _mid_memalign.
61211         * manual/probes.texi (Memory Allocation Probes): Remove
61212         memory_valloc_retry and memory_pvalloc_retry.
61214 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61216         * locale/programs/locarchive.c (open_archive): Add const
61217         qualifier to ARCHIVEFNAME and copy default fname to
61218         DEFAULT_FNAME.
61220         [BZ #15601]
61221         * libio/tst-widetext.input: Rename Oriya to Odia.
61222         * locale/iso-639.def: Likewise.
61224         * manual/probes.texi (Mathematical Function Probes): Add
61225         documentation for sin, cos, asin and acos probes.
61226         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
61227         (__sin32): Add slowasin probe.
61228         (__cos32): Add slowacos probe.
61229         (__mpsin): Add slowsin probe.
61230         (__mpcos): Add slowcos probe.
61232 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
61234         [BZ #15483]
61235         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
61236         thread-local __sim_exceptions_thread and global
61237         __sim_exceptions_global.
61238         (__sim_disabled_exceptions): Change to thread-local
61239         __sim_disabled_exceptions_thread and global
61240         __sim_disabled_exceptions_global.
61241         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61242         and global __sim_round_mode_global.
61243         (__simulate_exceptions): Use thread-local floating-point state and
61244         set global state from it as needed.
61245         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
61246         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
61247         __sim_round_mode_thread.
61248         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
61249         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
61250         and global __sim_exceptions_global.
61251         (__sim_disabled_exceptions): Change to thread-local
61252         __sim_disabled_exceptions_thread and global
61253         __sim_disabled_exceptions_global.
61254         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61255         and global __sim_round_mode_global.
61256         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
61257         (SIM_SET_GLOBAL): Likewise.
61258         * sysdeps/powerpc/soft-fp/sfp-machine.h
61259         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
61260         __sim_round_mode_thread.
61261         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
61262         __sim_disabled_exceptions_thread.
61263         (__sim_exceptions): Change to __sim_exceptions_thread.
61264         (__sim_disabled_exceptions): Change to
61265         __sim_disabled_exceptions_thread.
61266         (__sim_round_mode): Change to __sim_round_mode_thread.
61267         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
61268         thread-local floating-point state and set global state from it as
61269         needed.
61270         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
61271         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
61272         (__sim_disabled_exceptions): Remove extern declaration.
61273         (feenableexcept): Use thread-local floating-point state and set
61274         global state from it as needed.
61275         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
61276         extern declaration.
61277         (__sim_disabled_exceptions): Likewise.
61278         (__sim_round_mode): Likewise.
61279         (__fegetenv): Use thread-local floating-point state.
61280         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
61281         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61282         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
61283         floating-point state and set global state from it as needed.
61284         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
61285         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
61286         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
61287         Likewise.
61288         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
61289         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
61290         Likewise.
61291         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
61292         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
61293         Use __sim_round_mode_thread.
61294         * math/test-fenv-tls.c: New file.
61295         * math/Makefile (tests): Add test-fenv-tls.
61296         ($(objpfx)test-fenv-tls): Depend on
61297         $(common-objpfx)nptl/libpthread.so.
61299 2013-11-19  Andreas Schwab  <schwab@suse.de>
61301         * locale/programs/locale.c (show_info): Decode wordarray elements.
61302         * locale/categories.def (LC_MONETARY): Add element for
61303         _NL_MONETARY_CRNCYSTR.
61304         * locale/C-monetary.c (conversion_rate): New variable.
61305         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
61306         element.
61308 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
61310         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
61311         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
61313 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
61315         * elf/Makefile (tst-auxv): New test.
61316         * elf/tst-auxv.c: New
61317         * elf/rtld.c (dl_main): Adjust AT_EXECFN
61319 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
61321         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
61322         (hidden_proto): Caller changed.
61323         (hidden_tls_proto): New macro.
61324         (libc_hidden_tls_proto): Likewise.
61325         (rtld_hidden_tls_proto): Likewise.
61326         (libm_hidden_tls_proto): Likewise.
61327         (libresolv_hidden_tls_proto): Likewise.
61328         (librt_hidden_tls_proto): Likewise.
61329         (libdl_hidden_tls_proto): Likewise.
61330         (libnss_files_hidden_tls_proto): Likewise.
61331         (libnsl_hidden_tls_proto): Likewise.
61332         (libnss_nisplus_hidden_tls_proto): Likewise.
61333         (libutil_hidden_tls_proto): Likewise.
61335 2013-11-18  Ondƙej BĂ­lka  <neleai@seznam.cz>
61337         [BZ #10253]
61338         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
61339         (decompose_rpath): Defer expansion to fillin_rpath.
61340         (_dl_init_paths): Pass linkmap to fillin_rpath.
61342 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
61344         * benchtests/Makefile: Add strsep.
61345         * benchtests/bench-strsep.c: New file: strsep benchtest.
61346         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
61348 2013-11-18  Andreas Schwab  <schwab@suse.de>
61350         * locale/programs/locale.c (show_info) [case byte]: Check for
61351         '\377' instead of '\177'.
61352         * locale/C-monetary.c (not_available): Always use "\377".
61353         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
61354         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
61355         detect unavailable sign_posn locale elements.
61356         * locale/localeconv.c (__localeconv): For grouping and
61357         mon_grouping handle "\177" and "\377" like no grouping.
61358         (INT_ELEM): New macro.  Use it to set all numeric members.
61359         * locale/programs/ld-monetary.c (monetary_read)
61360         <tok_mon_grouping>: Normalize single -1 to the empty string.
61361         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
61362         Likewise.
61364 2013-11-07  Ondƙej BĂ­lka  <neleai@seznam.cz>
61366         [BZ #16055]
61367         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
61368         when we match (nil).
61369         * stdio-common/tst-sscanf.c (struct test): Add testcase.
61371 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
61373         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
61374         (NO_TEST_INLINE): Update value.
61375         (ERRNO_UNCHANGED): Likewise.
61376         (ERRNO_EDOM): Likewise.
61377         (ERRNO_ERANGE): Likewise.
61378         (IGNORE_RESULT): Likewise.
61379         (check_float_internal): Check signs of NaN results if
61380         TEST_NAN_SIGN used.
61381         (check_complex): Pass TEST_NAN_SIGN flag through to second
61382         check_float_internal call.
61383         (copysign_test_data): Add tests with quiet NaNs as second
61384         argument.  Use TEST_NAN_SIGN.
61385         (fabs_test_data): Add test of negative quiet NaN argument.  Use
61386         TEST_NAN_SIGN.
61387         (signbit_test_data): Add tests of quiet NaN argument.
61388         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
61390         * math/gen-libm-test.pl (show_exceptions): Take extra argument
61391         $ignore_result.
61392         (parse_args): Handle function results specified as IGNORE.
61393         * math/libm-test.inc (IGNORE_RESULT): New macro.
61394         (check_float_internal): Do not check numerical result if flag
61395         IGNORE_RESULT set.
61396         (check_complex): Pass through IGNORE_RESULT to second
61397         check_float_internal call.
61398         (check_int): Do not check numerical result if flag IGNORE_RESULT
61399         set.
61400         (check_long): Likewise.
61401         (check_bool): Likewise.
61402         (check_longlong): Likewise.
61403         (lrint_test_data): Add tests of infinite and NaN arguments.
61404         (lrint_tonearest_test_data): Likewise.
61405         (lrint_towardzero_test_data): Likewise.
61406         (lrint_downward_test_data): Likewise.
61407         (lrint_upward_test_data): Likewise.
61408         (llrint_test_data): Likewise.
61409         (llrint_tonearest_test_data): Likewise.
61410         (llrint_towardzero_test_data): Likewise.
61411         (llrint_downward_test_data): Likewise.
61412         (llrint_upward_test_data): Likewise.
61413         (lround_test_data): Likewise.
61414         (llround_test_data): Likewise.
61416         * math/libm-test.inc (NO_TEST_INLINE): New macro.
61417         (ERRNO_UNCHANGED): Update value.
61418         (ERRNO_EDOM): Likewise.
61419         (ERRNO_ERANGE): Likewise.
61420         (NO_TEST_INLINE_FLOAT): New macro.
61421         (NO_TEST_INLINE_DOUBLE): Likewise.
61422         (enable_test): New function.
61423         (RUN_TEST_f_f): Check enable_test before running test.
61424         (RUN_TEST_2_f): Likewise.
61425         (RUN_TEST_fff_f): Likewise.
61426         (RUN_TEST_c_f): Likewise.
61427         (RUN_TEST_f_f1): Likewise.
61428         (RUN_TEST_fF_f1): Likewise.
61429         (RUN_TEST_fI_f1): Likewise.
61430         (RUN_TEST_ffI_f1): Likewise.
61431         (RUN_TEST_c_c): Likewise.
61432         (RUN_TEST_cc_c): Likewise.
61433         (RUN_TEST_f_i): Likewise.
61434         (RUN_TEST_f_i_tg): Likewise.
61435         (RUN_TEST_ff_i_tg): Likewise.
61436         (RUN_TEST_f_b): Likewise.
61437         (RUN_TEST_f_b_tg): Likewise.
61438         (RUN_TEST_f_l): Likewise.
61439         (RUN_TEST_f_L): Likewise.
61440         (RUN_TEST_fFF_11): Likewise.
61441         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
61442         conditionals.
61443         (cosh_test_data): Likewise.
61444         (exp_test_data): Likewise.
61445         (expm1_test_data): Likewise.
61446         (hypot_test_data): Likewise.
61447         (pow_test_data): Likewise.
61448         (sinh_test_data): Likewise.
61449         (tanh_test_data): Likewise.
61450         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
61451         flags argument.
61453         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
61454         tests with quiet NaN input and output.
61455         (acosh_test_data): Likewise.
61456         (asin_test_data): Likewise.
61457         (asinh_test_data): Likewise.
61458         (atan_test_data): Likewise.
61459         (atanh_test_data): Likewise.
61460         (atan2_test_data): Likewise.
61461         (cbrt_test_data): Likewise.
61462         (cos_test_data): Likewise.
61463         (cosh_test_data): Likewise.
61464         (erf_test_data): Likewise.
61465         (erfc_test_data): Likewise.
61466         (exp_test_data): Likewise.
61467         (exp10_test_data): Likewise.
61468         (exp2_test_data): Likewise.
61469         (expm1_test_data): Likewise.
61470         (hypot_test_data): Likewise.
61471         (j0_test_data): Likewise.
61472         (j1_test_data): Likewise.
61473         (jn_test_data): Likewise.
61474         (lgamma_test_data): Likewise.
61475         (log_test_data): Likewise.
61476         (log10_test_data): Likewise.
61477         (log1p_test_data): Likewise.
61478         (log2_test_data): Likewise.
61479         (pow_test_data): Likewise.
61480         (scalb_test_data): Likewise.
61481         (sin_test_data): Likewise.
61482         (sincos_test_data): Likewise.
61483         (sinh_test_data): Likewise.
61484         (tan_test_data): Likewise.
61485         (tanh_test_data): Likewise.
61486         (tgamma_test_data): Likewise.
61487         (y0_test_data): Likewise.
61488         (y1_test_data): Likewise.
61489         (yn_test_data): Likewise.
61491         [BZ #16167]
61492         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
61493         argument being NaN and avoid computations with second argument in
61494         that case.
61495         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61496         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
61497         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61499 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
61501         * locale/iso-639.def: Add Chitwani Tharu (the).
61503 2013-11-14  Andreas Schwab  <schwab@suse.de>
61505         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
61506         word instead of empty string.
61508 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61511         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
61512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61513         (__fe_nomask_env): Likewise.
61515 2013-11-13  Steve Ellcey  <sellcey@mips.com>
61517         * benchtests/bench-timing.h: Include time.h.
61519 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
61521         [BZ #15997]
61522         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
61523         to 3.4.0 for x32.
61524         * sysdeps/unix/sysv/linux/configure: Regenerated.
61526 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
61528         [BZ #16151]
61529         * stdlib/strtod_l.c (round_and_return): Do not consider
61530         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
61531         exponent one less than half the least subnormal exponent.
61532         * stdlib/test-strtod-round-data: Add more tests.
61533         * stdlib/tst-strtod-round.c (tests): Regenerated.
61535 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61537         [BZ #14143]
61538         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
61539         (__fe_mask_env): Likewise.
61540         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
61541         libm_hidden_proto and add function prototype.
61542         (__fe_mask_env): Add function prototype.
61543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61544         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
61545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61546         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
61547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61548         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
61550 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61552         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
61553         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
61555 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61557         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
61558         of htab_find_slot().
61560 2013-11-11  David S. Miller  <davem@davemloft.net>
61562         [BZ #16150]
61563         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
61564         symbol in the non-vis3 case in static builds.
61565         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
61566         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
61567         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
61568         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
61570 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
61572         [BZ #387]
61573         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
61574         it is empty.
61576 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61578         * benchtests/Makefile: Add bench-strtod.
61579         * benchtests/bench-strtod.c: New file: strtod benchtest
61581 2013-11-11  Andreas Schwab  <schwab@suse.de>
61583         [BZ #16153]
61584         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
61585         terminating NUL in key length.
61587 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61589         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
61590         Add artificial ODP entry for vDSO symbol for PPC64.
61591         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
61592         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
61594 2013-11-07  Ondƙej BĂ­lka  <neleai@seznam.cz>
61596         [BZ #15374]
61597         * nss/getent.c (services_keys): Recognize services starting with digit.
61599 2013-11-06  David S. Miller  <davem@davemloft.net>
61601         [BZ #15985]
61602         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
61603         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
61605 2013-11-06  Will Newton  <will.newton@linaro.org>
61607         * manual/memory.texi (Malloc Examples): Remove register
61608         keyword from examples.
61610 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
61612         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
61614 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
61616         [BZ #6981]
61617         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
61618         depending on [__GCC_IEC_559 > 0].
61619         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
61620         depending on [__GCC_IEC_559_COMPLEX > 0].
61622 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
61624         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
61625         to iso-639.def.
61627 2013-11-03  Ondƙej BĂ­lka  <neleai@seznam.cz>
61629         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
61631 2013-11-01  Ondƙej BĂ­lka  <neleai@seznam.cz>
61633         [BZ #16112]
61634         * malloc/malloc (malloc_info): Do not handle first bin as
61635         special case.
61637 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
61639         * locale/iso-639.def: Add Central Nahuatl (nhn).
61641 2013-11-01  Bruno Haible  <bruno@clisp.org>
61643         [BZ #7003]
61644         * manual/math.texi (BSD Random): Specify range upper bound as
61645         in POSIX.
61647 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
61649         * locale/iso-639.def: Add Meadow Mari (mhr).
61651 2013-10-31  Ondƙej BĂ­lka  <neleai@seznam.cz>
61653         [BZ #14752], [BZ #15763]
61654         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
61655         Validate name.
61656         * rt/tst_shm.c: Add test for escaping directory.
61658 2013-10-31  Andreas Schwab  <schwab@suse.de>
61660         [BZ #15917]
61661         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
61662         followed by 'x' as part of digit sequence.
61663         * stdio-common/tst-sscanf.c (double_tests2): New tests.
61665 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
61667         [BZ #16037]
61668         * configure.ac: allow GNU Make 4.0 and greater.
61669         * configure: Regenerated.
61671 2013-10-30  Will Newton  <will.newton@linaro.org>
61673         [BZ #16038]
61674         * malloc/hooks.c (memalign_check): Limit alignment to the
61675         maximum representable power of two.
61676         * malloc/malloc.c (__libc_memalign): Likewise.
61677         * malloc/tst-memalign.c (do_test): Add test for very
61678         large alignment values.
61679         * malloc/tst-posix_memalign.c (do_test): Likewise.
61681 2013-10-30  Ondƙej BĂ­lka  <neleai@seznam.cz>
61683         [BZ #11087]
61684         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
61685         (munmap_chunk): Likewise.
61686         (mremap_chunk): Likewise.
61688 2013-10-30  Ondƙej BĂ­lka  <neleai@seznam.cz>
61690         [BZ #15799]
61691         * stdlib/div.c (div): Remove obsolete code.
61692         * stdlib/ldiv.c (ldiv): Likewise.
61693         * stdlib/lldiv.c (lldiv): Likewise.
61695 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61697         [BZ #16071]
61698         * nss/nss_files/files-XXX.c (get_contents_ret): New
61699         enumerator.
61700         (get_contents): New function.
61701         (internal_getent): Use it.  Expand size of LINEBUFLEN.
61703 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
61705         * configure.in: Moved to ...
61706         * configure.ac: ... here. Change reference to configure.in
61707         to configure.ac.
61708         * sysdeps/arm/preconfigure.ac: ... here.
61709         configure.in to configure.ac.
61710         * sysdeps/gnu/configure.in: Moved to ...
61711         * sysdeps/gnu/configure.ac: ... here.
61712         * sysdeps/i386/configure.in: Moved to ...
61713         * sysdeps/i386/configure.ac: ... here.
61714         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
61715         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
61716         * sysdeps/mach/configure.in: Moved to ...
61717         * sysdeps/mach/configure.ac: ... here.
61718         * sysdeps/mach/hurd/configure.in: Moved to ...
61719         * sysdeps/mach/hurd/configure.ac: ... here.
61720         * sysdeps/powerpc/configure.in: Moved to ...
61721         * sysdeps/powerpc/configure.ac: ... here.
61722         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
61723         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
61724         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
61725         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
61726         * sysdeps/s390/s390-32/configure.in: Moved to ...
61727         * sysdeps/s390/s390-32/configure.ac: ... here.
61728         * sysdeps/s390/s390-64/configure.in: Moved to ...
61729         * sysdeps/s390/s390-64/configure.ac: ... here.
61730         * sysdeps/sh/configure.in: Moved to ...
61731         * sysdeps/sh/configure.ac: ... here.
61732         * sysdeps/sparc/configure.in: Moved to ...
61733         * sysdeps/sparc/configure.ac: ... here.
61734         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
61735         * sysdeps/unix/sysv/linux/configure.ac: ... here.
61736         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
61737         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
61738         * sysdeps/x86_64/configure.in: Moved to ...
61739         * sysdeps/x86_64/configure.ac: ... here.
61740         * sysdeps/x86_64/preconfigure.in: Moved to ...
61741         * sysdeps/x86_64/preconfigure.ac: ... here.
61742         * aclocal.m4: Change reference to configure.in to configure.ac.
61743         * config.h.in: Likewise.
61744         * manual/install.texi: Likewise.
61745         * manual/maint.texi: Likewise.
61746         * Makefile: Likewise.
61747         * malloc/Makefile: Likewise.
61748         * nscd/Makefile: Likewise.
61749         * Makeconfig: Change reference to configure.in and
61750         preconfigure.in to configure.ac and preconfigure.ac
61751         respectively.
61752         * INSTALL: Regenerated.
61753         * configure: Likewise.
61754         * sysdeps/gnu/configure: Likewise.
61755         * sysdeps/i386/configure: Likewise.
61756         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
61757         * sysdeps/mach/configure: Likewise.
61758         * sysdeps/mach/hurd/configure: Likewise.
61759         * sysdeps/powerpc/configure: Likewise.
61760         * sysdeps/powerpc/powerpc32/configure: Likewise.
61761         * sysdeps/powerpc/powerpc64/configure: Likewise.
61762         * sysdeps/s390/s390-32/configure: Likewise.
61763         * sysdeps/s390/s390-64/configure: Likewise.
61764         * sysdeps/sh/configure: Likewise.
61765         * sysdeps/sparc/configure: Likewise.
61766         * sysdeps/unix/sysv/linux/configure: Likewise.
61767         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
61768         * sysdeps/x86_64/configure: Likewise.
61769         * sysdeps/x86_64/preconfigure: Likewise.
61771 2013-10-29  Andreas Schwab  <schwab@suse.de>
61773         * stdio-common/Makefile (tst-swscanf-ENV): Define.
61775 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61777         * benchtests/pow-inputs: Add new inputs.
61779         * benchtests/exp-inputs: Add new inputs.
61781         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
61782         conditional check for return value.
61783         (__cos32): Likewise.
61785 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61787         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
61788         to provide a boost for large inputs with word alignment.
61789         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
61790         implementation based on optimized PPC64 strcpy.
61791         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
61792         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
61793         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
61794         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
61796 2013-10-25   Ondƙej BĂ­lka  <neleai@seznam.cz>
61798         [BZ #2801]
61799         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
61801 2013-10-25   Ondƙej BĂ­lka  <neleai@seznam.cz>
61803         [BZ #14876]
61804         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
61805         * time/tst-strptime.c (day_tests): Add testcase.
61807 2013-10-25   Ondƙej BĂ­lka  <neleai@seznam.cz>
61809         [BZ #14029]
61810         * manual/pattern.texi: Acknowledge that fnmatch can fail.
61812 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
61814         [BZ #16074]
61815         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
61816         MAP_FAILED on error.
61818 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61820         [BZ #16072]
61821         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
61822         heap for large requests.
61824 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
61826         [BZ #9954]
61827         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
61828         result if the result has no associated interface.
61829         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
61830         interface for all 127.X.Y.Z addresses.
61832 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
61834         * locale/iso-639.def: Add Ligurian (lij)
61836 2013-10-21  Ondƙej BĂ­lka  <neleai@seznam.cz>
61838         [BZ #15825]
61839         * sunrpc/rpc_main.c: Document rpcgen -5.
61841 2013-10-19  Michael Stahl  <mstahl@redhat.com>
61843         * elf/rtld.c (do_preload): Print the reason why preloading failed.
61845 2013-10-19  Ondƙej BĂ­lka  <neleai@seznam.cz>
61847         [BZ #10278]
61848         * posix/glob.c: Match only directories when trailing slash is present.
61849         * posix/tst-gnuglob.c (my_opendir): Do not open files.
61850         (main): Add testcase.
61852 2013-10-19  Ondƙej BĂ­lka  <neleai@seznam.cz>
61854         [BZ #15670]
61855         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
61857 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
61859         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
61860         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
61861         AUTH_DES and cindex for FIPS 140-2.
61862         (DES Encryption): Add cindex FIPS 46-3.
61864         * locale/locarchive.h (struct locarhandle): Add fname.
61865         * locale/programs/localedef.c (main): Pass ARGV[remaining]
61866         if an optional argument was specified to --list-archive,
61867         otherwise NULL.
61868         * locale/programs/locarchive.c (show_archive_content): Take new
61869         argument fname and pass it via ah.fname to open_archive.
61870         * locale/programs/localedef.h: Update decl.
61871         (open_archive): If AH->fname is non-null, open that file
61872         rather than the default file name, and don't ignore ENOENT.
61873         (create_archive): Set AH.fname to NULL.
61874         (delete_locales_from_archive): Likewise.
61875         (add_locales_to_archive): Likewise.
61876         * locale/programs/locfile.c (write_all_categories): Likewise.
61878 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
61879             Aldy Hernandez  <aldyh@redhat.com>
61881         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
61882         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
61883         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
61884         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
61885         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
61886         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
61887         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
61888         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
61889         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
61890         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
61891         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
61892         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
61893         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
61894         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
61895         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
61896         Likewise.
61897         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
61898         Likewise.
61899         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
61900         Likewise.
61901         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
61902         Likewise.
61903         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
61904         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
61905         Likewise.
61906         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
61907         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
61908         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
61909         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
61910         Likewise.
61911         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
61912         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
61913         * sysdeps/powerpc/preconfigure: Likewise.
61914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
61915         Likewise.
61916         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
61917         Replace contents of file by #include of <fenv_libc.h>.
61918         * sysdeps/powerpc/soft-fp/sfp-machine.h
61919         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
61920         and <sys/prctl.h>.
61921         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
61922         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
61923         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
61924         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
61925         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
61926         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
61927         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
61928         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
61929         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
61930         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
61931         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
61932         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
61933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
61934         Allow copysignl PLT reference to be missing.
61936 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
61937             Joseph Myers  <joseph@codesourcery.com
61939         [BZ #15948]
61940         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
61941         single character.
61942         (add_to_tablewc): Assert sequence of wide characters is nonempty.
61944 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61946         * elf/tst-tls-dlinfo.c: Don't include tls.h.
61947         * elf/tst-tls1.c: Likewise.
61948         * elf/tst-tls10.h: Likewise.
61949         * elf/tst-tls14.c: Likewise.
61950         * elf/tst-tls2.c: Likewise.
61951         * elf/tst-tls3.c: Likewise.
61952         * elf/tst-tls4.c: Likewise.
61953         * elf/tst-tls5.c: Likewise.
61954         * elf/tst-tls6.c: Likewise.
61955         * elf/tst-tls7.c: Likewise.
61956         * elf/tst-tls8.c: Likewise.
61957         * elf/tst-tls9.c: Likewise.
61958         * elf/tst-tlsmod1.c: Likewise.
61959         * elf/tst-tlsmod13.c: Likewise.
61960         * elf/tst-tlsmod13a.c: Likewise.
61961         * elf/tst-tlsmod14a.c: Likewise.
61962         * elf/tst-tlsmod16a.c: Likewise.
61963         * elf/tst-tlsmod16b.c: Likewise.
61964         * elf/tst-tlsmod2.c: Likewise.
61965         * elf/tst-tlsmod3.c: Likewise.
61966         * elf/tst-tlsmod4.c: Likewise.
61967         * elf/tst-tlsmod5.c: Likewise.
61968         * elf/tst-tlsmod6.c: Likewise.
61970 2013-10-18  Ondƙej BĂ­lka  <neleai@seznam.cz>
61972         [BZ #12486]
61973         * malloc/malloc.c: remove checks for statistics.
61975 2013-10-17  Ondƙej BĂ­lka  <neleai@seznam.cz>
61977         [BZ #15277]
61978         * inet/inet_net.c (inet_network): Detect additional invalid strings.
61979         * inet/tst-network.c: Add testcase.
61981 2013-10-17  Andreas Schwab  <schwab@suse.de>
61983         [BZ #15218]
61984         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
61985         to determine canonical name.
61987 2013-10-17  Ondƙej BĂ­lka  <neleai@seznam.cz>
61989         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
61990         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
61991         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61992         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61993         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61994         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61995         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61996         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61997         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61998         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61999         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
62000         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62001         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62002         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
62003         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
62004         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
62005         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62006         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62007         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
62008         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
62009         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62010         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62011         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62012         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
62013         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
62014         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62015         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62016         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
62017         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62018         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
62019         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
62020         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62021         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
62022         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62023         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62024         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62025         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62026         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62027         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62028         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62029         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62030         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
62031         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
62032         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62033         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
62034         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62035         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62036         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
62037         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
62038         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62039         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
62040         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
62041         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
62042         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
62043         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62044         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
62045         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62046         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62048 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
62050         [BZ #16041]
62051         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
62052         make result into a quiet NaN.
62054 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
62056         * soft-fp/adddf3.c: Fix horizontal whitespace.
62057         * soft-fp/addsf3.c: Likewise.
62058         * soft-fp/addtf3.c: Likewise.
62059         * soft-fp/divdf3.c: Likewise.
62060         * soft-fp/divsf3.c: Likewise.
62061         * soft-fp/divtf3.c: Likewise.
62062         * soft-fp/double.h: Likewise.
62063         * soft-fp/eqdf2.c: Likewise.
62064         * soft-fp/eqsf2.c: Likewise.
62065         * soft-fp/eqtf2.c: Likewise.
62066         * soft-fp/extenddftf2.c: Likewise.
62067         * soft-fp/extended.h: Likewise.
62068         * soft-fp/extendsfdf2.c: Likewise.
62069         * soft-fp/extendsftf2.c: Likewise.
62070         * soft-fp/extendxftf2.c: Likewise.
62071         * soft-fp/fixdfdi.c: Likewise.
62072         * soft-fp/fixdfsi.c: Likewise.
62073         * soft-fp/fixdfti.c: Likewise.
62074         * soft-fp/fixsfdi.c: Likewise.
62075         * soft-fp/fixsfsi.c: Likewise.
62076         * soft-fp/fixsfti.c: Likewise.
62077         * soft-fp/fixtfdi.c: Likewise.
62078         * soft-fp/fixtfsi.c: Likewise.
62079         * soft-fp/fixtfti.c: Likewise.
62080         * soft-fp/fixunsdfdi.c: Likewise.
62081         * soft-fp/fixunsdfsi.c: Likewise.
62082         * soft-fp/fixunsdfti.c: Likewise.
62083         * soft-fp/fixunssfdi.c: Likewise.
62084         * soft-fp/fixunssfsi.c: Likewise.
62085         * soft-fp/fixunssfti.c: Likewise.
62086         * soft-fp/fixunstfdi.c: Likewise.
62087         * soft-fp/fixunstfsi.c: Likewise.
62088         * soft-fp/fixunstfti.c: Likewise.
62089         * soft-fp/floatdidf.c: Likewise.
62090         * soft-fp/floatdisf.c: Likewise.
62091         * soft-fp/floatditf.c: Likewise.
62092         * soft-fp/floatsidf.c: Likewise.
62093         * soft-fp/floatsisf.c: Likewise.
62094         * soft-fp/floatsitf.c: Likewise.
62095         * soft-fp/floattidf.c: Likewise.
62096         * soft-fp/floattisf.c: Likewise.
62097         * soft-fp/floattitf.c: Likewise.
62098         * soft-fp/floatundidf.c: Likewise.
62099         * soft-fp/floatundisf.c: Likewise.
62100         * soft-fp/floatunditf.c: Likewise.
62101         * soft-fp/floatunsidf.c: Likewise.
62102         * soft-fp/floatunsisf.c: Likewise.
62103         * soft-fp/floatunsitf.c: Likewise.
62104         * soft-fp/floatuntidf.c: Likewise.
62105         * soft-fp/floatuntisf.c: Likewise.
62106         * soft-fp/floatuntitf.c: Likewise.
62107         * soft-fp/fmadf4.c: Likewise.
62108         * soft-fp/fmasf4.c: Likewise.
62109         * soft-fp/fmatf4.c: Likewise.
62110         * soft-fp/gedf2.c: Likewise.
62111         * soft-fp/gesf2.c: Likewise.
62112         * soft-fp/getf2.c: Likewise.
62113         * soft-fp/ledf2.c: Likewise.
62114         * soft-fp/lesf2.c: Likewise.
62115         * soft-fp/letf2.c: Likewise.
62116         * soft-fp/muldf3.c: Likewise.
62117         * soft-fp/mulsf3.c: Likewise.
62118         * soft-fp/multf3.c: Likewise.
62119         * soft-fp/negdf2.c: Likewise.
62120         * soft-fp/negsf2.c: Likewise.
62121         * soft-fp/negtf2.c: Likewise.
62122         * soft-fp/op-1.h: Likewise.
62123         * soft-fp/op-2.h: Likewise.
62124         * soft-fp/op-4.h: Likewise.
62125         * soft-fp/op-8.h: Likewise.
62126         * soft-fp/op-common.h: Likewise.
62127         * soft-fp/quad.h: Likewise.
62128         * soft-fp/single.h: Likewise.
62129         * soft-fp/soft-fp.h: Likewise.
62130         * soft-fp/sqrtdf2.c: Likewise.
62131         * soft-fp/sqrtsf2.c: Likewise.
62132         * soft-fp/sqrttf2.c: Likewise.
62133         * soft-fp/subdf3.c: Likewise.
62134         * soft-fp/subsf3.c: Likewise.
62135         * soft-fp/subtf3.c: Likewise.
62136         * soft-fp/truncdfsf2.c: Likewise.
62137         * soft-fp/trunctfdf2.c: Likewise.
62138         * soft-fp/trunctfsf2.c: Likewise.
62139         * soft-fp/trunctfxf2.c: Likewise.
62140         * soft-fp/unorddf2.c: Likewise.
62141         * soft-fp/unordsf2.c: Likewise.
62142         * soft-fp/unordtf2.c: Likewise.
62144 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
62146         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
62147         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
62149 2013-10-15   Ondƙej BĂ­lka  <neleai@seznam.cz>
62151         * elf/dl-libc.c: Clear initfini list after freeing.
62153 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
62155         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
62156         * soft-fp/addsf3.c: Likewise.
62157         * soft-fp/addtf3.c: Likewise.
62158         * soft-fp/divdf3.c: Likewise.
62159         * soft-fp/divsf3.c: Likewise.
62160         * soft-fp/divtf3.c: Likewise.
62161         * soft-fp/double.h: Likewise.
62162         * soft-fp/eqdf2.c: Likewise.
62163         * soft-fp/eqsf2.c: Likewise.
62164         * soft-fp/eqtf2.c: Likewise.
62165         * soft-fp/extenddftf2.c: Likewise.
62166         * soft-fp/extended.h: Likewise.
62167         * soft-fp/extendsfdf2.c: Likewise.
62168         * soft-fp/extendsftf2.c: Likewise.
62169         * soft-fp/extendxftf2.c: Likewise.
62170         * soft-fp/fixdfdi.c: Likewise.
62171         * soft-fp/fixdfsi.c: Likewise.
62172         * soft-fp/fixdfti.c: Likewise.
62173         * soft-fp/fixsfdi.c: Likewise.
62174         * soft-fp/fixsfsi.c: Likewise.
62175         * soft-fp/fixsfti.c: Likewise.
62176         * soft-fp/fixtfdi.c: Likewise.
62177         * soft-fp/fixtfsi.c: Likewise.
62178         * soft-fp/fixtfti.c: Likewise.
62179         * soft-fp/fixunsdfdi.c: Likewise.
62180         * soft-fp/fixunsdfsi.c: Likewise.
62181         * soft-fp/fixunsdfti.c: Likewise.
62182         * soft-fp/fixunssfdi.c: Likewise.
62183         * soft-fp/fixunssfsi.c: Likewise.
62184         * soft-fp/fixunssfti.c: Likewise.
62185         * soft-fp/fixunstfdi.c: Likewise.
62186         * soft-fp/fixunstfsi.c: Likewise.
62187         * soft-fp/fixunstfti.c: Likewise.
62188         * soft-fp/floatdidf.c: Likewise.
62189         * soft-fp/floatdisf.c: Likewise.
62190         * soft-fp/floatditf.c: Likewise.
62191         * soft-fp/floatsidf.c: Likewise.
62192         * soft-fp/floatsisf.c: Likewise.
62193         * soft-fp/floatsitf.c: Likewise.
62194         * soft-fp/floattidf.c: Likewise.
62195         * soft-fp/floattisf.c: Likewise.
62196         * soft-fp/floattitf.c: Likewise.
62197         * soft-fp/floatundidf.c: Likewise.
62198         * soft-fp/floatundisf.c: Likewise.
62199         * soft-fp/floatunsidf.c: Likewise.
62200         * soft-fp/floatunsisf.c: Likewise.
62201         * soft-fp/floatuntidf.c: Likewise.
62202         * soft-fp/floatuntisf.c: Likewise.
62203         * soft-fp/floatuntitf.c: Likewise.
62204         * soft-fp/fmadf4.c: Likewise.
62205         * soft-fp/fmasf4.c: Likewise.
62206         * soft-fp/fmatf4.c: Likewise.
62207         * soft-fp/gedf2.c: Likewise.
62208         * soft-fp/gesf2.c: Likewise.
62209         * soft-fp/getf2.c: Likewise.
62210         * soft-fp/ledf2.c: Likewise.
62211         * soft-fp/lesf2.c: Likewise.
62212         * soft-fp/letf2.c: Likewise.
62213         * soft-fp/muldf3.c: Likewise.
62214         * soft-fp/mulsf3.c: Likewise.
62215         * soft-fp/multf3.c: Likewise.
62216         * soft-fp/negdf2.c: Likewise.
62217         * soft-fp/negsf2.c: Likewise.
62218         * soft-fp/negtf2.c: Likewise.
62219         * soft-fp/op-1.h: Likewise.
62220         * soft-fp/op-2.h: Likewise.
62221         * soft-fp/op-4.h: Likewise.
62222         * soft-fp/op-8.h: Likewise.
62223         * soft-fp/op-common.h: Likewise.
62224         * soft-fp/quad.h: Likewise.
62225         * soft-fp/single.h: Likewise.
62226         * soft-fp/soft-fp.h: Likewise.
62227         * soft-fp/sqrtdf2.c: Likewise.
62228         * soft-fp/sqrtsf2.c: Likewise.
62229         * soft-fp/sqrttf2.c: Likewise.
62230         * soft-fp/subdf3.c: Likewise.
62231         * soft-fp/subsf3.c: Likewise.
62232         * soft-fp/subtf3.c: Likewise.
62233         * soft-fp/truncdfsf2.c: Likewise.
62234         * soft-fp/trunctfdf2.c: Likewise.
62235         * soft-fp/trunctfsf2.c: Likewise.
62236         * soft-fp/trunctfxf2.c: Likewise.
62237         * soft-fp/unorddf2.c: Likewise.
62238         * soft-fp/unordsf2.c: Likewise.
62239         * soft-fp/unordtf2.c: Likewise.
62241 2013-10-14   Ondƙej BĂ­lka  <neleai@seznam.cz>
62243         [BZ #15672]
62244         * misc/error.c (error_tail): Fix possible buffer overflow.
62246 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
62248         [BZ #13028]
62249         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
62250         address.
62252 2013-10-14  P. J. McDermott  <pj@pehjota.net>
62254         [BZ #832]
62255         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
62256         testing pipefail option.
62258 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
62260         * soft-fp/double.h: Indent preprocessor directives inside #if.
62261         * soft-fp/extended.h: Likewise.
62262         * soft-fp/op-2.h: Likewise.
62263         * soft-fp/op-4.h: Likewise.
62264         * soft-fp/op-common.h: Likewise.
62265         * soft-fp/quad.h: Likewise.
62266         * soft-fp/single.h: Likewise.
62267         * soft-fp/soft-fp.h: Likewise.
62269 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
62271         * iconv/iconv_prog.c: Fix typos.
62272         * stdio-common/psiginfo-data.h: Likewise.
62274 2013-10-12   Reuben Thomas <rrt@sc3d.org>
62276         [BZ #15764]
62277         * locale/setlocale.c: Fix typo.
62279 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
62281         [BZ #16036]
62282         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
62283         signaling NaN arguments.
62284         * soft-fp/unordsf2.c (__unordsf2): Likewise.
62285         * soft-fp/unordtf2.c (__unordtf2): Likewise.
62287         [BZ #14910]
62288         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
62289         unordered operands.
62290         * soft-fp/gesf2.c (__gesf2): Likewise.
62291         * soft-fp/getf2.c (__getf2): Likewise.
62292         * soft-fp/ledf2.c (__ledf2): Likewise.
62293         * soft-fp/lesf2.c (__lesf2): Likewise.
62294         * soft-fp/letf2.c (__letf2): Likewise.
62296         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
62297         * soft-fp/eqsf2.c (__eqsf2): Likewise.
62298         * soft-fp/eqtf2.c (__eqtf2): Likewise.
62299         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
62300         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
62301         * soft-fp/fixdfti.c (__fixdfti): Likewise.
62302         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
62303         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
62304         * soft-fp/fixsfti.c (__fixsfti): Likewise.
62305         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
62306         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
62307         * soft-fp/fixtfti.c (__fixtfti): Likewise.
62308         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
62309         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
62310         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
62311         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
62312         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
62313         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
62314         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
62315         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
62316         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
62317         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
62318         * soft-fp/floatdisf.c (__floatdisf): Likewise.
62319         * soft-fp/floatsisf.c (__floatsisf): Likewise.
62320         * soft-fp/floattidf.c (__floattidf): Likewise.
62321         * soft-fp/floattisf.c (__floattisf): Likewise.
62322         * soft-fp/floattitf.c (__floattitf): Likewise.
62323         * soft-fp/floatundidf.c (__floatundidf): Likewise.
62324         * soft-fp/floatundisf.c (__floatundisf): Likewise.
62325         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
62326         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
62327         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
62328         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
62329         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
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/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
62337         Undefine and redefine.
62338         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
62339         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
62340         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
62341         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
62342         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62343         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
62344         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62345         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
62346         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62347         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
62348         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62349         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
62350         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62351         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
62352         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62354         [BZ #16032]
62355         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
62356         without decrementing exponent if mantissa >= that for the
62357         denominator, not >.
62358         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
62359         denominator, not >.  Decrement exponent in < case instead of
62360         incrementing in >= case.
62361         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
62362         without decrementing exponent if mantissa >= that for the
62363         denominator, not >.
62365         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
62366         computing saturated result for unsigned overflow.
62368 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62369             Jeff Law  <law@redhat.com>
62371         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
62372         (atan2Mp): Add systemtap probe marker.
62373         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
62374         (__ieee754_log): Add systemtap probe marker.
62375         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
62376         (atanMp): Add systemtap probe marker.
62377         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
62378         (tanMp): Add systemtap probe marker.
62379         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
62380         (__slowexp): Add systemtap probe marker.
62381         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
62382         (__slowpow): Add systemtap probe marker.
62383         * manual/probes.texi: Document probes.
62385 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
62387         [BZ #15362]
62388         * libio/fileops.c (_IO_new_file_write): Return count of bytes
62389         written.
62390         (_IO_new_file_xsputn): Don't return EOF if nothing has been
62391         written.
62392         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
62393         written to buffer but not flushed.
62394         * libio/iofwrite_u.c:  Likewise.
62395         * libio/iopadn.c:  Return bytes returned even if EOF was
62396         encountered.
62397         * libio/iowpadn.c:  Likewise.
62398         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
62399         if _IO_padn does not write the whole buffer.
62400         [!COMPILE_WPRINTF] (PAD): Likewise.
62402 2013-10-10  David S. Miller  <davem@davemloft.net>
62404         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
62405         directory block.
62407 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
62409         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
62410         instead of FSF address.
62411         * soft-fp/fixdfti.c: Likewise.
62412         * soft-fp/fixsfti.c: Likewise.
62413         * soft-fp/fixtfti.c: Likewise.
62414         * soft-fp/fixunsdfti.c: Likewise.
62415         * soft-fp/fixunssfti.c: Likewise.
62416         * soft-fp/fixunstfti.c: Likewise.
62417         * soft-fp/floattidf.c: Likewise.
62418         * soft-fp/floattisf.c: Likewise.
62419         * soft-fp/floattitf.c: Likewise.
62420         * soft-fp/floatuntidf.c: Likewise.
62421         * soft-fp/floatuntisf.c: Likewise.
62422         * soft-fp/floatuntitf.c: Likewise.
62423         * soft-fp/trunctfxf2.c: Likewise.
62425         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
62426         * soft-fp/fixdfti.c: Likewise.
62427         * soft-fp/fixsfti.c: Likewise.
62428         * soft-fp/fixtfti.c: Likewise.
62429         * soft-fp/fixunsdfti.c: Likewise.
62430         * soft-fp/fixunssfti.c: Likewise.
62431         * soft-fp/fixunstfti.c: Likewise.
62432         * soft-fp/floattidf.c: Likewise.
62433         * soft-fp/floattisf.c: Likewise.
62434         * soft-fp/floattitf.c: Likewise.
62435         * soft-fp/floatuntidf.c: Likewise.
62436         * soft-fp/floatuntisf.c: Likewise.
62437         * soft-fp/floatuntitf.c: Likewise.
62438         * soft-fp/trunctfxf2.c: Likewise.
62440 2013-10-10  David S. Miller  <davem@davemloft.net>
62442         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62444 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
62446         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
62447         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
62448         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
62449         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
62450         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
62451         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
62452         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
62454         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
62455         for NaNs before doing comparisons on argument.
62456         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
62457         Likewise.
62459 2013-10-10  Will Newton  <will.newton@linaro.org>
62461         * malloc/hooks.c (memalign_check): Ensure the value of bytes
62462         passed to _int_memalign does not overflow.
62464 2013-10-10  Torvald Riegel  <triegel@redhat.com>
62466         * scripts/bench.pl: Add include-sources directive.
62467         * benchtests/README: Update documentation.
62469 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
62471         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
62472         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
62473         instead of FP_INIT_ROUNDMODE.
62474         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
62475         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
62477         [BZ #16034]
62478         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
62479         copy class of input value.
62480         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
62481         not handle exceptions.
62482         * soft-fp/negsf2.c (__negsf2): Likewise.
62483         * soft-fp/negtf2.c (__negtf2): Likewise.
62484         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
62486 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
62488         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
62489         semicolon.  From Linux kernel.
62491 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
62493         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
62495 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
62497         [BZ #156]
62498         * manual/socket.texi: Added statement about buffer
62499         for gethostbyname2_r.
62501 2013-10-08  Ondƙej BĂ­lka  <neleai@seznam.cz>
62503         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
62504         Use .p2align directive instead, throughout.
62505         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62506         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
62507         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
62508         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62509         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62510         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
62511         * sysdeps/x86_64/strchr.S: Likewise.
62512         * sysdeps/x86_64/strrchr.S: Likewise.
62514 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
62516         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
62518         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
62520         * sysdeps/generic/math_private.h (__mpsin1): Remove
62521         declaration.
62522         (__mpcos1): Likewise.
62523         (__mpsin): New argument __range_reduce.
62524         (__mpcos): Likewise.
62525         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62526         (slow): Use __mpsin and __mpcos.
62527         (slow1): Likewise.
62528         (slow2): Likewise.
62529         (sloww): Likewise.
62530         (sloww1): Likewise.
62531         (sloww2): Likewise.
62532         (bsloww): Likewise.
62533         (bsloww1): Likewise.
62534         (bsloww2): Likewise.
62535         (cslow2): Likewise.
62536         (csloww): Likewise.
62537         (csloww1): Likewise.
62538         (csloww2): Likewise.
62539         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
62540         range_reduce.  Merge in __mpsin1.
62541         (__mpcos): Likewise.
62542         (__mpsin1): Remove.
62543         (__mpcos1): Likewise.
62545 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
62547         * locale/loadlocale.c (_nl_intern_locale_data): Use
62548         LOCFILE_ALIGNED_P.
62549         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
62550         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
62551         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
62552         obstack data is appropriately aligned.
62553         (obstack_int32_grow_fast): Likewise.
62554         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
62555         * locale/programs/locfile.c (add_locale_uint32): Likewise.
62556         (add_locale_uint32_array): Likewise.
62558 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62560         * benchtests/Makefile: Remove ARGLIST and RET variables.
62561         ($(objpfx)bench-%.c): Pass only function name to the script.
62562         * benchtests/README: Update documentation.
62563         * benchtests/acos-inputs: Add new directives.
62564         * benchtests/acosh-inputs: Likewise.
62565         * benchtests/asin-inputs: Likewise.
62566         * benchtests/asinh-inputs: Likewise.
62567         * benchtests/atan-inputs: Likewise.
62568         * benchtests/atanh-inputs: Likewise.
62569         * benchtests/cos-inputs: Likewise.
62570         * benchtests/cosh-inputs: Likewise.
62571         * benchtests/exp-inputs: Likewise.
62572         * benchtests/log-inputs: Likewise.
62573         * benchtests/pow-inputs: Likewise.
62574         * benchtests/rint-inputs: Likewise.
62575         * benchtests/sin-inputs: Likewise.
62576         * benchtests/sinh-inputs: Likewise.
62577         * benchtests/tan-inputs: Likewise.
62578         * benchtests/tanh-inputs: Likewise.
62579         * scripts/bench.pl: Add support for new directives.
62581 2013-10-07  Alan Modra  <amodra@gmail.com>
62583         * README: Fix careless merge.
62585 2013-10-05  Alan Modra  <amodra@gmail.com>
62587         * NEWS: Mention powerpc64le support and bugs fixed.
62588         * README: Both big-endian and little-endian powerpc64 supported.
62590 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62592         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
62593         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
62594         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
62595         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
62597 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
62599         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
62600         match prototype.
62602 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
62604         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
62605         Move -mhard-float appending from
62606         ports/sysdeps/powerpc/powerpc32/Makefile.
62607         [$(with-fp) = yes] (ASFLAGS): Likewise.
62608         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
62609         * sysdeps/powerpc/nofpu: Move directory from
62610         ports/sysdeps/powerpc/nofpu.
62611         * sysdeps/powerpc/soft-fp: Move directory from
62612         ports/sysdeps/powerpc/soft-fp.
62613         * sysdeps/powerpc/powerpc32/405: Move directory from
62614         ports/sysdeps/powerpc/powerpc32/405.
62615         * sysdeps/powerpc/powerpc32/440: Move directory from
62616         ports/sysdeps/powerpc/powerpc32/440.
62617         * sysdeps/powerpc/powerpc32/464: Move directory from
62618         ports/sysdeps/powerpc/powerpc32/464.
62619         * sysdeps/powerpc/powerpc32/476: Move directory from
62620         ports/sysdeps/powerpc/powerpc32/476.
62621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
62622         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
62623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
62624         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
62625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
62626         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
62627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
62628         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
62629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
62630         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
62631         * README: Update for powerpc-*-linux-gnu software floating point
62632         support in libc.
62634         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
62635         case to powerpc/powerpc32*.
62636         * sysdeps/unix/sysv/linux/configure: Regenerated.
62638         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
62639         (_FPU_MASK_OM): Define as 0x04.
62640         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
62641         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
62642         0x00c10080.
62643         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
62644         0x0000003c.
62645         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
62647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
62648         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62649         getcontext_e500.
62650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
62651         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62652         setcontext_e500.
62653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
62654         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
62655         and setcontext_e500.
62657 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
62659         * locale/iso-3166.def: Update iso-1366.def and related occurrences
62661 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62663         * manual/threads.texi (Default Thread Attributes): Fix typo.
62665 2013-10-04  Will Newton  <will.newton@linaro.org>
62667         * malloc/Makefile: Add tst-memalign.
62668         * malloc/tst-memalign.c: New file.
62670         * malloc/tst-posix_memalign.c: Add comments.
62671         (do_test): Add comments and call free on all potentially
62672         allocated pointers. Add space after cast.
62674         * malloc/tst-pvalloc.c: Add comments.
62675         (do_test): Add comments and call free on all potentially
62676         allocated pointers. Remove duplicate check for NULL pointer.
62677         Add space after cast.
62679         * malloc/tst-valloc.c: Add comments.
62680         (do_test): Add comments and call free on all potentially
62681         allocated pointers. Remove duplicate check for NULL pointer.
62682         Add space after cast.
62684 2013-10-04  Alan Modra  <amodra@gmail.com>
62686         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62687         Use stdint types in rather than __attribute__((mode())).
62688         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62690 2013-10-04  Alan Modra  <amodra@gmail.com>
62692         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62693         Correct handling of unaligned relocs for little-endian.
62694         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62696 2013-10-04  Alan Modra  <amodra@gmail.com>
62698         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
62699         * configure: Regenerate.
62700         * nptl/shlib-versions: Powerpc*le starts at 2.18.
62701         * shlib-versions: Likewise.
62703 2013-10-04  Alan Modra  <amodra@gmail.com>
62705         * string/tester.c (test_memrchr): Increment reported test cycle.
62707 2013-10-04  Alan Modra  <amodra@gmail.com>
62709         * string/test-memcpy.c (do_one_test): When reporting errors, print
62710         string address and don't overrun end of string.
62712 2013-10-04  Alan Modra  <amodra@gmail.com>
62714         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
62715         insrdi.  Make better use of reg selection to speed exit slightly.
62716         Schedule entry path a little better.  Remove useless "are we done"
62717         checks on entry to main loop.  Handle wrapping around zero address.
62718         Correct main loop count.  Handle single left-over word from main
62719         loop inline rather than by using loop_small.  Remove extra word
62720         case in loop_small caused by wrong loop count.  Add little-endian
62721         support.
62722         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62723         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
62724         cache hint.
62725         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62726         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
62727         support.  Avoid rlwimi.
62728         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
62730 2013-10-04  Alan Modra  <amodra@gmail.com>
62732         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
62733         insrdi.  Formatting.
62734         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
62735         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62736         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
62737         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62738         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62739         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
62741 2013-10-04  Alan Modra  <amodra@gmail.com>
62743         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
62744         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62745         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
62746         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
62747         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62748         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62749         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62750         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62751         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
62752         use of regs.  Use power7 mtocrf.  Tidy function tails.
62754 2013-10-04  Alan Modra  <amodra@gmail.com>
62756         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
62757         Formatting.  Consistently use rXXX register defines or rN defines.
62758         Use early exit labels that avoid restoring unused non-volatile regs.
62759         Make cr field use more consistent with rWORDn compares.  Rename
62760         regs used as shift registers for unaligned loop, using rN defines
62761         for short lifetime/multiple use regs.
62762         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62763         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
62764         addi 1,1,64 to pop stack frame.  Simplify return value code.
62765         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62767 2013-10-04  Alan Modra  <amodra@gmail.com>
62769         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
62770         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
62771         rather than rlwimi.
62772         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
62773         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
62774         little-endian support.  Correct typos.
62775         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
62776         rather than rlwimi.
62777         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
62778         in loop and entry code to keep "and." results.
62779         (strchr): Add little-endian support.  Comment.  Move cntlzd
62780         earlier in tail.
62781         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
62783 2013-10-04  Alan Modra  <amodra@gmail.com>
62785         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
62786         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
62787         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
62788         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
62790 2013-10-04  Alan Modra  <amodra@gmail.com>
62792         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
62793         (rTMP): Define as r11.
62794         (strcmp): Add little-endian support.  Optimise tail.
62795         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
62796         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62797         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62798         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62799         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62800         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62801         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62803 2013-10-04  Alan Modra  <amodra@gmail.com>
62805         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
62806         little-endian support.  Remove unnecessary "are we done" tests.
62807         Handle "s" wrapping around zero and extremely large "size".
62808         Correct main loop count.  Handle single left-over word from main
62809         loop inline rather than by using small_loop.  Correct comments.
62810         Delete "zero" tail, use "end_max" instead.
62811         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
62813 2013-10-04  Alan Modra  <amodra@gmail.com>
62815         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
62816         support.  Don't branch over align.
62817         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
62818         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
62819         support.  Rearrange tmp reg use to suit.  Comment.
62820         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
62822 2013-10-04  Alan Modra  <amodra@gmail.com>
62824         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
62826 2013-10-04  Alan Modra  <amodra@gmail.com>
62828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
62829         conditional form of branch and link when obtaining pc.
62830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
62832 2013-10-04  Alan Modra  <amodra@gmail.com>
62834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
62835         HIWORD/LOWORD.
62836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
62837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
62839 2013-10-04  Alan Modra  <amodra@gmail.com>
62841         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
62842         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
62843         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
62844         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
62845         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
62846         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62847         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
62848         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62849         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
62850         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
62852 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62853             Alistair Popple <alistair@ozlabs.au.ibm.com>
62854             Alan Modra <amodra@gmail.com>
62856         [BZ #15723]
62857         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
62858         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
62859         _dl_hwcap access for little-endian.
62860         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
62861         destroy vmx regs when saving unaligned.
62862         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
62863         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
62864         destroy vmx regs when saving unaligned.
62866 2013-10-04  Alan Modra  <amodra@gmail.com>
62868         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
62869         Don't use a union to pack hi/low value.
62871 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62873         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
62874         for little-endian.
62875         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62876         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
62877         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62878         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62879         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62881 2013-10-04  Alan Modra  <amodra@gmail.com>
62883         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
62884         constants to usual value for .cst8 section, and remove redundant
62885         high address load.
62886         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
62887         constant for 0x1p52.  Load little-endian words of double from
62888         correct stack offsets.
62890 2013-10-04  Alan Modra  <amodra@gmail.com>
62892         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
62893         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
62894         words of double from correct stack offsets.
62895         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
62896         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
62897         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62898         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62899         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62900         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62901         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62902         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
62903         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
62904         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62905         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62906         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62907         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62908         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62909         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62910         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
62911         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
62913 2013-10-04  Alan Modra  <amodra@gmail.com>
62915         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
62916         64-bit int/double union.
62917         (_FPU_SETCW): Likewise.
62918         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
62919         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
62921 2013-10-04  Alan Modra  <amodra@gmail.com>
62923         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
62924         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
62926 2013-10-04  Alan Modra  <amodra@gmail.com>
62928         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
62929         use vector int constants.
62930         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
62932 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62934         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
62935         array with long long.
62936         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
62937         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
62938         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
62939         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
62940         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
62941         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
62942         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
62943         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
62944         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
62945         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
62946         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
62947         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
62948         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
62950 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62952         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
62953         (__signbit): Likewise.  Correct for little-endian.
62954         (__signbitl): Call __signbit.
62955         (lrint): Correct for little-endian.
62956         (lrintf): Call lrint.
62958 2013-10-04  Alan Modra  <amodra@gmail.com>
62960         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
62961         union 32-bit int array member with 64-bit int array.
62962         (t515, tm256): Double rather than long double.
62963         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
62965 2013-10-04  Alan Modra  <amodra@gmail.com>
62967         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
62968         Delete.
62969         (IEEE854_LONG_DOUBLE_BIAS): Delete.
62970         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
62971         version of math_ldbl.h.
62973 2013-10-04  Alan Modra  <amodra@gmail.com>
62975         [BZ #15734], [BZ #15735]
62976         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
62977         all uses of ieee875 long double macros and unions.  Simplify test
62978         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
62979         ldbl_extract_mantissa value for ix,iy exponents.  Properly
62980         normalize after ldbl_extract_mantissa, and don't add hidden bit
62981         already handled.  Don't treat low word of ieee854 mantissa like
62982         low word of IBM long double and mask off bit when testing for
62983         zero.
62984         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
62985         all uses of ieee875 long double macros and unions.  Simplify tests
62986         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
62987         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
62988         two1022, instead use their values.  Recognise that tests for large
62989         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
62990         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
62991         Rewrite all uses of ieee875 long double macros and unions.  Simplify
62992         test for 0.0L and nan.  Correct negation.
62993         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
62994         ieee875 long double macros and unions.  Correct output for large
62995         magnitude x.  Correct absolute value calculation.
62996         (__erfcl): Likewise.
62997         * math/libm-test.inc: Add tests for errors discovered in IBM long
62998         double versions of fmodl, remainderl, erfl and erfcl.
63000 2013-10-04  Alan Modra  <amodra@gmail.com>
63002         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
63003         all uses of ieee854 long double macros and unions.  Simplify tests
63004         for long doubles that are fully specified by the high double.
63005         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
63006         Likewise.
63007         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
63008         Remove dead code too.
63009         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
63010         (__ieee754_ynl): Likewise.
63011         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
63012         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
63013         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
63014         Remove dead code too.
63015         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
63016         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
63017         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
63018         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
63019         Simplify.
63020         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
63021         Simplify.
63022         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
63023         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
63024         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
63025         Comment on variable precision.
63026         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
63027         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
63028         Likewise.
63029         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
63030         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63031         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63032         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
63033         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
63035 2013-10-04  Alan Modra  <amodra@gmail.com>
63037         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
63038         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
63039         all uses of ieee854 long double macros and unions.
63040         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
63041         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
63042         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
63043         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
63044         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
63045         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
63046         Likewise.
63047         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
63048         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
63049         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
63050         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
63051         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
63052         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
63053         Simplify sign and nan test too.
63054         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
63055         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
63056         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
63057         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
63058         Likewise.
63059         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
63060         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
63061         Likewise.
63062         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63063         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
63064         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
63065         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
63066         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
63067         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
63069 2013-10-04  Alan Modra  <amodra@gmail.com>
63071         * stdio-common/printf_size.c (__printf_size): Don't use
63072         union ieee854_long_double in fpnum union.
63073         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
63074         signbit macro to retrieve sign from long double.
63075         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
63076         retrieve sign from long double.
63077         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
63078         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
63079         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
63080         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
63081         * math/test-misc.c (main): Don't use union ieee854_long_double.
63083 2013-10-04  Alan Modra  <amodra@gmail.com>
63085         [BZ #15680]
63086         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
63087         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
63088         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
63089         calculation.  Remove unnecessary test for denormal exponent.
63090         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
63091         Correct handling of denormals.  Avoid undefined shift behaviour.
63092         Correct normalisation of low mantissa when low double is denormal.
63093         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
63094         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
63095         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
63096         Correct normalisation of low mantissa.  Test for overflow of high
63097         mantissa and normalise.
63098         (ldbl_nearbyint): Use more readable constant for two52.
63099         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
63100         (__mpn_construct_long_double): Fix test for overflow of high
63101         mantissa and correct normalisation.  Avoid undefined shift.
63103 2013-10-04  Alan Modra  <amodra@gmail.com>
63105         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63106         (union ibm_extended_long_double): Define as an array of ieee754_double.
63107         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
63108         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
63109         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
63110         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63111         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63112         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
63113         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63114         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
63115         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
63116         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
63117         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63119 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
63121         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
63122         page size instead of calling getpagesize.
63124         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
63125         (LOCFILE_ALIGN_MASK): Likewise.
63126         (LOCFILE_ALIGN_UP): Likewise.
63127         (LOCFILE_ALIGNED_P): Likewise.
63128         * locale/programs/ld-collate.c (collate_output): Use the new
63129         macros instead of __alignof__ (int32_t).
63130         * locale/weight.h (findidx): Likewise.
63132 2013-10-03  Ondƙej BĂ­lka  <neleai@seznam.cz>
63134         [BZ #431]
63135         * manual/string.texi: Fix strncat and wcsncat.
63137 2013-10-03  Brooks Moses  <bmoses@google.com>
63139         [BZ #15915]
63140         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
63141         * Makerules: ...here, and adjust associated comments.
63143 2013-10-02  Will Newton  <will.newton@linaro.org>
63145         * malloc/Makefile: Add tst-pvalloc.
63146         * malloc/tst-pvalloc.c: New file.
63148 2013-10-02  Will Newton  <will.newton@linaro.org>
63150         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
63151         improve test coverage.
63153 2013-10-02  Will Newton  <will.newton@linaro.org>
63155         * malloc/Makefile: Add tst-posix_memalign.
63156         * malloc/tst-posix_memalign.c: New file.
63158 2013-10-01  Eric Blake  <eblake@redhat.com>
63160         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
63161         Use __THROWNL rather than __THROW on static functions.
63163 2013-09-30  Petr Machata  <pmachata@redhat.com>
63165         * elf/elf.h (R_AARCH64_ABS16): New macro.
63166         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
63167         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
63168         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
63169         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
63170         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
63171         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
63172         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
63173         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
63174         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
63175         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
63176         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
63177         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
63178         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
63179         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
63180         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
63181         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
63182         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
63183         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
63184         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
63185         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
63186         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
63187         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
63188         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
63189         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
63190         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
63191         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
63192         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
63193         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
63194         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
63195         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
63196         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
63197         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
63198         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
63199         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
63200         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
63201         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
63202         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
63203         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
63204         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
63205         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
63206         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
63207         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
63208         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
63209         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
63210         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
63211         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
63212         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
63213         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
63214         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
63215         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
63216         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
63217         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
63218         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
63219         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
63220         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
63221         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
63222         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
63223         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
63224         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
63225         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
63226         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
63227         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
63228         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
63229         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
63230         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
63231         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
63232         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
63233         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
63234         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
63235         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
63236         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
63237         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
63238         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
63239         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
63240         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
63241         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
63242         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
63243         (R_AARCH64_TLSDESC_LDR): Likewise.
63244         (R_AARCH64_TLSDESC_ADD): Likewise.
63245         (R_AARCH64_TLSDESC_CALL): Likewise.
63247 2013-09-30  Andreas Schwab  <schwab@suse.de>
63249         [BZ #15048]
63250         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
63251         the nss database lookup.
63252         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63253         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63255 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
63257         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
63259 2013-09-28  P. J. McDermott  <pj@pehjota.net>
63261         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
63262         ${Bash-specific parameter/pattern/string} parameter expansion.
63263         * sysdeps/unix/make-syscalls.sh: Likewise.
63265 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63267         * sysdeps/sh/stackguard-macros.h: New file.
63269 2013-09-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
63271         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
63272         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
63273         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
63274         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
63275         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63276         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
63278 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63280         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
63281         Fix thread ID register.
63283 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
63285         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
63286         [POSIX || UNIX98]: Require rather than permitting all symbols from
63287         <time.h>.
63288         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
63289         element of struct sched_param.
63290         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
63291         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
63292         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
63293         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
63294         constant.
63296 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
63298         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
63299         argument calculation.
63301 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
63303         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
63304         Expect macro.
63305         [POSIX] (pthread_attr_t): Do not require type.
63306         [POSIX] (pthread_cond_t): Likewise.
63307         [POSIX] (pthread_condattr_t): Likewise.
63308         [POSIX] (pthread_key_t): Likewise.
63309         [POSIX] (pthread_mutex_t): Likewise.
63310         [POSIX] (pthread_mutexattr_t): Likewise.
63311         [POSIX] (pthread_once_t): Likewise.
63312         [POSIX] (pthread_t): Likewise.
63313         [POSIX-based standards] (pthread_atfork): Expect function.
63315 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
63316             Richard Sandiford  <richard@codesourcery.com>
63318         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
63319         (swap_endianness_p): New extern variable.
63320         (set_big_endian): New inline function.
63321         (maybe_swap_uint32): Likewise.
63322         (maybe_swap_uint32_array): Likewise.
63323         (maybe_swap_uint32_obstack): Likewise.
63324         * locale/programs/locfile.c: Include <stdbool.h>.
63325         (swap_endianness_p): New variable.
63326         (add_locale_uint32): Call maybe_swap_uint32.
63327         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
63328         (write_locale_data): Call maybe_swap_uint32_array.
63329         * locale/programs/ld-collate.c (obstack_int32_grow): Call
63330         maybe_swap_uint32.
63331         (obstack_int32_grow_fast): Likewise.
63332         (output_weightwc): Call maybe_swap_uint32_obstack.
63333         (collate_output): Likewise.
63334         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
63335         (OPT_LITTLE_ENDIAN): Likewise.
63336         (options): Add --little-endian and --big-endian options.
63337         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
63338         * locale/programs/locarchive.c: Include "locfile.h".
63339         (GET): New macro.
63340         (SET): Likewise.
63341         (INC): Likewise.
63342         (create_archive): Use the new macros to access fields of
63343         structures directly mapped from or written to locale archives.
63344         (oldlocrecentcmp): Likewise.
63345         (enlarge_archive): Likewise.
63346         (insert_name): Likewise.
63347         (add_alias): Likewise.
63348         (add_locale): Likewise.
63349         (delete_locales_from_archive): Likewise.
63350         (show_archive_content): Likewise.
63351         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
63352         locale data.
63354 2013-09-24  Roland McGrath  <roland@hack.frob.com>
63356         * manual/freemanuals.texi: Updated from (newly) canonical copy at
63357         http://www.gnu.org/doc/freemanuals.texi.
63358         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
63360 2013-09-24  Will Newton  <will.newton@linaro.org>
63362         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
63363         macro.
63365 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
63367         * locale/hashval.h (compute_hashval): Interpret bytes of key as
63368         unsigned char.
63370 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
63372         * manual/threads.texi (POSIX Threads): Fix a typo.
63374 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
63376         [BZ #14547]
63377         * string/tst-strcoll-overflow.c: New test case.
63378         * string/Makefile (xtests): Add tst-strcoll-overflow.
63379         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
63380         cache if string sizes may cause integer overflow.
63382         [BZ #14547]
63383         * string/strcoll_l.c (coll_seq): New members rule, idx,
63384         save_idx and back_us.
63385         (get_next_seq_nocache): New function.
63386         (do_compare_nocache): New function.
63387         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
63388         when malloc fails.
63390 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
63392         [BZ #15754]
63393         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
63394         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
63395         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
63397         [BZ #15754]
63398         * elf/Makefile (tests): Add tst-ptrguard1.
63399         (tests-static): Add tst-ptrguard1-static.
63400         (tst-ptrguard1-ARGS): Define.
63401         (tst-ptrguard1-static-ARGS): Define.
63402         * elf/tst-ptrguard1.c: New file.
63403         * elf/tst-ptrguard1-static.c: New file.
63404         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
63405         * sysdeps/i386/stackguard-macros.h: Likewise.
63406         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63407         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63408         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63409         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63410         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63411         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63413 2013-09-23  Hector Marco  <hecmargi@upv.es>
63414             Ismael Ripoll  <iripoll@disca.upv.es>
63415             Carlos O'Donell  <carlos@redhat.com>
63417         [BZ #15754]
63418         * sysdeps/generic/stackguard-macros.h: Define
63419         __pointer_chk_guard_local and POINTER_CHK_GUARD.
63420         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
63421         Define __pointer_chk_guard_local.
63422         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
63423         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
63425 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
63427         [BZ #15859]
63428         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
63430 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
63432         * include/string.h (__ffs): Declare as hidden.
63433         * string/ffs.c (__ffs): Define as hidden.
63434         * sysdeps/i386/ffs.c (__ffs): Likewise.
63435         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
63436         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
63437         * sysdeps/s390/ffs.c (__ffs): Likewise.
63438         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
63440 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
63442         * NEWS: Mention malloc probes.
63444         * malloc/arena.c (new_heap): New memory_heap_new probe.
63445         (grow_heap): New memory_heap_more probe.
63446         (shrink_heap): New memory_heap_less probe.
63447         (heap_trim): New memory_heap_free probe.
63448         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
63449         (systrim): New memory_sbrk_less probe.
63450         * manual/probes.texi: Document them.
63452         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
63453         * manual/probes.texi: Document it.
63455         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
63456         (__libc_realloc): Add memory_realloc_retry probe.
63457         (__libc_memalign): Add memory_memalign_retry probe.
63458         (__libc_valloc): Add memory_valloc_retry probe.
63459         (__libc_pvalloc): Add memory_pvalloc_retry probe.
63460         (__libc_calloc): Add memory_calloc_retry probe.
63461         * manual/probes.texi: Document them.
63463         * malloc/arena.c (get_free_list): Add probe
63464         memory_arena_reuse_free_list.
63465         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
63466         and memory_arena_reuse.
63467         (arena_get2) [!PER_THREAD]: Likewise.
63468         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
63469         memory_arena_reuse_realloc.
63470         * manual/probes.texi: Document them.
63472         * malloc/malloc.c (__libc_free): Add
63473         memory_mallopt_free_dyn_thresholds probe.
63474         (__libc_mallopt): Add multiple memory_mallopt probes.
63475         * manual/probes.texi: Document them.
63477         * malloc/malloc.c: Include stap-probe.h.
63478         (__libc_mallopt): Add memory_mallopt probe.
63479         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
63480         * manual/probes.texi: New.
63481         * manual/Makefile (chapters): Add probes.
63482         * manual/threads.texi: Set next node.
63484 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
63486         [BZ #15963, #13985]
63487         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
63488         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
63489         Add `Chinese' to `nan' entry name.
63491 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63493         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
63494         (POLYNOMIAL): Likewise.
63495         (TAYLOR_SINCOS): Likewise.
63496         (TAYLOR_SLOW): Likewise.
63497         (__sin): Use TAYLOR_SINCOS.
63498         (__cos): Likewise.
63499         (slow): Use TAYLOR_SLOW.
63500         (sloww): Likewise.
63501         (bsloww): Likewise.
63502         (csloww): Likewise.
63504 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63506         * stdlib/strtod_l.c: Fix buffer overrun.
63508 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63510         * benchtests/Makefile (bench): Add sincos.
63511         * benchtests/bench-sincos.c: New file.
63513         * math/libm-test.inc (cos_test_data): New test inputs.
63514         (sin_test_data): Likewise.
63516         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
63517         macro.
63518         (__sin): Use it.
63519         (__cos): Likewise.
63520         (slow1): Likewise.
63521         (slow2): Likewise.
63522         (sloww1): Likewise.
63523         (sloww2): Likewise.
63524         (bsloww1): Likewise.
63525         (bsloww2): Likewise.
63526         (cslow2): Likewise.
63527         (csloww1): Likewise.
63528         (csloww2): Likewise.
63530         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
63531         function.
63532         (__sin): Use it.
63533         (__cos): Likewise.
63535         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
63536         gotos.
63537         (__cos): Likewise.
63539 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
63541         * config.h.in (HAVE_MIPS_NAN2008): New macro.
63542         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
63543         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
63544         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
63545         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
63546         * elf/cache.c (print_entry): Handle the new cache flags.
63548 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
63549             Aldy Hernandez  <aldyh@redhat.com>
63551         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
63552         Change condition to [_SOFT_FLOAT].
63553         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
63554         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
63555         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
63556         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
63557         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
63558         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
63559         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
63560         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
63561         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
63562         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
63563         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
63564         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
63565         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
63566         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
63567         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
63568         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
63569         declaration.
63571 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
63573         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
63574         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63575         (__longjmp): Use LOAD_GP to load saved GPRs.
63576         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
63577         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63578         (__sigsetjmp): Use SAVE_GP to save GPRs.
63580         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
63581         Do not append -msoft-float.
63582         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
63584 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63586         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
63588 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
63590         [BZ #15966]
63591         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
63592         (_FPU_GETCW): Use initial "__" on variable and field names but not
63593         on macro parameter name.
63594         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
63595         parentheses around reference to macro parameter.
63597 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
63599         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
63600         prototype.
63601         (ctype_startup): Use uint32_t in cast and sizeof for
63602         ctype->charnames.
63604 2013-09-11  Jia Liu  <proljc@gmail.com>
63606         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
63607         __daddr_t_defined.
63608         [__FreeBSD__]: Likewise.
63610 2013-09-11  Ondƙej BĂ­lka  <neleai@seznam.cz>
63612         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
63613         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
63614         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
63615         (strchr): Remove __strchr_sse42 ifunc selection.
63616         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
63617         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
63619 2013-09-11  Will Newton  <will.newton@linaro.org>
63621         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
63622         parameter to RES. Remove hardcoded 1000 value.
63623         * benchtests/bench-skeleton.c (main): Pass RES parameter
63624         to TIMING_INIT and multiply result by 1000.
63626 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63630 2013-09-11  Andreas Schwab  <schwab@suse.de>
63632         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
63633         if not defined.
63634         (O_TMPFILE) [__USE_GNU]: Define.
63635         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
63636         Define.
63638 2013-09-11  Will Newton  <will.newton@linaro.org>
63640         [BZ #15857]
63641         * malloc/malloc.c (__libc_memalign): Check the value of bytes
63642         does not overflow.
63644 2013-09-11  Will Newton  <will.newton@linaro.org>
63646         [BZ #15856]
63647         * malloc/malloc.c (__libc_valloc): Check the value of bytes
63648         does not overflow.
63650 2013-09-11  Will Newton  <will.newton@linaro.org>
63652         [BZ #15855]
63653         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
63654         does not overflow.
63656 2013-09-10  Ondƙej BĂ­lka  <neleai@seznam.cz>
63658         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
63659         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63660         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63661         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63662         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63664 2013-09-10  Allan McRae  <allan@archlinux.org>
63666         [BZ #15748]
63667         * manual/arith.texi (Parsing of Floats): Clarify
63668         cross-reference.
63670         [BZ #15849]
63671         * manual/install.texi (Running make install): Mention
63672         --enable-pt-chown.
63673         * INSTALL: Regenerated.
63675 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
63677         * csu/init-first.c (_init): Remove the !SHARED condition around
63678         FPU control word initialization.
63679         * elf/dl-support.c (_dl_fpu_control): New variable.
63680         (_dl_aux_init) <AT_FPUCW>: Initialize it.
63681         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
63682         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
63683         * math/test-fpucw-static.c: New file.
63684         * math/test-fpucw-ieee.c: New file.
63685         * math/test-fpucw-ieee-static.c: New file.
63686         * math/Makefile (tests): Add `test-fpucw-ieee' and
63687         `$(tests-static)'.
63688         (tests-static): New variable.
63689         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
63690         dependency to...
63691         [($(build-shared),yes)]
63692         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
63693         ... this.
63694         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
63695         New dependency.
63697 2013-09-09  Allan McRae  <allan@archlinux.org>
63699         [BZ #15939]
63700         * manual/string.texi (Collation Functions): Fix typo in
63701         strcoll example.
63702         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
63704         [BZ #15893]
63705         * stdlib/isomac.c (get_null_defines): Fix memory leak.
63707         [BZ #15892]
63708         * libio/memstream.c (open_memstream): Fix memory leak.
63709         * libio/wmemstream.c (open_wmemstream): Likewise.
63711         [BZ #15895]
63712         * nscd/netgroupcache.c: Fix nesting of ifdefs.
63714 2013-09-09  Will Newton  <will.newton@linaro.org>
63716         * malloc/Makefile: Add tst-realloc to tests.
63717         * malloc/tst-realloc.c: New file.
63719 2013-09-09  Allan McRae  <allan@archlinux.org>
63721         [BZ #15844]
63722         * COPYING: Update from GNU website to fix FSF address.
63723         * COPYING.LIB: Likewise.
63725 2013-09-06  David S. Miller  <davem@davemloft.net>
63727         * po/zh_TW.po: Update Chinese (traditional) translation from
63728         translation project.
63730 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
63731             Joseph Myers  <joseph@codesourcery.com>
63733         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
63734         "localeinfo.h".
63735         (obstack_chunk_alloc): New macro.
63736         (obstack_chunk_free): Likewise.
63737         (record_offset): New function.
63738         (init_locale_data): Likewise.
63739         (align_locale_data): Likewise.
63740         (add_locale_empty): Likewise.
63741         (add_locale_raw_data): Likewise.
63742         (add_locale_raw_obstack): Likewise.
63743         (add_locale_string): Likewise.
63744         (add_locale_wstring): Likewise.
63745         (add_locale_uint32): Likewise.
63746         (add_locale_uint32_array): Likewise.
63747         (add_locale_char): Likewise.
63748         (start_locale_structure): Likewise.
63749         (end_locale_structure): Likewise.
63750         (start_locale_prelude): Likewise.
63751         (end_locale_prelude): Likewise.
63752         (write_locale_data): Take locale_file structure rather than an
63753         iovec.
63754         * locale/programs/locfile.h: Include "obstack.h".
63755         (struct locale_file): Change to store locale file contents instead
63756         of header.
63757         (init_locale_data): New prototype.
63758         (align_locale_data): Likewise.
63759         (add_locale_empty): Likewise.
63760         (add_locale_raw_data): Likewise.
63761         (add_locale_raw_obstack): Likewise.
63762         (add_locale_string): Likewise.
63763         (add_locale_wstring): Likewise.
63764         (add_locale_uint32): Likewise.
63765         (add_locale_uint32_array): Likewise.
63766         (add_locale_char): Likewise.
63767         (start_locale_structure): Likewise.
63768         (end_locale_structure): Likewise.
63769         (start_locale_prelude): Likewise.
63770         (end_locale_prelude): Likewise.
63771         (write_locale_data): Update prototype.
63772         * locale/programs/3level.h (struct TABLE): Remove result field.
63773         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
63774         Use new locale_file interface.
63775         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
63776         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
63777         * locale/programs/ld-address.c (address_output): Use new
63778         locale_file interface.
63779         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
63780         NO_ADD_LOCALE.
63781         (collate_finish): Don't call collseq_table_finalize.
63782         (collate_output): Use new locale_file interface.
63783         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
63784         in file.
63785         (NO_FINALIZE): Change to NO_ADD_LOCALE.
63786         (TABLE): Move defines earlier in file.
63787         (ELEMENT): Likewise.
63788         (DEFAULT): Likewise.
63789         (wctrans_table_add): Move macro and inline function earlier in
63790         file.
63791         (struct wctype_table): Move type earlier in file.
63792         (add_locale_wctype_table): New static prototype.
63793         (struct locale_ctype_t): Use logical types instead of struct iovec
63794         pointers for members.
63795         (ctype_output): Use new locale_file interface.
63796         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
63797         new locale_file interface.
63798         (allocate_arrays): Update for use of new locale_file interface.
63799         * locale/programs/ld-identification.c (identification_output): Use
63800         new locale_file interface.
63801         * locale/programs/ld-measurement.c (measurement_output): Likewise.
63802         * locale/programs/ld-messages.c (messages_output): Likewise.
63803         * locale/programs/ld-monetary.c (monetary_output): Likewise.
63804         * locale/programs/ld-name.c (name_output): Likewise.
63805         * locale/programs/ld-numeric.c (numeric_output): Likewise.
63806         * locale/programs/ld-paper.c (paper_output): Likewise.
63807         * locale/programs/ld-telephone.c (telephone_output): Likewise.
63808         * locale/programs/ld-time.c (time_output): Likewise.
63810 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63812         * benchtests/Makefile: Add memrchr benchmark.
63813         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
63814         benchmark as memrchr.
63815         * benchtests/bench-memrchr-ifunc.c: New file.
63816         * benchtests/bench-memrchr.c: New file.
63818 2013-09-06   Will Newton  <will.newton@linaro.org>
63820         * benchtests/Makefile (string-bench): Add memcpy.
63822 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
63823             Cong Wang  <amwang@redhat.com>
63825         [BZ #15850]
63826         * sysdeps/unix/sysv/linux/bits/in.h
63827         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
63828         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
63829         before __USE_KERNEL_IPV6_DEFS uses.
63830         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
63831         IPPROTO_BEETPH.
63832         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
63833         sockaddr_in6, or ipv6_mreq.
63835 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63837         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
63838         memory access for final bytes in some large inputs.
63839         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
63841 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63843         * string/test-memrchr.c: New file.
63844         * string/test-memrchr-ifunc.c: New file.
63845         * string/Makefile: Add new memrchr testcase.
63847 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
63849         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
63850         fanotify_init returns EPERM.
63852 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
63854         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
63855         errors.
63856         (top level): Treat second token from macro or constant entries for
63857         allowed headers as allowed.
63858         * include/complex.h: Condition internal declarations on
63859         [!_ISOMAC].
63860         * include/fenv.h: Condition include of <stdbool.h> and internal
63861         declarations on [!_ISOMAC].
63863 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
63865         [BZ #15923]
63866         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
63868 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
63870         * configure.in (--enable-versioning): Remove configure option.
63871         (libc_cv_asm_symver_directive): Remove configure test.
63872         (libc_cv_ld_version_script_option): Likewise.
63873         (VERSIONING): Remove variable and AC_SUBST.
63874         (DO_VERSIONING): Remove AC_DEFINE.
63875         * configure: Regenerated.
63876         * config.h.in (DO_VERSIONING): Remove macro.
63877         * Makerules [$(versioning) = yes]: Change conditionals to
63878         [$(build-shared) = yes].
63879         * config.make.in (versioning): Remove variable.
63880         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
63881         [$(build-shared) = yes].
63882         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
63883         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
63884         * elf/Makefile [$(versioning) = yes]: Change conditionals to
63885         [$(build-shared) = yes].
63886         * extra-lib.mk [$(versioning) = yes]: Likewise.
63887         * hurd/Makefile [$(versioning) = yes]: Likewise.
63888         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
63889         [SHARED].
63890         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
63891         [SHARED].
63892         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63893         [SHARED && !NO_HIDDEN].
63894         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
63895         [SHARED].
63896         [SHARED && DO_VERSIONING]: Likewise..
63897         * libio/Makefile [$(versioning) = yes]: Change conditionals to
63898         [$(build-shared) = yes].
63899         * manual/install.texi (--disable-versioning): Remove
63900         documentation.
63901         * INSTALL: Regenerated.
63902         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
63903         to [SHARED].
63904         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
63905         [$(build-shared) = yes].
63906         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
63907         * sysdeps/i386/i686/multiarch/strstr-c.c
63908         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63909         [SHARED && !NO_HIDDEN].
63910         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
63911         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
63912         * sysdeps/powerpc/powerpc32/dl-machine.c
63913         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
63914         * sysdeps/powerpc/powerpc32/sysdep.h
63915         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
63916         to [SHARED && PIC && !NO_HIDDEN].
63917         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
63918         conditional to [SHARED].
63920 2013-09-04   Will Newton  <will.newton@linaro.org>
63922         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
63923         * benchtests/bench-string.h: Include bench-timing.h instead
63924         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
63925         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
63926         call to HP_TIMING_DIFF_INIT.
63927         * benchtests/bench-memccpy.c: Use bench-timing.h macros
63928         instead of hp-timing.h macros.
63929         * benchtests/bench-memchr.c: Likewise.
63930         * benchtests/bench-memcmp.c: Likewise.
63931         * benchtests/bench-memcpy.c: Likewise.
63932         * benchtests/bench-memmem.c: Likewise.
63933         * benchtests/bench-memmove.c: Likewise.
63934         * benchtests/bench-memset.c: Likewise.
63935         * benchtests/bench-rawmemchr.c: Likewise.
63936         * benchtests/bench-strcasecmp.c: Likewise.
63937         * benchtests/bench-strcasestr.c: Likewise.
63938         * benchtests/bench-strcat.c: Likewise.
63939         * benchtests/bench-strchr.c: Likewise.
63940         * benchtests/bench-strcmp.c: Likewise.
63941         * benchtests/bench-strcpy.c: Likewise.
63942         * benchtests/bench-strcpy_chk.c: Likewise.
63943         * benchtests/bench-strlen.c: Likewise.
63944         * benchtests/bench-strncasecmp.c: Likewise.
63945         * benchtests/bench-strncat.c: Likewise.
63946         * benchtests/bench-strncmp.c: Likewise.
63947         * benchtests/bench-strncpy.c: Likewise.
63948         * benchtests/bench-strnlen.c: Likewise.
63949         * benchtests/bench-strpbrk.c: Likewise.
63950         * benchtests/bench-strrchr.c: Likewise.
63951         * benchtests/bench-strspn.c: Likewise.
63952         * benchtests/bench-strstr.c: Likewise.
63954 2013-09-04  Will Newton  <will.newton@linaro.org>
63956         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
63958 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
63960         [BZ #15427]
63961         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
63962         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
63963         * math/libm-test.inc (lgamma_test_data): Add more tests.
63964         * sysdeps/i386/fpu/libm-test-ulps: Update.
63965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63967 2013-09-03   Ondƙej BĂ­lka  <neleai@seznam.cz>
63969         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
63970         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63971         Add ifunc.
63972         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63973         Add strcmp-sse2-unaligned
63974         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
63976 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
63978         * Versions.def (libc): Add GLIBC_2.19.
63980 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
63982         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
63983         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
63985 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
63987         [BZ #14155]
63988         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
63989         intermediate calculations in recurrence.
63990         (__ieee754_ynf): Likewise.
63991         * math/libm-test.inc (jn_test_data): Do not allow spurious
63992         underflow exception.  Add more tests.
63993         (yn_test_data): Add more tests.
63994         * sysdeps/i386/fpu/libm-test-ulps: Update.
63995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63997 2013-09-02   Ondƙej BĂ­lka  <neleai@seznam.cz>
63999         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
64001 2013-08-30   Ondƙej BĂ­lka  <neleai@seznam.cz>
64003         * csu/init-first.c: Fix then/than typos.
64004         * locale/programs/ld-collate.c: Likewise.
64005         * locale/programs/linereader.h: Likewise.
64006         * manual/charset.texi: Likewise.
64007         * manual/filesys.texi: Likewise.
64008         * manual/stdio.texi: Likewise.
64009         * manual/string.texi: Likewise.
64010         * stdlib/fmtmsg.c: Likewise.
64011         * sysdeps/i386/stpncpy.S: Likewise.
64012         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64013         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
64014         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
64015         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
64017 2013-08-30   Ondƙej BĂ­lka  <neleai@seznam.cz>
64019         * elf/dl-open.c: Fix typos.
64020         * iconvdata/gbbig5.c: Likewise.
64021         * iconvdata/iso-2022-jp.c: Likewise.
64022         * iconv/gconv_int.h: Likewise.
64023         * iconv/loop.c: Likewise.
64024         * nis/rpcsvc/nis.h: Likewise.
64025         * resolv/ns_name.c: Likewise.
64026         * stdio-common/vfscanf.c: Likewise.
64027         * streams/stropts.h: Likewise.
64028         * sunrpc/rpc_thread.c: Likewise.
64029         * sysdeps/i386/strpbrk.S: Likewise.
64030         * sysdeps/ieee754/k_standard.c: Likewise.
64031         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64032         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64033         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
64034         * sysdeps/mach/hurd/profil.c: Likewise.
64035         * sysdeps/s390/dl-procinfo.h: Likewise.
64036         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
64037         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
64038         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
64039         * sysdeps/x86_64/dl-trampoline.S: Likewise.
64040         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
64042 2013-08-30  Ondƙej BĂ­lka  <neleai@seznam.cz>
64044         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
64045         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
64047 2013-08-29  Ondƙej BĂ­lka  <neleai@seznam.cz>
64049         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
64050         aix specific files.
64051         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
64052         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
64053         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
64054         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
64055         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
64056         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
64057         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
64058         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
64060 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
64061             Roland McGrath  <roland@hack.frob.com>
64063         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
64064         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
64066 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64068         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
64069         __executable_start symbol instead of _start.
64071 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
64073         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
64074         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
64075         Move macros to...
64076         * sysdeps/gnu/ldsodefs.h: ... this new file.
64078         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
64079         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
64080         instead of ELFOSABI_LINUX.
64082         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
64083         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
64084         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
64085         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
64086         Likewise.
64087         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
64088         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
64089         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
64090         Likewise.
64091         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
64092         (ibm_extended_long_double): Add ieee_nan member.
64093         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
64094         (do_test): New function.
64096         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
64097         TEST_TRUNC.
64098         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
64099         functions, renamed from truncdfsf_test, trunctfsf_test,
64100         trunctfdf_test.
64101         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
64102         functions.
64103         (do_test): Run all these.
64105 2013-08-29   Ondƙej BĂ­lka  <neleai@seznam.cz>
64107         * argp/argp-help.c: Fix typos.
64108         * argp/argp-parse.c: Likewise.
64109         * debug/backtracesyms.c: Likewise.
64110         * elf/elf.h: Likewise.
64111         * malloc/malloc.c: Likewise.
64112         * nis/nis_print.c: Likewise.
64113         * resolv/res_comp.c: Likewise.
64114         * stdlib/stdlib.h: Likewise.
64115         * sunrpc/clnt_tcp.c: Likewise.
64116         * sunrpc/clnt_udp.c: Likewise.
64117         * sunrpc/clnt_unix.c: Likewise.
64118         * sysdeps/unix/bsd/ptsname.c: Likewise.
64119         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
64120         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
64121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
64122         Likewise.
64123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
64124         Likewise.
64125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
64126         Likewise.
64127         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
64129 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64131         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
64132         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64134 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
64136         [BZ #15897]
64137         * dlfcn/Makefile (tests): Add bug-dl-leaf.
64138         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
64139         ($(objpfx)bug-dl-leaf): New rule.
64140         ($(objpfx)bug-dl-leaf.so): Likewise.
64141         ($(objpfx)bug-dl-leaf.out): Likewise.
64142         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
64143         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
64144         * dlfcn/bug-dl-leaf.c: New test.
64145         * dlfcn/bug-dl-leaf-lib.c: Likewise.
64146         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
64147         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
64148         (dlclose): Likewise.
64149         (dlmopen): Likewise.
64151 2013-08-27  Roland McGrath  <roland@hack.frob.com>
64153         * include/netdb.h [!_ISOMAC]:
64154         Don't include <tls.h>.
64155         (h_errno, __libc_h_errno): Move declaration and macros out of
64156         [_LIBC_REENTRANT].
64158         * include/resolv.h [_RESOLV_H_]:
64159         Don't include <tls.h>.
64160         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
64161         * resolv/res_libc.c: Don't include <tls.h>.
64162         (_res): Use __attribute__ ((nocommon)) in place of
64163         __attribute__ ((section (".bss"))).
64165         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
64166         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
64168         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
64170         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
64171         only under [SIOCGIFCONF && SIOCGIFNETMASK].
64173         * resolv/res_mkquery.c: Include <sys/time.h>.
64175         * inet/ifreq.c: Moved to ...
64176         * sysdeps/unix/ifreq.c: ... here.
64177         * inet/ifreq.c: New file, true stub version.
64179         * socket/sa_len.c: New file.
64180         * socket/Makefile (aux): Add it.
64181         * sysdeps/unix/sysv/linux/Makefile
64182         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
64183         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
64184         and #include <socket/sa_len.c>.
64185         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
64186         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
64188         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
64189         * bits/socket.h: ... here.
64191         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
64192         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
64193         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
64195 2013-08-27  Andreas Schwab  <schwab@suse.de>
64197         [BZ #15736]
64198         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
64199         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
64200         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
64201         * string/test-strcasecmp.c (test_main): Run tests in several
64202         locales.
64203         * string/test-strncasecmp.c (test_main): Likewise.
64205         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
64206         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
64207         to __strcasecmp_nonascii and __strncasecmp_nonascii.
64208         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
64209         (__strncasecmp_ssse3) [PIC]: Likewise.
64211 2013-08-26  Roland McGrath  <roland@hack.frob.com>
64213         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
64215         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
64216         instead of explicitly declaring xdecrypt.
64217         * nis/nss_nis/nis-publickey.c: Likewise.
64219 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64221         [BZ #15890]
64222         * nscd/aicache.c: Include res_hconf.h.
64223         (addhstaiX): Initialize res_hconf.
64225 2013-08-26  Andreas Schwab  <schwab@suse.de>
64227         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
64228         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
64230 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64232         * nscd/aicache.c (addhstaiX): Fix indentation.
64234 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
64236         * configure.ac: Quote $build_pt_chown test.
64237         * configure: Regenerated.
64239 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
64241         [BZ #15532]
64242         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
64243         * math/s_cexpf.c (__cexpf): Likewise.
64244         * math/s_cexpl.c (__cexpl): Likewise.
64245         * math/libm-test.inc (cexp_test_data): Correct expected return
64246         value for NaN + i0.  Add another test.
64248 2013-08-22  David S. Miller  <davem@davemloft.net>
64250         * po/ca.po: Update Catalan translation from translation project.
64251         * po/uk.po: Add Ukrainian translations from translation project.
64253 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
64255         [BZ #15797]
64256         * math/s_fdim.c (__fdim): Check for infinite arguments if result
64257         is infinite, not alongside NaN test.
64258         * math/s_fdimf.c (__fdimf): Likewise.
64259         * math/s_fdiml.c (__fdiml): Likewise.
64260         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
64261         errno is unchanged.
64263 2013-08-21   Ondƙej BĂ­lka  <neleai@seznam.cz>
64265         * argp/argp-help.c: Fix typos.
64266         * crypt/speeds.c: Likewise.
64267         * csu/check_fds.c: Likewise.
64268         * elf/dl-load.c: Likewise.
64269         * elf/dl-open.c: Likewise.
64270         * elf/reldep3.c: Likewise.
64271         * elf/reldep.c: Likewise.
64272         * elf/sprof.c: Likewise.
64273         * iconv/iconv_charmap.c: Likewise.
64274         * iconv/skeleton.c: Likewise.
64275         * iconv/strtab.c: Likewise.
64276         * io/lockf64.c: Likewise.
64277         * libio/libioP.h: Likewise.
64278         * resolv/gai_notify.c: Likewise.
64279         * resolv/ns_name.c: Likewise.
64280         * resolv/ns_samedomain.c: Likewise.
64281         * resolv/res_send.c: Likewise.
64282         * stdlib/random.c: Likewise.
64283         * sunrpc/rpc/xdr.h: Likewise.
64284         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
64285         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64286         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64287         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64288         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64289         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64290         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64291         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64292         * sysdeps/mach/hurd/check_fds.c: Likewise.
64293         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64294         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
64295         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64296         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64297         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
64298         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64299         * sysdeps/pthread/aio_notify.c: Likewise.
64300         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
64301         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
64302         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
64303         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
64304         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
64306 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64308         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
64309         version if bit_Slow_SSE4_2 is set.
64310         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64311         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64313 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64315         [BZ #15867]
64316         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
64317         trampoline stack frame information.
64318         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
64319         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
64320         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
64321         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
64322         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
64323         * sysdeps/unix/sysv/linux/powerpc/init-first.c
64324         (_libc_vdso_platform_setup): Initialize the signal trampolines.
64325         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
64326         sa_flags value.
64327         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
64328         interrupting a syscall and set with option SA_SIGINFO.
64330 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
64332         [BZ #15531]
64333         * math/s_cproj.c (__cproj): Only return an infinity if one part of
64334         argument is infinite.
64335         * math/s_cprojf.c (__cprojf): Likewise.
64336         * math/s_cprojl.c (__cprojl): Likewise.
64337         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
64338         * math/libm-test.inc (cproj_test_data): Add more tests.
64340         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
64342         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
64343         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
64344         size.  Use __ffs to determine corresponding shift.
64346 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
64347             Roland McGrath  <roland@hack.frob.com>
64349         * Makefile (INSTALL): Remove trailing blank lines from output of
64350         makeinfo.
64352 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64354         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
64355         Align 32 bit compat elf_greg to 8 bytes.
64357 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
64359         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
64361 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64363         * string/strcoll_l.c (coll_seq): New structure.
64364         (get_next_seq_cached): New function.
64365         (get_next_seq): New function.
64366         (do_compare): New function.
64367         (STRCOLL): Use GNU style definition.  Simplify implementation
64368         by using get_next_seq, get_next_seq_cached and do_compare.
64370 2013-08-16  Florian Weimer  <fweimer@redhat.com>
64372         [BZ #14699]
64373         CVE-2013-4237
64374         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
64375         member.
64376         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
64377         member.
64378         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
64379         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
64380         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
64381         conditional.
64382         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
64383         GETDENTS_64BIT_ALIGNED.
64384         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64385         * manual/filesys.texi (Reading/Closing Directory): Document
64386         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
64387         strongly.
64388         * manual/conf.texi (Limits for Files): Add portability note to
64389         NAME_MAX, PATH_MAX.
64390         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
64392 2013-08-13  Andreas Schwab  <schwab@suse.de>
64394         [BZ #15749]
64395         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
64396         of fabs.
64397         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
64398         LDBL_MAX_EXP >= 16384]: Add tests for it.
64400 2013-08-12  David S. Miller  <davem@davemloft.net>
64402         * version.h (RELEASE): Set to "development".
64403         (VERSION): Set to "2.18.90".
64404         * NEWS: Add 2.19 section.
64406 2013-08-03  David S. Miller  <davem@davemloft.net>
64408         * po/ko.po: Update Korean translation from translation project.
64410 2013-08-01  David S. Miller  <davem@davemloft.net>
64412         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
64413         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
64414         Bilka.
64416 2013-07-30  David S. Miller  <davem@davemloft.net>
64418         * po/fr.po: Update French translation from translation project.
64420 2013-07-28  David S. Miller  <davem@davemloft.net>
64422         * po/cs.po: Update Czech translation from translation project.
64424         * po/sv.po: Update Swedish translation from translation project.
64426 2013-07-27  David S. Miller  <davem@davemloft.net>
64428         * po/eo.po: Update Esperanto translation from translation project.
64430         * po/vi.po: Update Vietnamese translation from translation project.
64432         * po/de.po: Update German translation from translation project.
64434 2013-07-26  David S. Miller  <davem@davemloft.net>
64436         * po/bg.po: Update Bulgarian translation from translation project.
64438         * po/nl.po: Update Dutch translation from translation project.
64439         * po/pl.po: Update Polish translation from translation project.
64440         * po/ru.po: Update Russian translation from translation project.
64442 2013-07-24  David S. Miller  <davem@davemloft.net>
64444         * po/libc.pot: Update.
64446 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64448         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
64449         variable page size.
64450         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
64451         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
64452         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
64454 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64456         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
64458 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64459             Andreas Schwab  <schwab@suse.de>
64460             Roland McGrath  <roland@hack.frob.com>
64461             Joseph Myers  <joseph@codesourcery.com>
64462             Carlos O'Donell  <carlos@redhat.com>
64464         [BZ #15755]
64465         * config.h.in: Define HAVE_PT_CHOWN.
64466         * config.make.in (build-pt-chown): New variable.
64467         * configure.in (--enable-pt_chown): New configure option.
64468         * configure: Regenerate.
64469         * login/Makefile: Include Makeconfig.  Build pt_chown only if
64470         build-pt-chown is enabled.
64471         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
64472         pt_chown to fix pty ownership.
64473         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
64474         CLOSE_ALL_FDS.
64475         * manual/install.texi (Configuring and compiling): Mention
64476         --enable-pt_chown. Add @findex for grantpt.
64477         * INSTALL: Regenerate.
64479 2013-07-20  David S. Miller  <davem@davemloft.net>
64481         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
64482         difference between 32-bit and 64-bit.
64484 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
64486         [BZ #15711]
64487         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
64488         Avoid system header dependency with -ffreestanding.
64489         ($(objpfx)bits/syscall%d): Likewise.
64491 2013-07-13  David S. Miller  <davem@davemloft.net>
64493         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
64494         underflows from atanl/atan2l due to bug 15319.
64495         (casinh_test_data): Likewise.
64497 2013-07-07  David S. Miller  <davem@davemloft.net>
64499         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
64501 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
64503         * sysdeps/i386/fpu/libm-test-ulps: Update.
64504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64506 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64508         * configure.in (--enable-lock-elision): Fix message text.
64509         * INSTALL: Regenerate.
64510         * configure: Regenerate.
64512 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64516 2013-07-03  Andreas Jaeger  <aj@suse.de>
64518         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
64519         define.
64520         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
64521         (ptrace_peeksiginfo_args): Add.
64522         (__ptrace_peeksiginfo_flags): Add.
64523         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64524         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64525         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64527 2013-07-03  Allan McRae  <allan@archlinux.org>
64529         * sysdeps/i386/fpu/libm-test-ulps: Update.
64531 2013-07-02  David S. Miller  <davem@davemloft.net>
64533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64535 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
64537         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64539 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
64541         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
64542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64544 2013-07-02  Andi Kleen <ak@linux.intel.com>
64546         * config.h.in (ENABLE_LOCK_ELISION): Add.
64547         * configure.in (--enable-lock-elision): Add option.
64548         * manual/install.texi: Document --enable lock elision.
64549         * configure: Regenerate
64550         * INSTALL: Regenerate.
64552 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
64554         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
64555         SSE4.2 strcasecmp for libc.a.
64556         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
64558 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
64560         [BZ #13304]
64561         * soft-fp/op-common.h (_FP_FMA): New macro.
64562         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
64563         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
64564         (_FP_MUL_MEAT_1_imm): ... here.
64565         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
64566         (_FP_MUL_MEAT_1_wide): ... here.
64567         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
64568         (_FP_MUL_MEAT_1_hard): ... here.
64569         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
64570         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
64571         (_FP_MUL_MEAT_2_wide): ... here.
64572         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
64573         (_FP_MUL_MEAT_2_wide_3mul): ... here.
64574         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
64575         (_FP_MUL_MEAT_2_gmp): ... here.
64576         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
64577         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
64578         (_FP_MUL_MEAT_4_wide): ... here.
64579         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
64580         (_FP_MUL_MEAT_4_gmp): ... here.
64581         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
64582         (_FP_WFRACBITS_DW_S): Likewise.
64583         (_FP_WFRACXBITS_DW_S): Likewise.
64584         (_FP_HIGHBIT_DW_S): Likewise.
64585         (FP_FMA_S): Likewise.
64586         (_FP_FRAC_HIGH_DW_S): Likewise.
64587         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
64588         (_FP_WFRACBITS_DW_D): Likewise.
64589         (_FP_WFRACXBITS_DW_D): Likewise.
64590         (_FP_HIGHBIT_DW_D): Likewise.
64591         (FP_FMA_D): Likewise.
64592         (_FP_FRAC_HIGH_DW_D): Likewise.
64593         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
64594         (_FP_WFRACBITS_DW_E): Likewise.
64595         (_FP_WFRACXBITS_DW_E): Likewise.
64596         (_FP_HIGHBIT_DW_E): Likewise.
64597         (FP_FMA_E): Likewise.
64598         (_FP_FRAC_HIGH_DW_E): Likewise.
64599         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
64600         (_FP_WFRACBITS_DW_Q): Likewise.
64601         (_FP_WFRACXBITS_DW_Q): Likewise.
64602         (_FP_HIGHBIT_DW_Q): Likewise.
64603         (FP_FMA_Q): Likewise.
64604         (_FP_FRAC_HIGH_DW_Q): Likewise.
64605         * soft-fp/fmasf4.c: New file.
64606         * soft-fp/fmadf4.c: Likewise.
64607         * soft-fp/fmatf4.c: Likewise.
64609 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64611         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64612         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
64613         Silvermont.
64614         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
64615         macro.
64616         (index_Slow_SSE4_2): Likewise.
64617         (index_Prefer_PMINUB_for_stringop): Likewise.
64618         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
64619         bit_Slow_SSE4_2 is set.
64620         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64621         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64623 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64625         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
64626         rtld_global._dl_hwcap2.
64627         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
64628         POWER8.
64629         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
64630         POWER8 feature descriptions defined in _dl_hwcap2.
64631         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
64632         string handling for POWER8 feature bits.
64633         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
64634         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
64635         _dl_powerpc_cap_flags.
64636         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
64637         * sysdeps/powerpc/rtld-global-offsets.sym
64638         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
64639         _dl_hwcap2 in the rtld_global_ro structure.
64641 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64643         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
64644         hardware capabilities in support of AT_HWCAP2.
64645         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
64646         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
64647         GLRO(dl_hwcap2).
64648         (_dl_show_auxv): Add support for calling _dl_procinfo to display
64649         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
64650         explicitly the unknown a_type display mechanism is used.
64651         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
64652         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
64653         struct member.
64654         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
64655         to macro prototype for AT_HWCAP2 support.
64656         * sysdeps/i386/dl-procinfo.h: Likewise.
64657         * sysdeps/s390/dl-procinfo.h: Likewise.
64658         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
64659         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
64660         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
64661         return -1 for unknown a_type display fallback.
64662         * sysdeps/sparc/dl-procinfo.h: Likewise.
64663         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
64664         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
64666 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
64668         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
64669         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
64671 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
64673         [BZ #12492]
64674         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
64675         mprotect making __stack_prot writable.
64677 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
64678             Joseph Myers  <joseph@codesourcery.com>
64680         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
64681         as being properly aligned.
64683 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
64685         * dlfcn/modstatic5.c: New file.
64686         * dlfcn/tststatic5.c: New file.
64687         * dlfcn/Makefile (tests): Add tststatic5.
64688         (tests-static): Likewise.
64689         (modules-names): Add modstatic5.
64690         (tststatic5-ENV): New variable.
64691         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
64693         [BZ #15022]
64694         * elf/dl-support.c (_dl_main_map): New variable.
64695         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
64696         (_dl_nns, _dl_load_adds): Set to 1.
64697         (_dl_initial_searchlist): Refer to _dl_main_map.
64698         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
64699         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
64700         call to _dl_get_origin.
64701         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
64702         around call_map.
64703         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
64704         * dlfcn/modstatic3.c: New file.
64705         * dlfcn/tststatic3.c: New file.
64706         * dlfcn/tststatic4.c: New file.
64707         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
64708         (tests-static): Likewise.
64709         (modules-names): Add modstatic3.
64710         (tststatic3-ENV, tststatic4-ENV): New variables.
64711         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
64712         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
64714 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
64716         * configure.in (CC): Require GCC version 4.4 or later.
64717         * configure: Regenerated.
64718         * manual/install.texi (Tools for Compilation): Update GCC version
64719         requirement.
64720         * INSTALL: Regenerated.
64722 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64724         [BZ #15674]
64725         * string/test-memcmp.c (check2): New.
64726         (main): Call check2.
64728         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
64730 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
64732         [BZ #15022]
64733         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
64734         over to...
64735         (dl_open_worker) [!SHARED]: ... here.
64737 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64739         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
64741 2013-06-25  Richard Henderson  <rth@redhat.com>
64743         * locale/programs/locarchive.c: Include <libc-internal.h>
64745 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
64747         * manual/texinfo.tex: Update to version 2013-06-21.17, with
64748         trailing whitespace removed.
64750 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
64752         [BZ #10283]
64753         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
64754         * locale/programs/locarchive.c: Include libc-mmap.h.
64755         (prepare_address_space): Take two new outputs (the mmap base and len).
64756         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
64757         values.
64758         (create_archive): Declare new mmap base and len values for
64759         prepare_address_space, and store the result in ah.
64760         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
64761         (enlarge_archive): If ah->mmap_base is not NULL, use that and
64762         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64763         Declare new mmap base and len values for
64764         prepare_address_space, and store the result in new_ah.
64765         (open_archive): Declare new mmap base and len values for
64766         prepare_address_space, and store the result in ah.
64767         (close_archive): If ah->mmap_base is not NULL, use that and
64768         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64769         * sysdeps/generic/libc-mmap.h: New file.
64771 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
64773         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
64774         (ALIGN_UP): Likewise.
64775         (PTR_ALIGN_DOWN): Likewise.
64776         (PTR_ALIGN_UP): Likewise.
64778 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64780         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
64781         entry mapped to PPC_PLATFORM_POWER8.
64782         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
64783         POWER8.
64784         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
64785         (_dl_string_platform): Add case for exporting platform position for
64786         POWER8.
64787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
64788         search path to sysdeps/powerpc/powerpc32/power8 directory.
64789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
64790         search path to sysdeps/powerpc/powerpc64/power8 directory.
64791         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
64792         power7 directories.
64793         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
64794         power7 directories.
64796 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
64798         * INSTALL: Regenerate.
64800         * nscd/connections.c (nscd_init): Fix comment.
64802 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
64804         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
64806         [BZ #15667]
64807         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
64808         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
64810 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
64812         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
64813         DL_DST_REQ_STATIC.
64814         (DL_DST_REQ_STATIC): Remove macro.
64816 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
64818         [BZ #7006]
64819         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
64820         with a shift of 0 bits.
64822 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
64824         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
64825         $(tststatic-ENV).
64827 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64829         [BZ #15655]
64830         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
64832 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64834         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
64835         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
64836         accepts -fno-tree-loop-distribute-patterns.
64837         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
64838         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
64839         recursive call.
64840         * string/memset.c (memset): Likewise.
64841         * string/test-memmove.c (simple_memmove): Disable loop transformation
64842         to library calls.
64843         * string/test-memset.c (simple_memset): Likewise.
64844         * benchtests/bench-memmove.c (simple_memmove): Likewise.
64845         * benchtests/bench-memset.c (simple_memset): Likewise.
64846         * configure: Regenerated.
64848 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
64850         * math/test-misc.c (main): Ignore fesetround failure when failures
64851         of subsequent rounding tests would be ignored.
64853         [BZ #15654]
64854         * math/fedisblxcpt.c (fedisableexcept): Return 0.
64855         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
64856         * math/fegetenv.c (__fegetenv): Return 0.
64857         * math/fegetexcept.c (fegetexcept): Return 0.
64858         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
64859         FE_TONEAREST.
64860         * math/feholdexcpt.c (feholdexcept): Return 0.
64861         * math/fesetenv.c (__fesetenv): Return 0.
64862         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
64863         argument FE_TONEAREST.
64864         * math/feupdateenv.c (__feupdateenv): Return 0.
64865         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
64867 2013-06-18  Roland McGrath  <roland@hack.frob.com>
64869         * elf/rtld-Rules (rtld-compile-command.S): New variable.
64870         (rtld-compile-command.s, rtld-compile-command.c): New variables.
64871         ($(objpfx)rtld-%.os rules): Use them.
64873 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64875         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
64876         fields.
64878 2013-06-17  Roland McGrath  <roland@hack.frob.com>
64880         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
64881         length of target pattern, then descending length of dependency pattern.
64882         * configure.in (AWK): Require gawk 3.1.2 or newer.
64883         * manual/install.texi (Tools for Compilation): Say that we do.
64884         * configure: Regenerated.
64886         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
64887         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
64888         * scripts/sysd-rules.awk: ... this new script.
64889         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
64890         than a glob-style pattern.
64892 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
64894         * math/test-misc.c (main): Do not treat incorrectly rounded
64895         conversions as failure unless ROUNDING_TESTS passes.
64897 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
64899         [BZ #15631]
64900         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
64901         restore exception state around main square root computation, then
64902         check for inexactness explicitly.
64904         * math/libm-test.inc (fma_test_data): Add another test.
64906 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64908         * manual/threads.texi (Non-POSIX Extensions): New document
64909         node.  Document pthread_getattr_default_np and
64910         pthread_setattr_default_np.
64912         * Versions.def (libpthread): Add GLIBC_2.18.
64913         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
64914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64915         Likewise.
64916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64917         Likewise.
64918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64919         Likewise.
64920         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64921         Likewise.
64922         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
64923         Likewise.
64924         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64925         Likewise.
64926         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64927         Likewise.
64928         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64929         Likewise.
64930         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64931         Likewise.
64933 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64935         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64936         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
64938 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64939             H.J. Lu  <hjl.tools@gmail.com>
64941         [BZ #15627]
64942         * sysdeps/x86_64/rtld-memset.c: Remove file.
64943         * sysdeps/x86_64/rtld-memset.S: New file.
64945 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
64947         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
64948         (test_in_one_mode): Take arguments for whether the rounding mode
64949         is supported for each floating-point type.
64950         (do_test): Pass new arguments to test_in_one_mode using
64951         ROUNDING_TESTS.
64953 2013-06-13  Roland McGrath  <roland@hack.frob.com>
64955         * posix/tst-waitid.c (do_test): Distinguish different instances of
64956         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
64957         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
64958         before entering the kernel for waitpid.
64960 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64962         * NEWS: Fix note on clock function precision.  Text by Roland
64963         McGrath.
64965 2013-06-13  Roland McGrath  <roland@hack.frob.com>
64967         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
64968         it into place only when and if the sanity check passes.
64970 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
64972         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
64973         output for whether conversion result is exact.  Take argument
64974         indicating whether type is IBM long double.
64975         (round_for_all): Change need_exact field to ibm_ld.
64976         * stdlib/tst-strtod-round.c (struct exactness): New type.
64977         (struct test): Change bool ld_ok field to struct exactness exact.
64978         (TEST): Update all definitions for change to field.
64979         (tests): Regenerate array contents.
64980         (test_in_one_mode): Take pointer to new field instead of old ld_ok
64981         field value.  Check for IBM long double here.
64982         (do_test): Update calls to test_in_one_mode.
64984 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64986         [BZ #12515]
64987         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
64988         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
64990 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64992         [BZ #15605]
64993         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
64994         generated by the compiler on loop optimizations.
64995         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
64996         general definitions.
64998 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
65000         * math/bug-nextafter.c: Include <math-tests.h>.
65001         (main): Only test for exceptions if EXCEPTION_TESTS is true for
65002         the relevant type.
65003         * math/bug-nexttoward.c: Include <math-tests.h>.
65004         (main): Only test for exceptions if EXCEPTION_TESTS is true for
65005         the relevant type.
65006         * math/test-misc.c: Include <math-tests.h>.
65007         (main): Only test for exceptions if EXCEPTION_TESTS is true for
65008         the relevant type.
65010 2013-06-12  Andreas Jaeger  <aj@suse.de>
65012         * po/ia.po: Update Interlingua translation from translation
65013         project.
65015 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
65017         * include/fenv.h: Include stdbool.h.
65018         (struct rm_ctx): New structure.
65019         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
65020         Define macro.
65021         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
65022         (SET_RESTORE_ROUNDF): Likewise.
65023         (SET_RESTORE_ROUNDL): Likewise.
65024         (SET_RESTORE_ROUND_NOEX): Likewise.
65025         (SET_RESTORE_ROUND_NOEXF): Likewise.
65026         (SET_RESTORE_ROUND_NOEXL): Likewise.
65027         (SET_RESTORE_ROUND_53BIT): Likewise.
65028         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
65029         (libc_feresetround_noexf_ctx): Likewise.
65030         (libc_feresetround_noexl_ctx): Likewise.
65031         (libc_feholdsetround_53bit_ctx): Likewise.
65032         (libc_feresetround_53bit_ctx): Likewise.
65033         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
65034         (libc_feholdexcept_setround_sse_ctx): New function.
65035         (libc_fesetenv_sse_ctx): Likewise.
65036         (libc_feupdateenv_sse_ctx): Likewise.
65037         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
65038         (libc_feholdexcept_setround_387_ctx): Likewise.
65039         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
65040         (libc_feholdsetround_387_prec_ctx): Likewise.
65041         (libc_feholdsetround_387_ctx): Likewise.
65042         (libc_feholdsetround_387_53bit_ctx): Likewise.
65043         (libc_feholdsetround_sse_ctx): Likewise.
65044         (libc_feresetround_sse_ctx): Likewise.
65045         (libc_feresetround_387_ctx): Likewise.
65046         (libc_feupdateenv_387_ctx): Likewise.
65047         (libc_feholdexcept_setroundf_ctx): Define macro.
65048         (libc_fesetenvf_ctx): Likewise.
65049         (libc_feupdateenvf_ctx): Likewise.
65050         (libc_feholdsetroundf_ctx): Likewise.
65051         (libc_feresetroundf_ctx): Likewise.
65052         (libc_feholdexcept_setround_ctx): Likewise.
65053         (libc_fesetenv_ctx): Likewise.
65054         (libc_feupdateenv_ctx): Likewise.
65055         (libc_feholdsetround_ctx): Likewise.
65056         (libc_feresetround_ctx): Likewise.
65057         (libc_feholdexcept_setroundl_ctx): Likewise.
65058         (libc_feupdateenvl_ctx): Likewise.
65059         (libc_feholdsetroundl_ctx): Likewise.
65060         (libc_feresetroundl_ctx): Likewise.
65061         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
65062         (libc_feresetround_53bit_ctx): Likewise.
65064 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65066         * locale/iso-639.def: Convert to UTF-8.
65068 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
65070         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
65071         (EXCEPTION_TESTS_double): Likewise.
65072         (EXCEPTION_TESTS_long_double): Likewise.
65073         (EXCEPTION_TESTS): Likewise.
65074         * math/libm-test.inc (test_exceptions): Only test exceptions if
65075         EXCEPTION_TESTS (FLOAT).
65077 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65079         * benchtests/Makefile (string-bench): Add strcpy_chk and
65080         stpcpy_chk.
65081         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
65082         * benchtests/bench-stpcpy_chk.c: New file.
65083         * benchtests/bench-strcpy_chk-ifunc.c: New file.
65084         * benchtests/bench-strcpy_chk.c: New file.
65085         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
65086         code.
65087         (do_test): Likewise.
65089 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65091         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
65092         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
65093         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
65094         with tabs where appropriate.
65095         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
65096         dl-procinfo.h.
65097         [PPC_PLATFORM_PPC440]: Likewise.
65098         [PPC_PLATFORM_PPC464]: Likewise.
65099         [PPC_PLATFORM_PPC476]: Likewise.
65100         (_dl_string_platform): Add support for detecting ppc405, ppc440,
65101         ppc464, and ppc476 platform strings merging from ports/
65102         dl-procinfo.h.
65104 2013-06-11  Andreas Schwab  <schwab@suse.de>
65106         [BZ #14991]
65107         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
65108         (from_ucs4_idx): Regenerate.
65109         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
65110         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
65111         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
65112         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
65113         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
65114         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
65115         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
65116         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
65117         from FROM_LOOP and TO_LOOP specific macros.
65118         (BODY): Handle combining characters.
65119         * iconvdata/BIG5HKSCS.irreversible: Update.
65120         * iconvdata/BIG5HKSCS.precomposed: New file.
65121         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
65122         characters.
65123         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
65125 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65127         * include/sys/time.h: Fix indentation and add copyright header.
65129         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
65130         (do_test): Likewise.
65131         * string/test-memchr.c (do_one_test): Likewise.
65132         (do_test): Likewise.
65133         * string/test-memcmp.c (do_one_test): Likewise.
65134         (do_test): Likewise.
65135         * string/test-memcpy.c (do_one_test): Likewise.
65136         (do_test): Likewise.
65137         * string/test-memmem.c (do_one_test): Likewise.
65138         (do_test): Likewise.
65139         (do_random_tests): Likewise.
65140         * string/test-memmove.c (do_one_test): Likewise.
65141         (do_test): Likewise.
65142         * string/test-memset.c (do_one_test): Likewise.
65143         (do_test): Likewise.
65144         * string/test-rawmemchr.c (do_one_test): Likewise.
65145         (do_test): Likewise.
65146         * string/test-strcasecmp.c (do_one_test): Likewise.
65147         (do_test): Likewise.
65148         * string/test-strcasestr.c (do_one_test): Likewise.
65149         (do_test): Likewise.
65150         * string/test-strcat.c (do_one_test): Likewise.
65151         (do_test): Likewise.
65152         * string/test-strchr.c (do_one_test): Likewise.
65153         (do_test): Likewise.
65154         * string/test-strcmp.c (do_one_test): Likewise.
65155         (do_test): Likewise.
65156         * string/test-strcpy.c (do_one_test): Likewise.
65157         (do_test): Likewise.
65158         * string/test-string.h: Likewise.
65159         (test_init): Likewise.
65160         * string/test-strlen.c (do_one_test): Likewise.
65161         (do_test): Likewise.
65162         * string/test-strncasecmp.c (do_one_test): Likewise.
65163         (do_test): Likewise.
65164         * string/test-strncat.c (do_one_test): Likewise.
65165         (do_test): Likewise.
65166         * string/test-strncmp.c (do_one_test): Likewise.
65167         (do_test_limit): Likewise.
65168         (do_test): Likewise.
65169         * string/test-strncpy.c (do_one_test): Likewise.
65170         (do_test): Likewise.
65171         * string/test-strnlen.c (do_one_test): Likewise.
65172         (do_test): Likewise.
65173         * string/test-strpbrk.c (do_one_test): Likewise.
65174         (do_test): Likewise.
65175         * string/test-strrchr.c (do_one_test): Likewise.
65176         (do_test): Likewise.
65177         * string/test-strspn.c (do_one_test): Likewise.
65178         (do_test): Likewise.
65179         * string/test-strstr.c (do_one_test): Likewise.
65180         (do_test): Likewise.
65182         * benchtests/Makefile (string-bench): Add string benchmarks.
65183         * benchtests/bench-bcopy-ifunc.c: New file.
65184         * benchtests/bench-bcopy.c: New file.
65185         * benchtests/bench-bzero-ifunc.c: New file.
65186         * benchtests/bench-bzero.c: New file.
65187         * benchtests/bench-memccpy-ifunc.c: New file.
65188         * benchtests/bench-memccpy.c: New file.
65189         * benchtests/bench-memchr-ifunc.c: New file.
65190         * benchtests/bench-memchr.c: New file.
65191         * benchtests/bench-memcmp-ifunc.c: New file.
65192         * benchtests/bench-memcmp.c: New file.
65193         * benchtests/bench-memmem-ifunc.c: New file.
65194         * benchtests/bench-memmem.c: New file.
65195         * benchtests/bench-memmove-ifunc.c: New file.
65196         * benchtests/bench-memmove.c: New file.
65197         * benchtests/bench-mempcpy-ifunc.c: New file.
65198         * benchtests/bench-mempcpy.c: New file.
65199         * benchtests/bench-memset-ifunc.c: New file.
65200         * benchtests/bench-memset.c: New file.
65201         * benchtests/bench-rawmemchr-ifunc.c: New file.
65202         * benchtests/bench-rawmemchr.c: New file.
65203         * benchtests/bench-stpcpy-ifunc.c: New file.
65204         * benchtests/bench-stpcpy.c: New file.
65205         * benchtests/bench-stpncpy-ifunc.c: New file.
65206         * benchtests/bench-stpncpy.c: New file.
65207         * benchtests/bench-strcasecmp-ifunc.c: New file.
65208         * benchtests/bench-strcasecmp.c: New file.
65209         * benchtests/bench-strcasestr-ifunc.c: New file.
65210         * benchtests/bench-strcasestr.c: New file.
65211         * benchtests/bench-strcat-ifunc.c: New file.
65212         * benchtests/bench-strcat.c: New file.
65213         * benchtests/bench-strchr-ifunc.c: New file.
65214         * benchtests/bench-strchr.c: New file.
65215         * benchtests/bench-strchrnul-ifunc.c: New file.
65216         * benchtests/bench-strchrnul.c: New file.
65217         * benchtests/bench-strcmp-ifunc.c: New file.
65218         * benchtests/bench-strcmp.c: New file.
65219         * benchtests/bench-strcpy-ifunc.c: New file.
65220         * benchtests/bench-strcpy.c: New file.
65221         * benchtests/bench-strcspn-ifunc.c: New file.
65222         * benchtests/bench-strcspn.c: New file.
65223         * benchtests/bench-strlen-ifunc.c: New file.
65224         * benchtests/bench-strlen.c: New file.
65225         * benchtests/bench-strncasecmp-ifunc.c: New file.
65226         * benchtests/bench-strncasecmp.c: New file.
65227         * benchtests/bench-strncat-ifunc.c: New file.
65228         * benchtests/bench-strncat.c: New file.
65229         * benchtests/bench-strncmp-ifunc.c: New file.
65230         * benchtests/bench-strncmp.c: New file.
65231         * benchtests/bench-strncpy-ifunc.c: New file.
65232         * benchtests/bench-strncpy.c: New file.
65233         * benchtests/bench-strnlen-ifunc.c: New file.
65234         * benchtests/bench-strnlen.c: New file.
65235         * benchtests/bench-strpbrk-ifunc.c: New file.
65236         * benchtests/bench-strpbrk.c: New file.
65237         * benchtests/bench-strrchr-ifunc.c: New file.
65238         * benchtests/bench-strrchr.c: New file.
65239         * benchtests/bench-strspn-ifunc.c: New file.
65240         * benchtests/bench-strspn.c: New file.
65241         * benchtests/bench-strstr-ifunc.c: New file.
65242         * benchtests/bench-strstr.c: New file.
65244         * benchtests/Makefile: Disable parallel execution of targets.
65245         (string-bench): Add memcpy.
65246         (benchset): New variable to store a list of benchmark sets.
65247         (bench-func): Renamed from bench.
65248         (bench-set): New target.
65249         (bench): Depend on bench-func and bench-set.
65250         * benchtests/README: Add section on benchmark sets.
65251         * benchtests/bench-memcpy-ifunc.c: New file.
65252         * benchtests/bench-memcpy.c: New file.
65253         * benchtests/bench-string.h: New file.
65255 2013-06-11  Andreas Schwab  <schwab@suse.de>
65257         [BZ #15577]
65258         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
65259         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
65260         values in the triple.
65261         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
65262         terminator in the group key.
65264 2013-06-11  Andreas Jaeger  <aj@suse.de>
65266         * po/zh_TW.po: Update Chinese (traditional) translation from
65267         translation project.
65269 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65271         * include/time.h (__clock_gettime): Add libc_hidden_proto.
65272         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
65273         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
65274         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65275         (clock_getcpuclockid): Likewise.
65276         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
65277         Add weak_alias and libc_hidden_def.
65278         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
65279         * rt/clock_gettime.c (clock_gettime): Rename to
65280         __clock_gettime.  Add weak_alias and libc_hidden_def.
65281         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
65282         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
65283         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
65284         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
65285         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
65286         Likewise.
65287         * rt/clock_settime.c (clock_settime): Rename to
65288         __clock_settime.  Add weak_alias and libc_hidden_def.
65289         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
65291 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
65293         * mach/err_boot.sub: Remove trailing whitespace.
65294         * mach/err_ipc.sub: Likewise.
65295         * mach/err_mach.sub: Likewise.
65297         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
65298         (ROUNDING_TESTS_double): Likewise.
65299         (ROUNDING_TESTS_long_double): Likewise.
65300         (ROUNDING_TESTS): Likewise.
65301         * math/libm-test.inc: Include <math-tests.h>.
65302         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
65303         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
65304         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
65305         (IF_ROUND_INIT_FE_UPWARD): Likewise.
65307 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65309         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
65310         of assigning.
65312 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
65314         * sysdeps/gnu/errlist.awk: Do not generate space at end of
65315         otherwise empty TRANS lines.
65316         * sysdeps/gnu/errlist.c: Regenerated.
65318         * catgets/gencat.c (error_print): Use (void) in function
65319         definition.
65320         * crypt/crypt_util.c (__init_des): Likewise.
65321         * crypt/speeds.c (Stop): Likewise.
65322         (main): Likewise.
65323         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
65324         * inet/ruserpass.c (token): Likewise.
65325         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
65326         * intl/localealias.c (extend_alias_table): Likewise.
65327         * intl/plural-exp.c (init_germanic_plural): Likewise.
65328         * libio/fcloseall.c (__fcloseall): Likewise.
65329         * libio/genops.c (_IO_flush_all): Likewise.
65330         (_IO_flush_all_linebuffered): Likewise.
65331         (_IO_cleanup): Likewise.
65332         (_IO_iter_begin): Likewise.
65333         (_IO_iter_end): Likewise.
65334         (_IO_list_lock): Likewise.
65335         (_IO_list_unlock): Likewise.
65336         (_IO_list_resetlock): Likewise.
65337         * libio/getchar.c (getchar): Likewise.
65338         * libio/getchar_u.c (getchar_unlocked): Likewise.
65339         * libio/getwchar.c (getwchar): Likewise.
65340         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
65341         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
65342         * login/getpt.c (__getpt): Likewise.
65343         * login/tst-utmp.c (main): Likewise.
65344         * malloc/hooks.c (__malloc_check_init): Likewise.
65345         * malloc/malloc.c (__malloc_stats): Likewise.
65346         * malloc/mtrace.c (tr_break): Likewise.
65347         (mtrace): Likewise.
65348         (muntrace): Likewise.
65349         * misc/fstab.c (endfsent): Likewise.
65350         * misc/getclktck.c (__getclktck): Likewise.
65351         * misc/getdtsz.c (__getdtablesize): Likewise.
65352         * misc/gethostid.c (gethostid): Likewise.
65353         * misc/getpagesize.c (__getpagesize): Likewise.
65354         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
65355         (__get_nprocs): Likewise.
65356         (__get_phys_pages): Likewise.
65357         (__get_avphys_pages): Likewise.
65358         * misc/getttyent.c (getttyent): Likewise.
65359         (setttyent): Likewise.
65360         (endttyent): Likewise.
65361         * misc/getusershell.c (getusershell): Likewise.
65362         (endusershell): Likewise.
65363         (setusershell): Likewise.
65364         (initshells): Likewise.
65365         * misc/hsearch.c (__hdestroy): Likewise.
65366         * misc/sync.c (sync): Likewise.
65367         * misc/syslog.c (closelog_internal): Likewise.
65368         (closelog): Likewise.
65369         * misc/ttyslot.c (ttyslot): Likewise.
65370         * misc/vhangup.c (vhangup): Likewise.
65371         * posix/fork.c (__fork): Likewise.
65372         * posix/getegid.c (__getegid): Likewise.
65373         * posix/geteuid.c (__geteuid): Likewise.
65374         * posix/getgid.c (__getgid): Likewise.
65375         * posix/getpid.c (__getpid): Likewise.
65376         * posix/getppid.c (__getppid): Likewise.
65377         * posix/getuid.c (__getuid): Likewise.
65378         * posix/pause.c (pause): Likewise.
65379         * posix/setpgrp.c (setpgrp): Likewise.
65380         * posix/setsid.c (__setsid): Likewise.
65381         * posix/test-vfork.c (noop): Likewise.
65382         * resolv/gethnamaddr.c (_endhtent): Likewise.
65383         (_gethtent): Likewise.
65384         (ht_endhostent): Likewise.
65385         (gethostent): Likewise.
65386         (dns_service): Likewise.
65387         * stdlib/drand48.c (drand48): Likewise.
65388         * stdlib/lrand48.c (lrand48): Likewise.
65389         * stdlib/mrand48.c (mrand48): Likewise.
65390         * stdlib/rand.c (rand): Likewise.
65391         * stdlib/random.c (__random): Likewise.
65392         * stdlib/setenv.c (clearenv): Likewise.
65393         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
65394         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
65395         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
65396         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
65397         (__get_nprocs): Likewise.
65398         (__get_phys_pages): Likewise.
65399         (__get_avphys_pages): Likewise.
65400         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
65401         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
65402         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
65403         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
65404         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
65405         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
65406         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
65407         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
65408         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
65409         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
65410         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
65411         * sysdeps/mach/hurd/sync.c (sync): Likewise.
65412         * sysdeps/posix/clock.c (clock): Likewise.
65413         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
65414         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
65415         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
65416         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
65417         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
65418         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
65419         (__get_nprocs_conf): Likewise.
65420         (__get_phys_pages): Likewise.
65421         (__get_avphys_pages): Likewise.
65422         * time/clock.c (clock): Likewise.
65423         * time/tzset.c (__tzname_max): Likewise.
65425 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
65427         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
65428         (__bswap_32): Do not use "register".
65429         * crypt/crypt.c (_ufc_doit_r): Likewise.
65430         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
65431         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
65432         * gmon/gmon.c (__monstartup): Likewise.
65433         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
65434         * hurd/hurdmalloc.c (more_memory): Likewise.
65435         (malloc): Likewise.
65436         (free): Likewise.
65437         (realloc): Likewise.
65438         (malloc_fork_prepare): Likewise.
65439         (malloc_fork_parent): Likewise.
65440         (malloc_fork_child): Likewise.
65441         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
65442         (_svcauth_des): Likewise.
65443         * inet/inet_lnaof.c (inet_lnaof): Likewise.
65444         * inet/inet_net.c (inet_network): Likewise.
65445         * inet/inet_netof.c (inet_netof): Likewise.
65446         * inet/rcmd.c (__validuser2_sa): Likewise.
65447         * io/fts.c (fts_open): Likewise.
65448         (fts_load): Likewise.
65449         (fts_close): Likewise.
65450         (fts_read): Likewise.
65451         (fts_children): Likewise.
65452         (fts_build): Likewise.
65453         (fts_stat): Likewise.
65454         (fts_sort): Likewise.
65455         (fts_alloc): Likewise.
65456         (fts_lfree): Likewise.
65457         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
65458         (_IO_file_xsgetn): Likewise.
65459         (_IO_file_xsgetn_mmap): Likewise.
65460         * libio/iofopncook.c (_IO_cookie_read): Likewise.
65461         (_IO_cookie_write): Likewise.
65462         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
65463         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
65464         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
65465         * malloc/obstack.c (_obstack_begin): Likewise.
65466         (_obstack_begin_1): Likewise.
65467         (_obstack_newchunk): Likewise.
65468         (_obstack_allocated_p): Likewise.
65469         (obstack_free): Likewise.
65470         (_obstack_memory_used): Likewise.
65471         * misc/getttyent.c (getttynam): Likewise.
65472         (getttyent): Likewise.
65473         (skip): Likewise.
65474         (value): Likewise.
65475         * misc/getusershell.c (initshells): Likewise.
65476         * misc/syslog.c (__vsyslog_chk): Likewise.
65477         * misc/ttyslot.c (ttyslot): Likewise.
65478         * nis/nis_hash.c (__nis_hash): Likewise.
65479         * posix/fnmatch_loop.c (FCT): Likewise.
65480         * posix/getconf.c (print_all): Likewise.
65481         (main): Likewise.
65482         * posix/getopt.c (exchange): Likewise.
65483         * posix/glob.c (globfree): Likewise.
65484         (prefix_array): Likewise.
65485         (__glob_pattern_type): Likewise.
65486         * resolv/arpa/nameser.h (NS_GET16): Likewise.
65487         (NS_GET32): Likewise.
65488         (NS_PUT16): Likewise.
65489         (NS_PUT32): Likewise.
65490         * resolv/gethnamaddr.c (getanswer): Likewise.
65491         (gethostbyname2): Likewise.
65492         (gethostbyaddr): Likewise.
65493         (_gethtent): Likewise.
65494         (_gethtbyname2): Likewise.
65495         (_gethtbyaddr): Likewise.
65496         * resolv/ns_print.c (dst_s_get_int16): Likewise.
65497         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
65498         * resolv/res_init.c (__res_vinit): Likewise.
65499         (net_mask): Likewise.
65500         * resolv/res_mkquery.c (outchar): Likewise.
65501         (PRINT): Likewise.
65502         * stdio-common/printf_fp.c (outchar): Likewise.
65503         (PRINT): Likewise.
65504         * stdio-common/printf_fphex.c (outchar): Likewise.
65505         (PRINT): Likewise.
65506         * stdio-common/printf_size.c (outchar): Likewise.
65507         (PRINT): Likewise.
65508         * stdio-common/test_rdwr.c (main): Likewise.
65509         * stdio-common/tfformat.c (matches): Likewise.
65510         * stdio-common/vfprintf.c (outchar): Likewise.
65511         (printf_unknown): Likewise.
65512         (buffered_vfprintf): Likewise.
65513         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
65514         * stdio-common/xbug.c (AppendToBuffer): Likewise.
65515         (ReadFile): Likewise.
65516         * stdlib/qsort.c (SWAP): Likewise.
65517         (_quicksort): Likewise.
65518         * stdlib/setenv.c (__add_to_environ): Likewise.
65519         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
65520         * stdlib/strtol_l.c (__strtol_l): Likewise.
65521         * stdlib/tst-strtod.c (main): Likewise.
65522         * stdlib/tst-strtol.c (main): Likewise.
65523         * stdlib/tst-strtoll.c (main): Likewise.
65524         * string/bits/string2.h (__strcmp_cc): Likewise.
65525         (__strcmp_cg): Likewise.
65526         (__strcspn_c1): Likewise.
65527         (__strcspn_c2): Likewise.
65528         (__strcspn_c3): Likewise.
65529         (__strspn_c1): Likewise.
65530         (__strspn_c2): Likewise.
65531         (__strspn_c3): Likewise.
65532         (__strsep_1c): Likewise.
65533         (__strsep_2c): Likewise.
65534         (__strsep_3c): Likewise.
65535         * string/memccpy.c (__memccpy): Likewise.
65536         * string/stpcpy.c (__stpcpy): Likewise.
65537         * string/strcmp.c (strcmp): Likewise.
65538         * string/strrchr.c (strrchr): Likewise.
65539         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
65540         Likewise.
65541         * sysdeps/mach/hurd/getcwd.c
65542         (_hurd_canonicalize_directory_name_internal): Likewise.
65543         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
65544         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
65545         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
65546         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
65547         Likewise, in both definitions.
65548         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
65549         definitions.
65550         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
65551         64] (__bswap_64): Likewise.
65552         * time/test_time.c (main): Likewise.
65553         * time/tzfile.c (__tzfile_read): Likewise.
65554         (__tzfile_compute): Likewise.
65555         * time/tzset.c (__tzset_parse_tz): Likewise.
65556         (tzset_internal): Likewise.
65557         (compute_change): Likewise.
65558         * wcsmbs/wcscat.c (__wcscat): Likewise.
65559         * wcsmbs/wcschr.c (wcschr): Likewise.
65560         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
65561         * wcsmbs/wcscspn.c (wcscspn): Likewise.
65562         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
65563         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
65564         * wcsmbs/wcsspn.c (wcsspn): Likewise.
65565         * wcsmbs/wcsstr.c (wcsstr): Likewise.
65566         * wcsmbs/wmemchr.c (wmemchr): Likewise.
65567         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65568         * wcsmbs/wmemset.c (wmemset): Likewise.
65570 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
65572         * scripts/config.guess: Update to version 2013-05-16.
65573         * scripts/config.sub: Update to version 2013-04-24.
65574         * scripts/install-sh: Update to version 2011-11-20.07.
65575         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
65576         * scripts/move-if-change: Update to version 2012-01-06 07:23.
65578 2013-06-06   Ondƙej BĂ­lka  <neleai@seznam.cz>
65580         * debug/fgetws_u_chk.c: Fix leading whitespaces.
65581         * elf/sln.c: Likewise.
65582         * hurd/hurd/ioctl.h: Likewise.
65583         * hurd/hurdmalloc.c: Likewise.
65584         * hurd/xattr.c: Likewise.
65585         * include/shlib-compat.h: Likewise.
65586         * inet/ruserpass.c: Likewise.
65587         * libio/iofgets_u.c: Likewise.
65588         * libio/iofgetws_u.c: Likewise.
65589         * locale/programs/ld-identification.c: Likewise.
65590         * locale/programs/ld-time.c: Likewise.
65591         * mach/msg-destroy.c: Likewise.
65592         * nss/nss_files/files-netgrp.c: Likewise.
65593         * resolv/res_data.c: Likewise.
65594         * soft-fp/op-1.h: Likewise.
65595         * soft-fp/op-2.h: Likewise.
65596         * soft-fp/op-4.h: Likewise.
65597         * soft-fp/op-common.h: Likewise.
65598         * stdio-common/printf_fphex.c: Likewise.
65599         * stdlib/strtod_l.c: Likewise.
65600         * sunrpc/rpc/clnt.h: Likewise.
65601         * sysdeps/generic/framestate.c: Likewise.
65602         * sysdeps/i386/bsd-_setjmp.S: Likewise.
65603         * sysdeps/i386/bsd-setjmp.S: Likewise.
65604         * sysdeps/i386/__longjmp.S: Likewise.
65605         * sysdeps/i386/setjmp.S: Likewise.
65606         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65607         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65608         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65609         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65610         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65611         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65612         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65613         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65614         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65615         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65616         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65617         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65618         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65619         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65620         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65621         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65622         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65623         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
65624         * sysdeps/ieee754/support.c: Likewise.
65625         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65626         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
65627         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
65628         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
65629         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
65630         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
65631         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
65632         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
65633         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
65634         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
65635         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
65636         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
65637         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
65638         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
65639         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
65640         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
65641         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
65644 2013-06-05  Ondƙej BĂ­lka  <neleai@seznam.cz>
65646         * posix/transbug.c: Remove executable mode.
65648 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
65650         * crypt/speeds.c: Remove trailing whitespace.
65651         * dlfcn/default.c: Likewise.
65652         * elf/ifuncdep2.c: Likewise.
65653         * elf/ifuncmain1.c: Likewise.
65654         * elf/ifuncmain1vis.c: Likewise.
65655         * elf/testobj.h: Likewise.
65656         * elf/tst-stackguard1.c: Likewise.
65657         * gmon/sys/gmon.h: Likewise.
65658         * hurd/hurdmsg.c: Likewise.
65659         * hurd/new-fd.c: Likewise.
65660         * hurd/ports-get.c: Likewise.
65661         * iconvdata/ibm1008_420.c: Likewise.
65662         * inet/tst-getni1.c: Likewise.
65663         * inet/tst-getni2.c: Likewise.
65664         * libio/ioungetc.c: Likewise.
65665         * libio/wfiledoalloc.c: Likewise.
65666         * manual/libm-err-tab.pl: Likewise.
65667         * math/w_dremf.c: Likewise.
65668         * misc/ftruncate.c: Likewise.
65669         * posix/bug-glob2.c: Likewise.
65670         * posix/tst-pcre.c: Likewise.
65671         * posix/wait4.c: Likewise.
65672         * resolv/README: Likewise.
65673         * resolv/res_debug.h: Likewise.
65674         * resolv/tst-inet_ntop.c: Likewise.
65675         * setjmp/bug269-setjmp.c: Likewise.
65676         * soft-fp/extended.h: Likewise.
65677         * soft-fp/op-1.h: Likewise.
65678         * soft-fp/op-2.h: Likewise.
65679         * soft-fp/op-4.h: Likewise.
65680         * soft-fp/op-8.h: Likewise.
65681         * soft-fp/testit.c: Likewise.
65682         * stdio-common/bug16.c: Likewise.
65683         * stdlib/random.c: Likewise.
65684         * sunrpc/rpcsvc/rquota.x: Likewise.
65685         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
65686         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65687         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65688         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65689         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65690         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65691         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65692         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65693         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65694         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65695         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65696         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65697         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65698         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65699         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65700         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65701         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65702         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65703         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65704         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65705         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65706         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65707         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
65708         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65709         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65710         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65711         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65712         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65713         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65714         * sysdeps/ieee754/s_lib_version.c: Likewise.
65715         * sysdeps/mach/hurd/check_fds.c: Likewise.
65716         * sysdeps/mach/hurd/getsockname.c: Likewise.
65717         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
65718         * sysdeps/mach/hurd/recvfrom.c: Likewise.
65719         * sysdeps/powerpc/bits/link.h: Likewise.
65720         * sysdeps/powerpc/dl-procinfo.c: Likewise.
65721         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
65722         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
65723         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
65724         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65725         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65726         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
65727         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65728         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
65729         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65730         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
65731         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
65732         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
65733         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65734         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65735         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65736         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
65737         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
65738         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65739         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65740         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65741         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
65742         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65743         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
65744         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
65745         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
65746         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
65747         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65748         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65749         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
65750         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
65751         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
65752         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65753         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65754         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
65755         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65756         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
65757         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
65758         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
65759         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
65760         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
65761         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
65762         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
65763         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
65764         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
65765         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
65766         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
65767         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
65768         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
65769         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
65770         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65771         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65772         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65773         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65774         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
65775         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
65776         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
65777         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65778         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
65779         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
65780         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
65781         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
65782         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
65783         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65784         * sysdeps/powerpc/sysdep.h: Likewise.
65785         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65786         * sysdeps/s390/s390-64/sub_n.S: Likewise.
65787         * sysdeps/sh/dl-trampoline.S: Likewise.
65788         * sysdeps/sh/memset.S: Likewise.
65789         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
65790         * sysdeps/sh/strlen.S: Likewise.
65791         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
65792         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
65793         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
65794         * sysdeps/sparc/sparc32/rem.S: Likewise.
65795         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
65796         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
65797         * sysdeps/sparc/sparc32/strchr.S: Likewise.
65798         * sysdeps/sparc/sparc32/udiv.S: Likewise.
65799         * sysdeps/sparc/sparc32/urem.S: Likewise.
65800         * sysdeps/sparc/sparc64/add_n.S: Likewise.
65801         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65802         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
65803         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
65804         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
65805         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
65806         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
65807         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
65808         * sysdeps/unix/bsd/times.c: Likewise.
65809         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
65810         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
65811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
65812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
65813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
65814         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
65815         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
65816         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
65817         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
65818         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
65819         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
65820         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65821         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
65822         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65823         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65824         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
65825         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65826         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
65827         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
65828         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
65829         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
65830         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
65831         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65832         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
65833         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
65834         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
65835         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
65836         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65837         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
65838         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
65839         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
65840         * sysdeps/x86_64/strcspn.S: Likewise.
65842 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65844         * locale/C-translit.h: Revert #include <stdint.h> because this is a
65845         generated file.  Regenerate properly from gen-translit.pl.
65846         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
65847         locale/C-translit.h.
65849 2013-06-05  Andreas Schwab  <schwab@suse.de>
65851         [BZ #15100]
65852         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
65853         week as 6 instead of -1.
65854         * time/tst-strptime.c (day_tests): Add test case.
65856 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
65858         * sysdeps/generic/math_private.h
65859         (libc_feholdexcept_setround_53bit): Replace with
65860         libc_feholdsetround_53bit.
65861         (libc_feupdateenv_53bit): Replace with
65862         libc_feresetround_53bit.
65863         (SET_RESTORE_ROUND_53BIT): Adjust.
65865 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
65867         * string/test-strchrnul.c: Add copyright header.
65869         * posix/tst-getaddrinfo4.c: Increase test timeout.
65871 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
65873         [BZ #15536]
65874         * math/libm-test.inc (MAX_EXP): Remove
65875         (MIN_EXP): Define.
65876         (ulp): Use MIN_EXP - MANT_DIG.
65877         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
65879 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
65881         * po/be.po: Revert last change.
65882         * po/zh_CN.po: Likewise.
65883         * po/header.pot: Likewise.
65885 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
65887         * Makefile ($(common-objpfx)linkobj/libc.so): Define
65888         link-libc-deps to empty as target-specific variable.
65889         * Makerules (link-libc-args): New variable.
65890         (libc-for-link): Likewise.
65891         (link-libc-deps): Likewise.
65892         (lib%.so): Depend on $(link-libc-deps).  Link with
65893         $(link-libc-args).
65894         (build-module): Link with $(link-libc-args).
65895         (build-module-asneeded): Likewise.
65896         (build-module-helper-objlist): Filter out $(link-libc-deps) from
65897         list of objects.
65898         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
65899         target-specific variable.
65900         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
65901         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
65902         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
65903         libc.
65904         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
65905         libc and ld.so.
65906         ($(objpfx)libpcprofile.so): Likewise.
65907         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
65908         libc_nonshared.a.
65909         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
65910         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
65911         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
65912         $(link-libc-deps).
65913         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
65914         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
65915         * login/Makefile ($(objpfx)libutil.so): Likewise.
65916         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
65917         * math/Makefile ($(objpfx)libm.so): Likewise.
65918         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
65919         $(objpfx)libnsl.so): Define libc-for-link as target-specific
65920         variable instead of depending directly on libc.
65921         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
65922         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
65923         $(link-libc-deps).
65924         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
65925         libc.
65926         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
65927         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
65928         ($(objpfx)libanl.so): Likewise.
65929         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
65930         ld.so.
65931         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
65932         $(link-libc-deps).
65933         * sysdeps/i386/fpu/Makefile: Remove file.
65934         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
65935         ($(objpfx)libm.so): Remove dependency on ld.so.
65937 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
65939         [BZ # 15553]
65940         * nis/yp_xdr.c (XDRMAXNAME): Define.
65941         (XDRMAXRECORD): Define.
65942         (xdr_domainname): Use XDRMAXNAME.
65943         (xdr_mapname): Likewise.
65944         (xdr_peername): Likewise.
65945         (xdr_keydat): Use XDRMAXRECORD.
65946         (xdr_valdat): Likewise.
65948 2013-05-30  Jeff Law  <law@redhat.com>
65950         [BZ #14256]
65951         * manual/errno.texi (ESTALE): Update to account for more than
65952         just NFS file systems.
65953         * sysdeps/gnu/errlist.c: Regenerated.
65955 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65957         [BZ #15465]
65958         * elf/Makefile (tests): Add tst-null-argv.
65959         (modules-names):  Add tst-null-argv-lib.
65960         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
65961         (tst-null-argv-ENV): Set environment for tst-null-argv.
65962         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
65963         (RTLD_PROGNAME): New macro.
65964         * elf/tst-null-argv.c: New test case.
65965         * elf/tst-null-argv-lib.c: Library for test case.
65966         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
65967         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
65968         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
65969         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
65970         * elf/dl-init.c (call_init): Likewise.
65971         (_dl_init): Likewise.
65972         * elf/dl-load.c (print_search_path): Likewise.
65973         (_dl_map_object): Likewise.
65974         * elf/dl-lookup.c (do_lookup_x): Likewise.
65975         (add_dependency): Likewise.
65976         (_dl_lookup_symbol_x): Likewise.
65977         (_dl_debug_bindings): Likewise.
65978         * elf/dl-open.c (_dl_show_scope): Likewise.
65979         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
65980         * elf/dl-version.c (match_symbol): Likewise.
65981         (_dl_check_map_versions): Likewise.
65982         * elf/rtld.c (dl_main): Likewise.
65983         (print_unresolved): Use RTLD_PROGNAME.
65984         (print_missing_version): Likewise.
65985         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
65986         (elf_machine_rela): Likewise.
65987         * sysdeps/powerpc/powerpc32/dl-machine.c
65988         (__process_machine_rela): Likewise.
65989         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65990         Likewise.
65991         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
65992         Likewise.
65993         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
65994         Likewise.
65995         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65996         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
65997         Likewise.
65998         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
65999         Likewise.
66000         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
66002 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
66004         * po/be.po: Add descriptive title.
66005         * po/zh_CN.po: Likewise.
66006         * po/header.pot: Likewise.
66008 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
66010         * locale/programs/locarchive.c (create_archive): Inlucde fname in
66011         error message.
66012         (enlarge_archive): Likewise.
66014 2013-05-28  Ben North  <ben@redfrontdoor.org>
66016         * manual/arith.texi (frexp): It is the magnitude of the return
66017         value which lies in [0.5, 1), not the return value itself.
66019 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66023 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
66025         * stdio-common/bug26.c (main): Correct fscanf template.
66027         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
66028         declare _dl_skip_args.
66030         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
66031         Don't declare.
66033         * manual/platform.texi: Add missing @end deftypefun.
66035 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
66037         [BZ #15529]
66038         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
66039         bit of mantissa of 2^16382.
66040         * math/libm-test.inc (hypot_test_data): Add more tests.
66042         * math/libm-test.inc: Add drem and pow10 to list of tested
66043         functions.
66044         (pow10_test): New function.
66045         (drem_test): Likewise.
66046         (drem_test_tonearest): Likewise.
66047         (drem_test_towardzero): Likewise.
66048         (drem_test_downward): Likewise.
66049         (drem_test_upward): Likewise.
66050         (main): Call the new functions.
66052         * math/libm-test.inc (finite_test_data): Remove.
66053         (finite_test): Run tests from isfinite_test_data.
66054         (gamma_test_data): Remove.
66055         (gamma_test): Run tests from lgamma_test_data.
66056         * sysdeps/i386/fpu/libm-test-ulps: Update.
66057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66059 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66061         * manual/platform.texi: Add PowerPC PPR function set documentation.
66062         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
66063         implementation.
66065 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
66067         * math/libm-test.inc (MAX_EXP): Define.
66068         (ULPDIFF): Define.
66069         (ulp): New function.
66070         (check_float_internal): Use ULPDIFF.
66071         (cpow_test): Disable failing test.
66072         (check_ulp): Test ulp() implementation.
66073         (main): Call check_ulp before starting tests.
66075 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
66077         * math/gen-libm-test.pl (generate_testfile): Do not handle
66078         START_DATA and END_DATA.
66079         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
66080         END_DATA.
66081         (acos_tonearest_test_data): Likewise.
66082         (acos_towardzero_test_data): Likewise.
66083         (acos_downward_test_data): Likewise.
66084         (acos_upward_test_data): Likewise.
66085         (acosh_test_data): Likewise.
66086         (asin_test_data): Likewise.
66087         (asin_tonearest_test_data): Likewise.
66088         (asin_towardzero_test_data): Likewise.
66089         (asin_downward_test_data): Likewise.
66090         (asin_upward_test_data): Likewise.
66091         (asinh_test_data): Likewise.
66092         (atan_test_data): Likewise.
66093         (atanh_test_data): Likewise.
66094         (atan2_test_data): Likewise.
66095         (cabs_test_data): Likewise.
66096         (cacos_test_data): Likewise.
66097         (cacosh_test_data): Likewise.
66098         (carg_test_data): Likewise.
66099         (casin_test_data): Likewise.
66100         (casinh_test_data): Likewise.
66101         (catan_test_data): Likewise.
66102         (catanh_test_data): Likewise.
66103         (cbrt_test_data): Likewise.
66104         (ccos_test_data): Likewise.
66105         (ccosh_test_data): Likewise.
66106         (ceil_test_data): Likewise.
66107         (cexp_test_data): Likewise.
66108         (cimag_test_data): Likewise.
66109         (clog_test_data): Likewise.
66110         (clog10_test_data): Likewise.
66111         (conj_test_data): Likewise.
66112         (copysign_test_data): Likewise.
66113         (cos_test_data): Likewise.
66114         (cos_tonearest_test_data): Likewise.
66115         (cos_towardzero_test_data): Likewise.
66116         (cos_downward_test_data): Likewise.
66117         (cos_upward_test_data): Likewise.
66118         (cosh_test_data): Likewise.
66119         (cosh_tonearest_test_data): Likewise.
66120         (cosh_towardzero_test_data): Likewise.
66121         (cosh_downward_test_data): Likewise.
66122         (cosh_upward_test_data): Likewise.
66123         (cpow_test_data): Likewise.
66124         (cproj_test_data): Likewise.
66125         (creal_test_data): Likewise.
66126         (csin_test_data): Likewise.
66127         (csinh_test_data): Likewise.
66128         (csqrt_test_data): Likewise.
66129         (ctan_test_data): Likewise.
66130         (ctan_tonearest_test_data): Likewise.
66131         (ctan_towardzero_test_data): Likewise.
66132         (ctan_downward_test_data): Likewise.
66133         (ctan_upward_test_data): Likewise.
66134         (ctanh_test_data): Likewise.
66135         (ctanh_tonearest_test_data): Likewise.
66136         (ctanh_towardzero_test_data): Likewise.
66137         (ctanh_downward_test_data): Likewise.
66138         (ctanh_upward_test_data): Likewise.
66139         (erf_test_data): Likewise.
66140         (erfc_test_data): Likewise.
66141         (exp_test_data): Likewise.
66142         (exp_tonearest_test_data): Likewise.
66143         (exp_towardzero_test_data): Likewise.
66144         (exp_downward_test_data): Likewise.
66145         (exp_upward_test_data): Likewise.
66146         (exp10_test_data): Likewise.
66147         (exp2_test_data): Likewise.
66148         (expm1_test_data): Likewise.
66149         (fabs_test_data): Likewise.
66150         (fdim_test_data): Likewise.
66151         (finite_test_data): Likewise.
66152         (floor_test_data): Likewise.
66153         (fma_test_data): Likewise.
66154         (fma_towardzero_test_data): Likewise.
66155         (fma_downward_test_data): Likewise.
66156         (fma_upward_test_data): Likewise.
66157         (fmax_test_data): Likewise.
66158         (fmin_test_data): Likewise.
66159         (fmod_test_data): Likewise.
66160         (fpclassify_test_data): Likewise.
66161         (frexp_test_data): Likewise.
66162         (gamma_test_data): Likewise.
66163         (hypot_test_data): Likewise.
66164         (ilogb_test_data): Likewise.
66165         (isfinite_test_data): Likewise.
66166         (isgreater_test_data): Likewise.
66167         (isgreaterequal_test_data): Likewise.
66168         (isinf_test_data): Likewise.
66169         (isless_test_data): Likewise.
66170         (islessequal_test_data): Likewise.
66171         (islessgreater_test_data): Likewise.
66172         (isnan_test_data): Likewise.
66173         (isnormal_test_data): Likewise.
66174         (issignaling_test_data): Likewise.
66175         (isunordered_test_data): Likewise.
66176         (j0_test_data): Likewise.
66177         (j1_test_data): Likewise.
66178         (jn_test_data): Likewise.
66179         (ldexp_test_data): Likewise.
66180         (lgamma_test_data): Likewise.
66181         (lrint_test_data): Likewise.
66182         (lrint_tonearest_test_data): Likewise.
66183         (lrint_towardzero_test_data): Likewise.
66184         (lrint_downward_test_data): Likewise.
66185         (lrint_upward_test_data): Likewise.
66186         (llrint_test_data): Likewise.
66187         (llrint_tonearest_test_data): Likewise.
66188         (llrint_towardzero_test_data): Likewise.
66189         (llrint_downward_test_data): Likewise.
66190         (llrint_upward_test_data): Likewise.
66191         (log_test_data): Likewise.
66192         (log10_test_data): Likewise.
66193         (log1p_test_data): Likewise.
66194         (log2_test_data): Likewise.
66195         (logb_test_data): Likewise.
66196         (logb_downward_test_data): Likewise.
66197         (lround_test_data): Likewise.
66198         (llround_test_data): Likewise.
66199         (modf_test_data): Likewise.
66200         (nearbyint_test_data): Likewise.
66201         (nextafter_test_data): Likewise.
66202         (nexttoward_test_data): Likewise.
66203         (pow_test_data): Likewise.
66204         (pow_tonearest_test_data): Likewise.
66205         (pow_towardzero_test_data): Likewise.
66206         (pow_downward_test_data): Likewise.
66207         (pow_upward_test_data): Likewise.
66208         (remainder_test_data): Likewise.
66209         (remainder_tonearest_test_data): Likewise.
66210         (remainder_towardzero_test_data): Likewise.
66211         (remainder_downward_test_data): Likewise.
66212         (remainder_upward_test_data): Likewise.
66213         (remquo_test_data): Likewise.
66214         (rint_test_data): Likewise.
66215         (rint_tonearest_test_data): Likewise.
66216         (rint_towardzero_test_data): Likewise.
66217         (rint_downward_test_data): Likewise.
66218         (rint_upward_test_data): Likewise.
66219         (round_test_data): Likewise.
66220         (scalb_test_data): Likewise.
66221         (scalbn_test_data): Likewise.
66222         (scalbln_test_data): Likewise.
66223         (signbit_test_data): Likewise.
66224         (sin_test_data): Likewise.
66225         (sin_tonearest_test_data): Likewise.
66226         (sin_towardzero_test_data): Likewise.
66227         (sin_downward_test_data): Likewise.
66228         (sin_upward_test_data): Likewise.
66229         (sincos_test_data): Likewise.
66230         (sinh_test_data): Likewise.
66231         (sinh_tonearest_test_data): Likewise.
66232         (sinh_towardzero_test_data): Likewise.
66233         (sinh_downward_test_data): Likewise.
66234         (sinh_upward_test_data): Likewise.
66235         (sqrt_test_data): Likewise.
66236         (tan_test_data): Likewise.
66237         (tan_tonearest_test_data): Likewise.
66238         (tan_towardzero_test_data): Likewise.
66239         (tan_downward_test_data): Likewise.
66240         (tan_upward_test_data): Likewise.
66241         (tanh_test_data): Likewise.
66242         (tgamma_test_data): Likewise.
66243         (trunc_test_data): Likewise.
66244         (y0_test_data): Likewise.
66245         (y1_test_data): Likewise.
66246         (yn_test_data): Likewise.
66247         (significand_test_data): Likewise.
66249         * math/gen-libm-test.pl (@functions): Remove variable.
66250         (generate_testfile): Don't handle START and END lines.
66251         * math/libm-test.inc (START): New macro.
66252         (END): Likewise.
66253         (END_COMPLEX): Likewise.
66254         (acos_test): Use END macro without arguments.
66255         (acos_test_tonearest): Likewise.
66256         (acos_test_towardzero): Likewise.
66257         (acos_test_downward): Likewise.
66258         (acos_test_upward): Likewise.
66259         (acosh_test): Likewise.
66260         (asin_test): Likewise.
66261         (asin_test_tonearest): Likewise.
66262         (asin_test_towardzero): Likewise.
66263         (asin_test_downward): Likewise.
66264         (asin_test_upward): Likewise.
66265         (asinh_test): Likewise.
66266         (atan_test): Likewise.
66267         (atanh_test): Likewise.
66268         (atan2_test): Likewise.
66269         (cabs_test): Likewise.
66270         (cacos_test): Use END_COMPLEX macro without arguments.
66271         (cacosh_test): Likewise.
66272         (carg_test): Use END macro without arguments.
66273         (casin_test): Use END_COMPLEX macro without arguments.
66274         (casinh_test): Likewise.
66275         (catan_test): Likewise.
66276         (catanh_test): Likewise.
66277         (cbrt_test): Use END macro without arguments.
66278         (ccos_test): Use END_COMPLEX macro without arguments.
66279         (ccosh_test): Likewise.
66280         (ceil_test): Use END macro without arguments.
66281         (cexp_test): Use END_COMPLEX macro without arguments.
66282         (cimag_test): Use END macro without arguments.
66283         (clog_test): Use END_COMPLEX macro without arguments.
66284         (clog10_test): Likewise.
66285         (conj_test): Likewise.
66286         (copysign_test): Use END macro without arguments.
66287         (cos_test): Likewise.
66288         (cos_test_tonearest): Likewise.
66289         (cos_test_towardzero): Likewise.
66290         (cos_test_downward): Likewise.
66291         (cos_test_upward): Likewise.
66292         (cosh_test): Likewise.
66293         (cosh_test_tonearest): Likewise.
66294         (cosh_test_towardzero): Likewise.
66295         (cosh_test_downward): Likewise.
66296         (cosh_test_upward): Likewise.
66297         (cpow_test): Use END_COMPLEX macro without arguments.
66298         (cproj_test): Likewise.
66299         (creal_test): Use END macro without arguments.
66300         (csin_test): Use END_COMPLEX macro without arguments.
66301         (csinh_test): Likewise.
66302         (csqrt_test): Likewise.
66303         (ctan_test): Likewise.
66304         (ctan_test_tonearest): Likewise.
66305         (ctan_test_towardzero): Likewise.
66306         (ctan_test_downward): Likewise.
66307         (ctan_test_upward): Likewise.
66308         (ctanh_test): Likewise.
66309         (ctanh_test_tonearest): Likewise.
66310         (ctanh_test_towardzero): Likewise.
66311         (ctanh_test_downward): Likewise.
66312         (ctanh_test_upward): Likewise.
66313         (erf_test): Use END macro without arguments.
66314         (erfc_test): Likewise.
66315         (exp_test): Likewise.
66316         (exp_test_tonearest): Likewise.
66317         (exp_test_towardzero): Likewise.
66318         (exp_test_downward): Likewise.
66319         (exp_test_upward): Likewise.
66320         (exp10_test): Likewise.
66321         (exp2_test): Likewise.
66322         (expm1_test): Likewise.
66323         (fabs_test): Likewise.
66324         (fdim_test): Likewise.
66325         (finite_test): Likewise.
66326         (floor_test): Likewise.
66327         (fma_test): Likewise.
66328         (fma_test_towardzero): Likewise.
66329         (fma_test_downward): Likewise.
66330         (fma_test_upward): Likewise.
66331         (fmax_test): Likewise.
66332         (fmin_test): Likewise.
66333         (fmod_test): Likewise.
66334         (fpclassify_test): Likewise.
66335         (frexp_test): Likewise.
66336         (gamma_test): Likewise.
66337         (hypot_test): Likewise.
66338         (ilogb_test): Likewise.
66339         (isfinite_test): Likewise.
66340         (isgreater_test): Likewise.
66341         (isgreaterequal_test): Likewise.
66342         (isinf_test): Likewise.
66343         (isless_test): Likewise.
66344         (islessequal_test): Likewise.
66345         (islessgreater_test): Likewise.
66346         (isnan_test): Likewise.
66347         (isnormal_test): Likewise.
66348         (issignaling_test): Likewise.
66349         (isunordered_test): Likewise.
66350         (j0_test): Likewise.
66351         (j1_test): Likewise.
66352         (jn_test): Likewise.
66353         (ldexp_test): Likewise.
66354         (lgamma_test): Likewise.
66355         (lrint_test): Likewise.
66356         (lrint_test_tonearest): Likewise.
66357         (lrint_test_towardzero): Likewise.
66358         (lrint_test_downward): Likewise.
66359         (lrint_test_upward): Likewise.
66360         (llrint_test): Likewise.
66361         (llrint_test_tonearest): Likewise.
66362         (llrint_test_towardzero): Likewise.
66363         (llrint_test_downward): Likewise.
66364         (llrint_test_upward): Likewise.
66365         (log_test): Likewise.
66366         (log10_test): Likewise.
66367         (log1p_test): Likewise.
66368         (log2_test): Likewise.
66369         (logb_test): Likewise.
66370         (logb_test_downward): Likewise.
66371         (lround_test): Likewise.
66372         (llround_test): Likewise.
66373         (modf_test): Likewise.
66374         (nearbyint_test): Likewise.
66375         (nextafter_test): Likewise.
66376         (nexttoward_test): Likewise.
66377         (pow_test): Likewise.
66378         (pow_test_tonearest): Likewise.
66379         (pow_test_towardzero): Likewise.
66380         (pow_test_downward): Likewise.
66381         (pow_test_upward): Likewise.
66382         (remainder_test): Likewise.
66383         (remainder_test_tonearest): Likewise.
66384         (remainder_test_towardzero): Likewise.
66385         (remainder_test_downward): Likewise.
66386         (remainder_test_upward): Likewise.
66387         (remquo_test): Likewise.
66388         (rint_test): Likewise.
66389         (rint_test_tonearest): Likewise.
66390         (rint_test_towardzero): Likewise.
66391         (rint_test_downward): Likewise.
66392         (rint_test_upward): Likewise.
66393         (round_test): Likewise.
66394         (scalb_test): Likewise.
66395         (scalbn_test): Likewise.
66396         (scalbln_test): Likewise.
66397         (signbit_test): Likewise.
66398         (sin_test): Likewise.
66399         (sin_test_tonearest): Likewise.
66400         (sin_test_towardzero): Likewise.
66401         (sin_test_downward): Likewise.
66402         (sin_test_upward): Likewise.
66403         (sincos_test): Likewise.
66404         (sinh_test): Likewise.
66405         (sinh_test_tonearest): Likewise.
66406         (sinh_test_towardzero): Likewise.
66407         (sinh_test_downward): Likewise.
66408         (sinh_test_upward): Likewise.
66409         (sqrt_test): Likewise.
66410         (tan_test): Likewise.
66411         (tan_test_tonearest): Likewise.
66412         (tan_test_towardzero): Likewise.
66413         (tan_test_downward): Likewise.
66414         (tan_test_upward): Likewise.
66415         (tanh_test): Likewise.
66416         (tgamma_test): Likewise.
66417         (trunc_test): Likewise.
66418         (y0_test): Likewise.
66419         (y1_test): Likewise.
66420         (yn_test): Likewise.
66421         (significand_test): Likewise.
66423 2013-05-24  Ondƙej BĂ­lka  <neleai@seznam.cz>
66425         [BZ #15381]
66426         * libio/genops.c (_IO_no_init): Initialize wide struct info.
66428 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
66430         [BZ #14894]
66431         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
66432         __ppc_mdoio and __ppc_mdoom.
66433         * manual/platform.texi: Document new functions __ppc_yield,
66434         __ppc_mdoio and __ppc_mdoom.
66436 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
66438         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
66439         (main): Mention "tls" pseudo-hwcap is legacy.
66440         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
66442 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
66444         * math/gen-libm-test.pl (parse_args): Output only string of
66445         arguments as text for test name, not full call or descriptions of
66446         tests for extra outputs.
66447         (generate_testfile): Do not pass function name to parse_args.
66448         Generate this_func variable from START.
66449         * math/libm-test.inc (struct test_f_f_data): Rename test_name
66450         field to arg_str.
66451         (struct test_ff_f_data): Likewise.
66452         (test_ff_f_data_nexttoward): Likewise.
66453         (struct test_fi_f_data): Likewise.
66454         (struct test_fl_f_data): Likewise.
66455         (struct test_if_f_data): Likewise.
66456         (struct test_fff_f_data): Likewise.
66457         (struct test_c_f_data): Likewise.
66458         (struct test_f_f1_data): Likewise.  Remove field extra_name.
66459         (struct test_fF_f1_data): Likewise.
66460         (struct test_ffI_f1_data): Likewise.
66461         (struct test_c_c_data): Rename test_name field to arg_str.
66462         (struct test_cc_c_data): Likewise.
66463         (struct test_f_i_data): Likewise.
66464         (struct test_ff_i_data): Likewise.
66465         (struct test_f_l_data): Likewise.
66466         (struct test_f_L_data): Likewise.
66467         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
66468         and extra2_name.
66469         (COMMON_TEST_SETUP): New macro.
66470         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
66471         (COMMON_TEST_CLEANUP): Likewise.
66472         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
66473         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
66474         macros.
66475         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
66476         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
66477         macros.
66478         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
66479         (RUN_TEST_fff_f): Take argument string.  Call new setup and
66480         cleanup macros.
66481         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
66482         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
66483         macros.
66484         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
66485         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
66486         macros.
66487         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66488         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
66489         cleanup macros.
66490         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66491         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
66492         cleanup macros.
66493         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66494         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
66495         cleanup macros.
66496         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66497         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
66498         macros.
66499         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
66500         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
66501         macros.
66502         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
66503         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
66504         macros.
66505         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
66506         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
66507         cleanup macros.
66508         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
66509         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
66510         cleanup macros.
66511         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
66512         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
66513         macros.
66514         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
66515         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
66516         cleanup macros.
66517         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
66518         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
66519         macros.
66520         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
66521         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
66522         macros.
66523         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
66524         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
66525         cleanup macros.
66526         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
66528 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
66530         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
66531         to _sifields.sigfault.
66532         (si_addr_lsb): Define new macro.
66533         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66534         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66535         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
66537 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
66539         [BZ #15441]
66540         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
66541         returns -1.
66542         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
66543         null return -1.
66544         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
66545         loading the domain.
66547 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
66549         * math/gen-libm-test.pl (parse_args): Do not include expected
66550         result in test name.
66551         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
66552         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66553         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66554         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66555         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66558 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66560         * benchtests/Makefile: Sort function entries.
66562         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
66563         tanh, asinh, acosh, atanh.
66564         * benchtests/acos-inputs: New file.
66565         * benchtests/acosh-inputs: New file.
66566         * benchtests/asin-inputs: New file.
66567         * benchtests/asinh-inputs: New file.
66568         * benchtests/atanh-inputs: New file.
66569         * benchtests/cosh-inputs: New file.
66570         * benchtests/log-inputs: New file.
66571         * benchtests/sinh-inputs: New file.
66572         * benchtests/tanh-inputs: New file.
66574 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
66576         [BZ #15339]
66577         * posix/tst-getaddrinfo4.c: New test.
66578         * posix/Makefile (tests): Add it.
66580 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66582         [BZ #15339]
66583         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
66584         when no services were used.
66585         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
66586         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
66588 2013-05-21  Andreas Schwab  <schwab@suse.de>
66590         [BZ #15014]
66591         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
66592         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
66593         successful.
66594         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
66595         redundant variable declarations and reallocation of buffer when
66596         parsing as IPv6 address.  Always set NSS status when called from
66597         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
66598         buffer too small.  Correct computation of needed size.
66599         * nss/Makefile (tests): Add test-digits-dots.
66600         * nss/test-digits-dots.c: New test.
66602 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66604         * benchtests/Makefile: Remove instructions for adding
66605         benchmark tests.
66606         * benchtests/README: New file to explain how to execute and
66607         enhance the benchmark tests.
66609 2013-05-21  Andreas Schwab  <schwab@suse.de>
66611         [BZ #15493]
66612         * setjmp/Makefile (tests): Add tst-sigsetjmp.
66613         * setjmp/tst-sigsetjmp.c: New test.
66615 2013-05-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
66617         * sysdeps/x86_64/memset.S (memset): New implementation.
66618         (__bzero): Likewise.
66619         (__memset_tail): New function.
66621 2013-05-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
66623         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
66624         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
66625         __memcpy_sse2_unaligned ifunc selection.
66626         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66627         Add memcpy-sse2-unaligned.S.
66628         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66629         Add: __memcpy_sse2_unaligned.
66631 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
66633         [BZ #15490]
66634         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66635         math_force_eval before restoring floating-point envrionment.
66636         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
66637         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
66638         Likewise.
66639         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
66640         <math_private.h>.
66641         (__nearbyintl): Use math_force_eval before restoring
66642         floating-point environment.
66643         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
66645         * math/gen-libm-test.pl (special_functions): Remove.
66646         (parse_args): Don't handle TEST_extra.  Handle functions with no
66647         return value.
66648         * math/libm-test.inc (struct test_sincos_data): Replace with
66649         struct test_fFF_11_data.
66650         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
66651         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
66652         (sincos_test_data): Change element type to struct
66653         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
66654         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
66655         RUN_TEST_LOOP_sincos.
66656         * math/README.libm-test: Don't mention special handling of
66657         individual functions.
66658         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
66659         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66660         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66661         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66662         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66665         * math/gen-libm-test.pl (get_variable): Remove function.
66666         (parse_args): Don't show pointer parameters to call in test
66667         names.  Use "extra output N" in test names for extra outputs
66668         rather than naming variables.
66670 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
66672         [BZ #15488]
66673         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
66674         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
66675         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
66676         double tests.
66677         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
66678         disable.
66679         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
66680         check_long_double.
66682         * math/gen-libm-test.pl (@tests): Remove variable.
66683         ($count): Likewise.
66684         (new_test): Remove function.
66685         (show_exceptions): New function.
66686         (special_functions): Use show_exceptions instead of new_test.
66687         (parse_args): Likewise.
66688         (generate_testfile): Pass only function name in generated call to
66689         print_max_error or print_complex_max_error.
66690         (get_ulps): Do not handle complex tests specially.
66691         (output_test): Rename to ...
66692         (get_all_ulps_for_test): ... this.  Return a string rather than
66693         printing to a file.  Require ulps to be present.
66694         (output_ulps): Generate arrays rather than #defines.
66695         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
66696         (struct ulp_data): New type.
66697         (BUILD_COMPLEX_ULP): Remove macro.
66698         (compare_ulp_data): New function.
66699         (find_ulps): Likewise.
66700         (find_test_ulps): Likewise.
66701         (find_function_ulps): Likewise.
66702         (find_complex_function_ulps): Likewise.
66703         (print_max_error): Determine allowed ulps using
66704         find_function_ulps.
66705         (print_complex_max_error): Determine allowed ulps using
66706         find_complex_function_ulps.
66707         (check_float_internal): Determine max ulps using find_test_ulps.
66708         (check_float): Do not take max_ulp parameter.  Update call to
66709         check_float_internal.
66710         (check_complex): Likewise.
66711         (check_int): Do not take max_ulp parameter.
66712         (check_long): Likewise.
66713         (check_bool): Likewise.
66714         (check_longlong): Likewise.
66715         (struct test_f_f_data): Remove max_ulp field.
66716         (struct test_ff_f_data): Likewise.
66717         (struct test_ff_f_data_nexttoward): Likewise.
66718         (struct test_fi_f_data): Likewise.
66719         (struct test_fl_f_data): Likewise.
66720         (struct test_if_f_data): Likewise.
66721         (struct test_fff_f_data): Likewise.
66722         (struct test_c_f_data): Likewise.
66723         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
66724         (struct test_fF_f1_data): Likewise.
66725         (struct test_ffI_f1_data): Likewise.
66726         (struct test_c_c_data): Remove max_ulp field.
66727         (struct test_cc_c_data): Likewise.
66728         (struct test_f_i_data): Likewise.
66729         (struct test_ff_i_data): Likewise.
66730         (struct test_f_l_data): Likewise.
66731         (struct test_f_L_data): Likewise.
66732         (struct test_sincos_data): Likewise.
66733         (RUN_TEST_f_f): Do not handle ulps.
66734         (RUN_TEST_LOOP_f_f): Likewise.
66735         (RUN_TEST_2_f): Likewise.
66736         (RUN_TEST_LOOP_2_f): Likewise.
66737         (RUN_TEST_fff_f): Likewise.
66738         (RUN_TEST_LOOP_fff_f): Likewise.
66739         (RUN_TEST_c_f): Likewise.
66740         (RUN_TEST_LOOP_c_f): Likewise.
66741         (RUN_TEST_f_f1): Likewise.
66742         (RUN_TEST_LOOP_f_f1): Likewise.
66743         (RUN_TEST_fF_f1): Likewise.
66744         (RUN_TEST_LOOP_fF_f1): Likewise.
66745         (RUN_TEST_fI_f1): Likewise.
66746         (RUN_TEST_LOOP_fI_f1): Likewise.
66747         (RUN_TEST_ffI_f1): Likewise.
66748         (RUN_TEST_LOOP_ffI_f1): Likewise.
66749         (RUN_TEST_c_c): Likewise.
66750         (RUN_TEST_LOOP_c_c): Likewise.
66751         (RUN_TEST_cc_c): Likewise.
66752         (RUN_TEST_LOOP_cc_c): Likewise.
66753         (RUN_TEST_f_i): Likewise.
66754         (RUN_TEST_LOOP_f_i): Likewise.
66755         (RUN_TEST_f_i_tg): Likewise.
66756         (RUN_TEST_LOOP_f_i_tg): Likewise.
66757         (RUN_TEST_ff_i_tg): Likewise.
66758         (RUN_TEST_LOOP_ff_i_tg): Likewise.
66759         (RUN_TEST_f_b): Likewise.
66760         (RUN_TEST_LOOP_f_b): Likewise.
66761         (RUN_TEST_f_b_tg): Likewise.
66762         (RUN_TEST_LOOP_f_b_tg): Likewise.
66763         (RUN_TEST_f_l): Likewise.
66764         (RUN_TEST_LOOP_f_l): Likewise.
66765         (RUN_TEST_f_L): Likewise.
66766         (RUN_TEST_LOOP_f_L): Likewise.
66767         (RUN_TEST_sincos): Likewise.
66768         (RUN_TEST_LOOP_sincos): Likewise.
66770 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
66772         [BZ #15480]
66773         [BZ #15485]
66774         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
66775         main case of finite arguments, set rounding mode to FE_TONEAREST
66776         and discard exceptions.
66777         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
66778         exceptions.
66779         (remainder_tonearest_test_data): New variable.
66780         (remainder_test_tonearest): New function.
66781         (remainder_towardzero_test_data): New variable.
66782         (remainder_test_towardzero): New function.
66783         (remainder_downward_test_data): New variable.
66784         (remainder_test_downward): New function.
66785         (remainder_upward_test_data): New variable.
66786         (remainder_test_upward): New function.
66787         (main): Call the new test functions.
66789         * math/libm-test.inc (struct test_f_f1_data): Remove field
66790         extra_init.
66791         (struct test_fF_f1_data): Likewise.
66792         (struct test_ffI_f1_data): Likewise.
66793         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
66794         based on value of EXTRA_EXPECTED.
66795         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66796         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
66797         EXTRA_VAR based on value of EXTRA_EXPECTED.
66798         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66799         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
66800         EXTRA_VAR based on value of EXTRA_EXPECTED.
66801         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66802         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
66803         EXTRA_VAR based on value of EXTRA_EXPECTED.
66804         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66805         * math/gen-libm-test.pl (parse_args): Don't output initializers
66806         for extra output values.
66808         * math/libm-test.inc (check_int): Expect result to be exactly
66809         equal to expected value and do not handle ulps.
66810         (check_long): Likewise.
66811         (check_longlong): Likewise.
66813         * math/libm-test.inc (ceil_test_data): Test for "inexact"
66814         exceptions.
66815         (cimag_test_data): Likewise.
66816         (conj_test_data): Likewise.
66817         (copysign_test_data): Likewise.
66818         (cproj_test_data): Likewise.
66819         (creal_test_data): Likewise.
66820         (fabs_test_data): Likewise.
66821         (fdim_test_data): Likewise.
66822         (finite_test_data): Likewise.
66823         (floor_test_data): Likewise.
66824         (fmax_test_data): Likewise.
66825         (fmin_test_data): Likewise.
66826         (fmod_test_data): Likewise.
66827         (fpclassify_test_data): Likewise.
66828         (frexp_test_data): Likewise.
66829         (ilogb_test_data): Likewise.
66830         (isfinite_test_data): Likewise.
66831         (isgreater_test_data): Likewise.
66832         (isgreaterequal_test_data): Likewise.
66833         (isinf_test_data): Likewise.
66834         (isless_test_data): Likewise.
66835         (islessequal_test_data): Likewise.
66836         (islessgreater_test_data): Likewise.
66837         (isnan_test_data): Likewise.
66838         (isnormal_test_data): Likewise.
66839         (issignaling_test_data): Likewise.
66840         (isunordered_test_data): Likewise.
66841         (ldexp_test_data): Likewise.
66842         (lrint_test_data): Likewise.
66843         (lrint_test_data) [TEST_FLOAT]: Disable one test.
66844         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
66845         (lrint_tonearest_test_data): Test for "inexact" exceptions.
66846         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66847         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
66848         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66849         test input.
66850         (lrint_towardzero_test_data): Test for "inexact" exceptions.
66851         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66852         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
66853         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
66854         that test input.
66855         (lrint_downward_test_data): Test for "inexact" exceptions.
66856         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66857         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
66858         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66859         test input.
66860         (lrint_upward_test_data): Test for "inexact" exceptions.
66861         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
66862         test input.
66863         (llrint_test_data): Test for "inexact" exceptions.
66864         (llrint_test_data) [TEST_FLOAT]: Disable one test.
66865         (llrint_tonearest_test_data): Test for "inexact" exceptions.
66866         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66867         (llrint_towardzero_test_data): Test for "inexact" exceptions.
66868         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66869         (llrint_downward_test_data): Test for "inexact" exceptions.
66870         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66871         (llrint_upward_test_data): Test for "inexact" exceptions.
66872         (logb_test_data): Likewise.
66873         (logb_downward_test_data): Likewise.
66874         (nextafter_test_data): Likewise.
66875         (nexttoward_test_data): Likewise.
66876         (remainder_test_data): Likewise.
66877         (remquo_test_data): Likewise.
66878         (scalbn_test_data): Likewise.
66879         (scalbln_test_data): Likewise.
66880         (signbit_test_data): Likewise.
66881         (sqrt_test_data): Likewise.
66882         (significand_test_data): Likewise.
66884 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
66886         [BZ #15424]
66887         * benchtests/bench-modf.c (struct args): Mark arg0 as
66888         volatile.
66889         * scripts/bench.pl: Mark members of struct args as volatile.
66891 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66893         [BZ # 15497]
66894         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
66895         negative infinity on POWER6 or lower.
66896         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
66898 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
66900         [BZ #15442]
66901         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
66902         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
66903         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
66904         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
66905         (_FP_SETQNAN): New macro.
66906         (_FP_SETQNAN_SEMIRAW): Likewise.
66907         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
66908         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
66909         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
66910         (FP_EXTEND): Use _FP_FRAC_SNANP.
66911         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
66912         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
66913         into account.
66914         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66915         New macro.
66916         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66917         Likewise.
66919 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
66921         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
66922         with DIVIDE_BY_ZERO_EXCEPTION.
66923         (gamma_test_data): Likewise.
66924         (lgamma_test_data): Likewise.
66925         (log_test_data): Likewise.
66926         (log10_test_data): Likewise.
66927         (log2_test_data): Likewise.
66928         (tgamma_test_data): Likewise.
66930         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
66931         (acos_test_tonearest): Likewise.
66932         (acos_test_towardzero): Likewise.
66933         (acos_test_downward): Likewise.
66934         (acos_test_upward): Likewise.
66935         (acosh_test): Likewise.
66936         (asin_test): Likewise.
66937         (asin_test_tonearest): Likewise.
66938         (asin_test_towardzero): Likewise.
66939         (asin_test_downward): Likewise.
66940         (asin_test_upward): Likewise.
66941         (asinh_test): Likewise.
66942         (atan_test): Likewise.
66943         (atanh_test): Likewise.
66944         (atan2_test): Likewise.
66945         (cabs_test): Likewise.
66946         (cacos_test): Likewise.
66947         (cacosh_test): Likewise.
66948         (casin_test): Likewise.
66949         (casinh_test): Likewise.
66950         (catan_test): Likewise.
66951         (catanh_test): Likewise.
66952         (cbrt_test): Likewise.
66953         (ccos_test): Likewise.
66954         (ccosh_test): Likewise.
66955         (cexp_test): Likewise.
66956         (clog_test): Likewise.
66957         (clog10_test): Likewise.
66958         (cos_test): Likewise.
66959         (cos_test_tonearest): Likewise.
66960         (cos_test_towardzero): Likewise.
66961         (cos_test_downward): Likewise.
66962         (cos_test_upward): Likewise.
66963         (cosh_test): Likewise.
66964         (cosh_test_tonearest): Likewise.
66965         (cosh_test_towardzero): Likewise.
66966         (cosh_test_downward): Likewise.
66967         (cosh_test_upward): Likewise.
66968         (cpow_test): Likewise.
66969         (csin_test): Likewise.
66970         (csinh_test): Likewise.
66971         (csqrt_test): Likewise.
66972         (ctan_test): Likewise.
66973         (ctan_test_tonearest): Likewise.
66974         (ctan_test_towardzero): Likewise.
66975         (ctan_test_downward): Likewise.
66976         (ctan_test_upward): Likewise.
66977         (ctanh_test): Likewise.
66978         (ctanh_test_tonearest): Likewise.
66979         (ctanh_test_towardzero): Likewise.
66980         (ctanh_test_downward): Likewise.
66981         (ctanh_test_upward): Likewise.
66982         (erf_test): Likewise.
66983         (erfc_test): Likewise.
66984         (exp_test): Likewise.
66985         (exp_test_tonearest): Likewise.
66986         (exp_test_towardzero): Likewise.
66987         (exp_test_downward): Likewise.
66988         (exp_test_upward): Likewise.
66989         (exp10_test): Likewise.
66990         (exp2_test): Likewise.
66991         (expm1_test): Likewise.
66992         (fmod_test): Likewise.
66993         (gamma_test): Likewise.
66994         (hypot_test): Likewise.
66995         (j0_test): Likewise.
66996         (j1_test): Likewise.
66997         (jn_test): Likewise.
66998         (lgamma_test): Likewise.
66999         (log_test): Likewise.
67000         (log10_test): Likewise.
67001         (log1p_test): Likewise.
67002         (log2_test): Likewise.
67003         (logb_test_downward): Likewise.
67004         (pow_test): Likewise.
67005         (pow_test_tonearest): Likewise.
67006         (pow_test_towardzero): Likewise.
67007         (pow_test_downward): Likewise.
67008         (pow_test_upward): Likewise.
67009         (remainder_test): Likewise.
67010         (remquo_test): Likewise.
67011         (sin_test): Likewise.
67012         (sin_test_tonearest): Likewise.
67013         (sin_test_towardzero): Likewise.
67014         (sin_test_downward): Likewise.
67015         (sin_test_upward): Likewise.
67016         (sincos_test): Likewise.
67017         (sinh_test): Likewise.
67018         (sinh_test_tonearest): Likewise.
67019         (sinh_test_towardzero): Likewise.
67020         (sinh_test_downward): Likewise.
67021         (sinh_test_upward): Likewise.
67022         (sqrt_test): Likewise.
67023         (tan_test): Likewise.
67024         (tan_test_tonearest): Likewise.
67025         (tan_test_towardzero): Likewise.
67026         (tan_test_downward): Likewise.
67027         (tan_test_upward): Likewise.
67028         (tanh_test): Likewise.
67029         (tgamma_test): Likewise.
67030         (y0_test): Likewise.
67031         (y1_test): Likewise.
67032         (yn_test): Likewise.
67034         * math/gen-libm-test.pl (adjust_arg): Remove function.
67035         (special_function): Remove argument $in_func.  Only handle
67036         generating output for tables of tests, not inside functions.
67037         (parse_args): Likewise.
67038         (generate_testfile): Remove variable $in_func.  Update call to
67039         parse_args.
67040         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
67041         (MINUS_ZERO_INIT): Rename macro to minus_zero.
67042         (PLUS_INFTY_INIT): Rename macro to plus_infty.
67043         (MINUS_INFTY_INIT): Rename macro to minus_infty.
67044         (QNAN_VALUE_INIT): Rename macro to qnan_value.
67045         (MAX_VALUE_INIT): Rename macro to max_value.
67046         (MIN_VALUE_INIT): Rename macro to min_value.
67047         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
67048         (plus_zero): Remove variable.
67049         (minus_zero): Likewise.
67050         (plus_infty): Likewise.
67051         (minus_infty): Likewise.
67052         (qnan_value): Likewise.
67053         (max_value): Likewise.
67054         (min_value): Likewise.
67055         (min_subnorm_value): Likewise.
67057 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67059         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
67060         uint64_t or uint32_t usage.
67061         * crypt/sha256-block.c: Likewise.
67062         * crypt/sha256-crypt.c: Likewise.
67063         * crypt/sha256.c: Likewise.
67064         * crypt/sha512-block.c: Likewise.
67065         * crypt/sha512-crypt.c: Likewise.
67066         * crypt/sha512.c: Likewise.
67067         * debug/backtrace-tst.c: Likewise.
67068         * debug/pcprofiledump.c: Likewise.
67069         * elf/cache.c: Likewise.
67070         * elf/dl-cache.c: Likewise.
67071         * elf/dl-misc.c: Likewise.
67072         * elf/dl-profile.c: Likewise.
67073         * elf/dl-support.c: Likewise.
67074         * elf/ldconfig.c: Likewise.
67075         * elf/sprof.c: Likewise.
67076         * iconv/dummy-repertoire.c: Likewise.
67077         * iconv/iconv_charmap.c: Likewise.
67078         * iconv/skeleton.c: Likewise.
67079         * iconvdata/8bit-generic.c: Likewise.
67080         * iconvdata/cp737.h: Likewise.
67081         * iconvdata/cp775.h: Likewise.
67082         * iconvdata/ibm1008.h: Likewise.
67083         * iconvdata/ibm1025.h: Likewise.
67084         * iconvdata/ibm1046.h: Likewise.
67085         * iconvdata/ibm1097.h: Likewise.
67086         * iconvdata/ibm1112.h: Likewise.
67087         * iconvdata/ibm1122.h: Likewise.
67088         * iconvdata/ibm1123.h: Likewise.
67089         * iconvdata/ibm1124.h: Likewise.
67090         * iconvdata/ibm1129.h: Likewise.
67091         * iconvdata/ibm1130.h: Likewise.
67092         * iconvdata/ibm1132.h: Likewise.
67093         * iconvdata/ibm1133.h: Likewise.
67094         * iconvdata/ibm1137.h: Likewise.
67095         * iconvdata/ibm1140.h: Likewise.
67096         * iconvdata/ibm1141.h: Likewise.
67097         * iconvdata/ibm1142.h: Likewise.
67098         * iconvdata/ibm1143.h: Likewise.
67099         * iconvdata/ibm1144.h: Likewise.
67100         * iconvdata/ibm1145.h: Likewise.
67101         * iconvdata/ibm1146.h: Likewise.
67102         * iconvdata/ibm1147.h: Likewise.
67103         * iconvdata/ibm1148.h: Likewise.
67104         * iconvdata/ibm1149.h: Likewise.
67105         * iconvdata/ibm1153.h: Likewise.
67106         * iconvdata/ibm1154.h: Likewise.
67107         * iconvdata/ibm1155.h: Likewise.
67108         * iconvdata/ibm1156.h: Likewise.
67109         * iconvdata/ibm1157.h: Likewise.
67110         * iconvdata/ibm1158.h: Likewise.
67111         * iconvdata/ibm1160.h: Likewise.
67112         * iconvdata/ibm1161.h: Likewise.
67113         * iconvdata/ibm1162.h: Likewise.
67114         * iconvdata/ibm1163.h: Likewise.
67115         * iconvdata/ibm1164.h: Likewise.
67116         * iconvdata/ibm1166.h: Likewise.
67117         * iconvdata/ibm1167.h: Likewise.
67118         * iconvdata/ibm12712.h: Likewise.
67119         * iconvdata/ibm1390.h: Likewise.
67120         * iconvdata/ibm1399.h: Likewise.
67121         * iconvdata/ibm16804.h: Likewise.
67122         * iconvdata/ibm4517.h: Likewise.
67123         * iconvdata/ibm4899.h: Likewise.
67124         * iconvdata/ibm4909.h: Likewise.
67125         * iconvdata/ibm4971.h: Likewise.
67126         * iconvdata/ibm5347.h: Likewise.
67127         * iconvdata/ibm803.h: Likewise.
67128         * iconvdata/ibm856.h: Likewise.
67129         * iconvdata/ibm901.h: Likewise.
67130         * iconvdata/ibm902.h: Likewise.
67131         * iconvdata/ibm9030.h: Likewise.
67132         * iconvdata/ibm9066.h: Likewise.
67133         * iconvdata/ibm921.h: Likewise.
67134         * iconvdata/ibm922.h: Likewise.
67135         * iconvdata/ibm9448.h: Likewise.
67136         * iconvdata/isiri-3342.h: Likewise.
67137         * iconvdata/jis0201.h: Likewise.
67138         * include/link.h: Likewise.
67139         * include/netdb.h: Likewise.
67140         * inet/check_native.c: Likewise.
67141         * inet/check_pf.c: Likewise.
67142         * inet/getipv4sourcefilter.c: Likewise.
67143         * inet/getnameinfo.c: Likewise.
67144         * inet/getsourcefilter.c: Likewise.
67145         * inet/htonl.c: Likewise.
67146         * inet/setipv4sourcefilter.c: Likewise.
67147         * inet/setsourcefilter.c: Likewise.
67148         * inet/test-inet6_opt.c: Likewise.
67149         * inet/tst-network.c: Likewise.
67150         * locale/C-collate.c: Likewise.
67151         * locale/C-ctype.c: Likewise.
67152         * locale/C-time.c: Likewise.
67153         * locale/C-translit.h: Likewise.
67154         * locale/loadarchive.c: Likewise.
67155         * locale/programs/3level.h: Likewise.
67156         * locale/programs/charmap.c: Likewise.
67157         * locale/programs/charmap.h: Likewise.
67158         * locale/programs/ld-address.c: Likewise.
67159         * locale/programs/ld-collate.c: Likewise.
67160         * locale/programs/ld-ctype.c: Likewise.
67161         * locale/programs/ld-identification.c: Likewise.
67162         * locale/programs/ld-measurement.c: Likewise.
67163         * locale/programs/ld-messages.c: Likewise.
67164         * locale/programs/ld-monetary.c: Likewise.
67165         * locale/programs/ld-name.c: Likewise.
67166         * locale/programs/ld-numeric.c: Likewise.
67167         * locale/programs/ld-paper.c: Likewise.
67168         * locale/programs/ld-telephone.c: Likewise.
67169         * locale/programs/ld-time.c: Likewise.
67170         * locale/programs/linereader.c: Likewise.
67171         * locale/programs/locale.c: Likewise.
67172         * locale/programs/locarchive.c: Likewise.
67173         * locale/programs/locfile.h: Likewise.
67174         * locale/programs/repertoire.c: Likewise.
67175         * locale/programs/simple-hash.c: Likewise.
67176         * locale/programs/simple-hash.h: Likewise.
67177         * malloc/memusage.c: Likewise.
67178         * malloc/memusagestat.c: Likewise.
67179         * nis/nis_defaults.c: Likewise.
67180         * nis/nis_hash.c: Likewise.
67181         * nis/nis_print.c: Likewise.
67182         * nis/nis_xdr.c: Likewise.
67183         * nscd/connections.c: Likewise.
67184         * nscd/hstcache.c: Likewise.
67185         * nscd/nscd_gethst_r.c: Likewise.
67186         * nscd/nscd_getserv_r.c: Likewise.
67187         * nscd/nscd_helper.c: Likewise.
67188         * nscd/servicescache.c: Likewise.
67189         * nss/makedb.c: Likewise.
67190         * nss/nss_db/db-XXX.c: Likewise.
67191         * nss/nss_db/db-initgroups.c: Likewise.
67192         * nss/nss_db/db-netgrp.c: Likewise.
67193         * nss/nss_files/files-network.c: Likewise.
67194         * nss/nss_files/files-parse.c: Likewise.
67195         * posix/bug-regex5.c: Likewise.
67196         * posix/fnmatch_loop.c: Likewise.
67197         * posix/regcomp.c: Likewise.
67198         * posix/regexec.c: Likewise.
67199         * posix/tst-rfc3484-2.c: Likewise.
67200         * posix/tst-rfc3484-3.c: Likewise.
67201         * posix/tst-rfc3484.c: Likewise.
67202         * resolv/nss_dns/dns-canon.c: Likewise.
67203         * resolv/nss_dns/dns-network.c: Likewise.
67204         * resolv/res_init.c: Likewise.
67205         * resolv/res_mkquery.c: Likewise.
67206         * resolv/tst-aton.c: Likewise.
67207         * stdlib/cxa_atexit.c: Likewise.
67208         * stdlib/cxa_finalize.c: Likewise.
67209         * stdlib/gen-fpioconst.c: Likewise.
67210         * stdlib/strtol_l.c: Likewise.
67211         * string/tst-endian.c: Likewise.
67212         * sunrpc/auth_des.c: Likewise.
67213         * sunrpc/clnt_udp.c: Likewise.
67214         * sunrpc/rtime.c: Likewise.
67215         * sunrpc/svcauth_des.c: Likewise.
67216         * sunrpc/xdr.c: Likewise.
67217         * sunrpc/xdr_intXX_t.c: Likewise.
67218         * sunrpc/xdr_rec.c: Likewise.
67219         * sysdeps/generic/ldconfig.h: Likewise.
67220         * sysdeps/generic/ldsodefs.h: Likewise.
67221         * sysdeps/generic/memusage.h: Likewise.
67222         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67223         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
67224         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
67225         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67226         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67227         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67228         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67229         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67230         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67231         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
67232         * sysdeps/posix/getaddrinfo.c: Likewise.
67233         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67234         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67235         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67236         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67237         * sysdeps/powerpc/test-gettimebase.c: Likewise.
67238         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
67239         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
67240         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
67241         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
67242         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
67243         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
67244         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
67245         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
67246         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
67247         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
67248         * sysdeps/x86_64/dl-tls.h: Likewise.
67249         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
67250         * time/alt_digit.c: Likewise.
67251         * time/era.c: Likewise.
67252         * wcsmbs/tst-c16c32-1.c: Likewise.
67254 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
67256         * math/libm-test.inc (struct test_sincos_data): New type.
67257         (RUN_TEST_LOOP_sincos): New macro.
67258         (sincos_test_data): New variable.
67259         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
67261 2013-05-16  Richard Henderson  <rth@redhat.com>
67263         * math/atest-exp2.c (LIMB64): New macro.
67264         (CONSTSZ): New macro.
67265         (mp_exp1, mp_exp_m1, mp_log2): New variables.
67266         (hexdig): Move ...
67267         (print_mpn_fp): ... to function scope.
67268         (read_mpn_hex): Remove.
67269         (get_log2): Remove.
67270         (exp2_mpn): Use mp_log2.
67271         (main): Use mp_exp1.
67273 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
67275         * math/libm-test.inc: Remove comment about not testing "inexact"
67276         exceptions.
67277         (INEXACT_EXCEPTION): New macro.
67278         (NO_INEXACT_EXCEPTION): Likewise.
67279         (INVALID_EXCEPTION_OK): Update value.
67280         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67281         (OVERFLOW_EXCEPTION_OK): Likewise.
67282         (UNDERFLOW_EXCEPTION_OK): Likewise.
67283         (IGNORE_ZERO_INF_SIGN): Likewise.
67284         (ERRNO_UNCHANGED): Likewise.
67285         (ERRNO_EDOM): Likewise.
67286         (ERRNO_ERANGE): Likewise.
67287         (test_exceptions): Handle testing "inexact" exceptions.
67288         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
67289         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
67290         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
67291         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
67292         INEXACT_EXCEPTION.
67293         (rint_towardzero_test_data): Likewise.
67294         (rint_downward_test_data): Likewise.
67295         (rint_upward_test_data): Likewise.
67297         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
67298         with OVERFLOW_EXCEPTION.
67299         (exp10_test_data): Likewise.
67300         (exp2_test_data): Likewise.
67301         (expm1_test_data): Likewise.
67302         (lgamma_test_data): Likewise.
67303         (pow_test_data): Likewise.
67304         (tgamma_test_data): Likewise.
67305         (yn_test_data): Remove duplicate test of overflow.
67307         * math/libm-test.inc (struct test_cc_c_data): New type.
67308         (RUN_TEST_LOOP_cc_c): New macro.
67309         (cpow_test_data): New variable.
67310         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
67312         * math/libm-test.inc (struct test_f_L_data): New type.
67313         (RUN_TEST_LOOP_f_L): New macro.
67314         (llrint_test_data): New variable.
67315         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
67316         (llrint_tonearest_test_data): New variable.
67317         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
67318         (llrint_towardzero_test_data): New variable.
67319         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
67320         (llrint_downward_test_data): New variable.
67321         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
67322         (llrint_upward_test_data): New variable.
67323         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
67324         (llround_test_data): New variable.
67325         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
67327 2013-05-13  Peter Collingbourne  <pcc@google.com>
67329         * math/atest-exp2.c (get_log2): Remove const attribute.
67331 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
67333         * math/libm-test.inc (struct test_f_l_data): New type.
67334         (RUN_TEST_LOOP_f_l): New macro.
67335         (lrint_test_data): New variable.
67336         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
67337         (lrint_tonearest_test_data): New variable.
67338         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
67339         (lrint_towardzero_test_data): New variable.
67340         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
67341         (lrint_downward_test_data): New variable.
67342         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
67343         (lrint_upward_test_data): New variable.
67344         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
67345         (lround_test_data): New variable.
67346         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
67348 2013-05-15  Peter Collingbourne  <pcc@google.com>
67350         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
67351         (EXTRACT_WORDS64) Use where appropriate.
67352         (INSERT_WORDS64) Likewise.
67354         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
67355         constraints with x constraints.
67356         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
67358         * malloc/obstack.c (_obstack_compat): Add initializer.
67360 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
67362         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
67363         si_trapno and add si_addr_lsb to _sifields.sigfault.
67364         (si_trapno): Remove macro.
67365         (si_addr_lsb): Define new macro.
67366         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
67368 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
67370         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
67371         instead of TEST_f_l.
67372         (llrint_test_tonearest): Likewise.
67373         (llrint_test_towardzero): Likewise.
67374         (llrint_test_downward): Likewise.
67375         (llrint_test_upward): Likewise.
67376         (llround_test): Likewise.
67378         * math/libm-test.inc (struct test_f_i_data): Add comment.
67379         (RUN_TEST_LOOP_f_b): New macro.
67380         (RUN_TEST_LOOP_f_b_tg): Likewise.
67381         (finite_test_data): New variable.
67382         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
67383         (isfinite_test_data): New variable.
67384         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67385         (isinf_test_data): New variable.
67386         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67387         (isnan_test_data): New variable.
67388         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67389         (isnormal_test_data): New variable.
67390         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67391         (issignaling_test_data): New variable.
67392         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67393         (signbit_test_data): New variable.
67394         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67396         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
67397         with INVALID_EXCEPTION.
67398         (acosh_test_data): Likewise.
67399         (asin_test_data): Likewise.
67400         (atanh_test_data): Likewise.
67401         (fmod_test_data): Likewise.
67402         (log_test_data): Likewise.
67403         (log10_test_data): Likewise.
67404         (log2_test_data): Likewise.
67405         (pow_test_data): Likewise.
67406         (sqrt_test_data): Likewise.
67407         (y0_test_data): Likewise.
67408         (y1_test_data): Likewise.
67409         (yn_test_data): Likewise.
67411         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
67412         function contents.
67414         * math/libm-test.inc (struct test_ff_i_data): New type.
67415         (RUN_TEST_LOOP_ff_i_tg): New macro.
67416         (isgreater_test_data): New variable.
67417         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67418         (isgreaterequal_test_data): New variable.
67419         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67420         (isless_test_data): New variable.
67421         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67422         (islessequal_test_data): New variable.
67423         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67424         (islessgreater_test_data): New variable.
67425         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67426         (isunordered_test_data): New variable.
67427         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67429 2013-05-14  David S. Miller  <davem@davemloft.net>
67431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67433 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
67435         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
67437         * math/libm-test.inc (struct test_fF_f1_data): Change type of
67438         extra_test to int.
67439         (struct test_f_i_data): Change type of max_ulp to int.
67441         * math/libm-test.inc (test_ffI_f1_data): New type.
67442         (RUN_TEST_LOOP_ffI_f1): New macro.
67443         (remquo_test_data): New variable.
67444         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
67446         * setjmp/tst-setjmp-fp.c: New file.
67447         * setjmp/Makefile (tests): Add tst-setjmp-fp.
67448         (link-libm): New variable.
67449         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
67451         * math/libm-test.inc (struct test_f_i_data): New type.
67452         (RUN_TEST_LOOP_f_i): New macro.
67453         (RUN_TEST_LOOP_f_i_tg): Likewise.
67454         (fpclassify_test_data): New variable.
67455         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
67456         (ilogb_test_data): New variable.
67457         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
67459         * math/libm-test.inc (scalbln_test): Correct function name in END
67460         call.
67462         * math/libm-test.inc (struct test_f_f1_data): Add comment.
67463         (RUN_TEST_LOOP_fI_f1): New macro.
67464         (frexp_test_data): New variable.
67465         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
67467         * math/libm-test.inc (struct test_fF_f1_data): New type.
67468         (RUN_TEST_LOOP_fF_f1): New macro.
67469         (modf_test_data): New variable.
67470         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
67472         * math/libm-test.inc (struct test_f_f1_data): New type.
67473         (RUN_TEST_LOOP_f_f1): New macro.
67474         (gamma_test_data): New variable.
67475         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67476         (lgamma_test_data): New variable.
67477         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67479 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
67481         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
67482         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
67483         (main): Comment "tls" pseudo-hwcap.
67485 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
67487         * math/libm-test.inc (struct test_fl_f_data): New type.
67488         (RUN_TEST_LOOP_fl_f): New variable.
67489         (scalbln_test_data): New variable.
67490         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
67492         * math/libm-test.inc (struct test_fi_f_data): New type.
67493         (RUN_TEST_LOOP_fi_f): New macro.
67494         (ldexp_test_data): New variable.
67495         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
67496         (scalbn_test_data): New variable.
67497         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
67499         * math/libm-test.inc (struct test_c_f_data): New type.
67500         (RUN_TEST_LOOP_c_f): New macro.
67501         (cabs_test_data): New variable.
67502         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
67503         (carg_test_data): New variable.
67504         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
67505         (cimag_test_data): New variable.
67506         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
67507         (creal_test_data): New variable.
67508         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
67510         * math/libm-test.inc (struct test_if_f_data): New type.
67511         (RUN_TEST_LOOP_if_f): New macro.
67512         (jn_test_data): New variable.
67513         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
67514         (yn_test_data): New variable.
67515         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
67517         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
67519 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67521         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
67522         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
67524 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
67526         * benchtests/Makefile (CPPFLAGS-nonlib): Add
67527         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
67528         (bench-deps): Add bench-timing.h.
67529         * benchtests-bench-skeleton.c: Include bench-timing.h.
67530         (main): Use TIMING_* macros instead of clock_gettime.
67531         * benchtests/bench-timing.h: New file.
67533         [BZ #14582]
67534         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
67535         Renamed from _LIB_VERSION.
67536         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
67538 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
67540         * math/libm-test.inc (struct test_fff_f_data): New type.
67541         (RUN_TEST_LOOP_fff_f): New macro.
67542         (fma_test_data): New variable.
67543         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
67544         (fma_towardzero_test_data): New variable.
67545         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
67546         (fma_downward_test_data): New variable.
67547         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
67548         (fma_upward_test_data): New variable.
67549         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
67551         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
67552         (struct test_c_c_data): New type.
67553         (RUN_TEST_LOOP_c_c): New macro.
67554         (cacos_test_data): New variable.
67555         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
67556         (cacosh_test_data): New variable.
67557         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
67558         (casin_test_data): New variable.
67559         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
67560         (casinh_test_data): New variable.
67561         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
67562         (catan_test_data): New variable.
67563         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
67564         (catanh_test_data): New variable.
67565         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
67566         (ccos_test_data): New variable.
67567         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
67568         (ccosh_test_data): New variable.
67569         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
67570         (cexp_test_data): New variable.
67571         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
67572         (clog_test_data): New variable.
67573         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
67574         (clog10_test_data): New variable.
67575         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
67576         (conj_test_data): New variable.
67577         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
67578         (cproj_test_data): New variable.
67579         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
67580         (csin_test_data): New variable.
67581         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
67582         (csinh_test_data): New variable.
67583         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
67584         (csqrt_test_data): New variable.
67585         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
67586         (ctan_test_data): New variable.
67587         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
67588         (ctan_tonearest_test_data): New variable.
67589         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67590         (ctan_towardzero_test_data): New variable.
67591         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67592         (ctan_downward_test_data): New variable.
67593         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67594         (ctan_upward_test_data): New variable.
67595         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67596         (ctanh_test_data): New variable.
67597         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
67598         (ctanh_tonearest_test_data): New variable.
67599         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67600         (ctanh_towardzero_test_data): New variable.
67601         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67602         (ctanh_downward_test_data): New variable.
67603         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67604         (ctanh_upward_test_data): New variable.
67605         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67606         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
67607         of BUILD_COMPLEX.
67609         * math/libm-test.inc (struct test_ff_f_data): New type.
67610         (struct test_ff_f_data_nexttoward): Likewise.
67611         (RUN_TEST_LOOP_2_f): New macro.
67612         (RUN_TEST_LOOP_ff_f): Likewise.
67613         (atan2_test_data): New variable.
67614         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
67615         (copysign_test_data): New variable.
67616         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
67617         (fdim_test_data): New variable.
67618         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
67619         (fmax_test_data): New variable.
67620         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
67621         (fmin_test_data): New variable.
67622         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
67623         (fmod_test_data): New variable.
67624         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
67625         (hypot_test_data): New variable.
67626         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
67627         (nextafter_test_data): New variable.
67628         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
67629         (nexttoward_test_data): New variable.
67630         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
67631         (pow_test_data): New variable.
67632         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
67633         (pow_tonearest_test_data): New variable.
67634         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
67635         (pow_towardzero_test_data): New variable.
67636         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
67637         (pow_downward_test_data): New variable.
67638         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
67639         (pow_upward_test_data): New variable.
67640         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
67641         (remainder_test_data): New variable.
67642         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
67643         (scalb_test_data): New variable.
67644         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
67645         * sysdeps/i386/fpu/libm-test-ulps: Update.
67647 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
67649         * math/libm-test.inc (fma_test): Use max_value instead of local
67650         variable fltmax.
67651         (nextafter_test): Likewise.
67653         * math/libm-test.inc (acos_towardzero_test_data): New variable.
67654         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67655         (acos_downward_test_data): New variable.
67656         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67657         (acos_upward_test_data): New variable.
67658         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67659         (acosh_test_data): New variable.
67660         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
67661         (asin_test_data): New variable.
67662         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
67663         (asin_tonearest_test_data): New variable.
67664         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67665         (asin_towardzero_test_data): New variable.
67666         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67667         (asin_downward_test_data): New variable.
67668         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67669         (asin_upward_test_data): New variable.
67670         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67671         (asinh_test_data): New variable.
67672         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
67673         (atan_test_data): New variable.
67674         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
67675         (atanh_test_data): New variable.
67676         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
67677         (cbrt_test_data): New variable.
67678         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
67679         (ceil_test_data): New variable.
67680         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
67681         (cos_test_data): New variable.
67682         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
67683         (cos_tonearest_test_data): New variable.
67684         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67685         (cos_towardzero_test_data): New variable.
67686         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67687         (cos_downward_test_data): New variable.
67688         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67689         (cos_upward_test_data): New variable.
67690         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67691         (cosh_test_data): New variable.
67692         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
67693         (cosh_tonearest_test_data): New variable.
67694         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67695         (cosh_towardzero_test_data): New variable.
67696         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67697         (cosh_downward_test_data): New variable.
67698         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67699         (cosh_upward_test_data): New variable.
67700         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67701         (erf_test_data): New variable.
67702         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
67703         (erfc_test_data): New variable.
67704         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
67705         (exp_test_data): New variable.
67706         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
67707         (exp_tonearest_test_data): New variable.
67708         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67709         (exp_towardzero_test_data): New variable.
67710         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67711         (exp_downward_test_data): New variable.
67712         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67713         (exp_upward_test_data): New variable.
67714         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67715         (exp10_test_data): New variable.
67716         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
67717         (exp2_test_data): New variable.
67718         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
67719         (expm1_test_data): New variable.
67720         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
67721         (fabs_test_data): New variable.
67722         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
67723         (floor_test_data): New variable.
67724         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
67725         (j0_test_data): New variable.
67726         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
67727         (j1_test_data): New variable.
67728         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
67729         (log_test_data): New variable.
67730         (log_test): Run tests with RUN_TEST_LOOP_f_f.
67731         (log10_test_data): New variable.
67732         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
67733         (log1p_test_data): New variable.
67734         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
67735         (log2_test_data): New variable.
67736         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
67737         (logb_test_data): New variable.
67738         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
67739         (logb_downward_test_data): New variable.
67740         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67741         (nearbyint_test_data): New variable.
67742         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
67743         (rint_test_data): New variable.
67744         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
67745         (rint_tonearest_test_data): New variable.
67746         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67747         (rint_towardzero_test_data): New variable.
67748         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67749         (rint_downward_test_data): New variable.
67750         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67751         (rint_upward_test_data): New variable.
67752         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67753         (round_test_data): New variable.
67754         (round_test): Run tests with RUN_TEST_LOOP_f_f.
67755         (sin_test_data): New variable.
67756         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
67757         (sin_tonearest_test_data): New variable.
67758         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67759         (sin_towardzero_test_data): New variable.
67760         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67761         (sin_downward_test_data): New variable.
67762         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67763         (sin_upward_test_data): New variable.
67764         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67765         (sinh_test_data): New variable.
67766         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
67767         (sinh_tonearest_test_data): New variable.
67768         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67769         (sinh_towardzero_test_data): New variable.
67770         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67771         (sinh_downward_test_data): New variable.
67772         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67773         (sinh_upward_test_data): New variable.
67774         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67775         (sqrt_test_data): New variable.
67776         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
67777         (tan_test_data): New variable.
67778         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
67779         (tan_tonearest_test_data): New variable.
67780         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67781         (tan_towardzero_test_data): New variable.
67782         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67783         (tan_downward_test_data): New variable.
67784         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67785         (tan_upward_test_data): New variable.
67786         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67787         (tanh_test_data): New variable.
67788         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
67789         (tgamma_test_data): New variable.
67790         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
67791         (trunc_test_data): New variable.
67792         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
67793         (y0_test_data): New variable.
67794         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
67795         (y1_test_data): New variable.
67796         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
67797         (significand_test_data): New variable.
67798         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
67800 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
67802         [BZ #12387]
67803         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
67805 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67807         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
67809 2013-05-10  Andreas Jaeger  <aj@suse.de>
67811         [BZ #15448]
67812         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
67813         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
67815 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
67817         * math/gen-libm-test.pl (adjust_arg): New function.
67818         (special_functions): Handle generating output in both functions
67819         and arrays.
67820         (parse_args): Likewise.
67821         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
67822         $in_func argument to parse_args.
67823         * math/libm-test.inc (struct test_f_f_data): New type.
67824         (IF_ROUND_INIT_): New macro.
67825         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
67826         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
67827         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
67828         (IF_ROUND_INIT_FE_UPWARD): Likewise.
67829         (ROUND_RESTORE_): Likewise.
67830         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
67831         (ROUND_RESTORE_FE_TONEAREST): Likewise.
67832         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
67833         (ROUND_RESTORE_FE_UPWARD): Likewise.
67834         (RUN_TEST_LOOP_f_f): New macro.
67835         (acos_test_data): New variable.
67836         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
67837         (acos_tonearest_test_data): New variable.
67838         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67840 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67842         * benchtests/bench-skeleton.c (startup): Fix coding style.
67844 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
67846         [BZ #6809]
67847         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
67848         negative infinity argument.
67849         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
67850         negative infinity argument.
67851         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
67852         negative infinity argument.
67853         * math/libm-test.inc (tgamma_test): Expect errno to be set for
67854         domain errors.
67856 2013-05-10  Florian Weimer  <fweimer@redhat.com>
67858         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
67859         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
67860         * iconv/iconv_prog.c (main): Likewise.
67861         * locale/programs/charmap-dir.c (charmap_readdir)
67862         (fopen_uncompressed): Likewise.
67863         * locale/programs/locfile.c (siblings_uncached)
67864         (write_locale_data): Use lstat64 instead of lstat.
67865         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
67866         stat.
67868 2013-05-10  Andreas Jaeger  <aj@suse.de>
67870         [BZ #15395]
67871         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
67872         localization.
67873         Include <locale.h>.
67875 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
67877         * elf/dl-close.c (_dl_close_worker): Add comments.
67879 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
67881         [BZ #15359]
67882         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
67883         high part of pi/2.
67884         (__ieee754_rem_pio2l): Update comments.
67886         [BZ #15429]
67887         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
67888         high part of pi/2.
67889         (__ieee754_rem_pio2l): Update comments.
67891         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
67892         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
67894         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
67895         M_PI_4l.
67897         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
67898         (M_PI_34_LOG10El): Likewise.
67899         (M_PI2_LOG10El): Likewise.
67900         (M_PI4_LOG10El): Likewise.
67901         (M_PI_LOG10El): Likewise.
67903 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67907 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
67909         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
67910         (MINUS_ZERO_INIT): Likewise.
67911         (PLUS_INFTY_INIT): Likewise.
67912         (MINUS_INFTY_INIT): Likewise.
67913         (QNAN_VALUE_INIT): Likewise.
67914         (MAX_VALUE_INIT): Likewise.
67915         (MIN_VALUE_INIT): Likewise.
67916         (MIN_SUBNORM_VALUE_INIT): Likewise.
67917         (plus_zero): Initialize with PLUS_ZERO_INIT.
67918         (minus_zero): Initialize with MINUS_ZERO_INIT.
67919         (plus_infty): Initialize with PLUS_INFTY_INIT.
67920         (minus_infty): Initialize with MINUS_INFTY_INIT.
67921         (qnan_value): Initialize with QNAN_VALUE_INIT.
67922         (max_value): Initialize with MAX_VALUE_INIT.
67923         (min_value): Initialize with MIN_VALUE_INIT.
67924         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
67926         * math/libm-test.inc (RUN_TEST_if_f): New macro.
67927         (jn_test): Use TEST_if_f instead of TEST_ff_f.
67928         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
67929         (yn_test): Use TEST_if_f instead of TEST_ff_f.
67931         * math/libm-test.inc (RUN_TEST_f_f): New macro.
67932         (RUN_TEST_2_f): Likewise.
67933         (RUN_TEST_ff_f): Likewise.
67934         (RUN_TEST_fi_f): Likewise.
67935         (RUN_TEST_fl_f): Likewise.
67936         (RUN_TEST_fff_f): Likewise.
67937         (RUN_TEST_c_f): Likewise.
67938         (RUN_TEST_f_f1): Likewise.
67939         (RUN_TEST_fF_f1): Likewise.
67940         (RUN_TEST_fI_f1): Likewise.
67941         (RUN_TEST_ffI_f1): Likewise.
67942         (RUN_TEST_c_c): Likewise.
67943         (RUN_TEST_cc_c): Likewise.
67944         (RUN_TEST_f_i): Likewise.
67945         (RUN_TEST_f_i_tg): Likewise.
67946         (RUN_TEST_ff_i_tg): Likewise.
67947         (RUN_TEST_f_b): Likewise.
67948         (RUN_TEST_f_b_tg): Likewise.
67949         (RUN_TEST_f_l): Likewise.
67950         (RUN_TEST_f_L): Likewise.
67951         (RUN_TEST_sincos): Likewise.
67952         * math/gen-libm-test.pl (new_test): Take new argument to indicate
67953         whether to show exceptions.  Do not include ");\n" in return
67954         value.
67955         (special_functions): Output call to RUN_TEST_sincos instead of
67956         check_float calls.  Update calls to new_test.
67957         (parse_args): Output call to single RUN_TEST_* macro instead of
67958         check_* calls and other assignments.  Update calls to new_test.
67960         [BZ #2546]
67961         [BZ #2560]
67962         [BZ #5159]
67963         [BZ #15426]
67964         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
67965         input to result for tgamma overflow.
67966         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
67967         (gamma_coeff): New variable.
67968         (NCOEFF): New macro.
67969         (gamma_positive): New function.
67970         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
67971         underflow here.  Use gamma_positive instead of exp (lgamma) for
67972         other arguments.
67973         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
67974         (gamma_coeff): New variable.
67975         (NCOEFF): New macro.
67976         (gammaf_positive): New function.
67977         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
67978         underflow here.  Use gamma_positive instead of exp (lgamma) for
67979         other arguments.
67980         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
67981         (gamma_coeff): New variable.
67982         (NCOEFF): New macro.
67983         (gammal_positive): New function.
67984         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
67985         underflow here.  Use gamma_positive instead of exp (lgamma) for
67986         other arguments.
67987         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
67988         (gamma_coeff): New variable.
67989         (NCOEFF): New macro.
67990         (gammal_positive): New function.
67991         (__ieee754_gammal_r): Handle positive infinity, overflow and
67992         underflow here.  Handle NaN the same as positive infinity.  Remove
67993         check x < 0xffffffff for negative integers.  Use gamma_positive
67994         instead of exp (lgamma) for other arguments.
67995         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
67996         (gamma_coeff): New variable.
67997         (NCOEFF): New macro.
67998         (gammal_positive): New function.
67999         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
68000         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
68001         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
68002         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
68003         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
68004         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
68005         * sysdeps/generic/math_private.h (__gamma_productf): New
68006         prototype.
68007         (__gamma_product): Likewise.
68008         (__gamma_productl): Likewise.
68009         * math/Makefile (libm-calls): Add gamma_product.
68010         * math/libm-test.inc (tgamma_test): Add more tests.
68011         * sysdeps/i386/fpu/libm-test-ulps: Update.
68012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68014 2013-05-08  Ondƙej BĂ­lka  <neleai@seznam.cz>
68016         * benchtests/bench-skeleton.c (main): Preheat CPU.
68018 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
68020         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
68022 2013-05-07  Roland McGrath  <roland@hack.frob.com>
68024         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
68025         and _dl_skip_args_internal.
68027 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
68029         * manual/message.texi (Message Translation): Talk about users.
68030         Message to key mapping impacts design.
68032 2013-05-06  Roland McGrath  <roland@hack.frob.com>
68034         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
68036         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
68038         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
68039         * sysdeps/wordsize-64/glob64.c: ... here.
68041         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
68042         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
68043         New macros.
68045         * debug/getlogin_r_chk.c: Moved to ...
68046         * login/getlogin_r_chk.c: ... here.
68047         * debug/Makefile (routines): Move getlogin_r_chk to ...
68048         * login/Makefile (routines): ... here.
68049         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
68050         * login/Versions (libc: GLIBC_2.4): ... here.
68052         * io/poll.c (__poll): Renamed from poll.
68053         Add libc_hidden_def.
68054         (poll): Define as weak alias.
68056         * debug/ptsname_r_chk.c: Moved to ...
68057         * login/ptsname_r_chk.c: ... here.
68058         * debug/Makefile (routines): Move ptsname_r_chk to ...
68059         * login/Makefile (routines): ... here.
68060         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
68061         * login/Versions (libc: GLIBC_2.4): ... here.
68063         * posix/getlogin.c: Moved to ...
68064         * login/getlogin.c: ... here.
68065         * posix/getlogin_r.c: Moved to ...
68066         * login/getlogin_r.c: ... here.
68067         * posix/getlogin_r.c: Moved to ...
68068         * login/getlogin_r.c: ... here.
68069         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
68070         * login/Makefile (routines): ... here.
68071         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
68072         * login/Versions (libc: GLIBC_2.0): ... here.
68074         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
68075         (setrlimit): Define as weak alias.
68077         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
68078         Call __ names for open, ftruncate, and close.
68079         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
68080         (truncate): Define as weak alias.
68082 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
68084         * math/gen-libm-test.pl (parse_args): Initialize x before each
68085         test of frexp, modf and remquo.
68087         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
68088         test signgam value.
68090 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68092         [BZ #15418]
68093         [BZ #15419]
68094         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
68095         internal tests.
68096         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68098 2013-05-06  Roland McGrath  <roland@hack.frob.com>
68100         * elf/dl-writev.h: New file.
68101         * elf/dl-misc.c: Include it.
68102         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
68103         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
68105 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
68107         * math/libm-test.inc (noXFails): Remove variable.
68108         (noXPasses): Likewise.
68109         (BUILD_COMPLEX_INT): Remove macro.
68110         (print_screen): Remove xfail argument.
68111         (print_screen_max_error): Likewise.
68112         (update_stats): Likewise.
68113         (print_max_error): Likewise.  Update calls to other affected
68114         functions.
68115         (print_complex_max_error): Likewise.
68116         (test_single_exception): Update calls to print_screen.
68117         (test_single_errno): Likewise.
68118         (check_float_internal): Remove xfail argument.  Update calls to
68119         other affected functions.
68120         (check_float): Likewise.
68121         (check_complex): Likewise.
68122         (check_int): Likewise.
68123         (check_long): Likewise.
68124         (check_bool): Likewise.
68125         (check_longlong): Likewise.
68126         (main): Don't print noXFails and noXPasses.
68127         * math/gen-libm-test.pl (top level): Don't mention expected
68128         failure handling in comment.
68129         (new_test): Don't handle expected failures.
68130         (parse_args): Don't mention expected failure handling in comment.
68131         (generate_testfile): Don't handle expected failures.
68132         (parse_ulps): Likewise.
68133         (print_ulps_file): Likewise.
68134         (get_failure): Remove function.
68135         (output_test): Don't handle expected failures.
68136         * make/README.libm-test: Don't mention expected failure handling.
68138         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
68139         (minus_zero): Likewise.
68140         (plus_infty): Likewise.
68141         (minus_infty): Likewise.
68142         (qnan_value): Likewise.
68143         (max_value): Likewise.
68144         (min_value): Likewise.
68145         (min_subnorm_value): Likewise.
68146         (initialize): Do not initialize those variables dynamically.
68148 2013-05-03  Roland McGrath  <roland@hack.frob.com>
68150         * io/open.c (__open_2): Moved to ...
68151         * io/open_2.c: ... this new file.
68152         * io/open64.c (__open64_2): Moved to ...
68153         * io/open64_2.c: ... this new file.
68154         * io/openat.c (__openat_2): Moved to ...
68155         * io/openat_2.c: ... this new file.
68156         * io/openat64.c (__openat64_2): Moved to ...
68157         * io/openat64_2.c: ... this new file.
68158         * io/Makefile (routines): Add them.
68159         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
68160         * sysdeps/unix/sysv/linux/open_2.c: File removed.
68161         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
68162         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
68163         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
68164         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
68165         (__openat64): Add hidden_ver.
68166         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
68167         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
68169         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
68170         Separately conditionalize setting of GLRO(dl_sysinfo) so
68171         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
68172         as well, but the actual setting is only under [NEED_DL_SYSINFO].
68174 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68176         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
68177         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
68178         definition.
68179         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
68180         * sysdeps/unix/sysv/linux/powerpc/init-first.c
68181         (_libc_vdso_platform_setup): Add __vdso_time initialization.
68182         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
68183         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
68185 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
68187         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
68188         test signgam value.
68190         * math/libm-test.inc (hypot_test): Do not use
68191         IGNORE_ZERO_INF_SIGN.
68193 2013-05-03  Andreas Jaeger  <aj@suse.de>
68195         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
68196         Linux 3.9.
68197         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
68198         (PF_MAX): Adjust for VSOCK change.
68200 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68204 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
68206         [BZ #15264]
68207         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
68208         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
68209         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
68211 2013-05-02  David S. Miller  <davem@davemloft.net>
68213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68215 2013-05-01  Ondƙej BĂ­lka  <neleai@seznam.cz>
68217         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
68219 2013-05-01  Roland McGrath  <roland@hack.frob.com>
68221         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
68223 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
68225         [BZ #14952]
68226         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
68227         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68228         Use __attribute__ ((__gnu_inline__)).
68229         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68230         Don't use __attribute__ ((__gnu_inline__)).
68232 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
68234         [BZ #15423]
68235         * math/s_catan.c (__catan): Handle small real or imaginary part of
68236         input specially to avoid spurious underflow.
68237         * math/s_catanf.c (__catanf): Likewise.
68238         * math/s_catanh.c (__catanh): Likewise.
68239         * math/s_catanhf.c (__catanhf): Likewise.
68240         * math/s_catanhl.c (__catanhl): Likewise.
68241         * math/s_catanl.c (__catanl): Likewise.
68242         * math/libm-test.inc (catan_test): Add more tests.
68243         (catanh_test): Likewise.
68244         * sysdeps/i386/fpu/libm-test-ulps: Update.
68245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68247 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68249         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68251 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
68253         [BZ #15416]
68254         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
68255         accurately for denominator in atan2.
68256         * math/s_catanf.c (__catanf): Likewise.
68257         * math/s_catanh.c (__catanh): Likewise.
68258         * math/s_catanhf.c (__catanhf): Likewise.
68259         * math/s_catanhl.c (__catanhl): Likewise.
68260         * math/s_catanl.c (__catanl): Likewise.
68261         * math/libm-test.inc (catan_test): Add more tests.
68262         (catanh_test): Likewise.
68263         * sysdeps/i386/fpu/libm-test-ulps: Update.
68264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68266 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68268         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
68270         * benchtests/Makefile (bench): Remove slow benchmarks.
68271         * benchtests/atan-inputs: Add slow benchmark inputs.
68272         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
68273         (BENCH_FUNC): Accept variant offset.
68274         (VARIANT): Define.
68275         * benchtests/bench-skeleton.c (main): Run benchmark for each
68276         variant.
68277         * benchtests/cos-inputs: Add slow benchmark inputs.
68278         * benchtests/exp-inputs: Likewise.
68279         * benchtests/pow-inputs: Likewise.
68280         * benchtests/sin-inputs: Likewise.
68281         * benchtests/slowatan-inputs: Remove.
68282         * benchtests/slowatan.c: Remove.
68283         * benchtests/slowcos-inputs: Remove.
68284         * benchtests/slowcos.c: Remove.
68285         * benchtests/slowexp-inputs: Remove.
68286         * benchtests/slowexp.c: Remove.
68287         * benchtests/slowpow-inputs: Remove.
68288         * benchtests/slowpow.c: Remove.
68289         * benchtests/slowsin-inputs: Remove.
68290         * benchtests/slowsin.c: Remove.
68291         * benchtests/slowtan-inputs: Remove.
68292         * benchtests/slowtan.c: Remove.
68293         * benchtests/tan-inputs: Add slow benchmark inputs.
68294         * scripts/bench.pl: Parse comments and directives.
68296         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
68297         in CPPFLAGS.
68298         ($(objpfx)bench-%.c): Remove *-ITER.
68299         * benchtests/bench-modf.c: Remove definition of ITER.
68300         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
68301         (main): Loop for DURATION seconds instead of fixed number of
68302         iterations.
68303         * scripts/bench.pl: Don't expect iterations in parameters.
68305 2013-04-29  Roland McGrath  <roland@hack.frob.com>
68307         * io/fchdir.c (__fchdir): Renamed from fchdir.
68308         (fchdir): Define as weak alias.
68310 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
68312         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
68313         (ERRNO_EDOM): Likewise.
68314         (ERRNO_ERANGE): Likewise.
68315         (noErrnoTests): New variable.
68316         (init_max_error): Set errno to 0.
68317         (test_single_errno): New function.
68318         (test_errno): Likewise.
68319         (check_float_internal): Call test_errno.  Set errno to 0.
68320         (check_complex): Refer to errno tests in comment.
68321         (check_int): Call test_errno.  Set errno to 0.
68322         (check_long): Likewise.
68323         (check_bool): Likewise.
68324         (check_longlong): Likewise.
68325         (cos_test): Use ERRNO_* flags for errno tests instead of
68326         check_int.
68327         (expm1_test): Likewise.
68328         (fmod_test): Likewise.
68329         (ilogb_test): Likewise.
68330         (lgamma_test): Likewise.
68331         (pow_test): Likewise.
68332         (remainder_test): Likewise.
68333         (sin_test): Likewise.
68334         (tan_test): Likewise.
68335         (yn_test): Likewise.
68336         (initialize): Set errno to 0.
68337         (main): Print number of errno tests.
68338         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
68340 2013-04-29  Andreas Jaeger  <aj@suse.de>
68342         [BZ #15084]
68343         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
68344         and RES_USEVC.
68346         [BZ #15085]
68347         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
68348         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
68349         unimplemented.
68351         [BZ #15380]
68352         * stdlib/random.c (__initstate): Return NULL if
68353         __initstate fails.
68355         [BZ #15086]
68356         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
68357         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
68358         RES_SNGLKUPREOP.
68360 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68364 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
68366         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
68367         of individual tests.
68368         (casin_test): Likewise.
68369         (casinh_test): Likewise.
68371 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
68373         [BZ #15409]
68374         * math/s_catan.c (__catan): Handle arguments with large real or
68375         imaginary part separately without squaring.
68376         * math/s_catanf.c (__catanf): Likewise.
68377         * math/s_catanh.c (__catanh): Likewise.
68378         * math/s_catanhf.c (__catanhf): Likewise.
68379         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68380         and redefine.
68381         (__catanhl): Handle arguments with large real or imaginary part
68382         separately without squaring.
68383         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68384         and redefine.
68385         (__catanl): Handle arguments with large real or imaginary part
68386         separately without squaring.
68387         * math/libm-test.inc (catan_test): Add more tests.
68388         (catanh_test): Likewise.
68389         * sysdeps/i386/fpu/libm-test-ulps: Update.
68390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68392 2013-04-27  Andreas Jaeger  <aj@suse.de>
68394         [BZ #15007]
68395         * stdlib/stdlib.h: Update guards for qecvt.
68396         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
68397         <stdlib.h>.
68399 2013-04-27  Allan McRae  <allan@archlinux.org>
68401         * sysdeps/i386/fpu/libm-test-ulps: Update.
68403 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
68405         [BZ #15406]
68406         * math/s_catan.c: Include <float.h>.
68407         (__catan): Ensure underflow exception occurs for underflowed
68408         result.
68409         * math/s_catanf.c: Include <float.h>.
68410         (__catanf): Ensure underflow exception occurs for underflowed
68411         result.
68412         * math/s_catanh.c: Include <float.h>.
68413         (__catanh): Ensure underflow exception occurs for underflowed
68414         result.
68415         * math/s_catanhf.c: Include <float.h>.
68416         (__catanhf): Ensure underflow exception occurs for underflowed
68417         result.
68418         * math/s_catanhl.c: Include <float.h>.
68419         (__catanhl): Ensure underflow exception occurs for underflowed
68420         result.
68421         * math/s_catanl.c: Include <float.h>.
68422         (__catanl): Ensure underflow exception occurs for underflowed
68423         result.
68424         * math/libm-test.inc (catan_test): Add more tests.
68425         (catanh_test): Likewise.
68427         [BZ #15405]
68428         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
68429         underflowed result.
68430         * math/s_ccoshf.c (__ccoshf): Likewise.
68431         * math/s_ccoshl.c (__ccoshl): Likewise.
68432         * math/s_csin.c (__csin): Likewise.
68433         * math/s_csinf.c (__csinf): Likewise.
68434         * math/s_csinh.c (__csinh): Likewise.
68435         * math/s_csinhf.c (__csinhf): Likewise.
68436         * math/s_csinhl.c (__csinhl): Likewise.
68437         * math/s_csinl.c (__csinl): Likewise.
68438         * math/libm-test.inc (ccos_test): Add more tests.
68439         (ccosh_test): Likewise.
68440         (csin_test): Likewise.
68441         (csinh_test): Likewise.
68443 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68445         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
68446         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
68447         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
68448         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
68449         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
68450         powerpc/power5+/fpu folders.
68451         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
68454 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
68456         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68458 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
68460         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
68461         additions to variable.
68462         [$(config-machine) = x86_64] (modules-names): Likewise.
68463         ($(objpfx)tst-audit3): Remove dependency.
68464         ($(objpfx)tst-audit3.out): Likewise.
68465         ($(objpfx)tst-audit4): Likewise.
68466         ($(objpfx)tst-audit4.out): Likewise.
68467         ($(objpfx)tst-audit5): Likewise.
68468         ($(objpfx)tst-audit5.out): Likewise.
68469         ($(objpfx)tst-audit6): Likewise.
68470         ($(objpfx)tst-audit6.out): Likewise.
68471         ($(objpfx)tst-audit7): Likewise.
68472         ($(objpfx)tst-audit7.out): Likewise.
68473         (tst-audit3-ENV): Remove variable.
68474         (tst-audit4-ENV): Likewise.
68475         (tst-audit5-ENV): Likewise.
68476         (tst-audit6-ENV): Likewise.
68477         (tst-audit7-ENV): Likewise.
68478         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
68479         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
68480         addition to variable.
68481         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
68482         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
68483         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
68484         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
68485         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
68486         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
68487         tst-audit3, tst-audit4 and tst-audit5.
68488         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
68489         tst-audit6 and tst-audit7.
68490         [$(subdir) = elf] (modules-names): Add audit modules for those
68491         tests.
68492         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
68493         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
68494         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
68495         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
68496         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
68497         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
68498         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
68499         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
68500         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
68501         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
68502         [$(subdir) = elf] (tst-audit3-ENV): New variable.
68503         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
68504         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
68505         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
68506         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
68507         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
68508         Likewise.
68509         [$(subdir) = elf && $(config-cflags-avx) = yes]
68510         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
68511         [$(subdir) = elf && $(config-cflags-avx) = yes]
68512         (CFLAGS-tst-auditmod4a.c): Likewise.
68513         [$(subdir) = elf && $(config-cflags-avx) = yes]
68514         (CFLAGS-tst-auditmod4b.c): Likewise.
68515         [$(subdir) = elf && $(config-cflags-avx) = yes]
68516         (CFLAGS-tst-auditmod6b.c): Likewise.
68517         [$(subdir) = elf && $(config-cflags-avx) = yes]
68518         (CFLAGS-tst-auditmod6c.c): Likewise.
68519         [$(subdir) = elf && $(config-cflags-avx) = yes]
68520         (CFLAGS-tst-auditmod7b.c): Likewise.
68521         * elf/tst-audit3.c: Move to ...
68522         * sysdeps/x86_64/tst-audit3.c: ... here.
68523         * elf/tst-audit4.c: Move to ...
68524         * sysdeps/x86_64/tst-audit4.c: ... here.
68525         * elf/tst-audit5.c: Move to ...
68526         * sysdeps/x86_64/tst-audit5.c: ... here.
68527         * elf/tst-audit6.c: Move to ...
68528         * sysdeps/x86_64/tst-audit6.c: ... here.
68529         * elf/tst-audit7.c: Move to ...
68530         * sysdeps/x86_64/tst-audit7.c: ... here.
68531         * elf/tst-auditmod3a.c: Move to ...
68532         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
68533         * elf/tst-auditmod3b.c: Move to ...
68534         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
68535         * elf/tst-auditmod4a.c: Move to ...
68536         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
68537         * elf/tst-auditmod4b.c: Move to ...
68538         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
68539         * elf/tst-auditmod5a.c: Move to ...
68540         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
68541         * elf/tst-auditmod5b.c: Move to ...
68542         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
68543         * elf/tst-auditmod6a.c: Move to ...
68544         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
68545         * elf/tst-auditmod6b.c: Move to ...
68546         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
68547         * elf/tst-auditmod6c.c: Move to ...
68548         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
68549         * elf/tst-auditmod7a.c: Move to ...
68550         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
68551         * elf/tst-auditmod7b.c: Move to ...
68552         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
68554 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
68556         [BZ #15366]
68557         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
68558         define unconditionally.
68559         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
68560         define unconditionally.
68561         (INT8_C, INT16_C, etc.): Likewise.
68563 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
68565         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
68566         __ehdr_start with hidden visibility.
68568         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
68570 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
68572         * math/libm-test.inc (cos_test): Use accurate hex constants.
68573         (sincost_test): Likewise.
68575 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
68577         * math/libm-test.inc (catan_test): Add more tests.
68578         (catanh_test): Likewise.
68580         * math/s_catanf.c (__catanf): Use suffixed floating-point
68581         constants.
68582         * math/s_catanhf.c (__catanhf): Likewise.
68583         * math/s_catanhl.c (__catanhl): Likewise.
68584         * math/s_catanl.c (__catanl): Likewise.
68586         [BZ #15394]
68587         * math/s_catan.c (__catan): Calculate imaginary part of result
68588         with log1p not log unless computing log of number close to 0.
68589         * math/s_catanf.c (__catanf): Likewise.
68590         * math/s_catanl.c (__catanl): Likewise.
68591         * math/s_catanh.c (__catanh): Calculate real part of result with
68592         log1p not log unless computing log of number close to 0.
68593         * math/s_catanhf.c (__catanhf): Likewise.
68594         * math/s_catanhl.c (__catanhl): Likewise.
68595         * math/libm-test.inc (catan_test): Add more tests.
68596         (catanh_test): Likewise.
68597         * sysdeps/i386/fpu/libm-test-ulps: Update.
68598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68600 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
68602         * benchtests/Makefile: Mention files in which fast and slow
68603         paths of math functions are implemented.
68605 2013-04-23  Roland McGrath  <roland@hack.frob.com>
68607         * sysdeps/posix/timespec_get.c: New file.
68609 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68611         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
68612         POWER.
68613         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
68614         for POWER.
68615         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
68616         powerpc/power5/fpu folders.
68617         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
68618         * benchtests/Makefile: Add modf testcase.
68619         * benchtests/bench-modf.c: New file: Benchmark test for mo
68621 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
68623         [BZ #14888]
68624         * time/Makefile (tests): Add tst-strptime-whitespace.
68625         * time/strptime_l.c (get_number): Use ISSPACE.
68626         (__strptime_internal): Likewise.
68627         * time/tst-strptime-whitespace.c: New test case.
68629 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
68631         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
68632         member.
68633         (_nss_files_init): Set it here.
68635 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
68637         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
68638         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
68639         unsigned.
68641 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
68643         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
68645 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
68647         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
68648         size just once.
68650 2013-04-21  David S. Miller  <davem@davemloft.net>
68652         * po/ru.po: Update Russion translation from translation project.
68654 2013-04-17  Adam Conrad  <adconrad@0c3.net>
68656         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
68657         and setfsgid.
68659 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
68661         * configure.in: Remove i386 configure warning. Remove i386 case.
68662         * configure: Regenerate.
68663         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
68664         Add example to error message.
68665         * sysdeps/i386/configure: Regenerate.
68667 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
68669         * benchtests/Makefile (bench): Add cos, tan, slowcos and
68670         slowtan.
68671         * benchtests/cos-inputs: New file.
68672         * benchtests/slowcos-inputs: New file.
68673         * benchtests/slowcos.c: New file.
68674         * benchtests/slowtan-inputs: New file.
68675         * benchtests/slowtan.c: New file.
68676         * benchtests/tan-inputs: New file.
68678 2013-04-16  Roland McGrath  <roland@hack.frob.com>
68680         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
68681         considered kosher.
68683 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68685         * benchtests/Makefile: Include cppflags-iterator.mk to add
68686         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
68688         * Makefile.in (bench-clean): New target.
68689         * benchtests/Makefile (bench-clean): Likewise.
68691 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
68693         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
68695 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
68697         * stdio-common/tstdiomisc.c: Fix coding-style violation.
68699 2013-04-15  Andreas Schwab  <schwab@suse.de>
68701         * nscd/grpcache.c (cache_addgr): Properly check for short write.
68702         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68703         * nscd/pwdcache.c (cache_addpw): Likewise.
68704         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
68705         more than recsize.
68707 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68709         * benchtests/Makefile (bench): Write all output to
68710         bench-out.tmp together.
68712 2013-04-15  Andreas Schwab  <schwab@suse.de>
68714         * nscd/nscd.c (main): Don't fork again after closing files.
68716 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68718         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
68720         * benchtests/Rules (bench-deps): Collect dependencies into a
68721         single variable.  Add Makefile to dependencies.
68722         ($(objpfx)bench-%.c): Depend on bench-deps.
68724 2013-04-12  Roland McGrath  <roland@hack.frob.com>
68725             Xavier Roche  <roche+kml2@exalead.com>
68727         [BZ #15361]
68728         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
68729         just that it's a file descriptor.
68730         * manual/llio.texi (Synchronizing AIO Operations): Update description
68731         for EBADF error from aio_fsync.
68733 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
68735         * Rules (bench): Move target definition...
68736         * benchtests/Makefile: ... here.
68738 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
68740         * math/libm-test.inc (cos_test): Fix PI/2 test.
68741         (sincos_test): Likewise.
68742         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
68743         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
68745 2013-04-11  Andreas Schwab  <schwab@suse.de>
68747         [BZ #13988]
68748         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
68749         accept exponent character only when digits were seen.
68750         * stdio-common/Makefile (tests): Add bug26.
68751         * stdio-common/bug26.c: New file.
68753         [BZ #14293]
68754         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
68755         non-freeable.
68757 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
68759         * Makeconfig (rtld-prefix): Define built linker prefix.
68760         * Rules (run-bench): Use it.
68761         * math/Makefile (run-regen-ulps): Likewise.
68763         * Rules (bench): Remove eval.
68765 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68766             Roland McGrath  <roland@hack.frob.com>
68767             Ondrej Bilka  <neleai@seznam.cz>
68769         [BZ #15346]
68770         * time/getdate.c: Include ctype.h and alloca.h.
68771         (__getdate_r): Trim leading and trailing spaces of input.
68772         * time/tst-getdate.c (tests): Add tests with leading and
68773         trailing spaces.
68775 2013-04-08  Roland McGrath  <roland@hack.frob.com>
68777         [BZ #14280]
68778         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
68779         when computing value.
68781 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68783         * math/README.libm-test (How can I generate "libm-test-ulps"?):
68784         Use testrun.sh to run libm tests.
68786         [BZ #15309]
68787         * elf/dl-open.c (dl_open_worker): memset all of seen array.
68789 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
68791         [BZ #15264]
68792         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
68794 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68796         * Makefile.in (regen-ulps): New target.
68797         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
68798         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
68799         [ifneq (no,$(PERL)] (regen-ulps): New target.
68800         [ifeq (no,$(PERL)] (regen-ulps): New target.
68801         * math/libm-test.inc (ulps_file_name): Define.
68802         (output_dir): New variable.
68803         (options): Add "output-dir" option.
68804         (parse_opt): Handle 'o' case.
68805         (main): If output_dir is non-NULL use it as a prefix
68806         otherwise use "".
68807         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
68809 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68811         [BZ #10060, #10062]
68812         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
68813         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
68814         fail configure if __sync_val_compare_and_swap is not inlined.
68815         * sysdeps/i386/configure: Regenerate.
68816         * configure.in: Build for i686 when configured for i386.
68817         * configure: Regenerate.
68818         * README: Remove i386 reference.
68820 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68822         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
68823         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68825 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68827         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
68828         (lmsnanval): New variables.
68829         (F): Add conversion tests.
68830         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
68831         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
68833         * stdio-common/tstdiomisc.c (F): Properly collect individual
68834         tests' results.
68836         [BZ #14686, #15336]
68837         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
68838         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
68839         Instead, use input NaN values or generate a qNaN by arithmetic
68840         operation.  Also fix bugs to comply with the standard.
68841         * math/libm-test.inc (remainder_test): Add more tests.
68843         [BZ #15335, #15342]
68844         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
68845         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
68846         input NaN values or generate a qNaN by arithmetic operation.
68848         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
68849         unreachable code.
68851         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
68852         definitions.
68854 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
68856         [BZ #14478]
68857         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
68858         underflowed result.
68859         * math/s_cexpf.c (__cexpf): Likewise.
68860         * math/s_cexpl.c (__cexpl): Likewise.
68861         * math/libm-test.inc (cexp_test): Add more tests.
68863 2013-04-03  Andreas Schwab  <schwab@suse.de>
68865         [BZ #15330]
68866         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
68867         order arrays from heap if bigger than alloca cutoff.
68869 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
68871         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
68872         (SNAN_TESTS_double): Refer to GCC PR56831.
68873         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
68874         GCC PR56828.
68876 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
68878         * Rules (bench): Move bench.out after the run is complete.
68880         * Rules (bench): Echo currently running benchmark.
68882         * benchtests/Makefile (bench): Add atan and slowatan.
68883         * benchtests/atan-inputs: New file.
68884         * benchtests/slowatan-inputs: New file.
68885         * benchtests/slowatan.c: New file.
68887         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
68888         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
68889         its value.
68891         [BZ #15305]
68892         * sysdeps/unix/sysv/linux/kernel-features.h
68893         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
68894         __ASSUME_XFS_RESTRICTED_CHOWN.
68895         * sysdeps/unix/sysv/linux/pathconf.c
68896         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
68897         Save and restore errno.
68899 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
68901         [BZ #15327]
68902         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
68903         arguments using __kernel_casinh.
68904         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
68905         arguments using __kernel_casinhf.
68906         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
68907         arguments using __kernel_casinhl.
68908         * math/libm-test.inc (cacosh_test): Add more tests.
68909         * sysdeps/i386/fpu/libm-test-ulps: Update.
68910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68912 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
68914         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
68915         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
68917         * bench/Makefile (bench): Add sin and slowsin.
68918         * benchtests/sin-inputs: New file.
68919         * benchtests/slowsin-inputs: New file.
68920         * benchtests/slowsin.c: New file.
68922         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
68923         (bench): Add slowexp and slowpow.
68924         (exp-ITER): Increase iterations.
68925         (pow-ITER): Likewise.
68926         * benchtests/exp-inputs: Change input.
68927         * benchtests/pow-inputs: Likewise.
68928         * benchtests/slowexp-inputs: New file.
68929         * benchtests/slowexp.c: New file.
68930         * benchtests/slowpow-inputs: New file.
68931         * benchtests/slowpow.c: New file.
68933 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68935         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
68936         instructions.
68937         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68938         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
68939         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
68940         * benchtests/Makefile: Add rint benchtest.
68941         * benchtests/rint-inputs: Input for rint benchtest.
68943 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68945         * Versions.def (libm): Add GLIBC_2.18.
68946         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
68947         hidden libm prototypes.
68948         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
68949         * math/Makefile (libm-calls): Add s_issignaling.
68950         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
68951         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
68952         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
68953         declaration.
68954         * math/math.h [__USE_GNU] (issignaling): New macro.
68955         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
68956         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
68957         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
68958         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
68959         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
68960         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
68961         * manual/arith.texi (issignaling): New section.
68962         * manual/libm-err-tab.pl (@all_functions): Update comment.
68963         * math/gen-libm-test.pl (parse_args): Apply special handling for
68964         issignaling.
68965         * math/libm-test.inc (print_float, issignaling_test): New
68966         functions.
68967         (check_float_internal): Add issignaling checks.
68968         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
68969         default definition.
68970         * sysdeps/powerpc/math-tests.h: New file.
68971         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
68972         tests.
68973         * math/test-snan.c (TEST_FUNC): Likewise.
68975 2013-03-30  David S. Miller  <davem@davemloft.net>
68977         * po/de.po: Update from translation team.
68979 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
68981         [BZ #10357]
68982         * math/k_casinh.c (__kernel_casinh): Handle arguments with
68983         imaginary part less than 1.0 and real part less than 0.5
68984         specially.
68985         * math/k_casinhf.c (__kernel_casinhf): Likewise.
68986         * math/k_casinhl.c (__kernel_casinhl): Likewise.
68987         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
68988         (cacos_test): Add more tests.
68989         (casin_test): Likewise.
68990         (casinh_test): Likewise.
68991         * sysdeps/i386/fpu/libm-test-ulps: Update.
68992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68994 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
68996         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
68997         ONE with its value.
68999         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
69000         (__pow_mp): Replace ONE and MONE with their values.
69001         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69002         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
69003         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69004         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
69005         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69006         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69008         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
69010         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
69011         (__pow_mp): Replace ZERO and MZERO with their values.
69012         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
69013         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69014         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69015         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
69016         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69017         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
69018         (__sqr): Likewise.
69020         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
69022         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
69024 2013-03-28  Roland McGrath  <roland@hack.frob.com>
69026         * include/stdlib.h [!SHARED] (__call_tls_dtors):
69027         Declare with __attribute__ ((weak)).
69028         * stdlib/exit.c (__libc_atexit) [!SHARED]:
69029         Call __call_tls_dtors only if it's not NULL.
69031 2013-03-28  Roland McGrath  <roland@hack.frob.com>
69033         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
69034         didn't do it already, then set _dl_phdr and _dl_phnum based on the
69035         magic __ehdr_start linker symbol if it's defined.
69036         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
69037         them up here if it was already done.
69039         * elf/dl-support.c (_dl_phdr): Make pointer to const.
69040         (_dl_aux_init): Use const in cast when setting it.
69041         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
69042         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
69043         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
69045         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
69046         Declare them here.
69047         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
69048         * csu/libc-tls.c: Nor here.
69049         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
69051         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
69052         (__libc_message): Never call vsyslog.
69054 2013-03-28  Alan Modra  <amodra@gmail.com>
69056         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
69057         Define as empty.
69058         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
69059         Likewise.
69061 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69063         [BZ #15214]
69064         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
69065         underflow.
69066         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69068 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69070         [BZ #15304]
69071         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
69072         Don't add gid passed as argument.
69074         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
69076 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
69078         [BZ #15307]
69079         * math/k_casinh.c (__kernel_casinh): Handle arguments with
69080         imaginary part between 1.0 and 1.5 and real part less than 0.5
69081         specially.
69082         * math/k_casinhf.c (__kernel_casinhf): Likewise.
69083         * math/k_casinhl.c (__kernel_casinhl): Likewise.
69084         * math/libm-test.inc (cacos_test): Add more tests.
69085         (casin_test): Likewise.
69086         (casinh_test): Likewise.
69087         * sysdeps/i386/fpu/libm-test-ulps: Update.
69088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69090 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69092         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
69093         constants.
69094         (norm): Likewise.
69095         (denorm): Likewise.
69096         (__dbl_mp): Likewise.
69097         (add_magnitudes): Likewise.
69098         (sub_magnitudes): Likewise.
69099         (__add): Likewise.
69100         (__sub): Likewise.
69101         (__mul): Likewise.
69102         (__sqr): Likewise.
69103         (__inv): Likewise.
69104         (__dvd): Likewise.
69106         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
69107         commented code.
69108         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
69109         (__dubcos): Likewise.
69110         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
69111         (__ieee754_acos): Likewise.
69112         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
69113         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
69114         (__exp1): Likewise.
69115         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69116         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69117         (log1): Likewise.
69118         (my_log2): Likewise.
69119         (checkint): Likewise.
69120         * sysdeps/ieee754/dbl-64/e_remainder.c
69121         (__ieee754_remainder): Likewise.
69122         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69123         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
69124         (bsloww): Likewise.
69125         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69127         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69128         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
69129         MANTISSA_STORE_T to store computations on mantissa.  Use
69130         macros for rounding and division.
69131         (denorm): Likewise.
69132         (__dbl_mp): Likewise.
69133         (add_magnitudes): Likewise.
69134         (sub_magnitudes): Likewise.
69135         (__mul): Likewise.
69136         (__sqr): Likewise.
69137         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
69138         powers of two in terms of TWOPOW macro.
69139         (mp_no): Make type of mantissa as MANTISSA_T.
69140         [!RADIXI]: Define RADIXI.
69141         [!TWO52]: Define TWO52.
69142         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69144 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69146         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
69147         llroundl symbol when building for PPC32.
69149 2013-03-24  Mark H Weaver  <mhw@netris.org>
69151         * manual/arith.texi (Normalization Functions): Fix prototypes for
69152         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
69154 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69156         [BZ #13889]
69157         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
69158         high value to check if expl overflow.
69159         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
69160         to check for underflow and overflow.
69161         * math/libm-test.inc: Add exp test.
69163 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
69165         [BZ #11120]
69166         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
69167         with NOT_IN_libc.
69169 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69171         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
69172         symbol.
69174 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69176         * math/gen-libm-test.pl (parse_args, special_functions): Properly
69177         wrap blocks consisting of several statements.
69179         * sysdeps/generic/math-tests.h: New file.
69180         * sysdeps/i386/fpu/math-tests.h: Likewise.
69181         * math/test-snan.c: Include it.
69182         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
69184 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
69186         [BZ #15285]
69187         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
69188         (__ieee754_j0l): Do not improve calculations using cos of twice
69189         input for inputs above LDBL_MAX / 2.0L.
69190         (__ieee754_y0l): Likewise.
69191         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
69192         (__ieee754_j1l): Do not improve calculations using cos of twice
69193         input for inputs above LDBL_MAX / 2.0L.
69194         (__ieee754_y1l): Likewise.
69195         * math/libm-test.inc (j0_test): Add another test.
69196         (j1_test): Likewise.
69197         (y0_test): Likewise.
69198         (y1_test): Likewise.
69199         * sysdeps/i386/fpu/libm-test-ulps: Update.
69201 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69203         * Rules ($(objpfx)bench-%.c): Include code from a C source
69204         file.
69206 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
69208         [BZ #15287]
69209         * math/k_casinh.c (__kernel_casinh): Handle arguments with
69210         imaginary part 1.0 and real part less than 0.5 specially.
69211         * math/k_casinhf.c (__kernel_casinhf): Likewise.
69212         * math/k_casinhl.c (__kernel_casinhl): Likewise.
69213         * math/libm-test.inc (cacos_test): Add more tests.
69214         (casin_test): Likewise.
69215         (casinh_test): Likewise.
69216         * sysdeps/i386/fpu/libm-test-ulps: Update.
69217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69219 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69221         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
69222         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
69224 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
69226         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
69227         * config.make.in (config-cflags-sse4): Remove variable.
69228         (config-cflags-avx): Likewise.
69229         (config-cflags-sse2avx): Likewise.
69230         (config-cflags-novzeroupper): Likewise.
69231         (config-asflags-i686): Likewise.
69232         (have-mfma4): Likewise.
69233         (have-as-vis3): Likewise.
69234         (MIG): Likewise.
69235         * configure.in (MIG): Do not AC_SUBST.
69236         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
69237         (libc_cv_cc_sse4): Do not AC_SUBST.
69238         (libc_cv_cc_avx): Likewise.
69239         (libc_cv_cc_sse2avx): Likewise.
69240         (libc_cv_cc_novzeroupper): Likewise.
69241         (libc_cv_cc_fma4): Likewise.
69242         (libc_cv_as_i686): Likewise.
69243         (libc_cv_sparc_as_vis3): Likewise.
69244         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
69245         LIBC_CONFIG_VAR.
69246         (config-asflags-i686): Likewise.
69247         (config-cflags-avx): Likewise.
69248         (config-cflags-sse2avx): Likewise.
69249         (have-mfma4): Likewise.
69250         (config-cflags-novzeroupper): Likewise.
69251         * sysdeps/mach/configure.in (MIG): Likewise.
69252         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
69253         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
69254         LIBC_CONFIG_VAR.
69255         (config-cflags-avx): Likewise.
69256         (config-cflags-sse2avx): Likewise.
69257         (have-mfma4): Likewise.
69258         (config-cflags-novzeroupper): Likewise.
69259         * configure: Regenerated.
69260         * sysdeps/i386/configure: Likewise.
69261         * sysdeps/mach/configure: Likewise.
69262         * sysdeps/sparc/configure: Likewise.
69263         * sysdeps/x86_64/configure: Likewise.
69265 2013-03-20  Roland McGrath  <roland@hack.frob.com>
69267         [BZ #14812]
69268         * locale/programs/localedef.c (options): Put N_ translation marker
69269         on argument names, not just descriptions.
69271 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69273         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
69275 2013-03-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
69277         [BZ #14176]
69278         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
69280 2013-03-19  Roland McGrath  <roland@hack.frob.com>
69282         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
69283         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
69284         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
69285         [!BEFORE_ABORT] (before_abort): New function.
69286         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
69287         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
69288         (writev_for_fatal): New function.
69289         (WRITEV_FOR_FATAL): New macro; call that.
69290         (backtrace_and_maps): New function.
69291         (BEFORE_ABORT): New macro; call that.
69292         (struct str_list): Type removed.
69293         (__libc_message, __libc_fatal): Functions removed.
69294         Include <sysdeps/posix/libc_fatal.c> instead.
69296 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
69298         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
69299         constants.
69300         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
69301         double constants.
69303 2013-03-19  Andreas Schwab  <schwab@suse.de>
69305         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
69306         * sysdeps/gnu/configure: Regenerate.
69308         * configure.in: Substitute libc_cv_rtlddir.
69309         * configure: Regenerate.
69310         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
69311         * Makeconfig (rtlddir, inst_rtlddir): New variables.
69312         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
69313         * elf/Makefile (install-others, CFLAGS-interp.c)
69314         (ldso_install, common-ldd-rewrite): Likewise.
69315         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
69316         $(inst_slibdir)/$(rtld-installed-name).
69317         * scripts/rellns-sh: Add -p option.
69318         * Makerules (make-shlib-link): Use rellns-sh to get relative name
69319         for source.
69321 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
69323         * manual/nptl.texi: Renamed to ...
69324         * manual/threads.texi: ... this.
69325         * manual/Makefile (chapters): Update.
69327 2013-03-18  Roland McGrath  <roland@hack.frob.com>
69329         [BZ #14812]
69330         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
69331         on argument names, not just descriptions.
69332         * malloc/memusagestat.c (options): Likewise.
69333         * nss/getent.c (options): Likewise.
69335 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
69337         [BZ #14812]
69338         * iconv/iconv_prog.c (options): Put N_ translation marker
69339         on argument names, not just descriptions.
69340         * iconv/iconvconfig.c (options): Likewise.
69342 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
69344         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
69345         implementation which is faster on all x86_64 architectures.
69346         Tested on AMD, Intel Nehalem, SNB, IVB.
69347         * sysdeps/x86_64/strnlen.S: Likewise.
69349         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
69350         Remove all multiarch strlen and strnlen versions.
69351         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
69352         Remove strlen and strnlen related parts.
69354         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
69355         Inline strlen part.
69356         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
69358         * sysdeps/x86_64/multiarch/strlen.S: Remove.
69359         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
69360         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
69361         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
69362         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69363         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
69365 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
69367         * manual/memory.texi (Malloc Tunable Parameters):
69368         Sort parameters alphabetically. Add comments for missing entries.
69370 2013-03-17  David S. Miller  <davem@davemloft.net>
69372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69374 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
69376         [BZ #15283]
69377         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
69378         for arguments at most half maximum finite value.
69379         * math/libm-test.inc (j0_test): Add more tests.
69380         (j1_test): Likewise.
69381         (y0_test): Likewise.
69382         (y1_test): Likewise.
69383         * sysdeps/i386/fpu/libm-test-ulps: Update.
69384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69386         [BZ #14155]
69387         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
69388         1 / x and functions P and Q for arguments above 0x1p256L.
69389         (__ieee754_y0l): Likewise.
69390         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
69391         (__ieee754_y1l): Likewise.
69392         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
69393         (j1_test): Likewise.
69394         (y0_test): Likewise.
69395         (y1_test): Likewise.
69397 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
69399         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
69400         variable.
69402 2013-03-15  Roland McGrath  <roland@hack.frob.com>
69404         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
69405         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
69406         zero since it's initialized to EXEC_PAGESIZE.
69408         * sysdeps/unix/sysv/linux/ldsodefs.h
69409         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
69410         * sysdeps/generic/ldsodefs.h: ... here.
69412 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
69414         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
69416         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
69417         math/test-snan.c.
69418         * math/test-snan.c: Renamed from
69419         sysdeps/powerpc/fpu/test-powerpc-snan.c.
69420         * math/Makefile (tests): Add test-snan.
69421         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
69422         test-powerpc-snan.
69424         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
69425         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
69426         functions.
69427         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
69428         __builtin_nan family of functions.
69429         * math/libm-test.inc (initialize): Initialize qnan_value with
69430         __builtin_nan family of functions.
69431         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
69432         Remove variables.
69433         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
69434         Remove functions.
69435         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
69436         storage class.  Initialize qNaN_var and sNaN_var with
69437         __builtin_nan and __builtin_nans families of functions,
69438         respectively.
69440         * math/libm-test.inc (acosh_test): Also test with qNaN input.
69441         (sqrt_test): Remove duplicate test with qNaN input.
69442         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
69443         (round_test, signbit_test, significand_test): Note missing +/-Inf
69444         as well as qNaN tests.
69446         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
69447         qNaN_var.  Fix a few strings, too.
69448         * math/libm-test.inc (nan_value): Rename to qnan_value.
69449         * math/gen-libm-test.pl (%beautify): Adjust to that.
69450         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
69451         * math/test-misc.c (main): Likewise.
69452         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
69453         to __qnan_bytes, and __qnan_union, respectively.
69454         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
69455         Likewise.
69456         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
69457         and lqnanval, respectively.
69458         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
69459         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
69460         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
69461         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
69463         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
69464         * math/test-misc.c (main) [__x86_64__]: Enable test for long
69465         doubles.
69467         * math/test-misc.c (main): Fix copy'n'pastos.
69468         * misc/tst-efgcvt.c (special): Likewise.
69470         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
69471         Remove declarations.
69473 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69475         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
69476         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
69477         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
69478         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
69480 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69482         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
69483         macro to return vdso values correctly in IFUNC implementations.
69484         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
69485         Optimization by using IFUNC.
69487 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69488             Richard Henderson  <rth@redhat.com>
69489             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69491         * Makefile.in (bench): New target.
69492         * NEWS: Mention the benchmark framework.
69493         * Rules (bench): Likewise.
69494         (binaries-bench): Generate binaries for functions to
69495         benchmark.
69496         * benchtests/Makefile: New makefile for benchmark tests.
69497         * benchtests/bench-skeleton.c: New skeleton file for benchmark
69498         programs.
69499         * benchtests/exp-inputs: New input file for EXP function.
69500         * benchtests/pow-inputs: New input file for POW function.
69501         * scripts/bench.pl: New script to generate source files for
69502         benchmark programs.
69504 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69506         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69507         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
69508         computations on mantissa.  Use macros for rounding and
69509         division.
69510         (denorm): Likewise.
69511         (__dbl_mp): Likewise.
69512         (add_magnitudes): Likewise.
69513         (sub_magnitudes): Likewise.
69514         (__mul): Likewise.
69515         (__sqr): Likewise.
69516         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
69517         powers of two in terms of TWOPOW macro.
69518         (mp_no): Make type of mantissa as MANTISSA_T.
69519         [!RADIXI]: Define RADIXI.
69520         [!TWO52]: Define TWO52.
69521         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69523         * manual/nptl.texi (cindex): Modify threads to pthreads.
69525 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
69527         * sysdeps/x86_64/preconfigure: Regenerated.
69529 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
69531         [BZ #14155]
69532         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
69533         0x1p28 and above.
69534         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
69535         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
69536         0x1p28 and above.
69537         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
69538         * math/libm-test.inc (j0_test): Do not allow one spurious
69539         underflow exception.
69540         (y1_test): Likewise.
69542 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
69544         * manual/Makefile (chapters): Add nptl.
69545         * manual/debug.texi (Debugging Support): Add link to Threads
69546         chapter.
69547         * manual/nptl.texi: New file.
69549         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
69551 2013-03-14  Petr Baudis  <pasky@ucw.cz>
69553         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
69554         for non-NULL pointer before the memory validity test. Pointed
69555         out by Holger Brunck <holger.brunck@keymile.com>.
69557 2013-03-13  Andreas Schwab  <schwab@suse.de>
69559         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
69560         instead of .os.
69562 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
69564         * timezone/zic.c: Update from tzcode 2013b.
69566 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
69568         * manual/install.texi (Configuring and compiling):
69569         Mention i686 and i586.
69570         * INSTALL: Regenerate.
69572 2013-03-12  Roland McGrath  <roland@hack.frob.com>
69574         * sysdeps/init_array/elf-init.c: New file.
69575         * csu/elf-init.c
69576         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
69577         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
69579         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
69580         __gmon_start__ as global, but as static with a .preinit_array pointer.
69581         * sysdeps/init_array/gmon-start.c: New file.  Use that.
69582         * sysdeps/init_array/crti.S: New file, empty except for comments.
69583         * sysdeps/init_array/crtn.S: Likewise.
69585 2013-03-11  Ondƙej BĂ­lka  <neleai@seznam.cz>
69587         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
69588         definining bcopy.
69589         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69590         Remove Prefer_SSE_for_memop.
69591         * sysdeps/x86_64/multiarch/init-arch.h: Remove
69592         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
69593         HAS_PREFER_SSE_FOR_MEMOP.
69594         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
69595         memset-x86-64.
69596         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
69597         Remove bzero, memset ifunc support.
69598         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
69599         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
69600         * sysdeps/x86_64/multiarch/memset.S: Likewise.
69601         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69603 2013-03-11  Andreas Schwab  <schwab@suse.de>
69605         [BZ #15234]
69606         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
69607         by SHLIB_COMPAT.
69608         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
69609         (GLIBC_2.16): Remove pthread_atfork.
69611 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
69613         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
69614         (ptestcases.h): Likewise.
69616 2013-03-08  Roland McGrath  <roland@hack.frob.com>
69618         * Makeconfig ($(common-objpfx)config.status): Depend on
69619         sysdeps/*/preconfigure{,.in} too.
69621 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
69623         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
69624         (__free_hook): Use void * instead of __malloc_ptr_t.
69625         (__malloc_hook): Likewise.
69626         (__realloc_hook): Likewise.
69627         (__memalign_hook): Likewise.
69628         (__after_morecore_hook): Likewise.
69629         * malloc/arena.c (save_malloc_hook): Likewise.
69630         (save_free_hook): Likewise.
69631         * malloc/hooks.c (malloc_hook_ini): Likewise.
69632         (realloc_hook_ini): Likewise.
69633         (memalign_hook_ini): Likewise.
69634         * malloc/malloc.c (malloc_hook_ini): Likewise.
69635         (realloc_hook_ini): Likewise.
69636         (memalign_hook_ini): Likewise.
69637         (__free_hook): Likewise.
69638         (__malloc_hook): Likewise.
69639         (__realloc_hook): Likewise.
69640         (__memalign_hook): Likewise.
69641         (__libc_malloc): Likewise.
69642         (__libc_free): Likewise.
69643         (__libc_realloc): Likewise.
69644         (__libc_memalign): Likewise.
69645         (__libc_valloc): Likewise.
69646         (__libc_pvalloc): Likewise.
69647         (__libc_calloc): Likewise.
69648         (__posix_memalign): Likewise.
69649         * malloc/morecore.c (__sbrk): Likewise.
69650         (__default_morecore): Likewise.
69652         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
69654         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
69655         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
69656         __malloc_ptrdiff_t.
69658         * malloc/malloc.h (__malloc_size_t): Remove macro.
69659         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
69660         __malloc_size_t.
69661         (old_memalign_hook): Likewise.
69662         (old_realloc_hook): Likewise.
69663         (struct hdr): Likewise.
69664         (flood): Likewise.
69665         (mallochook): Likewise.
69666         (memalignhook): Likewise.
69667         (reallochook): Likewise.
69668         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
69669         (tr_old_realloc_hook): Likewise.
69670         (tr_old_memalign_hook): Likewise.
69671         (tr_mallochook): Likewise.
69672         (tr_reallochook): Likewise.
69673         (tr_memalignhook): Likewise.
69675 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69677         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
69678         default_ldbl_pack and using as default implementation.
69679         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
69680         implementation.
69681         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
69682         redundant definition.
69683         (ldbl_insert_mantissa): Likewise.
69684         (ldbl_canonicalize): Likewise.
69685         (ldbl_nearbyint): Likewise.
69686         (ldbl_pack): Rename to ldbl_pack_ppc.
69687         (ldbl_unpack): Rename to ldbl_unpack_ppc.
69688         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
69689         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
69691 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
69693         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
69694         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
69695         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
69696         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
69697         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
69698         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
69699         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
69700         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
69702 2013-03-07  Andreas Jaeger  <aj@suse.de>
69704         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69705         bits/mman-linux.h.
69707 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
69709         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
69710         Include mpa.h and declare __MPEXP.
69711         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
69712         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69713         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69714         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
69715         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69716         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69717         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
69719         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
69720         (__slowpow): Use long double EXPL and LOGL functions to
69721         compute POW.
69722         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69723         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69724         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
69725         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69726         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69727         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
69729         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
69730         intermediate variable to calculate exponent.
69731         (__sqr): Likewise.
69732         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69733         Likewise.
69734         (__sqr): Likewise.
69736         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
69737         [!NO__SQR]: Define __sqr.
69738         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
69739         and NO__SQR.  Remove all code except __mul and __sqr.  Include
69740         sysdeps/ieee754/dbl-64/mpa.c.
69741         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69743         [BZ #12723]
69744         * posix/Makefile (tests): Add tst-pathconf.
69745         * posix/tst-pathconf.c: New test case.
69746         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
69747         _PC_PIPE_BUF.
69748         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
69750 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
69752         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
69754 2013-03-06  Andreas Jaeger  <aj@suse.de>
69756         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
69757         definition via __MAP_ANONYMOUS.
69759         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
69760         it's not part of Linux headers.
69762         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
69763         (MAP_HUGE_MASK): Define.
69765         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69766         Define.
69767         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69768         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69769         Define.
69770         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69771         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69772         Define.
69773         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69774         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
69775         Define.
69776         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69778         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
69779         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
69780         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
69781         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
69782         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
69783         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
69785         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69786         Handle f2fs.
69788         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69789         Handle f2fs and efivarfs.
69791         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
69792         f2fs.
69794         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
69795         (EFIVARFS_MAGIC): Add.
69796         (F2FS_LINK_MAX): Add.
69798 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69800         * stdio-common/vfprintf.c: Replace __builtin_expect with
69801         __glibc_unlikely.
69803 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
69805         [BZ #13550]
69806         * sysdeps/generic/bp-sym.h: Remove file.
69807         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
69808         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
69809         <bp-sym.h> and <bp-asm.h>.
69810         (__longjmp): Don't use BP_SYM.
69811         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
69812         and <bp-asm.h>.
69813         (memcpy): Don't use BP_SYM.
69814         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
69815         <bp-sym.h> and <bp-asm.h>.
69816         (memcpy): Don't use BP_SYM.
69817         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
69818         <bp-asm.h>.
69819         (memcpy): Don't use BP_SYM.
69820         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
69821         <bp-asm.h>.
69822         (memset): Don't use BP_SYM.
69823         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69824         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69825         (__bzero): Don't use BP_SYM.
69826         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69827         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69828         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
69829         <bp-sym.h> and <bp-asm.h>.
69830         (memcmp): Don't use BP_SYM.  Remove comment about bounded
69831         pointers.
69832         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
69833         <bp-sym.h> and <bp-asm.h>.
69834         (memcpy): Don't use BP_SYM.
69835         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
69836         <bp-sym.h> and <bp-asm.h>.
69837         (memset): Don't use BP_SYM.
69838         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69839         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69840         (__bzero): Don't use BP_SYM.
69841         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69842         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69843         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
69844         <bp-sym.h> and <bp-asm.h>.
69845         (strncmp): Don't use BP_SYM.  Remove comment about bounded
69846         pointers.
69847         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
69848         <bp-sym.h> and <bp-asm.h>.
69849         (memcpy): Don't use BP_SYM.
69850         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
69851         <bp-sym.h> and <bp-asm.h>.
69852         (memset): Don't use BP_SYM.
69853         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69854         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69855         (__bzero): Don't use BP_SYM.
69856         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69857         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69858         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
69859         <bp-sym.h> and <bp-asm.h>.
69860         (__memchr): Don't use BP_SYM.
69861         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
69862         <bp-sym.h> and <bp-asm.h>.
69863         (memcmp): Don't use BP_SYM.  Remove comment about bounded
69864         pointers.
69865         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
69866         <bp-sym.h> and <bp-asm.h>.
69867         (memcpy): Don't use BP_SYM.
69868         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
69869         <bp-sym.h> and <bp-asm.h>.
69870         (__mempcpy): Don't use BP_SYM.
69871         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
69872         <bp-sym.h> and <bp-asm.h>.
69873         (__memrchr): Don't use BP_SYM.
69874         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
69875         <bp-sym.h> and <bp-asm.h>.
69876         (memset): Don't use BP_SYM.
69877         (__bzero): Likewise.
69878         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
69879         <bp-sym.h> and <bp-asm.h>.
69880         (__rawmemchr): Don't use BP_SYM.
69881         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
69882         <bp-sym.h> and <bp-asm.h>.
69883         (__STRCMP): Don't use BP_SYM.
69884         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
69885         <bp-sym.h> and <bp-asm.h>.
69886         (strchr): Don't use BP_SYM.
69887         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
69888         <bp-sym.h> and <bp-asm.h>.
69889         (__strchrnul): Don't use BP_SYM.
69890         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
69891         <bp-sym.h> and <bp-asm.h>.
69892         (strlen): Don't use BP_SYM.
69893         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
69894         <bp-sym.h> and <bp-asm.h>.
69895         (strncmp): Don't use BP_SYM.  Remove comment about bounded
69896         pointers.
69897         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
69898         <bp-sym.h> and <bp-asm.h>.
69899         (__strnlen): Don't use BP_SYM.
69900         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
69901         <bp-sym.h> and <bp-asm.h>.
69902         (__GI__setjmp): Don't use BP_SYM.
69903         (_setjmp): Likewise.
69904         (__sigsetjmp): Likewise.
69905         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
69906         (L(start_addresses)): Don't use BP_SYM.
69907         (_start): Likewise.
69908         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
69909         <bp-asm.h>.
69910         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
69911         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
69912         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69913         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69914         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
69915         <bp-asm.h>.
69916         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
69917         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
69918         about bounded pointers.
69919         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69920         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69921         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
69922         <bp-asm.h>.
69923         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
69924         about bounded pointers.  Remove GKM FIXME comments.
69925         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69926         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
69927         <bp-asm.h>.
69928         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
69929         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
69930         Remove GKM FIXME comments.
69931         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69932         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69933         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
69934         <bp-asm.h>.
69935         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
69936         about bounded pointers.  Remove GKM FIXME comment.
69937         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
69938         and <bp-asm.h>.
69939         (strncmp): Don't use BP_SYM.  Remove comment about bounded
69940         pointers.
69941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
69942         <bp-sym.h> and <bp-asm.h>.
69943         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
69945         <bp-sym.h> and <bp-asm.h>.
69946         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
69947         comment.
69949 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69951         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
69952         call free(NULL).
69954 2013-03-05  David S. Miller  <davem@davemloft.net>
69956         * po/es.po: Update from translation team.
69958 2013-03-05  Andreas Jaeger  <aj@suse.de>
69960         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
69961         <bits/mman-linux.h>.
69962         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69963         is fine.
69964         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
69965         <bits/mman-linux.h> to end of file.
69966         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69967         is fine.
69968         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
69969         <bits/mman-linux.h> to end of file.
69970         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69971         is fine.
69972         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
69973         <bits/mman-linux.h> to end of file.
69975         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
69976         (MCL_CURRENT, MCL_FUTURE): Define here.
69978 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69980         [BZ #15232]
69981         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
69982         attribute_hidden.
69983         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
69985 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69987         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
69988         fourth parameter needed for rt_sigprocmask syscall.
69989         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
69990         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
69991         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
69992         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
69993         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
69994         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
69996 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
69998         [BZ #13550]
69999         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
70000         comment about bounded pointers.
70001         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
70002         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
70004 2013-03-04  Andreas Jaeger  <aj@suse.de>
70006         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
70007         common definitions.
70009         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
70010         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
70011         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
70012         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70013         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
70014         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70016 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70018         [BZ #15055]
70019         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
70020         __ieee754_sqrl instead of __sqrl.
70022 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
70024         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
70025         * sysdeps/powerpc/fpu_control.h: ... here.
70026         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
70027         * sysdeps/powerpc/bits/fenvinline.h: ... here.
70028         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
70029         * sysdeps/powerpc/bits/mathinline.h: ... here.
70031 2013-03-01  Roland McGrath  <roland@hack.frob.com>
70033         * elf/dl-hwcaps.c (_dl_important_hwcaps):
70034         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
70035         to just [NEED_DL_SYSINFO_DSO].
70036         * elf/dl-support.c: Likewise.
70037         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
70038         * elf/rtld.c (dl_main): Likewise.
70039         * elf/setup-vdso.h (setup_vdso): Likewise.
70040         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
70041         * sysdeps/unix/sysv/linux/dl-sysdep.c
70042         (_dl_discover_osversion): Likewise.
70044 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
70046         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
70047         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
70049 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
70051         * NEWS: Mention libm performance improvements and non-x86 PI
70052         futex support.
70054         * csu/libc-start.c (__pthread_initialize_minimal): Change
70055         function arguments.
70056         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
70058 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
70060         [BZ #13550]
70061         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
70062         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
70063         <bp-sym.h> and <bp-asm.h>.
70064         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70065         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
70066         and <bp-asm.h>.
70067         (memcpy): Don't use BP_SYM.
70068         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
70069         <bp-asm.h>.
70070         (__mpn_add_n): Don't use BP_SYM.
70071         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
70072         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
70073         and <bp-asm.h>.
70074         (__mpn_addmul_1): Don't use BP_SYM.
70075         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70076         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
70077         <bp-sym.h>.
70078         (_setjmp): Don't use BP_SYM.
70079         (__novmx_setjmp): Likewise.
70080         (__GI__setjmp): Likewise.
70081         (__vmx_setjmp): Likewise.
70082         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
70083         <bp-sym.h>.
70084         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
70085         (__bzero): Don't use BP_SYM.
70086         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70087         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70088         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
70089         <bp-sym.h> and <bp-asm.h>.
70090         (memcpy): Don't use BP_SYM.
70091         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
70092         <bp-sym.h> and <bp-asm.h>.
70093         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70094         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
70095         <bp-sym.h> and <bp-asm.h>.
70096         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70097         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
70098         <bp-asm.h>.
70099         (__mpn_lshift): Don't use BP_SYM.
70100         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70101         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
70102         <bp-asm.h>.
70103         (memset): Don't use BP_SYM.
70104         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70105         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70106         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
70107         <bp-asm.h>.
70108         (__mpn_mul_1): Don't use BP_SYM.
70109         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70110         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
70111         <bp-sym.h> and <bp-asm.h>.
70112         (memcmp): Don't use BP_SYM.
70113         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
70114         <bp-sym.h> and <bp-asm.h>.
70115         (memcpy): Don't use BP_SYM.
70116         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
70117         <bp-sym.h> and <bp-asm.h>.
70118         (memset): Don't use BP_SYM.
70119         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
70120         <bp-sym.h> and <bp-asm.h>.
70121         (strncmp): Don't use BP_SYM.
70122         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
70123         <bp-sym.h> and <bp-asm.h>.
70124         (memcpy): Don't use BP_SYM.
70125         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
70126         <bp-sym.h> and <bp-asm.h>.
70127         (memset): Don't use BP_SYM.
70128         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
70129         <bp-sym.h> and <bp-asm.h>.
70130         (__memchr): Don't use BP_SYM.
70131         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
70132         <bp-sym.h> and <bp-asm.h>.
70133         (memcmp): Don't use BP_SYM.
70134         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
70135         <bp-sym.h> and <bp-asm.h>.
70136         (memcpy): Don't use BP_SYM.
70137         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
70138         <bp-sym.h> and <bp-asm.h>.
70139         (__mempcpy): Don't use BP_SYM.
70140         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
70141         <bp-sym.h> and <bp-asm.h>.
70142         (__memrchr): Don't use BP_SYM.
70143         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
70144         <bp-sym.h> and <bp-asm.h>.
70145         (memset): Don't use BP_SYM.
70146         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
70147         <bp-sym.h> and <bp-asm.h>.
70148         (__rawmemchr): Don't use BP_SYM.
70149         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
70150         <bp-sym.h> and <bp-asm.h>.
70151         (__STRCMP): Don't use BP_SYM.
70152         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
70153         <bp-sym.h> and <bp-asm.h>.
70154         (strchr): Don't use BP_SYM.
70155         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
70156         <bp-sym.h> and <bp-asm.h>.
70157         (__strchrnul): Don't use BP_SYM.
70158         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
70159         <bp-sym.h> and <bp-asm.h>.
70160         (strlen): Don't use BP_SYM.
70161         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
70162         <bp-sym.h> and <bp-asm.h>.
70163         (strncmp): Don't use BP_SYM.
70164         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
70165         <bp-sym.h> and <bp-asm.h>.
70166         (__strnlen): Don't use BP_SYM.
70167         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
70168         <bp-asm.h>.
70169         (__mpn_rshift): Don't use BP_SYM.
70170         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70171         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
70172         <bp-sym.h> and <bp-asm.h>.
70173         (__sigsetjmp): Don't use BP_SYM.
70174         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
70175         (L(start_addresses)): Don't use BP_SYM.
70176         (_start): Likewise.
70177         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
70178         <bp-asm.h>.
70179         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
70180         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70181         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70182         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
70183         <bp-asm.h>.
70184         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
70185         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70186         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70187         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
70188         <bp-asm.h>.
70189         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
70190         comments.
70191         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70192         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
70193         <bp-asm.h>.
70194         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
70195         FIXME comments.
70196         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70197         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70198         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
70199         <bp-asm.h>.
70200         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
70201         comment.
70202         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
70203         and <bp-asm.h>.
70204         (strncmp): Don't use BP_SYM,
70205         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
70206         <bp-asm.h>.
70207         (__mpn_sub_n): Don't use BP_SYM.
70208         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70209         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
70210         and <bp-asm.h>.
70211         (__mpn_submul_1): Don't use BP_SYM.
70212         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
70214         <bp-sym.h> and <bp-asm.h>.
70215         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
70216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
70217         <bp-sym.h> and <bp-asm.h>.
70218         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
70219         comment.
70221 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70223         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
70224         Use ZK to minimize writes to Z.
70225         (sub_magnitudes): Simplify code a bit.
70226         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
70227         Use ZK to minimize writes to Z.
70228         (sub_magnitudes): Simplify code a bit.
70230 2013-02-27  Roland McGrath  <roland@hack.frob.com>
70232         * csu/gmon-start.c: Add special exception to license text.
70234 2013-02-27  Richard Henderson  <rth@redhat.com>
70236         * scripts/config.guess: Update from config.git.
70237         * scripts/config.sub: Likewise.
70239 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
70241         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
70243         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
70245         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
70247         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
70249         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
70251 2013-02-26  Roland McGrath  <roland@hack.frob.com>
70253         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
70254         [$(build-shared = yes].
70256 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70258         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
70259         (__mul): Reduce iterations for calculating mantissa.
70261         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
70262         MPTWO.
70263         (__mpranred): Likewise.
70265         [BZ #15160]
70266         * malloc/memusagestat.c (main): Draw graphs for heap and stack
70267         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
70269 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
70271         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
70272         Define __attribute__.
70274 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70276         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
70277         unused.
70278         * posix/regex_internal.h (__attribute): Remove.
70279         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
70280         (re_string_context_at): Likewise.
70281         (bitset_not): Use __attribute__ and mark function as possibly
70282         unused.
70283         (bitset_merge): Likewise.
70284         (bitset_mask): Likewise.
70285         (re_string_char_size_at): Likewise.
70286         (re_string_wchar_at): Likewise.
70287         (re_string_elem_size_at): Likewise.
70289 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70291         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
70292         code.
70293         (cc32): Likewise.
70295         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
70296         (__acr): Likewise.
70297         (__cpy): Likewise.
70298         (norm): Likewise.
70299         (denorm): Likewise.
70300         (__dbl_mp): Likewise.
70301         (add_magnitudes): Likewise.
70302         (sub_magnitudes): Likewise.
70303         (__mul): Likewise.
70304         (__inv): Likewise.
70306         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
70307         style.
70309         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
70310         style.
70312         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
70313         code.
70315         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
70316         up changes with default code.
70317         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
70318         Likewise.
70320 2013-02-24  Allan McRae  <allan@archlinux.org>
70322         * manual/socket.texi (The Internet Namespace): Order menu items
70323         to match that in the file.
70325         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
70326         node listing of the info page menu.
70328 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
70330         [BZ #13550]
70331         * sysdeps/i386/bp-asm.h: Remove file.
70332         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70333         (PARMS): Do not use macros from bp-asm.h.
70334         (S1): Likewise.
70335         (S2): Likewise.
70336         (SIZE): Likewise.
70337         (__mpn_add_n): Do not use BP_SYM
70338         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
70339         "bp-asm.h".
70340         (PARMS): Do not use macros from bp-asm.h.
70341         (S1): Likewise.
70342         (SIZE): Likewise.
70343         (__mpn_addmul_1): Do not use BP_SYM
70344         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
70345         "bp-asm.h".
70346         (PARMS): Do not use macros from bp-asm.h.
70347         (SIGMSK): Likewise.
70348         (_setjmp): Likewise.  Do not use BP_SYM.
70349         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
70350         "bp-asm.h".
70351         (PARMS): Do not use macros from bp-asm.h.
70352         (SIGMSK): Likewise.
70353         (setjmp): Likewise.  Do not use BP_SYM.
70354         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
70355         "bp-asm.h".
70356         (PARMS): Do not use macros from bp-asm.h.
70357         (__frexp): Do not use BP_SYM.
70358         (frexp): Likewise.
70359         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
70360         "bp-asm.h".
70361         (PARMS): Do not use macros from bp-asm.h.
70362         (__frexpf): Do not use BP_SYM.
70363         (frexpf): Likewise.
70364         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
70365         "bp-asm.h".
70366         (PARMS): Do not use macros from bp-asm.h.
70367         (__frexpl): Do not use BP_SYM.
70368         (frexpl): Likewise.
70369         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
70370         "bp-asm.h".
70371         (PARMS): Do not use macros from bp-asm.h.
70372         (__remquo): Do not use BP_SYM.
70373         (remquo): Likewise.
70374         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
70375         "bp-asm.h".
70376         (PARMS): Do not use macros from bp-asm.h.
70377         (__remquof): Do not use BP_SYM.
70378         (remquof): Likewise.
70379         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
70380         "bp-asm.h".
70381         (PARMS): Do not use macros from bp-asm.h.
70382         (__remquol): Do not use BP_SYM.
70383         (remquol): Likewise.
70384         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
70385         "bp-asm.h".
70386         (PARMS): Do not use macros from bp-asm.h.
70387         (DEST): Likewise.
70388         (SRC): Likewise.
70389         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
70390         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
70391         "bp-asm.h".
70392         (PARMS): Do not use macros from bp-asm.h.
70393         (strlen): Do not use BP_SYM.
70394         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
70395         "bp-asm.h".
70396         (PARMS): Do not use macros from bp-asm.h.
70397         (S1): Likewise.
70398         (S2): Likewise.
70399         (SIZE): Likewise.
70400         (__mpn_add_n): Do not use BP_SYM.
70401         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
70402         "bp-asm.h".
70403         (PARMS): Do not use macros from bp-asm.h.
70404         (S1): Likewise.
70405         (SIZE): Likewise.
70406         (__mpn_addmul_1): Do not use BP_SYM.
70407         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
70408         weak_alias.
70409         (bzero): Likewise.
70410         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
70411         "bp-asm.h".
70412         (PARMS): Do not use macros from bp-asm.h.
70413         (S): Likewise.
70414         (SIZE): Likewise.
70415         (__mpn_lshift): Do not use BP_SYM.
70416         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
70417         "bp-asm.h".
70418         (PARMS): Do not use macros from bp-asm.h.
70419         (DEST): Likewise.
70420         (SRC): Likewise.
70421         (LEN): Likewise.
70422         (memcpy): Likewise.  Do not use BP_SYM.
70423         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
70424         libc_hidden_def and weak_alias.
70425         (mempcpy): Do not use BP_SYM in weak_alias.
70426         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
70427         "bp-asm.h".
70428         (PARMS): Do not use macros from bp-asm.h.
70429         (DEST): Likewise.
70430         (LEN): Likewise.
70431         [!BZERO_P] (CHR): Likewise.
70432         (memset): Likewise.  Do not use BP_SYM.
70433         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
70434         "bp-asm.h".
70435         (PARMS): Do not use macros from bp-asm.h.
70436         (S1): Likewise.
70437         (SIZE): Likewise.
70438         (__mpn_mul_1): Do not use BP_SYM.
70439         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
70440         "bp-asm.h".
70441         (PARMS): Do not use macros from bp-asm.h.
70442         (S): Likewise.
70443         (SIZE): Likewise.
70444         (__mpn_rshift): Do not use BP_SYM.
70445         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
70446         "bp-asm.h".
70447         (PARMS): Do not use macros from bp-asm.h.
70448         (STR): Likewise.
70449         (CHR): Likewise.
70450         (strchr): Likewise.  Do not use BP_SYM.
70451         (index): Do not use BP_SYM in weak_alias.
70452         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
70453         "bp-asm.h".
70454         (PARMS): Do not use macros from bp-asm.h.
70455         (DEST): Likewise.
70456         (SRC): Likewise.
70457         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
70458         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
70459         "bp-asm.h".
70460         (PARMS): Do not use macros from bp-asm.h.
70461         (strlen): Do not use BP_SYM.
70462         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
70463         "bp-asm.h".
70464         (PARMS): Do not use macros from bp-asm.h.
70465         (S1): Likewise.
70466         (S2): Likewise.
70467         (SIZE): Likewise.
70468         (__mpn_sub_n): Do not use BP_SYM.
70469         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
70470         "bp-asm.h".
70471         (PARMS): Do not use macros from bp-asm.h.
70472         (S1): Likewise.
70473         (SIZE): Likewise.
70474         (__mpn_submul_1): Do not use BP_SYM.
70475         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
70476         "bp-asm.h".
70477         (PARMS): Do not use macros from bp-asm.h.
70478         (S1): Likewise.
70479         (S2): Likewise.
70480         (SIZE): Likewise.
70481         (__mpn_add_n): Do not use BP_SYM.
70482         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
70483         weak_alias.
70484         (bzero): Likewise.
70485         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
70486         "bp-asm.h".
70487         (PARMS): Do not use macros from bp-asm.h.
70488         (BLK2): Likewise.
70489         (LEN): Likewise.
70490         (memcmp): Do not use BP_SYM.
70491         (bcmp): Do not use BP_SYM in weak_alias.
70492         * sysdeps/i386/i686/memcpy.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         (LEN): Likewise.
70498         (memcpy): Likewise.  Do not use BP_SYM.
70499         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
70500         "bp-asm.h".
70501         (PARMS): Do not use macros from bp-asm.h.
70502         (DEST): Likewise.
70503         (SRC): Likewise.
70504         (LEN): Likewise.
70505         (memmove): Likewise.  Do not use BP_SYM.
70506         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
70507         "bp-asm.h".
70508         (PARMS): Do not use macros from bp-asm.h.
70509         (DEST): Likewise.
70510         (SRC): Likewise.
70511         (LEN): Likewise.
70512         (__mempcpy): Likewise.  Do not use BP_SYM.
70513         (mempcpy): Do not use BP_SYM in weak_alias.
70514         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
70515         "bp-asm.h".
70516         (PARMS): Do not use macros from bp-asm.h.
70517         (DEST): Likewise.
70518         (LEN): Likewise.
70519         [!BZERO_P] (CHR): Likewise.
70520         (memset): Likewise.  Do not use BP_SYM.
70521         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
70522         "bp-asm.h".
70523         (PARMS): Do not use macros from bp-asm.h.
70524         (STR2): Likewise.
70525         (strcmp): Do not use BP_SYM.
70526         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
70527         "bp-asm.h".
70528         (PARMS): Do not use macros from bp-asm.h.
70529         (STR): Likewise.
70530         (DELIM): Likewise.
70531         [USE_AS_STRTOK_R] (SAVE): Likewise.
70532         (FUNCTION): Likewise.  Do not use BP_SYM.
70533         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
70534         aliases.
70535         (strtok_r): Likewise.
70536         (__GI___strtok_r): Likewise.
70537         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70538         (PARMS): Do not use macros from bp-asm.h.
70539         (S): Likewise.
70540         (SIZE): Likewise.
70541         (__mpn_lshift): Do not use BP_SYM.
70542         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70543         (PARMS): Do not use macros from bp-asm.h.
70544         (STR): Likewise.
70545         (CHR): Likewise.
70546         (__memchr): Do not use BP_SYM.
70547         (memchr): Do not use BP_SYM in weak_alias.
70548         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70549         (PARMS): Do not use macros from bp-asm.h.
70550         (BLK2): Likewise.
70551         (LEN): Likewise.
70552         (memcmp): Do not use BP_SYM.
70553         (bcmp): Do not use BP_SYM in weak_alias.
70554         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
70555         (PARMS): Do not use macros from bp-asm.h.
70556         (S1): Likewise.
70557         (SIZE): Likewise.
70558         (__mpn_mul_1): Do not use BP_SYM.
70559         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
70560         "bp-asm.h".
70561         (PARMS): Do not use macros from bp-asm.h.
70562         (STR): Likewise.
70563         (CHR): Likewise.
70564         (__rawmemchr): Do not use BP_SYM.
70565         (rawmemchr): Do not use BP_SYM in weak_alias.
70566         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70567         (PARMS): Do not use macros from bp-asm.h.
70568         (S): Likewise.
70569         (SIZE): Likewise.
70570         (__mpn_rshift): Do not use BP_SYM.
70571         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70572         (PARMS): Do not use macros from bp-asm.h.
70573         (SIGMSK): Likewise.
70574         (__sigsetjmp): Likewise.  Do not use BP_SYM.
70575         * sysdeps/i386/start.S: Do not include "bp-sym.h".
70576         (_start): Do not use BP_SYM.
70577         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
70578         (PARMS): Do not use macros from bp-asm.h.
70579         (DEST): Likewise.
70580         (SRC): Likewise.
70581         (__stpcpy): Likewise.  Do not use BP_SYM.
70582         (stpcpy): Do not use BP_SYM in weak_alias.
70583         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
70584         "bp-asm.h".
70585         (PARMS): Do not use macros from bp-asm.h.
70586         (DEST): Likewise.
70587         (SRC): Likewise.
70588         (LEN): Likewise.
70589         (__stpncpy): Likewise.  Do not use BP_SYM.
70590         (stpncpy): Do not use BP_SYM in weak_alias.
70591         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70592         (PARMS): Do not use macros from bp-asm.h.
70593         (STR): Likewise.
70594         (CHR): Likewise.
70595         (strchr): Likewise.  Do not use BP_SYM.
70596         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
70597         "bp-asm.h".
70598         (PARMS): Do not use macros from bp-asm.h.
70599         (STR): Likewise.
70600         (CHR): Likewise.
70601         (__strchrnul): Likewise.  Do not use BP_SYM.
70602         (strchrnul): Do not use BP_SYM in weak_alias.
70603         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
70604         "bp-asm.h".
70605         (PARMS): Do not use macros from bp-asm.h.
70606         (STOP): Likewise.
70607         (strcspn): Do not use BP_SYM.
70608         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
70609         "bp-asm.h".
70610         (PARMS): Do not use macros from bp-asm.h.
70611         (STR): Likewise.
70612         (STOP): Likewise.
70613         (strpbrk): Likewise.  Do not use BP_SYM.
70614         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
70615         "bp-asm.h".
70616         (PARMS): Do not use macros from bp-asm.h.
70617         (STR): Likewise.
70618         (CHR): Likewise.
70619         (strrchr): Likewise.  Do not use BP_SYM.
70620         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
70621         (PARMS): Do not use macros from bp-asm.h.
70622         (SKIP): Likewise.
70623         (strspn): Do not use BP_SYM.
70624         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
70625         (PARMS): Do not use macros from bp-asm.h.
70626         (STR): Likewise.
70627         (DELIM): Likewise.
70628         (SAVE): Likewise.
70629         (FUNCTION): Likewise.  Do not use BP_SYM.
70630         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
70631         aliases.
70632         (strtok_r): Likewise.
70633         (__GI___strtok_r): Likewise.
70634         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70635         (PARMS): Do not use macros from bp-asm.h.
70636         (S1): Likewise.
70637         (S2): Likewise.
70638         (SIZE): Likewise.
70639         (__mpn_sub_n): Do not use BP_SYM.
70640         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
70641         "bp-asm.h".
70642         (PARMS): Do not use macros from bp-asm.h.
70643         (S1): Likewise.
70644         (SIZE): Likewise.
70645         (__mpn_submul_1): Do not use BP_SYM.
70646         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
70647         <bp-sym.h>.
70648         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
70649         and <bp-asm.h>.
70650         (PARMS): Do not use macros from bp-asm.h.
70651         (FLAGS): Likewise.
70652         (PTID): Likewise.
70653         (TLS): Likewise.
70654         (CTID): Likewise.
70655         (__clone): Do not use BP_SYM.
70656         (clone): Do not use BP_SYM in weak_alias.
70657         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
70658         and <bp-asm.h>.
70659         (PARMS): Do not use macros from bp-asm.h.
70660         (LEN): Likewise.
70661         (__mmap64): Do not use BP_SYM.
70662         (mmap64): Do not use BP_SYM in weak_alias.
70663         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70664         <bp-sym.h> and <bp-asm.h>.
70665         (PARMS): Do not use macros from bp-asm.h.
70666         (__posix_fadvise64_l64): Do not use BP_SYM.
70667         * sysdeps/unix/sysv/linux/i386/semtimedop.S
70668         (PARMS): Do not use macros from bp-asm.h.
70669         (NSOPS): Likewise.
70670         (semtimedop): Do not use BP_SYM.
70671         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
70672         and <bp-asm.h>.
70674 2013-02-21  Allan McRae  <allan@archlinux.org>
70676         * manual/message.texi (Charset conversion in gettext):
70677         Move @end statement to beginning of line.
70679 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
70681         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
70682         static.
70683         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70684         Likewise.
70686         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
70687         (denorm): Likewise.
70688         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
70689         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
70691 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70693         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
70694         tail-call to the resolved function if pltexit isn't needed.
70696 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
70698         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
70699         or Y being zero as being unlikely.
70700         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
70701         Likewise.
70703 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
70705         * manual/nss.texi (System Databases and Name Service Switch):
70706         Remove frobnicate @pxref.
70708 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
70710         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70711         __attribute__ ((unused)) to __attribute__ ((__unused__)).
70713 2013-02-20  Petr Machata  <pmachata@redhat.com>
70715         * elf/elf.h (R_ARM_TARGET1): New macro.
70716         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
70717         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
70718         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
70719         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
70720         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
70721         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
70722         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
70723         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
70724         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
70725         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
70726         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
70727         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
70728         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
70729         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
70730         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
70731         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
70732         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
70733         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
70734         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
70735         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
70736         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
70737         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
70738         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
70739         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
70740         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
70741         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
70742         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
70743         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
70744         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
70745         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
70746         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
70747         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
70748         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
70749         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
70750         (R_ARM_THM_GOT_BREL12): Likewise.
70751         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
70752         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
70753         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
70754         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
70755         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
70756         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
70757         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
70758         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
70759         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
70761 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
70763         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70764         __attribute_used__ to __attribute__ ((unused)).
70766 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
70768         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
70769         powerpc mpa.c.
70770         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
70771         comment formatting.
70772         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
70774 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
70776         [BZ #13550]
70777         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
70778         Remove macro.
70779         (ENTER): Remove both macro definitions.
70780         (LEAVE): Likewise.
70781         (CHECK_BOUNDS_LOW): Likewise.
70782         (CHECK_BOUNDS_HIGH): Likewise.
70783         (CHECK_BOUNDS_BOTH): Likewise.
70784         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
70785         (RETURN_BOUNDED_POINTER): Likewise.
70786         (RETURN_NULL_BOUNDED_POINTER): Likewise.
70787         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
70788         (POP_ERRNO_LOCATION_RETURN): Likewise.
70789         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
70790         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70791         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
70792         macros.
70793         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70794         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
70795         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
70796         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
70797         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
70798         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
70799         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
70800         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
70801         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
70802         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
70803         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
70804         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
70805         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70806         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
70807         removed macros.
70808         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70809         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
70810         macros.
70811         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70812         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
70813         * sysdeps/i386/i586/memset.S (memset): Likewise.
70814         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
70815         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70816         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
70817         macros.
70818         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70819         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
70820         Change uses of L(2) to L(out).
70821         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
70822         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
70823         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
70824         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70825         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
70826         removed macros.
70827         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70828         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
70829         macros.
70830         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70831         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
70832         (RETURN): Do not use macro LEAVE.
70833         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
70834         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
70835         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
70836         * sysdeps/i386/i686/memset.S (memset): Likewise.
70837         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
70838         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
70839         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70840         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
70841         Likewise.
70842         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70843         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
70844         L(1_2) and L(1_3) into L(1).
70845         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70846         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
70847         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70848         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
70849         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70850         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
70851         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
70852         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70853         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
70854         macros.
70855         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
70856         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70857         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
70858         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
70859         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
70860         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70861         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
70862         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
70863         * sysdeps/i386/strcspn.S (strcspn): Likewise.
70864         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
70865         * sysdeps/i386/strrchr.S (strrchr): Likewise.
70866         * sysdeps/i386/strspn.S (strspn): Likewise.
70867         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
70868         conditional code.
70869         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70870         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
70871         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70872         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
70873         L(1_3) into L(1_1).
70874         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
70875         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70876         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
70877         macros.
70878         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70880 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
70882         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
70883         macro.
70885 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
70887         * math/atest-exp.c (exp_mpn): Remove ROUND.
70888         * math/atest-exp2.c (exp_mpn): Likewise.
70889         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
70891         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
70892         * stdlib/tst-tls-atexit-lib.c: Likewise.
70893         * stdlib/tst-tls-atexit.c: Likewise.
70895 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
70897         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
70898         and __attribute_alloc_size__.
70900 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
70902         * include/programs/xmalloc.h: Change __attribute_alloc_size to
70903         __attribute_alloc_size__.
70904         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
70905         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
70907 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
70909         * include/programs/xmalloc.h: New file.
70910         * catgets/gencat.c: Include it.
70911         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
70912         * elf/pldd.c: Likewise.
70913         * iconv/iconv_charmap.c: Likewise.
70914         * iconv/iconvconfig.c: Likewise.
70915         * iconv/strtab.c: Likewise.
70916         * locale/programs/locale.c: Likewise.
70917         * locale/programs/localedef.h: Likewise.
70918         * locale/programs/simple-hash.c: Likewise.
70919         * nscd/nscd.h: Likewise.
70920         * nss/makedb.c: Likewise.
70921         * sysdeps/generic/ldconfig.h: Likewise.
70923 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70925         * Versions.def: Add GLIBC_2.18.
70926         * include/link.h (struct link_map): New member l_tls_dtor_count.
70927         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
70928         (__call_tls_dtors): Likewise.
70929         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
70930         __cxa_thread_atexit_impl.
70931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70932         Likewise.
70933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70934         Likewise.
70935         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
70936         Likewise.
70937         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
70938         Likewise.
70939         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
70941         Likewise.
70942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
70943         Likewise.
70944         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70946         Likewise.
70947         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
70948         (tests): Add test case tst-tls-atexit.
70949         (modules-names): Add shared library for tst-tls-atexit.
70950         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
70951         (GLIBC_PRIVATE): Add __call_tls_dtors.
70952         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
70953         for libstdc++.
70954         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
70955         * stdlib/tst-tls-atexit.c: New test case.
70956         * stdlib/tst-tls-atexit-lib.c: New test case.
70958         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
70960         * elf/Versions (ld): Add _dl_find_dso_for_object.
70961         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
70962         * elf/dl-open.c (_dl_find_dso_for_object): New function.
70963         (dl_open_worker): Use _dl_find_dso_for_object.
70964         * elf/dl-sym.c (do_sym): Likewise.
70965         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
70967 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70969         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
70970         Syntactic changes only.
70971         (_dl_runtime_profile): Do a tail-call to the resolved function.
70973 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
70975         [BZ #13550]
70976         * sysdeps/x86_64/bp-asm.h: Remove file.
70977         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
70978         <bp-sym.h> and <bp-asm.h>.
70979         (__clone): Do not use BP_SYM.
70980         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
70981         <bp-sym.h> and <bp-asm.h>.
70982         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70983         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
70984         "bp-asm.h".
70985         (_setjmp): Do not use BP_SYM.
70986         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
70987         "bp-asm.h".
70988         (setjmp): Do not use BP_SYM.
70989         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
70990         libc_hidden_def.
70991         (mempcpy): Do not use BP_SYM in weak_alias.
70992         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
70993         "bp-asm.h".
70994         (strchr): Do not use BP_SYM.
70995         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
70996         "bp-asm.h".
70997         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
70998         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
70999         (_start): Do not use BP_SYM.
71000         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
71001         "bp-asm.h".
71002         (strcat): Do not use BP_SYM.
71003         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
71004         "bp-asm.h".
71005         (STRCMP): Do not use BP_SYM.
71006         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
71007         "bp-asm.h".
71008         (STRCPY): Do not use BP_SYM.
71009         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
71010         "bp-asm.h".
71011         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
71012         "bp-asm.h".
71013         (FUNCTION): Do not use BP_SYM.
71014         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
71015         weak_alias.
71016         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
71018 2013-02-17  Andreas Jaeger  <aj@suse.de>
71020         * time/Versions: Sort entries.
71021         * string/Versions: Likewise.
71022         * resolv/Versions: Likewise.
71023         * posix/Versions: Likewise.
71024         * iconv/Versions: Likewise.
71025         * elf/Versions: Likewise.
71026         * wcsmbs/Versions: Likewise.
71028 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
71030         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
71031         loop termination condition.
71033         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
71034         variable to calculate EZ.
71035         (__sqr): Likewise.
71037         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
71038         the lower precision input.
71040 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
71042         [BZ #13550]
71043         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
71044         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
71045         (run-via-rtld-prefix): Do not handle %-bp tests.
71046         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
71047         (all-object-suffixes): Remove .ob.
71048         (bppfx): Remove variable.
71049         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
71050         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
71051         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
71052         [$(build-bounded) = yes] (libtype.ob): Likewise.
71053         * Makerules (elide-routines.ob): Remove variable.
71054         (do-tests-clean): Do not handle *-bp.out.
71055         (common-mostlyclean): Do not handle *-bp and *-bp.out.
71056         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
71057         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
71058         (tests): Do not include $(tests-bp.out).
71059         (xtests): Do not include $(xtests-bp.out).
71060         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
71061         [$(build-bounded) = yes] ($(addprefix
71062         $(objpfx),$(binaries-bounded))): Remove rule.
71063         ($(objpfx)%-bp.out): Remove rule.
71064         * config.make.in (build-bounded): Remove variable.
71065         * crypt/Makefile [$(build-bounded) = yes]
71066         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
71067         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
71068         append to variable.
71069         [$(build-bounded) = yes] (install-lib): Likewise.
71070         [$(build-bounded) = yes] (generated): Likewise.
71071         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
71072         Remove rule.
71073         * intl/Makefile [$(build-bounded) = yes]
71074         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
71075         * math/Makefile [$(build-bounded) = yes]
71076         ($(tests:%=$(objpfx)%-bp): Likewise.
71077         * misc/Makefile [$(build-bounded) = yes]
71078         ($(objpfx)tst-tsearch-bp): Likewise.
71079         * nptl/Makeconfig (bounded-thread-library): Remove variable.
71080         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
71081         Remove dependency.
71082         * string/Makefile (o-objects.ob): Remove variable.
71083         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
71084         (CFLAGS-.ob): Remove variable.
71085         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
71086         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
71087         both definitions of variable.
71088         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
71089         (ASFLAGS-.ob): Remove variable.
71091 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
71093         [BZ #13550]
71094         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
71095         Remove __BOUNDED_POINTERS__ from condition.
71096         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
71097         * string/bits/string2.h [!__NO_STRING_INLINES &&
71098         !__BOUNDED_POINTERS__]: Likewise.
71099         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
71100         Likewise.
71101         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
71102         Remove conditional code.
71103         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
71104         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
71105         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
71106         condition.
71108         [BZ #13550]
71109         * csu/libc-start.c: Do not include <bp-sym.h>.
71110         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
71111         * elf/dl-open.c: Do not include <bp-sym.h>.
71112         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
71113         * math/fegetenv.c: Do not include <bp-sym.h>.
71114         (fegetenv): Do not use BP_SYM in versioned symbols.
71115         * nptl/sysdeps/pthread/bits/libc-lockP.h
71116         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
71117         <bp-sym.h>.
71118         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71119         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
71120         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71121         (__pthread_mutex_destroy): Likewise.
71122         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71123         (__pthread_mutex_lock): Likewise.
71124         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71125         (__pthread_mutex_trylock): Likewise.
71126         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71127         (__pthread_mutex_unlock): Likewise.
71128         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71129         (__pthread_mutexattr_init): Likewise.
71130         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71131         (__pthread_mutexattr_destroy): Likewise.
71132         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71133         (__pthread_mutexattr_settype): Likewise.
71134         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71135         (__pthread_rwlock_init): Likewise.
71136         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71137         (__pthread_rwlock_destroy): Likewise.
71138         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71139         (__pthread_rwlock_rdlock): Likewise.
71140         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71141         (__pthread_rwlock_tryrdlock): Likewise.
71142         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71143         (__pthread_rwlock_wrlock): Likewise.
71144         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71145         (__pthread_rwlock_trywrlock): Likewise.
71146         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71147         (__pthread_rwlock_unlock): Likewise.
71148         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71149         (__pthread_key_create): Likewise.
71150         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71151         (__pthread_setspecific): Likewise.
71152         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71153         (__pthread_getspecific): Likewise.
71154         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
71155         Likewise.
71156         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71157         (_pthread_cleanup_push_defer): Likewise.
71158         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71159         (_pthread_cleanup_pop_restore): Likewise.
71160         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71161         (pthread_setcancelstate): Likewise.
71162         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
71163         <bp-sym.h>.
71164         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
71165         (memchr): Do not use BP_SYM in weak_alias.
71166         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
71167         (fegetenv): Do not use BP_SYM in versioned symbols.
71168         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
71169         (fesetenv): Do not use BP_SYM in versioned symbols.
71170         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71171         (feupdateenv): Do not use BP_SYM in versioned symbols.
71172         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71173         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71174         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
71175         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
71176         (open64): Do not use BP_SYM in weak_alias.
71177         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
71178         (fegetenv): Do not use BP_SYM in versioned symbols.
71179         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
71180         (fesetenv): Do not use BP_SYM in versioned symbols.
71181         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71182         (feupdateenv): Do not use BP_SYM in versioned symbols.
71183         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
71184         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
71185         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
71186         (feraiseexcept): Do not use BP_SYM in versioned symbols.
71187         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71188         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71189         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
71190         <bp-sym.h>.
71191         (__libc_start_main): Do not use BP_SYM.
71193 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
71195         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
71196         redundant return line.
71197         (norm): Likewise.
71198         (denorm): Likewise.
71199         (dbl_mp): Likewise.
71200         (sub_magnitudes): Likewise.
71201         (__add): Likewise.
71202         (__sub): Likewise.
71203         (__mul): Likewise.
71204         (__inv): Likewise.
71205         (__dvd): Likewise.
71206         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
71207         (norm): Likewise.
71208         (denorm): Likewise.
71209         (dbl_mp): Likewise.
71210         (sub_magnitudes): Likewise.
71211         (__add): Likewise.
71212         (__sub): Likewise.
71213         (__mul): Likewise.
71214         (__inv): Likewise.
71215         (__dvd): Likewise.
71217         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
71218         instead of __mul.
71219         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71220         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
71221         (cc32): Likewise.
71223         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
71224         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
71225         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
71226         of __mul for squares.
71227         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
71228         function
71229         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
71230         Likewise.
71231         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
71232         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71234 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
71236         [BZ #13550]
71237         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
71238         code.
71239         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
71240         prototype or function definition.  Rename ubp_* variables and
71241         parameters.  Remove argv definitions conditional on
71242         [__BOUNDED_POINTERS__].
71243         * debug/backtrace.c (__backtrace): Do not use __unbounded.
71244         * elf/dl-runtime.c (_dl_fixup): Likewise.
71245         * include/set-hooks.h (RUN_HOOK): Likewise.
71246         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
71247         definition.
71248         * string/strcpy.c (strcpy): Do not use __unbounded.
71249         * sysdeps/generic/frame.h (struct layout): Likewise.
71250         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
71251         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
71252         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
71253         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
71254         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
71255         (__backtrace): Likewise.
71256         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
71257         use __ptrvalue.
71258         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
71259         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
71260         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
71261         Likewise.
71262         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
71263         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
71264         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
71265         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71266         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
71267         Do not use __unbounded.
71268         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
71269         Rename __unboundedrlimits parameter to rlimits in prototype.
71270         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
71271         Do not use __unbounded.
71272         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
71273         not use __ptrvalue.
71274         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71275         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
71276         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71277         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
71278         __ptrvalue or __unbounded.
71279         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
71280         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
71281         use __unbounded.
71282         (__new_msgctl): Do not use __ptrvalue.
71283         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
71284         __unbounded.
71285         (__libc_msgrcv): Do not use __ptrvalue.
71286         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
71287         startup_info): Do not use __unbounded.
71288         (__libc_start_main): Likewise.  Rename ubp_* variables and
71289         parameters.  Remove argv definitions conditional on
71290         [__BOUNDED_POINTERS__].
71291         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
71292         __ptrvalue.
71293         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
71294         use __unbounded.
71295         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
71296         or __ptrvalue.
71297         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
71298         use __unbounded.
71299         (__new_shmctl): Do not use __ptrvalue.
71300         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
71301         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
71302         Likewise.
71303         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
71304         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
71305         (__libc_sigaction): Likewise.
71306         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
71307         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
71308         Likewise.
71309         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71311 2013-02-13   Ondƙej BĂ­lka  <neleai@seznam.cz>
71313         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
71315         * string/mempcpy.c: Implement by calling memcpy.
71317 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
71319         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
71321         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
71322         evaluation.
71324         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
71325         values in the mantissa.
71327         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
71328         minimize writes to Z.
71329         (sub_magnitudes): Simplify code a bit.
71331 2013-02-12  Roland McGrath  <roland@hack.frob.com>
71333         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
71334         from the message.  The linker prefixes all warnings with that already.
71336 2013-02-12  Andreas Schwab  <schwab@suse.de>
71338         [BZ #15078]
71339         * posix/regexec.c (extend_buffers): Add parameter min_len.
71340         (check_matching): Pass minimum needed length.
71341         (clean_state_log_if_needed): Likewise.
71342         (get_subexp): Likewise.
71343         * posix/Makefile (tests): Add bug-regex34.
71344         (bug-regex34-ENV): Define.
71345         * posix/bug-regex34.c: New file.
71347         [BZ #11561]
71348         * posix/regcomp.c (parse_bracket_exp): When looking up collating
71349         elements compare against the byte sequence of it, not its name.
71350         * posix/Makefile (tests): Add bug-regex35.
71351         (bug-regex35-ENV): Define.
71352         * posix/bug-regex35.c: New file.
71354 2013-02-11  Tom de Vries  <tom@codesourcery.com>
71356         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
71357         comment.
71358         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
71359         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
71360         (CHECK_EOL): Add undef.
71362 2013-02-11   Ondƙej BĂ­lka  <neleai@seznam.cz>
71364         * bits/stdlib-bsearch.h: New file.
71365         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
71366         * stdlib/stdlib.h: Likewise.
71368 2013-02-11  Roland McGrath  <roland@hack.frob.com>
71370         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
71371         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
71372         declaration.
71373         * manual/search.texi (Array Search Function): Add missing const in
71374         lfind prototype.
71375         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
71376         declaration to use rlim_t.
71377         (Basic Scheduling Functions): Remove erroneous const from
71378         sched_getparam prototype.  Remove erroneous * from
71379         sched_get_priority_max and sched_get_priority_min prototypes.
71380         (Resource Usage): Fix summary @comment on vtimes to refer to
71381         sys/vtimes.h rather than vtimes.h.
71382         Add missing *s in vtimes prototype.
71383         (Limits on Resources): Fix ulimit prototype to return long int.
71384         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
71385         prototypes to use long int rather than double.
71386         (BSD Random): Fix initstate and setstate to use char *, not void *.
71387         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
71388         prototype to make second argument 'struct aiocb64 *const[]'.
71389         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
71390         (Status of AIO Operations): Remove erroneous const in aio_return and
71391         aio_return64 prototypes.
71392         (Synchronizing I/O): Fix sync prototype to return void.
71393         * manual/startup.texi (Suboptions): Remove an erroneous const in
71394         getsubopt prototype.
71395         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
71396         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
71397         use size_t rather than int.
71398         (Scanning All Users): Likewise for getpwent_r.
71399         (Setting Groups): Add missing const to setgroups prototype.
71400         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
71401         * manual/socket.texi (Host Names): Fix gethostbyaddr and
71402         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
71403         'const void *' rather than 'const char *'.
71404         (Host Address Functions): Likewise for inet_ntop.
71405         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
71406         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
71407         ssize_t for return value.
71408         (Sending Data): Likewise for send, sendto, sendmsg.
71409         (Socket Option Functions): Add a missing const in setsockopt prototype.
71410         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
71411         use wchar_t for the argument.
71412         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
71413         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
71414         take no arguments.
71415         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
71416         double/float/long double for second argument.
71417         Fix return types of significand, significandf, significandl.
71418         * manual/filesys.texi (Setting Permissions): Use mode_t for second
71419         argument in fchmod prototype.
71420         (File Owner): Use uid_t and gid_t in fchown prototype.
71421         (File Times): Add const to utimes, futimes, and lutimes prototypes.
71422         (Making Special Files): Use mode_t and dev_t in mknod prototype.
71423         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
71424         use 'const struct dirent **' as argument types to CMP function pointer
71425         argument.
71426         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
71427         (File Times): Fix summary magic @comment for struct utimbuf and utime
71428         to refer to utime.h, not time.h.
71429         * manual/string.texi (Argz Functions): Add missing const in
71430         argz_extract and argz_next prototypes.
71431         (Finding Tokens in a String): Likewise for basename.
71432         (String/Array Comparison): Fix typo in wcscasecmp prototype.
71433         (Copying and Concatenation): Fix typo in wmemmove prototype.
71434         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
71435         (Signal Stack): Remove erroneous const in sigstack prototype.
71436         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
71437         prototype.
71438         (Simple Calendar Time): Likewise for stime.
71439         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
71440         prototype.
71441         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
71442         say sys/sysctl.h instead.
71443         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
71444         and vsyslog prototypes.
71446 2013-02-11  Tom de Vries  <tom@codesourcery.com>
71448         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
71449         Remove.
71451 2013-02-11  Roland McGrath  <roland@hack.frob.com>
71453         * misc/sys/mman.h: Fix typo in mremap comment.
71455 2013-02-08  Roland McGrath  <roland@hack.frob.com>
71457         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
71458         the '\0' terminator.
71460 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
71462         [BZ #13550]
71463         * debug/segfault.c: Don't include <bp-checks.h>.
71464         * sysdeps/generic/bp-checks.h: Remove file.
71465         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
71466         (__GETDENTS): Don't use CHECK_N.
71467         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
71468         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
71469         (__getgroups): Don't use CHECK_N.
71470         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
71471         (setgroups): Don't use CHECK_N.
71472         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
71473         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
71474         (__libc_msgrcv): Don't use CHECK_N.
71475         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
71476         (__libc_msgsnd): Don't use CHECK_N.
71477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
71478         <bp-checks.h>.
71479         (__libc_pread): Don't use CHECK_N.
71480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
71481         include <bp-checks.h>.
71482         (__libc_pread64): Don't use CHECK_N.
71483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
71484         include <bp-checks.h>.
71485         (__libc_pwrite): Don't use CHECK_N.
71486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
71487         include <bp-checks.h>.
71488         (__libc_pwrite64): Don't use CHECK_N.
71489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
71490         <bp-checks.h>.
71491         (__libc_pread): Don't use CHECK_N.
71492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
71493         include <bp-checks.h>.
71494         (__libc_pread64): Don't use CHECK_N.
71495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
71496         include <bp-checks.h>.
71497         (__libc_pwrite): Don't use CHECK_N.
71498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
71499         include <bp-checks.h>.
71500         (__libc_pwrite64): Don't use CHECK_N.
71501         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
71502         (do_pread): Don't use CHECK_N.
71503         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
71504         (do_pread64): Don't use CHECK_N.
71505         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
71506         (do_pwrite): Don't use CHECK_N.
71507         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
71508         (do_pwrite64): Don't use CHECK_N.
71509         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
71510         (__libc_readv): Don't use CHECK_N.
71511         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
71512         (semop): Don't use CHECK_N.
71513         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
71514         <bp-checks.h>.
71515         (semtimedop): Don't use CHECK_N.
71516         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
71517         (__libc_pread): Don't use CHECK_N.
71518         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
71519         <bp-checks.h>.
71520         (__libc_pread64): Don't use CHECK_N.
71521         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
71522         <bp-checks.h>.
71523         (__libc_pwrite): Don't use CHECK_N.
71524         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
71525         <bp-checks.h>.
71526         (__libc_pwrite64): Don't use CHECK_N.
71527         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
71528         <bp-checks.h>.
71529         (__libc_msgrcv): Don't use CHECK_N.
71530         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
71531         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
71532         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
71533         (__libc_writev): Don't use CHECK_N.
71535 2013-02-08  Roland McGrath  <roland@hack.frob.com>
71537         * string/strcpy.c: Removed unused variable.
71539         * Makeconfig (+sysdep-includes): Define with := rather than =.
71540         Use an existing include/ subdir of each sysdeps dir before it.
71542 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71544         * nscd/connection.c (register_traced_file): Comment function.
71545         [HAVE_INOTIFY] (union __inev): Define.
71546         [HAVE_INOTIFY] (inotify_check_files): New function.
71547         [HAVE_INOTIFY] (clear_db_cache): Likewise.
71548         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
71549         clear_db_cache.
71550         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
71552 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71554         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
71555         loaded if not already and that a failure is permanent.
71557 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71559         [BZ #15006]
71560         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
71561         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
71563 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
71565         [BZ #13550]
71566         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
71567         (CHECK_1_NULL_OK): Likewise.
71568         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
71569         (__fxstat): Do not use CHECK_1.
71570         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
71571         <bp-checks.h>.
71572         (___fxstat64): Do not use CHECK_1.
71573         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
71574         <bp-checks.h>.
71575         (__fxstatat): Do not use CHECK_1.
71576         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
71577         <bp-checks.h>.
71578         (__fxstatat64): Do not use CHECK_1.
71579         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
71580         <bp-checks.h>.
71581         (__fxstat): Do not use CHECK_1.
71582         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
71583         <bp-checks.h>.
71584         (__fxstatat): Do not use CHECK_1.
71585         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71586         <bp-checks.h>.
71587         (__getresgid): Do not use CHECK_1.
71588         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71589         <bp-checks.h>.
71590         (__getresuid): Do not use CHECK_1.
71591         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
71592         <bp-checks.h>.
71593         (__lxstat): Do not use CHECK_1.
71594         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71595         <bp-checks.h>.
71596         (__old_msgctl): Do not use CHECK_1.
71597         (__new_msgctl): Likewise.
71598         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
71599         <bp-checks.h>.
71600         (__new_setrlimit): Do not use CHECK_1.
71601         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
71602         <bp-checks.h>.
71603         (__old_shmctl): Do not use CHECK_1.
71604         (__new_shmctl): Likewise.
71605         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
71606         <bp-checks.h>.
71607         (__xstat): Do not use CHECK_1.
71608         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
71609         (__lxstat): Do not use CHECK_1.
71610         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
71611         <bp-checks.h>.
71612         (___lxstat64): Do not use CHECK_1.
71613         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
71614         (__old_msgctl): Do not use CHECK_1.
71615         (__new_msgctl): Likewise.
71616         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
71617         <bp-checks.h>.
71618         (__gettimeofday): Do not use CHECK_1.
71619         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
71620         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
71621         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
71622         <bp-checks.h>.
71623         (__gettimeofday): Do not use CHECK_1.
71624         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
71625         (__old_shmctl): Do not use CHECK_1_NULL_OK.
71626         (__new_shmctl): Do not use CHECK_1.
71627         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
71628         <bp-checks.h>.
71629         (do_sigtimedwait): Do not use CHECK_1.
71630         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
71631         <bp-checks.h>.
71632         (do_sigwaitinfo): Do not use CHECK_1.
71633         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
71634         <bp-checks.h>.
71635         (msgctl): Do not use CHECK_1.
71636         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
71637         <bp-checks.h>.
71638         (shmctl): Do not use CHECK_1.
71639         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
71640         (ustat): Do not use CHECK_1.
71641         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
71642         <bp-checks.h>.
71643         (__fxstat): Do not use CHECK_1.
71644         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
71645         <bp-checks.h>.
71646         (__fxstatat): Do not use CHECK_1.
71647         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
71648         <bp-checks.h>.
71649         (__lxstat): Do not use CHECK_1.
71650         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
71651         <bp-checks.h>.
71652         (__xstat): Do not use CHECK_1.
71653         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
71654         (__xstat): Do not use CHECK_1.
71655         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
71656         (___xstat64): Do not use CHECK_1.
71658         [BZ #13550]
71659         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
71660         definitions.
71661         (CHECK_BOUNDS_HIGH): Likewise.
71662         * string/strcpy.c: Do not include <bp-checks.h>.
71663         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
71665 2013-02-07  Roland McGrath  <roland@hack.frob.com>
71667         * nscd/nscd-client.h (__nscd_drop_map_ref):
71668         Add __attribute__ ((unused)).
71669         * nis/nss-nisplus.h (niserr2nss): Likewise.
71671         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
71672         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
71674         * csu/libc-tls.c (init_static_tls, init_slotinfo):
71675         Remove inline keyword.
71676         * include/rounding-mode.h (round_away): Likewise.
71677         * libio/wfileops.c (adjust_wide_data): Likewise.
71678         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
71679         (__m128i_strloadu_tolower): Likewise.
71680         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
71681         (__m128i_strloadu_tolower): Likewise.
71682         * time/mktime.c (ydhms_diff): Likewise.
71683         * locale/elem-hash.h (elem_hash): Likewise.
71684         * locale/setlocale.c (setdata): Likewise.
71685         * posix/regex_internal.h (re_string_char_size_at): Likewise.
71686         (re_string_wchar_at): Likewise.
71687         (bitset_not, bitset_merge, bitset_mask): Likewise.
71688         [!(__GNUC__ > 3)] (inline): Remove macro.
71689         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
71690         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
71691         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
71692         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
71693         * string/memcmp.c (memcmp_bytes): Likewise.
71694         * locale/programs/locarchive.c (compute_hashval): Likewise.
71695         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
71696         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
71697         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
71698         * nss/getent.c (print_rpc, print_protocols): Likewise.
71699         (print_passwd, print_group, print_aliases): Likewise.
71700         * nis/nss-nisplus.h (niserr2nss): Likewise.
71701         * nscd/connections.c (restart_p): Likewise.
71702         Change return type to bool.
71704 2013-02-05  Roland McGrath  <roland@hack.frob.com>
71706         * Makeconfig (all-Depend-files): Add existing
71707         $(sorted-subdirs:=/Depend) files.
71708         (all-subdirs): Remove nss.
71709         * sysdeps/unix/inet/Subdirs: Add it here instead.
71710         * hesiod/Depend: New file.
71712         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
71713         instead of calling alloca.
71715         * io/lseek.c (__lseek): Rename to __libc_lseek.
71716         Define __lseek as an alias.
71718         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
71720 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
71722         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
71723         else clause and remove check for non-standard endianness.
71725 2013-02-04  David S. Miller  <davem@davemloft.net>
71727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71729 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
71731         [BZ #13550]
71732         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
71733         (__ubp_memchr): Remove prototype.
71734         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
71735         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71736         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
71737         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71738         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
71739         Remove alias.
71740         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
71741         (__ubp_memchr): Likewise.
71742         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
71743         (__ubp_memchr): Likewise.
71744         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
71745         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
71746         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
71747         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
71748         CHECK_STRING.
71749         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
71750         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
71751         (__getcwd): Do not use CHECK_STRING.
71752         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71753         <bp-checks.h>.
71754         (__real_chown): Do not use CHECK_STRING.
71755         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
71756         <bp-checks.h>.
71757         (fchownat): Do not use CHECK_STRING.
71758         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
71759         CHECK_STRING.
71760         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71761         <bp-checks.h>.
71762         (__lchown): Do not use CHECK_STRING.
71763         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71764         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71765         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71766         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
71767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71768         include <bp-checks.h>.
71769         (truncate64): Do not use CHECK_STRING.
71770         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71771         <bp-checks.h>.
71772         (__real_chown): Do not use CHECK_STRING.
71773         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71774         <bp-checks.h>.
71775         (__lchown): Do not use CHECK_STRING.
71776         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71777         <bp-checks.h>.
71778         (__chown): Do not use CHECK_STRING.
71779         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
71780         <bp-checks.h>.
71781         (truncate64): Do not use CHECK_STRING.
71782         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
71783         Likewise.
71784         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
71785         (__xmknod): Do not use CHECK_STRING.
71786         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
71787         <bp-checks.h>.
71788         (__xmknodat): Do not use CHECK_STRING.
71789         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71790         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
71792 2013-02-04  Andreas Schwab  <schwab@suse.de>
71794         [BZ #14142]
71795         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
71796         * include/netdb.h: Likewise for h_errno.
71797         * elf/tst-stackguard1.c: Include <tls.h>.
71799 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
71801         * elf/link.h (struct link_map): Extend the l_addr comment.
71802         * include/link.h (struct link_map): Likewise.
71804 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
71806         [BZ #13550]
71807         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
71808         (BOUNDED_1): Remove macro.
71809         * debug/backtrace.c: Don't include <bp-checks.h>.
71810         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
71811         (__backtrace): Likewise.
71812         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
71813         <bp-checks.h>.
71814         (__backtrace): Don't use BOUNDED_1.
71815         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
71816         <bp-checks.h>.
71817         (__backtrace): Don't use BOUNDED_1.
71818         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
71819         (__backtrace): Don't use BOUNDED_1.
71820         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
71821         (shmat): Don't use BOUNDED_N.
71823 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
71825         [BZ #13550]
71826         * sysdeps/generic/bp-start.h: Remove file.
71827         * csu/libc-start.c: Don't include <bp-start.h>.
71828         (LIBC_START_MAIN): Set up __environ directly instead of using
71829         INIT_ARGV_and_ENVIRON.
71830         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
71831         <bp-start.h>.
71833         [BZ #13550]
71834         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
71835         definitions.
71836         (CHECK_FCNTL): Likewise.
71837         (CHECK_N_PAGES): Likewise.
71839         [BZ #13550]
71840         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
71841         definitions.
71842         (CHECK_SIGSET_NULL_OK): Likewise.
71843         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
71844         <bp-checks.h>.
71845         (sigpending): Don't use CHECK_SIGSET.
71846         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
71847         <bp-checks.h>.
71848         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71849         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
71850         <bp-checks.h>.
71851         (do_sigsuspend): Don't use CHECK_SIGSET.
71852         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
71853         use CHECK_SIGSET.
71854         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
71855         (do_sigwait): Don't use CHECK_SIGSET.
71856         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
71857         use CHECK_SIGSET.
71858         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
71859         include <bp-checks.h>.
71860         (sigpending): Don't use CHECK_SIGSET.
71861         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
71862         include <bp-checks.h>.
71863         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71864         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
71865         <bp-checks.h>.
71866         (sigpending): Don't use CHECK_SIGSET.
71867         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
71868         <bp-checks.h>.
71869         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71871         [BZ #13550]
71872         * sysdeps/generic/bp-semctl.h: Remove file.
71873         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
71874         <bp-checks.h> and <bp-semctl.h>.
71875         (__old_semctl): Don't use CHECK_SEMCTL.
71876         (__new_semctl): Likewise.
71877         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
71878         and <bp-semctl.h>.
71879         (__old_semctl): Don't use CHECK_SEMCTL.
71880         (__new_semctl): Likewise.
71881         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
71882         <bp-checks.h> and <bp-semctl.h>.
71883         (__old_semctl): Don't use CHECK_SEMCTL.
71884         (__new_semctl): Likewise.
71885         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
71886         <bp-checks.h> and <bp-semctl.h>.
71887         (semctl): Don't use CHECK_SEMCTL.
71889         [BZ #13550]
71890         * Makerules (elide-bp-thunks): Remove variable.
71891         (elide-routines.oS): Don't use $(elide-bp-thunks).
71892         (elide-routines.os): Likewise.
71893         (elide-routines.o): Likewise.
71894         (elide-routines.op): Likewise.
71895         (elide-routines.og): Likewise.
71896         (objects): Don't use $(bp-thunks).
71897         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
71898         include.
71899         (common-generated): Do not add s-proto-bp.d.
71900         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
71901         (int): Likewise.
71902         (typ): Likewise.
71903         Do not generate makefile rules for bounded-pointer thunks.
71904         * sysdeps/generic/bp-thunks.h: Remove file.
71905         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
71906         * sysdeps/unix/s-proto-bp.S: Likewise.
71908         [BZ #15062]
71909         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
71910         parts of result separately when argument is not close to line from
71911         -i to i and one part of argument is small.
71912         * math/k_casinhf.c (__kernel_casinhf): Likewise.
71913         * math/k_casinhl.c (__kernel_casinhl): Likewise.
71914         * math/libm-test.inc (cacos_test): Add more tests.
71915         (casin_test): Likewise.
71916         (casinh_test): Likewise.
71917         * sysdeps/i386/fpu/libm-test-ulps: Update.
71918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71920 2013-01-31  David S. Miller  <davem@davemloft.net>
71922         * po/de.po: Update from translation team.
71924 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
71926         * time/tzfile.c: Include stdint.h for SIZE_MAX.
71928 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
71930         * configure.in (_AC_PROG_CC_C89): New definition.
71931         * configure: Regenerate.
71933         * configure.in (AC_PROG_CPP): New definition.
71934         * configure: Regenerate.
71936 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
71938         * debug/tst-backtrace.h: New file.
71939         * debug/tst-backtrace2.c: Include tst-backtrace.h.
71940         (ret): Remove variable.
71941         (x): Likewise.
71942         (FAIL): Remove macro.
71943         (NO_INLINE): Likewise.
71944         (fn1): Use match function instead of strstr.
71945         * debug/tst-backtrace3.c: Include tst-backtrace.h.
71946         (ret): Remove variable.
71947         (x): Likewise.
71948         (FAIL): Remove macro.
71949         (NO_INLINE): Likewise.
71950         (fn): Use match function instead of strstr.
71951         * debug/tst-backtrace4.c: Include tst-backtrace.h.
71952         (ret): Remove variable.
71953         (x): Likewise.
71954         (FAIL): Remove macro.
71955         (NO_INLINE): Likewise.
71956         (handle_signal): Use match function instead of strstr.
71957         * debug/tst-backtrace5.c: Include tst-backtrace.h.
71958         (ret): Remove variable.
71959         (x): Likewise.
71960         (FAIL): Remove macro.
71961         (NO_INLINE): Likewise.
71962         (handle_signal): Use match function instead of strstr.
71964 2013-01-23  Roland McGrath  <roland@hack.frob.com>
71966         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
71968 2013-01-23  David S. Miller  <davem@davemloft.net>
71970         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
71971         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
71972         argument of CAS if possible.
71973         * sysdeps/sparc/sparc64/bits/atomic.h
71974         (__arch_compare_and_exchange_val_32_acq): Likewise.
71975         (__arch_compare_and_exchange_val_64_acq): Likewise.
71977 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
71979         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
71980         * sysdeps/posix/ulimit.c: ... this.
71981         Include <limits.h>.
71982         * sysdeps/unix/bsd/ulimit.c: Remove file.
71984 2013-01-23  Adam Conrad  <adconrad@0c3.net>
71986         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
71987         (LDFLAGS-tst-array5): Likewise.
71989 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
71991         [BZ #15036]
71992         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
71993         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
71994         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
71995         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
71997 2013-01-21  David S. Miller  <davem@davemloft.net>
71999         * sysdeps/sparc/backtrace.c: New file.
72000         * sysdeps/sparc/sparc32/backtrace.h: New file.
72001         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
72002         * sysdeps/sparc/sparc64/backtrace.h: New file.
72003         * sysdeps/sparc/sparc64/backtrace.c: Delete.
72004         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
72005         -funwind-tables.
72007 2013-01-21  Andreas Schwab  <schwab@suse.de>
72009         [BZ #15020]
72010         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
72011         closed its stdout.
72013 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
72015         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
72016         "mpa2.h".
72017         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72019 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
72020             Mark Mitchell  <mark@codesourcery.com>
72021             Tom de Vries  <tom@codesourcery.com>
72022             Paul Pluzhnikov  <ppluzhnikov@google.com>
72024         * debug/tst-backtrace2.c: New file.
72025         * debug/tst-backtrace3.c: Likewise.
72026         * debug/tst-backtrace4.c: Likewise.
72027         * debug/tst-backtrace5.c: Likewise.
72028         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
72029         (CFLAGS-tst-backtrace3.c): Likewise.
72030         (CFLAGS-tst-backtrace4.c): Likewise.
72031         (CFLAGS-tst-backtrace5.c): Likewise.
72032         (LDFLAGS-tst-backtrace2): Likewise.
72033         (LDFLAGS-tst-backtrace3): Likewise.
72034         (LDFLAGS-tst-backtrace4): Likewise.
72035         (LDFLAGS-tst-backtrace5): Likewise.
72036         (tests): Add new tests tst-backtrace2, tst-backtrace3,
72037         tst-backtrace4 and tst-backtrace5.
72039 2013-01-18  Anton Blanchard  <anton@samba.org>
72040             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
72042         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
72043         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
72044         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
72045         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
72046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
72047         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
72048         "+r" and remove output regs list as redundant.  Add explicit inline
72049         asm to specify register of return val to work around compiler codegen
72050         bug.  Remove (int) cast on return value.  Add return type parameter to
72051         use in macro so that this macro does not truncate return value for
72052         64-bit values.
72053         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
72054         pass to INTERNAL_VSYSCALL_NCS.
72055         (INLINE_VSYSCALL): Add 'long int' as return type to
72056         INTERNAL_VSYSCALL_NCS macro invocation.
72057         (INTERNAL_VSYSCALL): Add 'long int' as return type to
72058         INTERNAL_VSYSCALL_NCS macro invocation.
72059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72061 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
72063         [BZ #14496]
72064         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
72065         Fix application of SIMD FP exception mask.
72067         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
72068         mp_no from a power of two.
72069         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
72070         __mpexp_twomm1.  Use __pow_mp.
72072         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
72073         multiplication.
72075 2013-01-17  David S. Miller  <davem@davemloft.net>
72077         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72079 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
72081         [BZ #15023]
72082         * include/complex.h: Condition contents on [!_COMPLEX_H].
72083         (__kernel_casinhf): New prototype.
72084         (__kernel_casinh): Likewise.
72085         (__kernel_casinhl): Likewise.
72086         * math/Makefile (libm_calls): Add k_casinh.
72087         * math/k_casinh.c: New file.
72088         * math/k_casinhf.c: Likewise.
72089         * math/k_casinhl.c: Likewise.
72090         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
72091         finite nonzero arguments.
72092         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
72093         finite nonzero arguments.
72094         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
72095         finite nonzero arguments.
72096         * math/s_casinh.c: Do not include <float.h>.
72097         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
72098         * math/s_casinhf.c: Do not include <float.h>.
72099         (__casinhf): Move code for finite nonzero arguments to
72100         k_casinhf.c.
72101         * math/s_casinhl.c: Do not include <float.h>.
72102         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
72103         redefine.
72104         (__casinhl): Move code for finite nonzero arguments to
72105         k_casinhl.c.
72106         * math/libm-test.inc (cacos_test): Add more tests.
72107         * sysdeps/i386/fpu/libm-test-ulps: Update.
72108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72110 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
72112         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
72113         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
72114         [!HAVE_MREMAP]: Remove [defined linux] case.
72115         * malloc/arena.c: Do not include <malloc-sysdep.h>.
72117 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
72119         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
72121 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
72123         * elf/elf.h (R_386_SIZE32): New relocation.
72124         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
72125         R_386_SIZE32.
72126         (elf_machine_rela): Likewise.
72127         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
72128         R_X86_64_SIZE64 and R_X86_64_SIZE32.
72130 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
72132         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
72133         (FP_FAST_FMA): Do not define.
72134         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
72135         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
72136         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
72137         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
72138         !_SOFT_FLOAT]: Likewise.
72139         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
72140         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
72141         value.
72142         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
72143         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
72144         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
72145         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
72146         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
72147         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
72148         file.
72150 2013-01-16  Andreas Schwab  <schwab@suse.de>
72152         [BZ #14327]
72153         * include/stdlib.h (__mktemp): Add declaration.
72154         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
72155         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
72157 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
72159         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
72160         definitions.
72161         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72162         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
72163         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
72164         definitions here.
72165         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
72166         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
72167         definitions.
72168         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
72169         and ONE.
72170         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
72171         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
72172         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
72173         definitions.
72174         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
72175         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
72176         definitions.
72177         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72179         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
72181 2013-01-15  David S. Miller  <davem@davemloft.net>
72183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72184         trunc{,f} to libm-sysdep_routes.
72185         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
72187         file.
72188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
72189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
72190         file.
72191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
72192         file.
72193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
72194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
72195         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
72196         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
72197         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
72198         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
72199         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
72200         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
72202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72203         nearbyint{,f} to libm-sysdep_routes.
72204         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
72206         New file.
72207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
72208         file.
72209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
72210         New file.
72211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
72212         file.
72213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
72214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
72215         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
72216         file.
72217         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
72218         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
72219         file.
72220         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
72221         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
72222         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
72224         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
72225         libc_feholdexcept and libc_fesetenv.
72227 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
72229         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
72231 2013-01-14  David S. Miller  <davem@davemloft.net>
72233         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
72234         (SPARC_ASM_VIS2_IFUNC): Likewise.
72235         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
72236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
72237         use of 'siam' instruction.
72238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
72239         Likewise.
72240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
72241         Likewise.
72242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
72243         Likewise.
72244         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
72245         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
72246         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
72247         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
72248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
72249         file.
72250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
72251         file.
72252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
72253         file.
72254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
72255         file.
72256         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
72257         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
72258         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
72259         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
72260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
72261         new VIS2 routines.
72262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
72263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
72265         Likewise.
72266         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
72267         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
72268         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
72269         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
72270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
72271         routines to libm-sysdep_routines.
72272         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72275         fdim/fdimf to libm-sysdep_routines.
72276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
72277         file.
72278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
72279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
72280         file.
72281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
72282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
72283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
72284         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
72285         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
72286         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
72287         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
72289 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
72291         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
72292         to optimize copies.
72294         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
72295         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72296         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72298         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
72299         local variable MPTWO.
72300         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
72301         Likewise.
72303 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
72305         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
72306         GLOB_NOESCAPE.
72308 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
72310         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
72312 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
72314         * manual/pattern.texi (glob_t): Document gl_flags.
72315         (glob64_t): Likewise.
72317 2013-01-11  David S. Miller  <davem@davemloft.net>
72319         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
72320         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
72321         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
72322         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
72323         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
72324         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
72325         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
72326         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
72327         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
72328         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
72329         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
72330         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
72331         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
72333         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72334         sparc V9 rather than using V8 code.
72335         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72336         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72338         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72339         Move to...
72340         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
72341         Here.
72343 2013-01-11  Roland McGrath  <roland@hack.frob.com>
72345         [BZ #14941]
72346         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
72347         not in the main loop.
72348         * configure: Regenerated.
72350 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
72352         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
72353         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
72354         to just #else.
72355         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
72356         [!__GLIBC_HAVE_LONG_LONG] case.
72357         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
72358         condition to just #else.
72359         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
72360         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
72361         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
72362         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
72363         unconditional.
72364         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
72365         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72366         #elif condition to just #else.
72367         * sysdeps/unix/sysv/linux/sys/sysmacros.h
72368         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
72369         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72370         #elif condition to just #else.
72372 2013-01-11  Steve Ellcey  <sellcey@mips.com>
72374         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
72375         (EF_MIPS_ARCH_64): Fix value.
72376         (EF_MIPS_ARCH_32R2): New.
72377         (EF_MIPS_ARCH_64R2): New.
72379 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
72381         * Makeconfig (+link-pie-before-libc): New.
72382         (+link-pie-after-libc): Likewise.
72383         (+link-pie-tests): Likewise.
72384         (+link-pie): Rewritten.
72385         (link-before-libc): Remove $(config-LDFLAGS).
72386         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
72387         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
72388         (config-LDFLAGS): Renamed to ...
72389         (rtld-LDFLAGS): This.
72390         (rtld-tests-LDFLAGS): New macro.
72391         (link-libc-rpath-link): Likewise.
72392         (link-libc-tests-rpath-link): Likewise.
72393         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
72394         (link-libc): Prepand $(link-libc-rpath-link).
72395         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
72396         (test-program-prefix): New macro.
72397         (test-via-rtld-prefix): Likewise.
72398         (test-program-cmd): Likewise.
72399         (host-test-program-cmd): Likewise.
72400         * Makefile ($(common-objpfx)testrun.sh): Replace
72401         $(run-program-prefix) with $(test-program-prefix).
72402         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
72403         $(rtld-LDFLAGS).
72404         ($(common-objpfx)shlib.lds): Likewise.
72405         (build-module-helper): Likewise.
72406         ($(common-objpfx)format.lds): Likewise.
72407         * Rules (binaries-pie-tests): New.
72408         (binaries-pie-notests): Likewise.
72409         (binaries-pie): Rewritten.
72410         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
72411         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
72412         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
72413         (make-test-out): Replace $(host-built-program-cmd) with
72414         $(host-test-program-cmd).
72415         * config.make.in (build-hardcoded-path-in-tests): New variable.
72416         * configure.in (--enable-hardcoded-path-in-tests): New configure
72417         option.
72418         (hardcoded_path_in_tests): New AC_SUBST.
72419         * configure: Regenerated.
72420         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
72421         $(built-program-cmd) with $(test-program-cmd).
72422         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
72423         (test_program_cmd): This.
72424         * elf/Makefile ($(objpfx)order.out): Run test with
72425         $(test-program-prefix).
72426         ($(objpfx)order2.out): Likewise.
72427         ($(objpfx)tst-initorder.out): Likewise.
72428         ($(objpfx)tst-initorder2.out): Likewise.
72429         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
72430         $(test-program-cmd).
72431         ($(objpfx)tst-array1-static.out): Likewise.
72432         ($(objpfx)tst-array2.out): Likewise.
72433         ($(objpfx)tst-array3.out): Likewise.
72434         ($(objpfx)tst-array4.out): Likewise.
72435         ($(objpfx)tst-array5.out): Likewise.
72436         ($(objpfx)tst-array5-static.out): Likewise.
72437         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
72438         $(test-program-cmd).
72439         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
72440         $(run-program-prefix) with $(test-program-prefix).
72441         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
72442         (test_program_prefix): This.
72443         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
72444         $(run-program-prefix) with $(test-program-prefix).
72445         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
72446         (test_program_prefix): This.
72447         * iconvdata/tst-tables.sh: Likewise.
72448         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
72449         $(run-program-prefix) with $(test-program-prefix).
72450         ($(objpfx)tst-translit.out): Likewise.
72451         ($(objpfx)tst-gettext2.out): Likewise.
72452         ($(objpfx)tst-gettext4.out): Likewise.
72453         ($(objpfx)tst-gettext6.out): Likewise.
72454         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
72455         (test_program_prefix): This.
72456         * intl/tst-gettext2.sh: Likewise.
72457         * intl/tst-gettext4.sh  Likewise.
72458         * intl/tst-gettext6.sh: Likewise.
72459         * intl/tst-translit.sh: Likewise.
72460         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
72461         with $(test-program-cmd).
72462         * libio/Makefile ($(objpfx)test-freopen.out): Replace
72463         $(run-program-prefix) with $(test-program-prefix).
72464         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
72465         (test_program_prefix): This.
72466         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
72467         $(run-program-prefix) with $(test-program-prefix).
72468         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
72469         (test_program_prefix): This.
72470         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
72471         * posix/Makefile ($(objpfx)globtest.out): Replace
72472         $(run-via-rtld-prefix) and $(test-wrapper) with
72473         $(test-program-prefix) and $(test-via-rtld-prefix).
72474         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
72475         $(test-program-prefix).
72476         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
72477         $(host-test-program-cmd).
72478         (tst-spawn-ARGS): Likewise.
72479         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
72480         $(test-program-prefix).
72481         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
72482         (test_via_rtld_prefix): This.
72483         (test_wrapper): Renamed to ...
72484         (test_program_prefix): This.
72485         (run_program_prefix): Replaced by test_program_prefix.
72486         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
72487         (test_program_prefix): This.
72488         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
72489         with $(host-test-program-cmd).
72490         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
72491         $(run-program-prefix) with $(test-program-prefix).
72492         ($(objpfx)tst-printf.out): Likewise.
72493         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
72494         $(test-program-cmd).
72495         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
72496         (test_program_prefix): This.
72497         * stdio-common/tst-unbputc.sh: Likewise.
72498         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
72499         $(run-program-prefix) with $(test-program-prefix).
72500         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
72501         (test_program_prefix): This.
72502         * string/Makefile ($(objpfx)tst-svc.out):  Replace
72503         $(built-program-cmd) with $(test-program-cmd).
72505 2013-01-11  Andreas Jaeger  <aj@suse.de>
72507         [BZ #15003]
72508         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
72509         value. Sync with Linux 3.7.
72511 2013-01-10  David S. Miller  <davem@davemloft.net>
72513         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
72514         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72515         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72517 2013-01-10  Roland McGrath  <roland@hack.frob.com>
72519         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
72520         never set.
72521         * configure: Regenerated.
72523 2013-01-10  David S. Miller  <davem@davemloft.net>
72525         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72526         sparc V9 rather than using V8 code.
72527         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72528         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72530 2013-01-10  Roland McGrath  <roland@hack.frob.com>
72532         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
72533         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
72534         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
72535         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
72536         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
72537         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
72538         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
72539         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
72540         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
72541         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
72542         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
72543         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
72544         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
72545         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
72546         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
72547         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
72548         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
72549         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
72550         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
72551         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
72552         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
72553         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
72554         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
72555         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
72556         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
72557         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
72558         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
72560 2013-01-10  David S. Miller  <davem@davemloft.net>
72562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72564 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
72566         * posix/Makefile (tests-static): New variable.
72567         (tests): Add $(tests-static).
72568         (tst-exec-static-ARGS): New variable.
72569         (tst-spawn-static-ARGS): Likewise.
72570         * posix/tst-exec-static.c: New file.
72571         * posix/tst-spawn-static.c: Likewise.
72572         * posix/tst-exec.c: Support run directly.
72573         * posix/tst-spawn.c: Likewise.
72575 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
72577         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
72578         long.
72579         * math/bits/mathcalls.h (llrint): Likewise.
72580         (llround): Likewise.
72581         * stdlib/stdlib.h (struct drand48_data): Likewise.
72582         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
72583         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
72584         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
72585         Likewise.
72586         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
72587         Likewise.
72588         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
72589         (elf_greg_t): Likewise.
72590         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
72591         (__jmp_buf): Likewise.
72592         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
72593         definitions.
72594         (llrint): Likewise, for all definitions.
72595         (llrintl): Likewise.
72597         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
72598         Remove [__GNUC__] condition.
72599         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
72600         condition to just [__USE_ISOC99].
72601         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
72603 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
72605         [BZ #14200]
72606         * sysdeps/unix/sysv/linux/x86/bits/environments.h
72607         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
72608         defined.
72609         (_POSIX_V6_ILP32_OFF32): Likewise.
72610         (_XBS5_ILP32_OFF32): Likewise.
72611         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
72612         (__ILP32_OFFBIG_LDFLAGS): Likewise.
72614 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
72616         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
72618         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
72619         doubles __mpexp_twomm1.  Adjust usage.
72620         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
72621         Remove.
72623 2013-01-10  Andreas Schwab  <schwab@suse.de>
72625         [BZ #14964]
72626         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
72627         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
72629 2013-01-09  David S. Miller  <davem@davemloft.net>
72631         [BZ #15003]
72632         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
72633         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
72634         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
72635         (TCP_FASTOPEN): Define.
72636         (tcp_repair_opt): New structure.
72637         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
72638         enum values.
72639         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
72640         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
72641         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
72642         (tcp_cookie_transactions): New structure.
72644 2013-01-09  Anton Blanchard  <anton@samba.org>
72646         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
72647         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
72648         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
72649         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
72651 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
72653         * include/features.h (__USE_ANSI): Remove.
72655 2013-01-09  Roland McGrath  <roland@hack.frob.com>
72657         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
72659         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
72661 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
72663         * sysdeps/s390/fpu/libm-test-ulps: Update.
72665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72667         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
72668         (__acr): Likewise.
72669         (__cpy): Likewise.
72670         (norm): Likewise.
72671         (denorm): Likewise.
72672         (__mp_dbl): Likewise.
72673         (__dbl_mp): Likewise.
72674         (add_magnitudes): Likewise.
72675         (sub_magnitudes): Likewise.
72676         (__add): Likewise.
72677         (__sub): Likewise.
72678         (__mul): Likewise.
72679         (__inv): Likewise.
72680         (__dvd): Likewise.
72681         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
72682         (__acr): Likewise.
72683         (__cpy): Likewise.
72684         (norm): Likewise.
72685         (denorm): Likewise.
72686         (__mp_dbl): Likewise.
72687         (__dbl_mp): Likewise.
72688         (add_magnitudes): Likewise.
72689         (sub_magnitudes): Likewise.
72690         (__add): Likewise.
72691         (__sub): Likewise.
72692         (__mul): Likewise.
72693         (__inv): Likewise.
72694         (__dvd): Likewise.
72695         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
72696         (__acr): Likewise.
72697         (__cpy): Likewise.
72698         (norm): Likewise.
72699         (denorm): Likewise.
72700         (__mp_dbl): Likewise.
72701         (__dbl_mp): Likewise.
72702         (add_magnitudes): Likewise.
72703         (sub_magnitudes): Likewise.
72704         (__add): Likewise.
72705         (__sub): Likewise.
72706         (__mul): Likewise.
72707         (__inv): Likewise.
72708         (__dvd): Likewise.
72710 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
72712         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
72713         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
72714         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
72715         2 && __USE_EXTERN_INLINES]: Likewise.
72717 2013-01-08  Andreas Jaeger  <aj@suse.de>
72719         [BZ #14985]
72720         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
72721         Remove.
72722         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72723         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72725 2013-01-07  Anton Blanchard  <anton@samba.org>
72727         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
72728         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
72729         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
72730         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
72731         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
72732         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72733         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
72734         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72735         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72736         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72737         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72738         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72739         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72740         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72741         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
72742         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72743         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72744         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
72745         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
72746         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
72747         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
72748         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
72749         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72750         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
72751         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
72752         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
72753         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72754         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
72755         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
72756         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72757         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
72758         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72759         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72760         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
72761         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
72762         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72763         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
72764         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72765         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
72766         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
72767         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
72768         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72769         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
72771 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
72773         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
72774         (__MALLOC_PMT): Likewise.
72775         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
72776         [__GNUC__], only on [_LIBC].
72777         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72778         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
72779         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72780         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
72781         forward declaration.
72782         (realloc_hook_ini): Likewise.
72783         (memalign_hook_ini): Likewise.
72784         (__libc_memalign): Do not use __MALLOC_PMT in variable
72785         declaration.
72786         (__libc_valloc): Likewise.
72787         (__libc_pvalloc): Likewise.
72788         (__libc_calloc): Likewise.
72789         (__posix_memalign): Likewise.
72791         [BZ #14996]
72792         * math/s_casinh.c: Include <float.h>.
72793         (__casinh): Do not do computation with squaring and square root
72794         for large arguments.
72795         * math/s_casinhf.c: Include <float.h>.
72796         (__casinhf): Do not do computation with squaring and square root
72797         for large arguments.
72798         * math/s_casinhl.c: Include <float.h>.
72799         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
72800         (__casinhl): Do not do computation with squaring and square root
72801         for large arguments.
72802         * math/libm-test.inc (casin_test): Add more tests.
72803         (casinh_test): Likewise.
72804         * sysdeps/i386/fpu/libm-test-ulps: Update.
72805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72807 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
72809         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
72810         (__x86_64_raw_data_cache_size): Likewise.
72811         (__x86_64_data_cache_size_half): Likewise.
72812         (__x86_64_raw_data_cache_size_half): Likewise.
72813         (__x86_64_shared_cache_size): Likewise.
72814         (__x86_64_raw_shared_cache_size): Likewise.
72815         (__x86_64_shared_cache_size_half): Likewise.
72816         (__x86_64_raw_shared_cache_size_half): Likewise.
72817         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
72818         to ...
72819         (__x86_data_cache_size): This.
72820         (__x86_64_raw_data_cache_size): Renamed to ...
72821         (__x86_raw_data_cache_size): This.
72822         (__x86_64_data_cache_size_half): Renamed to ...
72823         (__x86_data_cache_size_half): This.
72824         (__x86_64_raw_data_cache_size_half): Renamed to ...
72825         (__x86_raw_data_cache_size_half): This.
72826         (__x86_64_shared_cache_size): Renamed to ...
72827         (__x86_shared_cache_size): This.
72828         (__x86_64_raw_shared_cache_size): Renamed to ...
72829         (__x86_raw_shared_cache_size): This.
72830         (__x86_64_shared_cache_size_half): Renamed to ...
72831         (__x86_shared_cache_size_half): This.
72832         (__x86_64_raw_shared_cache_size_half): Renamed to ...
72833         (__x86_raw_shared_cache_size_half): This.
72834         * sysdeps/x86_64/memcpy.S: Updated.
72835         * sysdeps/x86_64/memset.S: Likewise.
72836         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
72837         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72838         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72840 2013-01-04  David S. Miller  <davem@davemloft.net>
72842         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72844 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
72846         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
72847         1 to avoid redefinition warning.
72848         (__USE_GNU): Don't define.
72849         (init_signaling_nan): Protoize.
72851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72853 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72855         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
72856         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
72857         (__cpymn): Likewise.
72858         (norm): Remove commented code.
72859         (denorm): Likewise.
72860         (__mp_dbl): Likewise.
72861         (__inv): Likewise.
72862         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
72863         (__cpymn): Likewise.
72864         (norm): Remove commented code.
72865         (denorm): Likewise.
72866         (__mp_dbl): Likewise.
72867         (__inv): Likewise.
72869         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
72870         mp_no value for 1.0 and 2.0.
72871         (norm): Use RADIXI instead of radixi.d.
72872         (denorm): Likewise.
72873         (__mul): Use 0.0 instead of zero.d.
72874         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
72875         mp_no value for 1.0 and 2.0.
72876         (norm): Use RADIXI instead of radixi.d.
72877         (denorm): Likewise.
72878         (__mul): Use 0.0 instead of zero.d.
72880 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
72882         [BZ #14994]
72883         * math/s_casinh.c (__casinh): Reduce finite argument to first
72884         quadrant then set signs of results at the end.
72885         * math/s_casinhf.c (__casinhf): Likewise.
72886         * math/s_casinhl.c (__casinhl): Likewise.
72887         * math/libm-test.inc (casin_test): Add more tests.
72888         (casinh_test): Likewise.
72889         * sysdeps/i386/fpu/libm-test-ulps: Update.
72890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72892 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72894         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
72896         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
72898         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
72899         declarations.
72900         (denorm): Likewise.
72901         (__mp_dbl): Likewise.
72902         (__inv): Likewise.
72904         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
72905         and adjust the header comment.
72907         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
72908         variable name from declaration.
72910 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
72912         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72913         Initialize COMMON_CPUID_INDEX_7 element.
72914         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
72915         (CPUID_RTM): Likewise.
72916         (HAS_RTM): Likewise.
72917         (COMMON_CPUID_INDEX_7): New enum.
72919 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
72921         [BZ #14981]
72922         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
72923         size is zero, record memory as freed.
72925 2013-01-03  Andreas Jaeger  <aj@suse.de>
72927         * po/ia.po: Add new Interlingua translation.
72929 2012-01-03  Allan McRae  <allan@archlinux.org>
72931         * locale/programs/localedef.c: Fix description of '--posix' flag.
72933 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
72935         * NEWS: Update dates in second copyright notice.
72936         * README: Update copyright dates in example.
72937         * manual/libc.texinfo: Update copyright dates.
72938         * scripts/test-installation.pl: Update copyright date in --version
72939         output.
72941         * hurd/ctty-input.c: Fix copyright notice formatting.
72942         * hurd/ctty-output.c: Likewise.
72943         * hurd/dtable.c: Likewise.
72944         * hurd/hurd-raise.c: Likewise.
72945         * hurd/hurdprio.c: Likewise.
72946         * hurd/msgportdemux.c: Likewise.
72947         * misc/sys/file.h: Likewise.
72948         * misc/sys/ioctl.h: Likewise.
72949         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
72950         * sysdeps/mach/hurd/chdir.c: Likewise.
72951         * sysdeps/mach/hurd/fchdir.c: Likewise.
72952         * sysdeps/mach/hurd/rename.c: Likewise.
72953         * sysdeps/mach/hurd/rmdir.c: Likewise.
72954         * sysdeps/mach/hurd/seekdir.c: Likewise.
72955         * sysdeps/mach/hurd/setsid.c: Likewise.
72956         * sysdeps/posix/wait3.c: Likewise.
72958         * All files with FSF copyright notices: Update copyright dates
72959         using scripts/update-copyrights.
72960         * intl/plural.c: Regenerated.
72961         * locale/programs/charmap-kw.h: Likewise.
72962         * locale/programs/locfile-kw.h: Likewise.
72964 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
72966         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
72967         four values.
72969         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
72970         calculation loop and add branch prediction.
72972         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
72973         check access beyond bounds of m1np.
72975         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
72976         MPTWO.
72977         (__inv): Remove local variable MPTWO to use the global
72978         constant.
72979         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
72980         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72981         variable MPTWO.
72982         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
72983         MP3HALFS static const.
72985 2013-01-01  David S. Miller  <davem@davemloft.net>
72987         * po/ca.po: Update from translation team.
72989 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
72991         * scripts/update-copyrights: New file.
72992         * Makeconfig: Reformat copyright notice.
72993         * ctype/ctype.h: Likewise.
72994         * debug/swprintf_chk.c: Likewise.
72995         * elf/dl-cache.c: Likewise.
72996         * elf/dl-debug.c: Likewise.
72997         * elf/dl-object.c: Likewise.
72998         * grp/initgroups.c: Likewise.
72999         * hurd/Makefile: Likewise.
73000         * hurd/hurd/signal.h: Likewise.
73001         * hurd/hurdfault.c: Likewise.
73002         * hurd/hurdioctl.c: Likewise.
73003         * hurd/hurdlookup.c: Likewise.
73004         * hurd/intr-msg.c: Likewise.
73005         * iconv/gconv_open.c: Likewise.
73006         * libio/swprintf.c: Likewise.
73007         * locale/lc-ctype.c: Likewise.
73008         * locale/nl_langinfo.c: Likewise.
73009         * mach/Machrules: Likewise.
73010         * mach/Makefile: Likewise.
73011         * malloc/obstack.h: Likewise.
73012         * manual/Makefile: Likewise.
73013         * manual/tsort.awk: Likewise.
73014         * misc/bits/stab.def: Likewise.
73015         * nis/nis_print_group_entry.c: Likewise.
73016         * nis/nis_table.c: Likewise.
73017         * nis/nss_compat/compat-pwd.c: Likewise.
73018         * nis/nss_compat/compat-spwd.c: Likewise.
73019         * po/Makefile: Likewise.
73020         * posix/fnmatch.c: Likewise.
73021         * posix/regex.h: Likewise.
73022         * resolv/Makefile: Likewise.
73023         * resolv/nss_dns/dns-network.c: Likewise.
73024         * resolv/res_hconf.c: Likewise.
73025         * scripts/gen-sorted.awk: Likewise.
73026         * soft-fp/soft-fp.h: Likewise.
73027         * stdio-common/printf.h: Likewise.
73028         * stdlib/monetary.h: Likewise.
73029         * stdlib/random.c: Likewise.
73030         * stdlib/random_r.c: Likewise.
73031         * sysdeps/generic/Makefile: Likewise.
73032         * sysdeps/gnu/Makefile: Likewise.
73033         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73034         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73035         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73036         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73037         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73038         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73039         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73040         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73041         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73042         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73043         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73044         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73045         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73046         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73047         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
73048         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73049         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73050         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73051         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73052         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73053         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73054         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73055         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73056         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
73057         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
73058         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73059         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
73060         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
73061         * sysdeps/mach/hurd/errnos.awk: Likewise.
73062         * sysdeps/mach/hurd/fork.c: Likewise.
73063         * sysdeps/mach/hurd/getcwd.c: Likewise.
73064         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
73065         * sysdeps/mach/hurd/mmap.c: Likewise.
73066         * sysdeps/mach/hurd/utimes.c: Likewise.
73067         * sysdeps/mach/hurd/xmknod.c: Likewise.
73068         * sysdeps/posix/profil.c: Likewise.
73069         * sysdeps/posix/readdir_r.c: Likewise.
73070         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73071         * sysdeps/powerpc/bits/setjmp.h: Likewise.
73072         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
73073         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
73074         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
73075         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
73076         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
73077         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73078         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
73079         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
73080         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
73081         * sysdeps/pthread/lio_listio.c: Likewise.
73082         * sysdeps/sparc/dl-procinfo.h: Likewise.
73083         * sysdeps/unix/i386/sysdep.S: Likewise.
73084         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
73085         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
73086         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
73087         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
73088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73089         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
73090         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
73091         * sysdeps/unix/sysv/linux/speed.c: Likewise.
73092         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
73093         * sysdeps/wordsize-32/divdi3.c: Likewise.
73094         * time/sys/time.h: Likewise.
73095         * wcsmbs/Makefile: Likewise.
73097 2013-01-01  David S. Miller  <davem@davemloft.net>
73099         * po/fr.po: Update from translation team.
73101         * catgets/gencat.c: Update copyright year.
73102         * csu/version.c: Likewise.
73103         * debug/catchsegv.sh: Likewise.
73104         * debug/pcprofiledump.c: Likewise.
73105         * debug/xtrace.sh: Likewise.
73106         * elf/ldconfig.c: Likewise.
73107         * elf/ldd.bash.in: Likewise.
73108         * elf/pldd.c: Likewise.
73109         * elf/sotruss.ksh: Likewise.
73110         * elf/sprof.c: Likewise.
73111         * iconv/iconv_prog.c: Likewise.
73112         * iconv/iconvconfig.c: Likewise.
73113         * locale/programs/locale.c: Likewise.
73114         * locale/programs/localedef.c: Likewise.
73115         * login/programs/pt_chown.c: Likewise.
73116         * malloc/memusage.sh: Likewise.
73117         * malloc/memusagestat.c: Likewise.
73118         * malloc/mtrace.pl: Likewise.
73119         * nscd/nscd.c: Likewise.
73120         * nss/getent.c: Likewise.
73121         * nss/makedb.c: Likewise.
73122         * posix/getconf.c: Likewise.
73124 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
73126         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
73127         numbers.
73129 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
73131         * math/bits/mathcalls.h (modf): Use __nonnull.
73133 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
73135         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
73136         (split): Use macro CN instead of the bare value.
73137         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
73138         could be used.
73139         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
73140         instead of the bare value.
73141         (power1): Likewise.
73143 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73145         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
73146         __ATAN_TWOM.
73147         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73149         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
73150         their values.
73151         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
73152         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
73153         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
73154         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
73156 2012-12-28  Andreas Jaeger  <aj@suse.de>
73158         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
73159         values are from Linux 3.7.
73161         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
73162         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
73164 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73166         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
73167         TRUE case.
73169         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
73170         (norm): Likewise.
73171         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
73172         variables with preprocessor constants.
73173         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73174         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73175         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73177 2012-12-27  Bruno Haible  <bruno@clisp.org>
73179         [BZ #14317]
73180         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
73181         only if needed.
73183 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
73185         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
73186         and use variable directly.
73187         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
73189         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
73190         MPONE.
73191         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
73192         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
73193         variable MPONE.
73194         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
73195         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
73196         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
73197         include directive.  Remove local variable MPONE.
73198         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
73199         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
73200         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73202 2012-12-25  David S. Miller  <davem@davemloft.net>
73204         * version.h (RELEASE): Set to "development".
73205         (VERSION): Set to "2.17.90".
73206         * NEWS: Add 2.18 section.
73208 2012-12-21  David S. Miller  <davem@davemloft.net>
73210         * po/hr.po: Update from translation team.
73212 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73214         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
73216 2012-12-19  Steve Ellcey  <sellcey@mips.com>
73218         * NEWS:  Mention new memcpy for MIPS.
73220 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73222         * manual/contrib.texi (Contributors): Spelling correction.
73224 2012-12-15  David S. Miller  <davem@davemloft.net>
73226         * po/ru.po: Update from translation team.
73228 2012-12-13  David S. Miller  <davem@davemloft.net>
73230         * NEWS: Mention IFUNC testsuite enhancements.
73232         * po/pl.po: Update from translation team.
73233         * po/bg.po: Likewise.
73235         * manual/contrib.texi (Contributors): Update entries for Hongjiu
73236         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
73238 2012-12-11  David S. Miller  <davem@davemloft.net>
73240         * po/sv.po: Update from translation team.
73242         * po/vi.po: Update from translation team.
73244         * po/cs.po: Update from translation team.
73246         * po/de.po: Update from translation team.
73247         * po/eo.po: Likewise.
73248         * po/nl.po: Likewise.
73250 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
73252         [BZ #14246]
73253         * manual/argp.texi (Argp Helper Functions): Move node to follow
73254         Argp Parsing State.
73256         [BZ #14872]
73257         * manual/conf.texi (Limits on File System Capacity): Mention if
73258         terminating null is included in the max size.
73260 2012-12-10  Andreas Jaeger  <aj@suse.de>
73262         * po/cs.po: Update from translation team.
73264 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
73266         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
73267         void pointer and cast to uintptr_t.
73268         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
73269         path.
73270         * sysdeps/s390/s390-64/memcpy.S: Likewise.
73271         * sysdeps/s390/s390-64/memset.S: Likewise.
73273 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
73275         [BZ #14833]
73276         * menual/message.texi (Message Translation): Fix typos.
73277         (Helper programs for gettext): Likewise.
73279 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
73281         [BZ #14898]
73282         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
73283         Change to -1.
73285 2012-12-07  David S. Miller  <davem@davemloft.net>
73287         * po/libc.pot: Update.
73289 2012-12-07  Richard Henderson  <rth@redhat.com>
73291         [BZ #10114]
73292         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
73293         normal/normal case to before the switch.
73294         (_FP_DIV): Likewise.
73296 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
73297             Mike Frysinger  <vapier@gentoo.org>
73299         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
73300         check for __NR_fadvise64_64.
73302 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
73304         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
73305         0, not just to plain "0" as a statement.
73306         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
73307         with cw.
73309 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
73311         * NEWS: Use sourceware.org in Bugzilla URL.
73313 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
73315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
73316         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73318         * stdio-common/tst-put-error.c (do_test): Add newline to the
73319         padded test to ensure flush.
73321 2012-12-05  Jeff Law  <law@redhat.com>
73323         * sunrpc/etc.rpc (fedfs_admin): Add entry.
73325 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
73327         * README: Don't refer to ports add-on as distributed separately.
73328         Mention AArch64 in list of systems supported in the ports add-on.
73330         * LICENSES: Add more non-FSF copyright and license notices.
73332         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
73333         ((unused)).
73335         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
73337         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
73338         10000 as width of padded output.
73340 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
73342         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
73344         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
73345         variable LX with __attribute__ ((unused)).
73346         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
73347         Likewise.
73348         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
73349         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73350         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
73351         with __attribute__ ((unused)).
73353 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
73355         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
73357 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
73359         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
73360         (CFLAGS-nldbl-acos.c): New variable.
73361         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
73362         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
73363         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
73364         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
73365         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
73366         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
73367         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
73368         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
73369         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
73370         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
73371         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
73372         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
73373         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
73374         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
73375         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
73376         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
73377         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
73378         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
73379         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
73380         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
73381         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
73382         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
73383         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
73384         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
73385         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
73386         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
73387         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
73388         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
73389         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
73390         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
73391         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
73392         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
73393         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
73394         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
73395         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
73396         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
73397         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
73398         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
73399         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
73400         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
73401         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
73402         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
73403         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
73404         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
73405         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
73406         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
73407         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
73408         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
73409         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
73410         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
73411         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
73412         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
73413         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
73414         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
73415         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
73416         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
73417         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
73418         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
73419         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
73420         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
73421         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
73422         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
73423         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
73424         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
73425         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
73426         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
73427         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
73428         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
73429         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
73430         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
73431         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
73432         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
73433         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
73434         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
73435         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
73436         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
73437         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
73438         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
73439         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
73440         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
73441         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
73442         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
73443         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
73444         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
73445         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
73446         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
73447         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
73448         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
73449         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
73450         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
73451         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
73452         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
73453         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
73454         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
73455         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
73456         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
73457         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
73459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
73460         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73462         [BZ #14914]
73463         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
73464         whole low double instead of just low 47 bits when splitting values
73465         into two parts.
73467 2012-12-03  Allan McRae  <allan@archlinux.org>
73469         * manual/stdio.texi (Predefined Printf Handlers): Remove
73470         @hsep and @vsep usage.
73472 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
73474         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
73475         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
73477 2012-12-03  Jeff Law  <law@redhat.com>
73479         * time/sys/time.h (settimeofday): Do not mark TV argument
73480         as __nonnull.
73482 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
73484         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
73485         when currently writing and seek to current position when not.
73486         * libio/Makefile (tests): Remove bug-fclose1.
73487         * libio/bug-fclose1.c: Delete.
73489 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
73491         * manual/arith.texi (feenableexcept): Fix typo.
73492         (fedisableexcept): Likewise.
73494 2012-11-30  Roland McGrath  <roland@hack.frob.com>
73496         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
73497         second, differently-typed declaration, rather than a cast.
73499 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
73501         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
73502         * include/rpc/svc.h: ... here.
73504 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
73506         [BZ #13013]
73507         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
73508         depending n and resplen2 to catch cases where answer
73509         equals answerp2.
73511 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
73513         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
73514         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
73516 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
73518         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
73520 2012-11-29  Roland McGrath  <roland@hack.frob.com>
73522         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
73524 2012-11-28  Jeff Law  <law@redhat.com>
73526         [BZ #13761]
73527         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
73528         dataset_temporary.  Track alloca usage into alloca_used.
73529         If dataset is large allocate and release it via malloc/free.
73531 2012-06-04  Florian Weimer  <fweimer@redhat.com>
73533         [BZ #14197]
73534         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
73536 2012-11-28  David S. Miller  <davem@davemloft.net>
73538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73540 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
73542         [BZ #14803]
73543         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
73544         of pi/2 rounded to nearest to 64 bits.
73545         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
73546         nearest to 64 bits.
73547         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
73548         bits.
73550 2012-11-28  Jeff Law <law@redhat.com>
73551             Martin Osvald <mosvald@redhat.com>
73553         [BZ #14889]
73554         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
73555         * sunrpc/svc.c: Include time.h.
73556         (__svc_accept_failed): New function.
73557         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
73558         any reason other than EINTR, call __svc_accept_failed.
73559         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
73560         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
73562 2012-11-28  Andreas Schwab  <schwab@suse.de>
73564         * scripts/abilist.awk: Also handle indirect functions in .opd
73565         section.
73567 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
73569         [BZ #13881]
73570         * sysdeps/x86/fpu/powl_helper.c: New file.
73571         * sysdeps/x86/fpu/Makefile: Likewise.
73572         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
73573         (p3): New object.
73574         (__ieee754_powl): Use __powl_helper for finite arguments except
73575         integer exponents below 8.
73576         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
73577         (p3): New object.
73578         (__ieee754_powl): Use __powl_helper for finite arguments except
73579         integer exponents below 8.
73580         * math/libm-test.inc (pow_test): Add more tests and enable some
73581         previously disabled tests.
73582         * sysdeps/i386/fpu/libm-test-ulps: Update.
73583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73585 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73586             Carlos O'Donell  <carlos_odonell@mentor.com>
73588         * nss/makedb.c (is_prime): Assert that input is odd and greater
73589         than 4.  Note that fact in a comment too.
73590         (next_prime): Add 4 to input.
73592 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
73594         [BZ #11741]
73595         * libio/Makefile (tests): Add test case tst-fwrite-error.
73596         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
73597         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
73598         * libio/tst-fwrite-error.c: New test case.
73600 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
73602         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
73603         before casting to void *.
73604         * include/libc-internal.h (__pointer_type): New macro.
73605         (__integer_if_pointer_type_sub): Likewise.
73606         (__integer_if_pointer_type): Likewise.
73607         (cast_to_integer): Likewise.
73608         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
73609         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
73610         before casting to atomic64_t.
73611         (atomic_exchange_acq): Likewise.
73612         (__arch_exchange_and_add_body): Likewise.
73613         (__arch_add_body): Likewise.
73614         (atomic_add_negative): Likewise.
73615         (atomic_add_zero): Likewise.
73617 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
73619         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
73620         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
73621         (add_fdes): Likewise.
73622         (linear_search_fdes): Likewise.
73623         (binary_search_unencoded_fdes): Likewise.
73625 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
73627         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
73629 2012-11-24  Adam Conrad  <adconrad@0c3.net>
73631         * configure.in: Autodetect C++ header directories.
73632         * configure: Regenerated.
73634 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
73636         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
73638 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
73640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73642 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
73644         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
73645         LDBL_MANT_DIG == 106]: Disable some tests.
73646         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73647         Likewise.
73648         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73649         Likewise.
73651         [BZ #14871]
73652         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
73653         input for small inputs.  Return +/- pi/2 for large inputs.
73654         * math/libm-test.inc (atan_test): Add more tests.
73656         * sysdeps/generic/unwind-dw2-fde-glibc.c
73657         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
73658         __attribute__ ((unused)).
73660         [BZ #14645]
73661         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
73662         x * y if x and y are nonzero and z is zero.
73664         [BZ #14811]
73665         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
73666         nonzero exponents with absolute value below 0x1p-117 to +/-
73667         0x1p-117.
73669         [BZ #14869]
73670         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
73671         up arguments below 2**-450, not just those below 2**-500.
73672         * math/libm-test.inc (hypot_test): Add another test.
73674         [BZ #14868]
73675         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
73676         Return a+b for ratio over 2**120, not 2**60.
73677         * math/libm-test.inc (hypot_test): Add another test.
73679         * math/libm-test.inc (clog_test): Use
73680         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
73681         (clog10_test): Likewise.
73683         [BZ #6778]
73684         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
73686 2012-11-22  Andreas Schwab  <schwab@suse.de>
73688         * sysdeps/i386/fpu/libm-test-ulps: Update.
73690 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
73692         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
73693         printf output with newline.
73695 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
73697         [BZ #14865]
73698         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
73699         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
73700         -z nodlopen, -z initfirst and -z execstack support.
73701         * configure: Regenerated.
73703         * elf/elf.h (DF_1_NODIRECT): New macro.
73704         (DF_1_IGNMULDEF): Likewise.
73705         (DF_1_NOKSYMS): Likewise.
73706         (DF_1_NOHDR): Likewise.
73707         (DF_1_EDITED): Likewise.
73708         (DF_1_NORELOC): Likewise.
73709         (DF_1_SYMINTPOSE): Likewise.
73710         (DF_1_GLOBAUDIT): Likewise.
73711         (DF_1_SINGLETON): Likewise.
73712         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
73713         DT_1_SUPPORTED_MASK bits.
73714         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
73716 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
73718         * sysdeps/unix/make-syscalls.sh: Document prefixes.
73720 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
73722         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
73723         macro.
73725         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
73726         (sendmmsg): Move declarations...
73727         * socket/sys/socket.h: ... here.
73728         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
73729         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
73730         include it from...
73731         * socket/recvmmsg.c: ... this new file.
73732         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
73733         (sendmmsg): Rename to __sendmmsg, create weak alias and make
73734         definition of __sendmmsg hidden.
73735         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
73736         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
73737         Move ENOSYS stub into and include it from...
73738         * socket/sendmmsg.c: ... this new file.
73739         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
73740         (sysdep_routines): Move recvmmsg and sendmmsg...
73741         * socket/Makefile (routines): ... here.
73742         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
73743         (GLIBC_PRIVATE): Add __sendmmsg.
73744         * include/sys/socket.h (__sendmmsg): Add declarations.
73745         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
73746         sendmmsg.
73748 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
73750         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
73751         variable I1 with __attribute__ ((unused)).
73752         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73754 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
73756         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
73757         DUMMY variables with __attribute__ ((unused)).
73759         * bits/byteswap.h: Include <bits/types.h>.
73760         (__bswap_64): Use __uint64_t instead of unsigned long long int.
73762 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
73764         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
73765         string_t.  Do not manually set errno.
73766         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
73767         length with __strnlen.  Make sure to both set errno and return it on
73768         failure.
73770 2012-11-19  David S. Miller  <davem@davemloft.net>
73772         With help from Joseph Myers.
73773         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
73774         very large arguments properly.
73775         * math/libm-test.inc (atan_test): New tests.
73776         (atan2_test): New tests.
73777         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73778         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73780 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
73782         [BZ #14856]
73783         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
73784         Define to 3.
73786         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
73787         [POSIX] (EADDRNOTAVAIL): Likewise.
73788         [POSIX] (EAFNOSUPPORT): Likewise.
73789         [POSIX] (EALREADY): Likewise.
73790         [POSIX] (ECONNABORTED): Likewise.
73791         [POSIX] (ECONNREFUSED): Likewise.
73792         [POSIX] (ECONNRESET): Likewise.
73793         [POSIX] (EDESTADDRREQ): Likewise.
73794         [POSIX] (EDQUOT): Likewise.
73795         [POSIX] (EHOSTUNREACH): Likewise.
73796         [POSIX] (EIDRM): Likewise.
73797         [POSIX] (EISCONN): Likewise.
73798         [POSIX] (ELOOP): Likewise.
73799         [POSIX] (EMULTIHOP): Likewise.
73800         [POSIX] (ENETDOWN): Likewise.
73801         [POSIX] (ENETUNREACH): Likewise.
73802         [POSIX] (ENOBUFS): Likewise.
73803         [POSIX] (ENODATA): Likewise.
73804         [POSIX] (ENOLINK): Likewise.
73805         [POSIX] (ENOMSG): Likewise.
73806         [POSIX] (ENOPROTOOPT): Likewise.
73807         [POSIX] (ENOSR): Likewise.
73808         [POSIX] (ENOSTR): Likewise.
73809         [POSIX] (ENOTCONN): Likewise.
73810         [POSIX] (ENOTSOCK): Likewise.
73811         [POSIX] (EOPNOTSUPP): Likewise.
73812         [POSIX] (EOVERFLOW): Likewise.
73813         [POSIX] (EPROTO): Likewise.
73814         [POSIX] (EPROTONOSUPPORT): Likewise.
73815         [POSIX] (EPROTOTYPE): Likewise.
73816         [POSIX] (ESTALE): Likewise.
73817         [POSIX] (ETIME): Likewise.
73818         [POSIX] (ETXTBSY): Likewise.
73819         [POSIX] (EWOULDBLOCK): Likewise.
73820         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
73821         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
73822         [POSIX] (SEEK_CUR): Likewise.
73823         [POSIX] (SEEK_END): Likewise.
73824         [POSIX || UNIX98] (mode_t): Do not require.
73825         [POSIX] (off_t): Likewise.
73826         [POSIX] (pid_t): Likewise.
73827         [POSIX] (sys/stat.h): Do not allow header.
73828         [POSIX] (unistd.h): Likewise.
73829         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
73830         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
73831         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
73832         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
73833         require.
73834         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
73835         sigevent): Specify elements.
73836         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
73837         entry.
73838         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
73839         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
73841         * conform/data/cpio.h-data [POSIX]: Disable whole file.
73842         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
73843         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
73844         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
73845         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
73846         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
73847         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
73848         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
73849         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
73850         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
73851         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
73852         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
73853         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
73854         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
73855         Likewise.
73856         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
73857         Likewise.
73858         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
73859         Likewise.
73860         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
73861         Likewise.
73862         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
73863         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
73864         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
73865         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
73866         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
73867         Specify lower bound on value.
73868         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
73869         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
73870         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
73871         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
73872         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
73873         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
73874         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
73875         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
73876         value.
73877         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
73878         as optional.
73879         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
73880         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
73881         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
73882         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
73883         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
73884         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
73885         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
73886         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
73887         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
73888         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
73889         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
73890         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
73891         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
73892         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
73893         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
73894         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
73895         entry.
73896         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
73897         optional.
73898         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
73899         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
73900         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
73901         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
73902         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
73903         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
73904         Likewise.
73905         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
73906         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
73907         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
73908         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
73909         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
73910         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
73911         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
73912         as optional.
73913         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
73914         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
73915         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
73916         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
73917         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
73918         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
73919         specify as optional.
73920         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
73921         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
73922         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
73923         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
73924         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
73925         [XPG3] (NL_LANGMAX): Likewise.
73926         [POSIX || XPG3] (NL_MSGMAX): Likewise.
73927         [POSIX || XPG3] (NL_NMAX): Likewise.
73928         [POSIX || XPG3] (NL_SETMAX): Likewise.
73929         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
73930         [XPG3] (NZERO): Likewise.
73931         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
73932         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
73933         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
73934         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
73935         (REG_ERANGE): Expect.
73936         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
73937         optional-constant.
73938         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
73939         Use (void) in prototype.
73940         [POSIX] (*_t): Allow.
73941         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
73942         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
73943         (WRDE_BADVAL): Expect.
73945         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
73946         expect.
73947         [XPG3 || XPG4] (O_RSYNC): Likewise.
73948         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
73949         Likewise.
73950         [XPG3 || XPG4] (pthread_sigmask): Likewise.
73951         [XPG3 || XPG4] (sigqueue): Likewise.
73952         [XPG3 || XPG4] (sigtimedwait): Likewise.
73953         [XPG3 || XPG4] (sigwaitinfo): Likewise.
73954         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
73955         [XPG3 || XPG4] (vsnprintf): Likewise.
73956         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
73957         Likewise.
73958         [XPG3 || XPG4] (blksize_t): Likewise.
73959         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
73960         Likewise.
73961         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
73962         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
73963         [XPG3 || XPG4] (struct itimerspec): Likewise.
73964         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
73965         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
73966         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
73967         [XPG3 || XPG4] (clockid_t): Likewise.
73968         [XPG3 || XPG4] (timer_t): Likewise.
73969         [XPG3 || XPG4] (clock_getres): Likewise.
73970         [XPG3 || XPG4] (clock_gettime): Likewise.
73971         [XPG3 || XPG4] (clock_settime): Likewise.
73972         [XPG3 || XPG4] (nanosleep): Likewise.
73973         [XPG3 || XPG4] (timer_create): Likewise.
73974         [XPG3 || XPG4] (timer_delete): Likewise.
73975         [XPG3 || XPG4] (timer_gettime): Likewise.
73976         [XPG3 || XPG4] (timer_getoverrun): Likewise.
73977         [XPG3 || XPG4] (timer_settime): Likewise.
73978         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
73979         [XPG3 || XPG4] (getlogin_r): Likewise.
73980         [XPG3 || XPG4] (pread): Likewise.
73981         [XPG3 || XPG4] (pthread_atfork): Likewise.
73982         [XPG3 || XPG4] (pwrite): Likewise.
73984         [BZ #14835]
73985         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
73986         <bits/siginfo.h>.
73988 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
73990         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
73991         finalizing MALLSTREAM.
73993         * sysdeps/mach/hurd/syncfs.c: New file.
73995 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
73997         [BZ #14719]
73998         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
73999         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
74000         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
74001         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
74002         (_nss_dns_gethostbyname4_r): Likewise.
74003         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
74004         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
74006 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
74008         [BZ #13763]
74009         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
74011 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
74013         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
74014         * elf/cache.c (print_entry): Print ",AArch64" for
74015         FLAG_AARCH64_LIB64
74017         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
74018         * elf/cache.c (print_entry): Print ",hard-float" for
74019         FLAG_ARM_LIBHF.
74021 2012-11-18  David S. Miller  <davem@davemloft.net>
74023         With help from Joseph Myers.
74024         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
74025         cutoff to 2**-13.
74026         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
74027         cutoff to 2**-25.
74028         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
74029         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
74030         small.
74031         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
74032         * math/libm-test.inc (y0_test): New tests.
74033         (y1_test): New tests.
74034         * sysdeps/i386/fpu/libm-test-ulps: Update.
74035         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74036         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74038 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
74040         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
74041         64-bit targets.
74042         * configure: Regenerated.
74044 2012-11-17  David S. Miller  <davem@davemloft.net>
74046         [BZ #14811]
74047         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
74048         nonzero exponents with absolute value below 0x1p-128 to +/-
74049         0x1p-128.
74051 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
74053         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
74055         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
74057         * posix/getconf-speclist.c: New file.
74058         * posix/posix-envs.def: Likewise.
74059         * posix/confstr.c (START_ENV_GROUP): New macro.
74060         (END_ENV_GROUP): Likewise.
74061         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
74062         (KNOWN_PRESENT_ENV_STRING): Likewise.
74063         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
74064         (UNKNOWN_ENVIRONMENT): Likewise.
74065         (confstr): Include posix-envs.def instead of handling
74066         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
74067         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
74068         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
74069         (END_ENV_GROUP): Likewise.
74070         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
74071         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
74072         (UNKNOWN_ENVIRONMENT): Likewise.
74073         (__sysconf): Include posix-envs.def instead of handling associated
74074         cases directly here.
74075         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
74076         preprocessing getconf-speclist.c rather than running getconf or
74077         generating empty file.
74079 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
74081         * scripts/check-local-headers.sh: Ignore 'mach' headers.
74083 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
74085         [BZ #14672]
74086         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
74088 2012-11-16  David S. Miller  <davem@davemloft.net>
74090         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
74091         smaller than LDBL_EPSILON/2.0L, just return xm1.
74093 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
74095         * elf/tst-array1.c (init): Set constructor priority to 1000.
74096         (fini): Set destructor priority to 1000.
74097         * elf/tst-array2dep.c: Likewise.
74099 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
74101         [BZ #11741]
74102         * libio/fileops.c (_IO_new_file_write): Correctly return error.
74103         (_IO_new_file_xsputn): Also return EOF if none of the input
74104         data was written when overflow failed.
74105         * libio/iopadn.c (_IO_padn): Likewise.
74106         * libio/iowpadn.c (_IO_wpadn): Likewise.
74107         * stdio-common/tst-put-error.c: Add copyright notice.
74108         (do_test): Add case for printing padded string.
74109         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
74110         _IO_padn returned error.
74111         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
74112         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
74113         return EOF.
74115 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
74117         * libio/libioP.h: Add comment note that the references to C++
74118         bits are now obsolete.
74120 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74122         * math/libm-test.inc (check_complex): Use asprintf.
74124 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
74126         * debug/pcprofiledump.c (print_version): Update copyright year.
74127         * malloc/memusagestat.c (print_version): Likewise.
74129 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
74131         [BZ #14831]
74132         * elf/Makefile (tests): Add tst-audit8.
74133         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
74134         ($(objpfx)tst-audit8.out): New target.
74135         (tst-audit8-ENV): New variable.
74136         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
74137         audit if l_reloc_result is NULL.
74138         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
74139         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
74140         * elf/tst-audit8.c: New file.
74142 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74144         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
74145         * misc/Makefile (CFLAGS-select.c): Define.
74146         * posix/Makefile (CFLAGS-pause.c): Define.
74148 2012-11-13  David S. Miller  <davem@davemloft.net>
74150         * crypt/Makefile: Move test targets after toplevel Rules
74151         inclusion.  Grab any necessary sysdep routines when linking.
74152         * crypt/md5.c (md5_process_block): Remove define, we will always
74153         name it __md5_process_block.
74154         (md5_finish_ctx): Update md5_process_block call.
74155         (md5_stream): Likewise.
74156         (md5_process_bytes): Likewise.
74157         (md5_process_block): Rename to __md5_process_block and move to ...
74158         * crypt/md5-block.c: ... here.
74159         * crypt/sha256.c (sha256_process_block): Move to ...
74160         * crypt/sha256-block.c: ... here.
74161         * crypt/sha512.c (sha512_process_block): Move to ...
74162         * crypt/sha512-block.c: ... here.
74163         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
74164         path.
74165         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
74166         * sysdeps/sparc/sparc64/multiarch/Makefile
74167         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
74168         crypt subdir.
74169         (localedef-aux): Add md5 crypto assembler when in locale subdir.
74170         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
74171         multiarch changes.
74172         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
74173         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
74174         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
74175         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
74176         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
74177         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
74178         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
74179         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
74180         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
74181         file.
74182         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
74183         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
74184         file.
74185         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
74187 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
74189         * timezone/tzselect.ksh: Update from tzcode git revision
74190         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
74191         * timezone/zdump.c: Likewise.
74192         * timezone/zic.c: Likewise.
74193         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
74194         in TZVERSION setting, not $(PKGVERSION).
74195         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
74196         REPORT_BUGS_TO settings.
74198         [BZ #14838]
74199         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
74200         macro.
74202 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74204         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
74205         detection to immediately after _FP_ROUND().
74206         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
74207         bits are 0.
74209 2012-11-11  David S. Miller  <davem@davemloft.net>
74211         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
74212         inttypes.h
74213         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
74214         __close rather than their public counterparts.
74216 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
74218         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
74219         file.
74220         [UNIX98] (sem_timedwait): Do not expect.
74221         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
74222         [XPG4 || UNIX98] (sockatmark): Do not expect.
74223         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
74224         (clock_getcpuclockid): Do not expect.
74225         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
74226         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
74227         Do not expect.
74228         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
74229         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
74230         [UNIX98] (vwscanf): Likewise.
74231         [UNIX98] (vswscanf): Likewise.
74233 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
74235         * timezone/version.h: Remove file.
74236         * timezone/README: Do not refer to version.h.
74237         * timezone/Makefile ($(objpfx)zic.o): New dependency on
74238         $(objpfx)version.h.
74239         ($(objpfx)zdump.o): Likewise.
74240         ($(objpfx)version.h): New target.
74242         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
74243         2012i.
74244         * timezone/README: Don't mention modification to tzselect.ksh.
74245         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
74246         work on unmodified tzselect.ksh.  Substitute version numbers in
74247         tzselect.ksh.
74249         * Makefile (format-me): Remove.
74250         (INSTALL): Adjust indentation.  Use commands directly instead of
74251         using $(format-me).
74253         * aclocal.m4 (ACX_PKGVERSION): New macro.
74254         (ACX_BUGURL): Likewise.
74255         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
74256         (PKGVERSION): New AC_DEFINE_UNQUOTED.
74257         (REPORT_BUGS_TO): Likewise.
74258         * configure: Regenerated.
74259         * config.h.in (PKGVERSION): New macro.
74260         (REPORT_BUGS_TO): Likewise.
74261         * config.make.in (PKGVERSION): New variable.
74262         (PKGVERSION_TEXI): Likewise.
74263         (REPORT_BUGS_TO): Likewise.
74264         (REPORT_BUGS_TEXI): Likewise.
74265         * Makefile (format-me): Use -I$(common-objpfx)manual.
74266         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
74267         ($(common-objpfx)manual/%): New target.
74268         (manual/%): Remove target.
74269         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
74270         (print_version): Use PKGVERSION.
74271         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
74272         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
74273         and REPORT_BUGS_TO.
74274         ($(objpfx)xtrace): Likewise.
74275         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
74276         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
74277         (print_version): Use PKGVERSION.
74278         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
74279         (do_version): Use PKGVERSION.
74280         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
74281         REPORT_BUGS_TO.
74282         (common-ldd-rewrite): Likewise.
74283         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
74284         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
74285         (print_version): Use PKGVERSION.
74286         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
74287         * elf/pldd.c (argp_program_bug_address): Remove variable.
74288         (more_help): New function.
74289         (argp): Use more_help.
74290         (print_version): Use PKGVERSION.
74291         * elf/sln.c (main): Use PKGVERSION.
74292         (usage): Use REPORT_BUGS_TO.
74293         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
74294         (top level): Use PKGVERSION.
74295         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
74296         (print_version): Use PKGVERSION.
74297         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
74298         (print_version): Use PKGVERSION.
74299         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
74300         (print_version): Use PKGVERSION.
74301         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
74302         (print_version): Use PKGVERSION.
74303         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
74304         (print_version): Use PKGVERSION.
74305         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
74306         (print_version): Use PKGVERSION.
74307         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
74308         and BUGURL.
74309         ($(objpfx)memusage): Likewise.
74310         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
74311         (do_version): Use PKGVERSION.
74312         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
74313         (print_version): Use PKGVERSION.
74314         * malloc/mtrace.pl ($PACKAGE): Remove variable.
74315         ($PKGVERSION): New variable.
74316         ($REPORT_BUGS_TO): Likewise.
74317         (usage): Use $REPORT_BUGS_TO.
74318         (top level): Use $PKGVERSION.
74319         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
74320         ($(objpfx)pkgvers.texi): New rule.
74321         ($(objpfx)stamp-pkgvers): Likewise.
74322         * manual/install.texi: Include pkgvers.texi.
74323         (--with-pkgversion): Document new configure option.
74324         (--with-bugurl): Likewise.
74325         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
74326         than necessarily for this particular distribution.  Use
74327         REPORT_BUGS_TO for where to report bugs.
74328         * INSTALL: Regenerated.
74329         * manual/libc.texinfo: Include pkgvers.texi.
74330         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
74331         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
74332         (print_version): Use PKGVERSION.
74333         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
74334         (print_version): Use PKGVERSION.
74335         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
74336         (print_version): Use PKGVERSION.
74337         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
74338         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
74339         macro.
74340         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
74341         (print_version): Use PKGVERSION.
74342         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
74343         (print_version): Use PKGVERSION.
74344         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
74345         and PKGVERSION.
74347         * timezone/checktab.awk: Update from tzcode 2012i.
74348         * timezone/ialloc.c: Likewise.
74349         * timezone/private.h: Likewise.
74350         * timezone/scheck.c: Likewise.
74351         * timezone/tzfile.h: Likewise.
74352         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
74353         (TZVERSION): Hardcode tzcode version number.
74354         * timezone/zdump.c: Update from tzcode 2012i.
74355         * timezone/zic.c: Likewise.
74356         * timezone/version.h: New file.
74357         * timezone/README: Describe version.h.  Update upstream location.
74359         [BZ #14824]
74360         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
74361         (mktemp): Enable declaration.
74362         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
74363         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
74364         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
74365         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
74366         Likewise.
74367         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
74368         Likewise.
74369         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
74370         Likewise.
74371         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
74372         Likewise.
74373         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
74374         Likewise.
74375         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
74376         Likewise.
74378         [BZ #14821]
74379         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
74380         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
74381         for copies of such integer values.
74382         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74383         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74385 2012-11-09  Andreas Jaeger  <aj@suse.de>
74387         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
74388         definitions and declarations that are provided by
74389         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74391 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74393         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
74394         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
74395         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
74396         definition.
74398 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74400         * elf/elf.h: Update comment before AArch64 relocations.
74402 2012-11-07  David S. Miller  <davem@davemloft.net>
74404         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
74405         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
74406         (__start_context): Declare.
74407         (__makecontext_ret): Delete.
74408         (__makecontext): Hook up __start_context instead of
74409         __makecontext_ret.
74410         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
74411         (sysdep_routines): Add __start_context when in stdlib.
74413 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74415         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
74416         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
74417         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
74418         hardcoded "nm".
74419         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
74420         (READELF): New variable.  Use it instead of hardcoded "readelf".
74422 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
74424         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
74425         * sysdeps/x86/Makefile: Here.
74426         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
74427         * sysdeps/x86/tst-xmmymm.sh: This.
74429 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74431         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
74432         expectations.
74433         [UNIX98] (pthread_barrier_t): Do not expect.
74434         [UNIX98] (pthread_barrierattr_t): Likewise.
74435         [UNIX98] (pthread_spinlock_t): Likewise.
74436         [UNIX98] (pthread_barrier_destroy): Likewise.
74437         [UNIX98] (pthread_barrier_init): Likewise.
74438         [UNIX98] (pthread_barrier_wait): Likewise.
74439         [UNIX98] (pthread_barrierattr_destroy): Likewise.
74440         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
74441         [UNIX98] (pthread_barrierattr_init): Likewise.
74442         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
74443         [UNIX98] (pthread_getcpuclockid): Likewise.
74444         [UNIX98] (pthread_mutex_timedlock): Likewise.
74445         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
74446         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
74447         [UNIX98] (pthread_sigmask): Likewise.
74448         [UNIX98] (pthread_spin_destroy): Likewise.
74449         [UNIX98] (pthread_spin_init): Likewise.
74450         [UNIX98] (pthread_spin_lock): Likewise.
74451         [UNIX98] (pthread_spin_trylock): Likewise.
74452         [UNIX98] (pthread_spin_unlock): Likewise.
74453         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
74454         Do not expect.
74455         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
74456         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
74457         [XPG3 || XPG4] (pthread_cond_t): Likewise.
74458         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
74459         [XPG3 || XPG4] (pthread_key_t): Likewise.
74460         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
74461         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
74462         [XPG3 || XPG4] (pthread_once_t): Likewise.
74463         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
74464         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
74465         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
74466         [XPG3 || XPG4] (pthread_t): Likewise.
74468         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
74469         not expect.
74470         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
74472         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
74473         Change function return type to int.
74475         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
74476         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
74477         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
74478         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
74479         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
74480         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
74481         [!POSIX] (posix_madvise): Likewise.
74482         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
74483         && !UNIX98].
74484         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
74485         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
74486         (mode_t): Likewise.
74487         (posix_mem_offset): Likewise.
74488         (posix_typed_mem_get_info): Likewise.
74489         (posix_typed_mem_open): Likewise.
74491         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
74492         Change condition to [XOPEN2K8].
74494         * conform/conformtest.pl: Preprocess allow-header data with -x c
74495         instead of from stdin.
74496         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
74497         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
74498         [C99-based standards] (cerfc): Likewise.
74499         [C99-based standards] (cexp2): Likewise.
74500         [C99-based standards] (cexpm1): Likewise.
74501         [C99-based standards] (clog10): Likewise.
74502         [C99-based standards] (clog1p): Likewise.
74503         [C99-based standards] (clog2): Likewise.
74504         [C99-based standards] (clgamma): Likewise.
74505         [C99-based standards] (ctgamma): Likewise.
74506         [C99-based standards] (cerff): Likewise.
74507         [C99-based standards] (cerfcf): Likewise.
74508         [C99-based standards] (cexp2f): Likewise.
74509         [C99-based standards] (cexpm1f): Likewise.
74510         [C99-based standards] (clog10f): Likewise.
74511         [C99-based standards] (clog1pf): Likewise.
74512         [C99-based standards] (clog2f): Likewise.
74513         [C99-based standards] (clgammaf): Likewise.
74514         [C99-based standards] (ctgammaf): Likewise.
74515         [C99-based standards] (cerfl): Likewise.
74516         [C99-based standards] (cerfcl): Likewise.
74517         [C99-based standards] (cexp2l): Likewise.
74518         [C99-based standards] (cexpm1l): Likewise.
74519         [C99-based standards] (clog10l): Likewise.
74520         [C99-based standards] (clog1pl): Likewise.
74521         [C99-based standards] (clog2l): Likewise.
74522         [C99-based standards] (clgammal): Likewise.
74523         [C99-based standards] (ctgammal): Likewise.
74524         * conform/data/inttypes.h-data [C99-based standards]: Include
74525         stdint.h-data.  Remove all expectations for stdint.h contents.
74526         [C99-based standards] (PRI*): Do not allow.
74527         [C99-based standards] (SCN*): Likewise.
74528         [C99-based standards] (*_t): Likewise.
74529         [C99-based-standards] (PRId8): Expect macro.
74530         [C99-based-standards] (PRIi8): Likewise.
74531         [C99-based-standards] (PRIo8): Likewise.
74532         [C99-based-standards] (PRIu8): Likewise.
74533         [C99-based-standards] (PRIx8): Likewise.
74534         [C99-based-standards] (PRIX8): Likewise.
74535         [C99-based-standards] (SCNd8): Likewise.
74536         [C99-based-standards] (SCNi8): Likewise.
74537         [C99-based-standards] (SCNo8): Likewise.
74538         [C99-based-standards] (SCNu8): Likewise.
74539         [C99-based-standards] (SCNx8): Likewise.
74540         [C99-based-standards] (PRIdLEAST8): Likewise.
74541         [C99-based-standards] (PRIiLEAST8): Likewise.
74542         [C99-based-standards] (PRIoLEAST8): Likewise.
74543         [C99-based-standards] (PRIuLEAST8): Likewise.
74544         [C99-based-standards] (PRIxLEAST8): Likewise.
74545         [C99-based-standards] (PRIXLEAST8): Likewise.
74546         [C99-based-standards] (SCNdLEAST8): Likewise.
74547         [C99-based-standards] (SCNiLEAST8): Likewise.
74548         [C99-based-standards] (SCNoLEAST8): Likewise.
74549         [C99-based-standards] (SCNuLEAST8): Likewise.
74550         [C99-based-standards] (SCNxLEAST8): Likewise.
74551         [C99-based-standards] (PRIdFAST8): Likewise.
74552         [C99-based-standards] (PRIiFAST8): Likewise.
74553         [C99-based-standards] (PRIoFAST8): Likewise.
74554         [C99-based-standards] (PRIuFAST8): Likewise.
74555         [C99-based-standards] (PRIxFAST8): Likewise.
74556         [C99-based-standards] (PRIXFAST8): Likewise.
74557         [C99-based-standards] (SCNdFAST8): Likewise.
74558         [C99-based-standards] (SCNiFAST8): Likewise.
74559         [C99-based-standards] (SCNoFAST8): Likewise.
74560         [C99-based-standards] (SCNuFAST8): Likewise.
74561         [C99-based-standards] (SCNxFAST8): Likewise.
74562         [C99-based-standards] (PRId16): Likewise.
74563         [C99-based-standards] (PRIi16): Likewise.
74564         [C99-based-standards] (PRIo16): Likewise.
74565         [C99-based-standards] (PRIu16): Likewise.
74566         [C99-based-standards] (PRIx16): Likewise.
74567         [C99-based-standards] (PRIX16): Likewise.
74568         [C99-based-standards] (SCNd16): Likewise.
74569         [C99-based-standards] (SCNi16): Likewise.
74570         [C99-based-standards] (SCNo16): Likewise.
74571         [C99-based-standards] (SCNu16): Likewise.
74572         [C99-based-standards] (SCNx16): Likewise.
74573         [C99-based-standards] (PRIdLEAST16): Likewise.
74574         [C99-based-standards] (PRIiLEAST16): Likewise.
74575         [C99-based-standards] (PRIoLEAST16): Likewise.
74576         [C99-based-standards] (PRIuLEAST16): Likewise.
74577         [C99-based-standards] (PRIxLEAST16): Likewise.
74578         [C99-based-standards] (PRIXLEAST16): Likewise.
74579         [C99-based-standards] (SCNdLEAST16): Likewise.
74580         [C99-based-standards] (SCNiLEAST16): Likewise.
74581         [C99-based-standards] (SCNoLEAST16): Likewise.
74582         [C99-based-standards] (SCNuLEAST16): Likewise.
74583         [C99-based-standards] (SCNxLEAST16): Likewise.
74584         [C99-based-standards] (PRIdFAST16): Likewise.
74585         [C99-based-standards] (PRIiFAST16): Likewise.
74586         [C99-based-standards] (PRIoFAST16): Likewise.
74587         [C99-based-standards] (PRIuFAST16): Likewise.
74588         [C99-based-standards] (PRIxFAST16): Likewise.
74589         [C99-based-standards] (PRIXFAST16): Likewise.
74590         [C99-based-standards] (SCNdFAST16): Likewise.
74591         [C99-based-standards] (SCNiFAST16): Likewise.
74592         [C99-based-standards] (SCNoFAST16): Likewise.
74593         [C99-based-standards] (SCNuFAST16): Likewise.
74594         [C99-based-standards] (SCNxFAST16): Likewise.
74595         [C99-based-standards] (PRId32): Likewise.
74596         [C99-based-standards] (PRIi32): Likewise.
74597         [C99-based-standards] (PRIo32): Likewise.
74598         [C99-based-standards] (PRIu32): Likewise.
74599         [C99-based-standards] (PRIx32): Likewise.
74600         [C99-based-standards] (PRIX32): Likewise.
74601         [C99-based-standards] (SCNd32): Likewise.
74602         [C99-based-standards] (SCNi32): Likewise.
74603         [C99-based-standards] (SCNo32): Likewise.
74604         [C99-based-standards] (SCNu32): Likewise.
74605         [C99-based-standards] (SCNx32): Likewise.
74606         [C99-based-standards] (PRIdLEAST32): Likewise.
74607         [C99-based-standards] (PRIiLEAST32): Likewise.
74608         [C99-based-standards] (PRIoLEAST32): Likewise.
74609         [C99-based-standards] (PRIuLEAST32): Likewise.
74610         [C99-based-standards] (PRIxLEAST32): Likewise.
74611         [C99-based-standards] (PRIXLEAST32): Likewise.
74612         [C99-based-standards] (SCNdLEAST32): Likewise.
74613         [C99-based-standards] (SCNiLEAST32): Likewise.
74614         [C99-based-standards] (SCNoLEAST32): Likewise.
74615         [C99-based-standards] (SCNuLEAST32): Likewise.
74616         [C99-based-standards] (SCNxLEAST32): Likewise.
74617         [C99-based-standards] (PRIdFAST32): Likewise.
74618         [C99-based-standards] (PRIiFAST32): Likewise.
74619         [C99-based-standards] (PRIoFAST32): Likewise.
74620         [C99-based-standards] (PRIuFAST32): Likewise.
74621         [C99-based-standards] (PRIxFAST32): Likewise.
74622         [C99-based-standards] (PRIXFAST32): Likewise.
74623         [C99-based-standards] (SCNdFAST32): Likewise.
74624         [C99-based-standards] (SCNiFAST32): Likewise.
74625         [C99-based-standards] (SCNoFAST32): Likewise.
74626         [C99-based-standards] (SCNuFAST32): Likewise.
74627         [C99-based-standards] (SCNxFAST32): Likewise.
74628         [C99-based-standards] (PRId64): Likewise.
74629         [C99-based-standards] (PRIi64): Likewise.
74630         [C99-based-standards] (PRIo64): Likewise.
74631         [C99-based-standards] (PRIu64): Likewise.
74632         [C99-based-standards] (PRIx64): Likewise.
74633         [C99-based-standards] (PRIX64): Likewise.
74634         [C99-based-standards] (SCNd64): Likewise.
74635         [C99-based-standards] (SCNi64): Likewise.
74636         [C99-based-standards] (SCNo64): Likewise.
74637         [C99-based-standards] (SCNu64): Likewise.
74638         [C99-based-standards] (SCNx64): Likewise.
74639         [C99-based-standards] (PRIdLEAST64): Likewise.
74640         [C99-based-standards] (PRIiLEAST64): Likewise.
74641         [C99-based-standards] (PRIoLEAST64): Likewise.
74642         [C99-based-standards] (PRIuLEAST64): Likewise.
74643         [C99-based-standards] (PRIxLEAST64): Likewise.
74644         [C99-based-standards] (PRIXLEAST64): Likewise.
74645         [C99-based-standards] (SCNdLEAST64): Likewise.
74646         [C99-based-standards] (SCNiLEAST64): Likewise.
74647         [C99-based-standards] (SCNoLEAST64): Likewise.
74648         [C99-based-standards] (SCNuLEAST64): Likewise.
74649         [C99-based-standards] (SCNxLEAST64): Likewise.
74650         [C99-based-standards] (PRIdFAST64): Likewise.
74651         [C99-based-standards] (PRIiFAST64): Likewise.
74652         [C99-based-standards] (PRIoFAST64): Likewise.
74653         [C99-based-standards] (PRIuFAST64): Likewise.
74654         [C99-based-standards] (PRIxFAST64): Likewise.
74655         [C99-based-standards] (PRIXFAST64): Likewise.
74656         [C99-based-standards] (SCNdFAST64): Likewise.
74657         [C99-based-standards] (SCNiFAST64): Likewise.
74658         [C99-based-standards] (SCNoFAST64): Likewise.
74659         [C99-based-standards] (SCNuFAST64): Likewise.
74660         [C99-based-standards] (SCNxFAST64): Likewise.
74661         [C99-based-standards] (PRIdMAX): Likewise.
74662         [C99-based-standards] (PRIiMAX): Likewise.
74663         [C99-based-standards] (PRIoMAX): Likewise.
74664         [C99-based-standards] (PRIuMAX): Likewise.
74665         [C99-based-standards] (PRIxMAX): Likewise.
74666         [C99-based-standards] (PRIXMAX): Likewise.
74667         [C99-based-standards] (SCNdMAX): Likewise.
74668         [C99-based-standards] (SCNiMAX): Likewise.
74669         [C99-based-standards] (SCNoMAX): Likewise.
74670         [C99-based-standards] (SCNuMAX): Likewise.
74671         [C99-based-standards] (SCNxMAX): Likewise.
74672         [C99-based-standards] (PRIdPTR): Likewise.
74673         [C99-based-standards] (PRIiPTR): Likewise.
74674         [C99-based-standards] (PRIoPTR): Likewise.
74675         [C99-based-standards] (PRIuPTR): Likewise.
74676         [C99-based-standards] (PRIxPTR): Likewise.
74677         [C99-based-standards] (PRIXPTR): Likewise.
74678         [C99-based-standards] (SCNdPTR): Likewise.
74679         [C99-based-standards] (SCNiPTR): Likewise.
74680         [C99-based-standards] (SCNoPTR): Likewise.
74681         [C99-based-standards] (SCNuPTR): Likewise.
74682         [C99-based-standards] (SCNxPTR): Likewise.
74683         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
74684         allow.
74685         * conform/data/stdint.h-data: Update comments to clarify
74686         requirements.
74687         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
74688         type.
74689         [C99-based standards] (INT8_MAX): Likewise.
74690         [C99-based standards] (INT16_MIN): Likewise.
74691         [C99-based standards] (INT16_MAX): Likewise.
74692         [C99-based standards] (INT32_MIN): Likewise.
74693         [C99-based standards] (INT32_MAX): Likewise.
74694         [C99-based standards] (INT64_MIN): Likewise.
74695         [C99-based standards] (INT64_MAX): Likewise.
74696         [C99-based standards] (UINT8_MAX): Likewise.
74697         [C99-based standards] (UINT16_MAX): Likewise.
74698         [C99-based standards] (UINT32_MAX): Likewise.
74699         [C99-based standards] (UINT64_MAX): Likewise.
74700         [C99-based standards] (INT_LEAST8_MIN): Likewise.
74701         [C99-based standards] (INT_LEAST8_MAX): Likewise.
74702         [C99-based standards] (INT_LEAST16_MIN): Likewise.
74703         [C99-based standards] (INT_LEAST16_MAX): Likewise.
74704         [C99-based standards] (INT_LEAST32_MIN): Likewise.
74705         [C99-based standards] (INT_LEAST32_MAX): Likewise.
74706         [C99-based standards] (INT_LEAST64_MIN): Likewise.
74707         [C99-based standards] (INT_LEAST64_MAX): Likewise.
74708         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
74709         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
74710         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
74711         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
74712         [C99-based standards] (INT_FAST8_MIN): Likewise.
74713         [C99-based standards] (INT_FAST8_MAX): Likewise.
74714         [C99-based standards] (INT_FAST16_MIN): Likewise.
74715         [C99-based standards] (INT_FAST16_MAX): Likewise.
74716         [C99-based standards] (INT_FAST32_MIN): Likewise.
74717         [C99-based standards] (INT_FAST32_MAX): Likewise.
74718         [C99-based standards] (INT_FAST64_MIN): Likewise.
74719         [C99-based standards] (INT_FAST64_MAX): Likewise.
74720         [C99-based standards] (UINT_FAST8_MAX): Likewise.
74721         [C99-based standards] (UINT_FAST16_MAX): Likewise.
74722         [C99-based standards] (UINT_FAST32_MAX): Likewise.
74723         [C99-based standards] (UINT_FAST64_MAX): Likewise.
74724         [C99-based standards] (INTPTR_MIN): Likewise.
74725         [C99-based standards] (INTPTR_MAX): Likewise.
74726         [C99-based standards] (UINTPTR_MAX): Likewise.
74727         [C99-based standards] (INTMAX_MIN): Likewise.
74728         [C99-based standards] (INTMAX_MAX): Likewise.
74729         [C99-based standards] (UINTMAX_MAX): Likewise.
74730         [C99-based standards] (PTRDIFF_MIN): Likewise.
74731         [C99-based standards] (PTRDIFF_MAX): Likewise.
74732         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
74733         [C99-based standards] (SIZE_MAX): Likewise.
74734         [C99-based standards] (WCHAR_MAX): Likewise.
74735         [C99-based standards] (WINT_MAX): Likewise.
74736         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
74737         constraint on value.
74738         [C99-based standards] (WCHAR_MIN): Likewise.
74739         [C99-based standards] (WINT_MIN): Likewise.
74740         [C99-based standards] (*_t): Allow.
74741         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
74742         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
74743         Include math.h-data and complex.h-data.  Remove all expectations
74744         of math.h and complex.h contents.
74745         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
74746         at end of line.
74747         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
74748         (struct tm): Expect tag.
74749         [C99-based-standards] (wcstof): Expect function.
74750         [C99-based-standards] (wcstold): Likewise.
74751         [C99-based-standards] (wcstoll): Likewise.
74752         [C99-based-standards] (wcstoull): Likewise.
74753         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
74754         macro-int-constant.  Specify type.
74755         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
74756         constraint on value.
74757         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74758         Specify type.
74759         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
74760         Specify value.
74761         [ISO C standards]: Do not allow headers.
74762         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
74763         wcs[abcdefghijklmnopqrstuvwxyz]*.
74764         [ISO C standards] (*_t): Do not allow.
74765         * conform/data/wctype.h-data [C99-based standards] (iswblank):
74766         Expect function.
74767         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
74768         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74769         Specify type.
74770         [ISO C standards]: Do not allow headers.
74771         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
74772         is[abcdefghijklmnopqrstuvwxyz]*.
74773         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
74774         to[abcdefghijklmnopqrstuvwxyz]*.
74775         [ISO C standards] (*_t): Do not allow.
74776         * conform/data/stdalign.h-data: New file.
74777         * conform/data/stdbool.h-data: Likewise.
74778         * conform/data/stdnoreturn.h-data: Likewise.
74780 2012-11-07  Roland McGrath  <roland@hack.frob.com>
74782         [BZ #14815]
74783         * manual/filesys.texi (Directory Entries): Typo fix.
74784         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
74786 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74788         * elf/elf.h (EM_AARCH64): New macro.
74789         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
74790         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
74791         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
74792         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
74793         (R_AARCH64_TLSDESC): Likewise.
74794         (NT_ARM_TLS): Likewise.
74795         (NT_ARM_HW_BREAK): Likewise.
74796         (NT_ARM_HW_WATCH): Likewise.
74798 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74800         [BZ #14811]
74801         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
74802         (__ieee754_powl): Saturate nonzero exponents with absolute value
74803         below 0x1p-79 to +/- 0x1p-79.
74804         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
74805         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
74806         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
74807         nonzero exponents with absolute value below 0x1p-32 to +/-
74808         0x1p-32.
74809         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
74810         (__ieee754_powl): Saturate nonzero exponents with absolute value
74811         below 0x1p-79 to +/- 0x1p-79.
74812         * math/libm-test.inc (pow_test): Add more tests.
74814 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74816         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
74817         _dl_s390_cap_flags with kernel. Increase string length.
74818         (_dl_s390_platforms): Add z196 and zEC12.
74820 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74822         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
74823         Change XOPEN21K to XOPEN2K.
74825 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
74827         * string/memmove.c: Use memcpy when possible.
74829 2012-11-06  Andreas Jaeger  <aj@suse.de>
74831         * po/eo.po: Update from translation team.
74833 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
74835         [BZ #14793]
74836         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
74837         exponent and small x and y exponents, scale x or y up.  Increase
74838         by 2 the exponent used in scaling up.
74839         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74840         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74841         * math/libm-test.inc (fma_test): Add more tests.
74842         (fma_test_towardzero): Likewise.
74843         (fma_test_downward): Likewise.
74844         (fma_test_upward): Likewise.
74846 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
74848         [BZ #14805]
74849         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
74850         fenv_t *.
74852         [BZ #14801]
74853         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
74854         namespace for names of struct fields.
74855         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
74856         fenv_t fields.
74857         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
74858         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
74860 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74862         [BZ #3665]
74863         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
74865 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
74867         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
74868         PTR_DEMANGLE.
74870         [BZ #5246]
74871         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
74872         PTR_DEMANGLE.
74874 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
74876         [BZ #14797]
74877         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
74878         definitely overflow as x * y not x * y + z.
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-04  Thomas Schwinge  <thomas@codesourcery.com>
74888         [BZ #157]
74890         * include/stub-tag.h: Remove file.
74891         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
74892         '#include' of it.
74893         * manual/maint.texi (Porting): Don't reference it.
74894         * Makerules ($(objpfx)stubs): Likewise.
74895         * dirent/closedir.c: Don't include <stub-tag.h>.
74896         * dirent/dirfd.c: Likewise.
74897         * dirent/fdopendir.c: Likewise.
74898         * dirent/getdents.c: Likewise.
74899         * dirent/getdents64.c: Likewise.
74900         * dirent/opendir.c: Likewise.
74901         * dirent/readdir.c: Likewise.
74902         * dirent/readdir64.c: Likewise.
74903         * dirent/readdir64_r.c: Likewise.
74904         * dirent/readdir_r.c: Likewise.
74905         * dirent/rewinddir.c: Likewise.
74906         * dirent/seekdir.c: Likewise.
74907         * dirent/telldir.c: Likewise.
74908         * gmon/profil.c: Likewise.
74909         * grp/setgroups.c: Likewise.
74910         * inet/if_index.c: Likewise.
74911         * io/access.c: Likewise.
74912         * io/chdir.c: Likewise.
74913         * io/chmod.c: Likewise.
74914         * io/chown.c: Likewise.
74915         * io/close.c: Likewise.
74916         * io/dup.c: Likewise.
74917         * io/dup2.c: Likewise.
74918         * io/dup3.c: Likewise.
74919         * io/euidaccess.c: Likewise.
74920         * io/faccessat.c: Likewise.
74921         * io/fchdir.c: Likewise.
74922         * io/fchmod.c: Likewise.
74923         * io/fchmodat.c: Likewise.
74924         * io/fchown.c: Likewise.
74925         * io/fchownat.c: Likewise.
74926         * io/fcntl.c: Likewise.
74927         * io/flock.c: Likewise.
74928         * io/fstatfs.c: Likewise.
74929         * io/fstatfs64.c: Likewise.
74930         * io/fstatvfs.c: Likewise.
74931         * io/fstatvfs64.c: Likewise.
74932         * io/futimens.c: Likewise.
74933         * io/fxstat.c: Likewise.
74934         * io/fxstat64.c: Likewise.
74935         * io/fxstatat.c: Likewise.
74936         * io/fxstatat64.c: Likewise.
74937         * io/getcwd.c: Likewise.
74938         * io/isatty.c: Likewise.
74939         * io/lchmod.c: Likewise.
74940         * io/lchown.c: Likewise.
74941         * io/link.c: Likewise.
74942         * io/linkat.c: Likewise.
74943         * io/lseek.c: Likewise.
74944         * io/lseek64.c: Likewise.
74945         * io/lxstat64.c: Likewise.
74946         * io/mkdir.c: Likewise.
74947         * io/mkdirat.c: Likewise.
74948         * io/mkfifo.c: Likewise.
74949         * io/mkfifoat.c: Likewise.
74950         * io/open.c: Likewise.
74951         * io/open64.c: Likewise.
74952         * io/openat.c: Likewise.
74953         * io/openat64.c: Likewise.
74954         * io/pipe.c: Likewise.
74955         * io/pipe2.c: Likewise.
74956         * io/poll.c: Likewise.
74957         * io/posix_fadvise.c: Likewise.
74958         * io/posix_fadvise64.c: Likewise.
74959         * io/posix_fallocate.c: Likewise.
74960         * io/posix_fallocate64.c: Likewise.
74961         * io/read.c: Likewise.
74962         * io/readlink.c: Likewise.
74963         * io/readlinkat.c: Likewise.
74964         * io/rmdir.c: Likewise.
74965         * io/sendfile.c: Likewise.
74966         * io/sendfile64.c: Likewise.
74967         * io/statfs.c: Likewise.
74968         * io/statfs64.c: Likewise.
74969         * io/statvfs.c: Likewise.
74970         * io/statvfs64.c: Likewise.
74971         * io/symlink.c: Likewise.
74972         * io/symlinkat.c: Likewise.
74973         * io/ttyname.c: Likewise.
74974         * io/ttyname_r.c: Likewise.
74975         * io/umask.c: Likewise.
74976         * io/unlink.c: Likewise.
74977         * io/unlinkat.c: Likewise.
74978         * io/utime.c: Likewise.
74979         * io/utimensat.c: Likewise.
74980         * io/write.c: Likewise.
74981         * io/xmknod.c: Likewise.
74982         * io/xmknodat.c: Likewise.
74983         * io/xstat.c: Likewise.
74984         * io/xstat64.c: Likewise.
74985         * login/getpt.c: Likewise.
74986         * login/grantpt.c: Likewise.
74987         * login/unlockpt.c: Likewise.
74988         * math/e_acoshl.c: Likewise.
74989         * math/e_acosl.c: Likewise.
74990         * math/e_asinl.c: Likewise.
74991         * math/e_atan2l.c: Likewise.
74992         * math/e_atanhl.c: Likewise.
74993         * math/e_coshl.c: Likewise.
74994         * math/e_expl.c: Likewise.
74995         * math/e_fmodl.c: Likewise.
74996         * math/e_gammal_r.c: Likewise.
74997         * math/e_hypotl.c: Likewise.
74998         * math/e_j0l.c: Likewise.
74999         * math/e_j1l.c: Likewise.
75000         * math/e_jnl.c: Likewise.
75001         * math/e_lgammal_r.c: Likewise.
75002         * math/e_log10l.c: Likewise.
75003         * math/e_log2l.c: Likewise.
75004         * math/e_logl.c: Likewise.
75005         * math/e_powl.c: Likewise.
75006         * math/e_rem_pio2l.c: Likewise.
75007         * math/e_sinhl.c: Likewise.
75008         * math/e_sqrtl.c: Likewise.
75009         * math/fclrexcpt.c: Likewise.
75010         * math/fedisblxcpt.c: Likewise.
75011         * math/feenablxcpt.c: Likewise.
75012         * math/fegetenv.c: Likewise.
75013         * math/fegetexcept.c: Likewise.
75014         * math/fegetround.c: Likewise.
75015         * math/feholdexcpt.c: Likewise.
75016         * math/fesetenv.c: Likewise.
75017         * math/fesetround.c: Likewise.
75018         * math/feupdateenv.c: Likewise.
75019         * math/fgetexcptflg.c: Likewise.
75020         * math/fraiseexcpt.c: Likewise.
75021         * math/fsetexcptflg.c: Likewise.
75022         * math/ftestexcept.c: Likewise.
75023         * math/k_cosl.c: Likewise.
75024         * math/k_rem_pio2l.c: Likewise.
75025         * math/k_sinl.c: Likewise.
75026         * math/k_tanl.c: Likewise.
75027         * math/s_asinhl.c: Likewise.
75028         * math/s_atanl.c: Likewise.
75029         * math/s_cbrtl.c: Likewise.
75030         * math/s_erfl.c: Likewise.
75031         * math/s_expm1l.c: Likewise.
75032         * math/s_log1pl.c: Likewise.
75033         * math/s_tanhl.c: Likewise.
75034         * misc/acct.c: Likewise.
75035         * misc/brk.c: Likewise.
75036         * misc/chflags.c: Likewise.
75037         * misc/chroot.c: Likewise.
75038         * misc/fchflags.c: Likewise.
75039         * misc/fgetxattr.c: Likewise.
75040         * misc/flistxattr.c: Likewise.
75041         * misc/fremovexattr.c: Likewise.
75042         * misc/fsetxattr.c: Likewise.
75043         * misc/fsync.c: Likewise.
75044         * misc/ftruncate.c: Likewise.
75045         * misc/futimes.c: Likewise.
75046         * misc/futimesat.c: Likewise.
75047         * misc/getdomain.c: Likewise.
75048         * misc/getdtsz.c: Likewise.
75049         * misc/gethostid.c: Likewise.
75050         * misc/gethostname.c: Likewise.
75051         * misc/getloadavg.c: Likewise.
75052         * misc/getpagesize.c: Likewise.
75053         * misc/getsysstats.c: Likewise.
75054         * misc/getxattr.c: Likewise.
75055         * misc/gtty.c: Likewise.
75056         * misc/ioctl.c: Likewise.
75057         * misc/lgetxattr.c: Likewise.
75058         * misc/listxattr.c: Likewise.
75059         * misc/llistxattr.c: Likewise.
75060         * misc/lremovexattr.c: Likewise.
75061         * misc/lsetxattr.c: Likewise.
75062         * misc/lutimes.c: Likewise.
75063         * misc/madvise.c: Likewise.
75064         * misc/mincore.c: Likewise.
75065         * misc/mlock.c: Likewise.
75066         * misc/mlockall.c: Likewise.
75067         * misc/mmap.c: Likewise.
75068         * misc/mprotect.c: Likewise.
75069         * misc/msync.c: Likewise.
75070         * misc/munlock.c: Likewise.
75071         * misc/munlockall.c: Likewise.
75072         * misc/munmap.c: Likewise.
75073         * misc/preadv.c: Likewise.
75074         * misc/preadv64.c: Likewise.
75075         * misc/ptrace.c: Likewise.
75076         * misc/pwritev.c: Likewise.
75077         * misc/pwritev64.c: Likewise.
75078         * misc/readv.c: Likewise.
75079         * misc/reboot.c: Likewise.
75080         * misc/remap_file_pages.c: Likewise.
75081         * misc/removexattr.c: Likewise.
75082         * misc/revoke.c: Likewise.
75083         * misc/select.c: Likewise.
75084         * misc/setdomain.c: Likewise.
75085         * misc/setegid.c: Likewise.
75086         * misc/seteuid.c: Likewise.
75087         * misc/sethostid.c: Likewise.
75088         * misc/sethostname.c: Likewise.
75089         * misc/setregid.c: Likewise.
75090         * misc/setreuid.c: Likewise.
75091         * misc/setxattr.c: Likewise.
75092         * misc/sstk.c: Likewise.
75093         * misc/stty.c: Likewise.
75094         * misc/swapoff.c: Likewise.
75095         * misc/swapon.c: Likewise.
75096         * misc/sync.c: Likewise.
75097         * misc/syncfs.c: Likewise.
75098         * misc/syscall.c: Likewise.
75099         * misc/truncate.c: Likewise.
75100         * misc/ualarm.c: Likewise.
75101         * misc/usleep.c: Likewise.
75102         * misc/ustat.c: Likewise.
75103         * misc/utimes.c: Likewise.
75104         * misc/vhangup.c: Likewise.
75105         * misc/writev.c: Likewise.
75106         * posix/_exit.c: Likewise.
75107         * posix/alarm.c: Likewise.
75108         * posix/execve.c: Likewise.
75109         * posix/fexecve.c: Likewise.
75110         * posix/fork.c: Likewise.
75111         * posix/fpathconf.c: Likewise.
75112         * posix/getaddrinfo.c: Likewise.
75113         * posix/getegid.c: Likewise.
75114         * posix/geteuid.c: Likewise.
75115         * posix/getgid.c: Likewise.
75116         * posix/getgroups.c: Likewise.
75117         * posix/getlogin.c: Likewise.
75118         * posix/getlogin_r.c: Likewise.
75119         * posix/getpgid.c: Likewise.
75120         * posix/getpid.c: Likewise.
75121         * posix/getppid.c: Likewise.
75122         * posix/getresgid.c: Likewise.
75123         * posix/getresuid.c: Likewise.
75124         * posix/getsid.c: Likewise.
75125         * posix/getuid.c: Likewise.
75126         * posix/glob64.c: Likewise.
75127         * posix/nanosleep.c: Likewise.
75128         * posix/pathconf.c: Likewise.
75129         * posix/pause.c: Likewise.
75130         * posix/posix_madvise.c: Likewise.
75131         * posix/pread.c: Likewise.
75132         * posix/pread64.c: Likewise.
75133         * posix/pwrite.c: Likewise.
75134         * posix/pwrite64.c: Likewise.
75135         * posix/sched_getaffinity.c: Likewise.
75136         * posix/sched_getp.c: Likewise.
75137         * posix/sched_gets.c: Likewise.
75138         * posix/sched_primax.c: Likewise.
75139         * posix/sched_primin.c: Likewise.
75140         * posix/sched_rr_gi.c: Likewise.
75141         * posix/sched_setaffinity.c: Likewise.
75142         * posix/sched_setp.c: Likewise.
75143         * posix/sched_sets.c: Likewise.
75144         * posix/sched_yield.c: Likewise.
75145         * posix/setgid.c: Likewise.
75146         * posix/setlogin.c: Likewise.
75147         * posix/setpgid.c: Likewise.
75148         * posix/setresgid.c: Likewise.
75149         * posix/setresuid.c: Likewise.
75150         * posix/setsid.c: Likewise.
75151         * posix/setuid.c: Likewise.
75152         * posix/sleep.c: Likewise.
75153         * posix/spawni.c: Likewise.
75154         * posix/sysconf.c: Likewise.
75155         * posix/times.c: Likewise.
75156         * posix/wait.c: Likewise.
75157         * posix/wait3.c: Likewise.
75158         * posix/wait4.c: Likewise.
75159         * posix/waitpid.c: Likewise.
75160         * resolv/gai_sigqueue.c: Likewise.
75161         * resource/getpriority.c: Likewise.
75162         * resource/getrlimit.c: Likewise.
75163         * resource/getrusage.c: Likewise.
75164         * resource/nice.c: Likewise.
75165         * resource/setpriority.c: Likewise.
75166         * resource/setrlimit.c: Likewise.
75167         * resource/ulimit.c: Likewise.
75168         * rt/aio_cancel.c: Likewise.
75169         * rt/aio_fsync.c: Likewise.
75170         * rt/aio_read.c: Likewise.
75171         * rt/aio_sigqueue.c: Likewise.
75172         * rt/aio_suspend.c: Likewise.
75173         * rt/aio_write.c: Likewise.
75174         * rt/clock_getres.c: Likewise.
75175         * rt/clock_gettime.c: Likewise.
75176         * rt/clock_nanosleep.c: Likewise.
75177         * rt/clock_settime.c: Likewise.
75178         * rt/lio_listio.c: Likewise.
75179         * rt/mq_close.c: Likewise.
75180         * rt/mq_getattr.c: Likewise.
75181         * rt/mq_notify.c: Likewise.
75182         * rt/mq_open.c: Likewise.
75183         * rt/mq_receive.c: Likewise.
75184         * rt/mq_send.c: Likewise.
75185         * rt/mq_setattr.c: Likewise.
75186         * rt/mq_timedreceive.c: Likewise.
75187         * rt/mq_timedsend.c: Likewise.
75188         * rt/mq_unlink.c: Likewise.
75189         * rt/shm_open.c: Likewise.
75190         * rt/shm_unlink.c: Likewise.
75191         * rt/timer_create.c: Likewise.
75192         * rt/timer_delete.c: Likewise.
75193         * rt/timer_getoverr.c: Likewise.
75194         * rt/timer_gettime.c: Likewise.
75195         * rt/timer_settime.c: Likewise.
75196         * setjmp/__longjmp.c: Likewise.
75197         * setjmp/setjmp.c: Likewise.
75198         * signal/kill.c: Likewise.
75199         * signal/killpg.c: Likewise.
75200         * signal/raise.c: Likewise.
75201         * signal/sigaction.c: Likewise.
75202         * signal/sigaltstack.c: Likewise.
75203         * signal/sigblock.c: Likewise.
75204         * signal/sigignore.c: Likewise.
75205         * signal/sigintr.c: Likewise.
75206         * signal/signal.c: Likewise.
75207         * signal/sigpause.c: Likewise.
75208         * signal/sigpending.c: Likewise.
75209         * signal/sigqueue.c: Likewise.
75210         * signal/sigreturn.c: Likewise.
75211         * signal/sigset.c: Likewise.
75212         * signal/sigsetmask.c: Likewise.
75213         * signal/sigstack.c: Likewise.
75214         * signal/sigsuspend.c: Likewise.
75215         * signal/sigtimedwait.c: Likewise.
75216         * signal/sigvec.c: Likewise.
75217         * signal/sigwait.c: Likewise.
75218         * signal/sigwaitinfo.c: Likewise.
75219         * signal/sysv_signal.c: Likewise.
75220         * socket/accept.c: Likewise.
75221         * socket/accept4.c: Likewise.
75222         * socket/bind.c: Likewise.
75223         * socket/connect.c: Likewise.
75224         * socket/getpeername.c: Likewise.
75225         * socket/getsockname.c: Likewise.
75226         * socket/getsockopt.c: Likewise.
75227         * socket/isfdtype.c: Likewise.
75228         * socket/listen.c: Likewise.
75229         * socket/recv.c: Likewise.
75230         * socket/recvfrom.c: Likewise.
75231         * socket/recvmsg.c: Likewise.
75232         * socket/send.c: Likewise.
75233         * socket/sendmsg.c: Likewise.
75234         * socket/sendto.c: Likewise.
75235         * socket/setsockopt.c: Likewise.
75236         * socket/shutdown.c: Likewise.
75237         * socket/sockatmark.c: Likewise.
75238         * socket/socket.c: Likewise.
75239         * socket/socketpair.c: Likewise.
75240         * stdio-common/ctermid.c: Likewise.
75241         * stdio-common/cuserid.c: Likewise.
75242         * stdio-common/remove.c: Likewise.
75243         * stdio-common/rename.c: Likewise.
75244         * stdio-common/renameat.c: Likewise.
75245         * stdio-common/tempname.c: Likewise.
75246         * stdlib/getcontext.c: Likewise.
75247         * stdlib/makecontext.c: Likewise.
75248         * stdlib/setcontext.c: Likewise.
75249         * stdlib/swapcontext.c: Likewise.
75250         * stdlib/system.c: Likewise.
75251         * streams/fattach.c: Likewise.
75252         * streams/fdetach.c: Likewise.
75253         * streams/getmsg.c: Likewise.
75254         * streams/getpmsg.c: Likewise.
75255         * streams/putmsg.c: Likewise.
75256         * streams/putpmsg.c: Likewise.
75257         * sysdeps/unix/bsd/getpt.c: Likewise.
75258         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
75259         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
75260         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
75261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75262         Likewise.
75263         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
75264         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75265         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
75266         * sysvipc/msgctl.c: Likewise.
75267         * sysvipc/msgget.c: Likewise.
75268         * sysvipc/msgrcv.c: Likewise.
75269         * sysvipc/msgsnd.c: Likewise.
75270         * sysvipc/semctl.c: Likewise.
75271         * sysvipc/semget.c: Likewise.
75272         * sysvipc/semop.c: Likewise.
75273         * sysvipc/semtimedop.c: Likewise.
75274         * sysvipc/shmat.c: Likewise.
75275         * sysvipc/shmctl.c: Likewise.
75276         * sysvipc/shmdt.c: Likewise.
75277         * sysvipc/shmget.c: Likewise.
75278         * termios/tcdrain.c: Likewise.
75279         * termios/tcflow.c: Likewise.
75280         * termios/tcflush.c: Likewise.
75281         * termios/tcgetattr.c: Likewise.
75282         * termios/tcgetpgrp.c: Likewise.
75283         * termios/tcsendbrk.c: Likewise.
75284         * termios/tcsetattr.c: Likewise.
75285         * termios/tcsetpgrp.c: Likewise.
75286         * time/adjtime.c: Likewise.
75287         * time/clock.c: Likewise.
75288         * time/getitimer.c: Likewise.
75289         * time/gettimeofday.c: Likewise.
75290         * time/setitimer.c: Likewise.
75291         * time/settimeofday.c: Likewise.
75292         * time/stime.c: Likewise.
75293         * time/time.c: Likewise.
75295 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
75297         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
75298         /usr/old/bin.
75300         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
75301         instead of spaces.
75302         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
75304 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
75306         [BZ #14796]
75307         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
75308         FE_TONEAREST before applying Dekker multiplication and Knuth
75309         addition.  Clear inexact exceptions and check for exact zero
75310         results afterwards.
75311         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75312         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
75313         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75314         * math/libm-test.inc (fma_test): Add more tests.
75315         (fma_test_towardzero): Likewise.
75316         (fma_test_downward): Likewise.
75317         (fma_test_upward): Likewise.
75318         * sysdeps/generic/math_private.h (default_libc_fesetround): New
75319         function.
75320         (libc_fesetround): New macro.
75321         (libc_fesetroundf): Likewise.
75322         (libc_fesetroundl): Likewise.
75323         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
75324         function.
75325         (libc_fesetround_387): Likewise.
75326         (libc_fesetroundf): New macro.
75327         (libc_fesetround): Likewise.
75328         (libc_fesetroundl): Likewise.
75329         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
75330         function.
75331         (libc_fesetroundf): New macro.
75332         (libc_fesetround): Likewise.
75333         (libc_fesetroundl): Likewise.
75334         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
75335         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
75336         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
75337         libm_hidden_ver.
75338         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
75339         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
75340         libm_hidden_def.
75341         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
75342         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
75343         libm_hidden_ver.
75344         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
75345         libm_hidden_def.
75347         [BZ #3439]
75348         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
75349         integer constant usable in #if and use that to give value to enum
75350         constant.
75351         (FE_DIVBYZERO): Likewise.
75352         (FE_UNDERFLOW): Likewise.
75353         (FE_OVERFLOW): Likewise.
75354         (FE_INVALID): Likewise.
75355         (FE_INVALID_SNAN): Likewise.
75356         (FE_INVALID_ISI): Likewise.
75357         (FE_INVALID_IDI): Likewise.
75358         (FE_INVALID_ZDZ): Likewise.
75359         (FE_INVALID_IMZ): Likewise.
75360         (FE_INVALID_COMPARE): Likewise.
75361         (FE_INVALID_SOFTWARE): Likewise.
75362         (FE_INVALID_SQRT): Likewise.
75363         (FE_INVALID_INTEGER_CONVERSION): Likewise.
75364         (FE_TONEAREST): Likewise.
75365         (FE_TOWARDZERO): Likewise.
75366         (FE_UPWARD): Likewise.
75367         (FE_DOWNWARD): Likewise.
75368         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
75369         (FE_DIVBYZERO): Likewise.
75370         (FE_OVERFLOW): Likewise.
75371         (FE_UNDERFLOW): Likewise.
75372         (FE_INEXACT): Likewise.
75373         (FE_TONEAREST): Likewise.
75374         (FE_DOWNWARD): Likewise.
75375         (FE_UPWARD): Likewise.
75376         (FE_TOWARDZERO): Likewise.
75377         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
75378         (FE_UNDERFLOW): Likewise.
75379         (FE_OVERFLOW): Likewise.
75380         (FE_DIVBYZERO): Likewise.
75381         (FE_INVALID): Likewise.
75382         (FE_TONEAREST): Likewise.
75383         (FE_TOWARDZERO): Likewise.
75384         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
75385         (FE_OVERFLOW): Likewise.
75386         (FE_UNDERFLOW): Likewise.
75387         (FE_DIVBYZERO): Likewise.
75388         (FE_INEXACT): Likewise.
75389         (FE_TONEAREST): Likewise.
75390         (FE_TOWARDZERO): Likewise.
75391         (FE_UPWARD): Likewise.
75392         (FE_DOWNWARD): Likewise.
75393         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
75394         (FE_DIVBYZERO): Likewise.
75395         (FE_OVERFLOW): Likewise.
75396         (FE_UNDERFLOW): Likewise.
75397         (FE_INEXACT): Likewise.
75398         (FE_TONEAREST): Likewise.
75399         (FE_DOWNWARD): Likewise.
75400         (FE_UPWARD): Likewise.
75401         (FE_TOWARDZERO): Likewise.
75403 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
75405         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
75407 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
75409         * scripts/cross-test-ssh.sh (command): Use newlines to separate
75410         commands.  Quote $PWD.
75411         (blacklist_exports): Don't use remove_newlines.  Replace "declare
75412         -x" by "export".
75413         (remove_newlines): Remove.
75415 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
75417         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
75418         * stdlib/stdlib.h (atof): Moved to ...
75419         * include/bits/stdlib-float.h: Here.  New file.
75420         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
75421         * stdlib/bits/stdlib-float.h: New file.
75422         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
75423         -mno-sse -mno-mmx.
75424         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
75425         <xmmintrin.h>.
75427 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
75429         * conform/conformtest.pl (@headers): Add fenv.h.
75430         * conform/data/fenv.h-data: New file.
75431         * include/fenv.h [_ISOMAC]: Disable all contents of file except
75432         include of <math/fenv.h>.
75434         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
75435         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
75436         && !UNIX98].  Enables tests for XOPEN2K8.
75437         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
75438         POSIX2008]: Likewise.
75440         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
75441         (struct rusage): Do not expect type or its members.
75443         [BZ #3439]
75444         * math/math.h (FP_NAN): Define macro to integer constant usable in
75445         #if and use that to give value to enum constant.
75446         (FP_INFINITE): Likewise.
75447         (FP_ZERO): Likewise.
75448         (FP_SUBNORMAL): Likewise.
75449         (FP_NORMAL): Likewise.
75451 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
75453         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
75454         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
75455         arguments.
75457 2012-11-02  Roland McGrath  <roland@hack.frob.com>
75459         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
75460         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
75461         autoconf-time if not.
75462         * configure.in: Remove AC_PREREQ.
75464 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75466         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
75467         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
75468         of the internal implementation.
75470 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
75472         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
75473         except include of <misc/sys/syslog.h>.
75475 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
75478         function returns with a NULL context exit with zero.
75480 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75482         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
75484 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
75486         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
75487         (run_program_cmd): This.
75488         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
75489         (tst_langinfo): New variable.  Use it.
75491 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
75493         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
75494         floating point opcodes.
75496 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75498         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
75499         variable.
75501         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
75503         * sysdeps/mach/hurd/powerpc: Remove directory.
75504         * sysdeps/mach/powerpc: Likewise.
75506 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75508         * scripts/check-local-headers.sh: Ignore c++ headers.
75510 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75512         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
75513         __libc_cleanup_region_start argument.
75515 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
75517         [BZ #14784]
75518         [BZ #14785]
75519         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
75520         x * y using scaling, not as x * y + z.
75521         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75522         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75523         * math/libm-test.inc (fma_test): Add more tests.
75524         (fma_test_towardzero): Likewise.
75525         (fma_test_downward): Likewise.
75526         (fma_test_upward): Likewise.
75528 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75530         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
75532 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
75534         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
75535         New variable.
75537 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
75539         * rt/tst-shm.c (worker): Correct checking for mmap failure.
75541 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
75543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75544         Fix sort order.
75545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75546         Likewise.
75548 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75551         Fix the order of the list for glibc 2.17.
75552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75553         Likewise.
75555 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
75557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75559 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
75561         [BZ #14610]
75562         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
75563         for low part of x being zero before using __atanl (y).
75564         * math/libm-test.inc (atan2_test): Add another test.
75566         * manual/install.texi (Configuring and compiling): Document
75567         general use of test-wrapper and test-wrapper-env.
75568         * INSTALL: Regenerated.
75570         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
75571         (__fma): Do not extract and scale down low bits on after-rounding
75572         systems when result rounded to normal precision would have normal
75573         exponent.
75574         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
75575         (__fmal): Do not extract and scale down low bits on after-rounding
75576         systems when result rounded to normal precision would have normal
75577         exponent.
75578         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
75579         (__fmal): Do not extract and scale down low bits on after-rounding
75580         systems when result rounded to normal precision would have normal
75581         exponent.
75582         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
75583         macro.
75584         (fma_test): Add more tests.
75585         (fma_test_towardzero): Likewise.
75586         (fma_test_downward): Likewise.
75587         (fma_test_upward): Likewise.
75589 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
75591         * sysdeps/i386/tininess.h: Renamed to ...
75592         * sysdeps/x86/tininess.h: This.
75593         * sysdeps/x86_64/tininess.h: Removed.
75595 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
75597         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
75598         input.  Use $(build-program-cmd).
75599         ($(objpfx)tst-array1-static.out): Likewise.
75600         ($(objpfx)tst-array2.out): Likewise.
75601         ($(objpfx)tst-array3.out): Likewise.
75602         ($(objpfx)tst-array4.out): Likewise.
75603         ($(objpfx)tst-array5.out): Likewise.
75604         ($(objpfx)tst-array5-static.out): Likewise.
75606 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
75608         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
75609         if defined.
75611         * nss/nsswitch.h (nss_interface_function): Provide new
75612         macro for use with NSS functions.
75613         * grp/initgroups.c: Use new macro.
75614         * nss/getXXbyYY.c: Likewise.
75615         * nss/getXXbyYY_r.c: Likewise.
75616         * nss/getXXent.c: Likewise.
75617         * nss/getXXent_r.c: Likewise.
75618         * sysdeps/posix/getaddrinfo.c: Likewise.
75620 2012-10-30  Andreas Jaeger  <aj@suse.de>
75622         * po/ru.po: Update Russion translation from translation project.
75624 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
75626         [BZ #14152]
75627         [BZ #14783]
75628         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
75629         result and shift together with sticky bit instead of replicating
75630         round-to-nearest rounding.
75631         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75632         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75633         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
75634         missing underflow exceptions.
75635         (fma_test_towardzero): Add more tests.
75636         (fma_test_downward): Likewise.
75637         (fma_test_upward): Likewise.
75639         [BZ #14047]
75640         * sysdeps/generic/tininess.h: New file.
75641         * sysdeps/i386/tininess.h: Likewise.
75642         * sysdeps/sh/tininess.h: Likewise.
75643         * sysdeps/x86_64/tininess.h: Likewise.
75644         * stdlib/tst-strtod-underflow.c: Likewise.
75645         * stdlib/tst-tininess.c: Likewise.
75646         * stdlib/strtod_l.c: Include <tininess.h>.
75647         (round_and_return): Do not set errno for exact underflow cases.
75648         Force an underflow exception when setting errno for underflow.
75649         Determine underflow based on rounding to normal precision if
75650         TININESS_AFTER_ROUNDING.
75651         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
75652         ERANGE for exact underflow cases.
75653         * stdlib/Makefile (tests): Add tst-tininess and
75654         tst-strtod-underflow.
75655         ($(objpfx)tst-tininess): Use $(link-libm).
75656         ($(objpfx)tst-strtod-underflow): Likewise.
75658 2012-10-30  Andreas Jaeger  <aj@suse.de>
75660         [BZ #14767]
75661         * elf/Makefile (tests): Remove conditional for have-initfini-array
75662         since this is now always required and the variable does not exist
75663         anymore.
75664         (tests-static): Likewise.
75665         (modules-names): Likewise.
75667         * po/eo.po: Add Esperanto translation from translation project.
75669         * elf/tst-array1.c (fini_array): Make writeable so that it can be
75670         merged with constructor/destructor.
75671         (init_array): Likewise.
75672         * elf/tst-array2dep.c (fini_array): Likewise.
75673         (init_array): Likewise.
75675 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
75677         * manual/message.texi: Delete @cartouche tags.
75679 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
75681         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
75682         EOPNOTSUPP.
75683         * sysdeps/mach/hurd/fsync.c: Likewise.
75685         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
75686         [_POSIX_REALTIME_SIGNALS]: Change condition to
75687         [_POSIX_REALTIME_SIGNALS > 0].
75689 2012-10-27  Andreas Jaeger  <aj@suse.de>
75691         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
75692         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
75693         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
75694         [__WORDSIZE != 64]: Likewise.
75696 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
75698         *  iconvdata/tst-table.sh: Remove ${SHELL}.
75699         *  iconvdata/tst-tables.sh: Likewise.
75701 2012-10-25  David S. Miller  <davem@davemloft.net>
75703         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75704         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
75705         of strtoull.
75707         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
75708         ifunc-impl-list.c
75709         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75710         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
75711         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
75712         file.
75714 2012-10-25  Roland McGrath  <roland@hack.frob.com>
75716         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75717         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
75718         __getdirentries.
75720 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
75721             Jim Blandy  <jimb@codesourcery.com>
75723         * scripts/cross-test-ssh.sh: New file.
75724         * manual/install.texi (Configuring and compiling): Document use of
75725         cross-test-ssh.sh.
75726         * INSTALL: Regenerated.
75728 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
75730         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
75731         EOPNOTSUPP.
75733 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
75735         * Makeconfig (run-program-prefix): Fix comment.
75737 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
75738             Jim Blandy  <jimb@codesourcery.com>
75740         * Makeconfig (test-wrapper): New variable,
75741         (test-wrapper-env): Likewise.
75742         [$(cross-compiling) = yes && $(test-wrapper) != ""]
75743         (run-built-tests): Define to yes.
75744         (run-program-prefix): Use $(test-wrapper).
75745         (built-program-cmd): Likewise.
75746         * Rules (make-test-out): Use $(test-wrapper-env) and
75747         $(host-built-program-cmd).
75748         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
75749         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
75750         tst-pathopt.sh.
75751         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
75752         $(test-wrapper-env) to tst-rtld-load-self.sh.
75753         ($(objpfx)order2.out): Use $(test-wrapper).
75754         ($(objpfx)tst-initorder.out): Likewise.
75755         ($(objpfx)tst-initorder2.out): Likewise.
75756         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
75757         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
75758         (test_wrapper_env): New variable.  Use it to run ld.so.
75759         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
75760         Use it to run ld.so.
75761         (test_wrapper_env): Likewise.
75762         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
75763         $(test-wrapper) to run-iconv-test.sh.
75764         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
75765         (ICONV): Use $test_wrapper.
75766         * posix/Makefile ($(objpfx)globtest.out): Pass
75767         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
75768         globtest.sh, not $(run-program-prefix).
75769         * posix/globtest.sh (run_via_rtld_prefix): New variable.
75770         (test_wrapper): Likewise.
75771         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
75772         set together with run_via_rtld_prefix.
75773         (run_program_prefix): Define in terms of test_wrapper and
75774         run_via_rtld_prefix.
75776 2012-10-24  Roland McGrath  <roland@hack.frob.com>
75778         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
75779         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
75780         Targets removed.
75782         [BZ #14743]
75783         * include/time.h: Remove librt_hidden_proto (clock_gettime).
75784         Declare __clock_getres, __clock_gettime, __clock_settime,
75785         __clock_nanosleep, and __clock_getcpuclockid.
75786         * rt/clock_gettime.c: Define __clock_gettime as an alias.
75787         Remove librt_hidden_def (clock_gettime).
75788         * sysdeps/unix/clock_gettime.c: Likewise.
75789         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
75790         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
75791         * rt/clock_getres.c: Define __clock_getres as an alias.
75792         * sysdeps/posix/clock_getres.c: Likewise.
75793         * rt/clock_settime.c: Define __clock_settime as an alias.
75794         * sysdeps/unix/clock_settime.c: Likewise.
75795         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
75796         * sysdeps/unix/clock_nanosleep.c: Likewise.
75797         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
75798         * rt/clock-compat.c: New file.
75799         * rt/Makefile (librt-routines): Add clock-compat and move
75800         $(clock-routines) to ...
75801         (routines): ... here, new variable.
75802         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
75803         Don't add get_clockfreq here.
75804         * rt/Versions (libc: GLIBC_2.17): New version set.
75805         Add clock_* symbols here.
75806         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
75807         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
75808         (GLIBC_2.17): Add clock_* symbols.
75809         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75810         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75811         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75813         Likewise.
75814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75815         Likewise.
75816         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75820         * NEWS: Mention the move.
75822         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
75823         Use __open, __read, __close rather than their public counterparts.
75824         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75825         (__get_clockfreq_via_cpuinfo): Likewise.
75826         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
75827         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
75829         * config.h.in (HAVE_IFUNC): New #undef.
75830         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
75831         was successful.
75832         * configure: Regenerated.
75834 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
75836         * configure.in: Move READELF check to start of file.
75837         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
75838         libc_cv_asm_gnu_indirect_function in the process.
75839         * configure: Regenerated.
75841 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
75843         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
75844         send the output to /dev/null.
75845         (libc_cv_cc_with_libunwind): Likewise.
75846         (libc_cv_as_noexecstack): Likewise.
75847         * configure: Regenerate.
75849 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
75851         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
75853         * posix/globtest.sh (TMPDIR): Do not set.
75854         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
75855         (testout): Likewise.
75857 2012-10-24  Andreas Jaeger  <aj@suse.de>
75859         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
75860         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
75861         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
75862         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
75863         posix_fadvise64, posix_fallocate64.
75865         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
75866         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
75867         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
75868         Likewise.
75869         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
75870         Likewise.
75871         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
75873         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
75874         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
75875         <bits/fcntl-linux.h>.
75876         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
75878         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
75879         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
75880         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
75881         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
75882         [__WORDSIZE != 64]: Likewise.
75884 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
75886         * Makeconfig (run-built-tests): New variable.
75887         * Rules [$(cross-compiling) = yes]: Change condition to
75888         [$(run-built-tests) = no].
75889         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
75890         to [$(run-built-tests) = yes].
75891         * elf/Makefile [$(cross-compiling) = no]: Likewise.
75892         * grp/Makefile [$(cross-compiling) = no]: Likewise.
75893         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
75894         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
75895         * intl/Makefile [$(cross-compiling) = no]: Likewise.
75896         * io/Makefile [$(cross-compiling) = no]: Likewise.
75897         * libio/Makefile [$(cross-compiling) = no]: Likewise.
75898         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
75899         * misc/Makefile [$(cross-compiling) = no]: Likewise.
75900         * posix/Makefile [$(cross-compiling) = no]: Likewise.
75901         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
75902         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
75903         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
75904         * string/Makefile [$(cross-compiling) = no]: Likewise.
75906         * posix/Makefile ($(objpfx)globtest.out): Pass
75907         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
75908         $(rtld-installed-name).
75909         * posix/globtest.sh (elf_objpfx): Remove variable.
75910         (rtld_installed_name): Likewise.
75911         (library_path): Likewise.
75912         (run_program_prefix): New variable.  Use for running globtest
75913         binary.
75915 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
75916             Joseph Myers  <joseph@codesourcery.com>
75918         * Makeconfig (host-built-program-cmd): New variable.
75919         * elf/Makefile (tst-stackguard1-ARGS): Use
75920         $(host-built-program-cmd).
75921         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
75922         (tst-spawn-ARGS): Likewise.
75923         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
75925 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
75926             Jim Blandy  <jimb@codesourcery.com>
75928         * Makeconfig (run-via-rtld-prefix): New variable.
75929         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
75930         (built-program-cmd): Likewise.
75932 2012-10-22  Andreas Jaeger  <aj@suse.de>
75934         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
75935         __O_RSYNC if it exists, otherwise to O_SYNC.
75937 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
75938             Joseph Myers  <joseph@codesourcery.com>
75940         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
75941         /dev/null.
75942         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
75943         from /dev/null
75944         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
75945         /dev/null.
75947 2012-10-22  Andreas Jaeger  <aj@suse.de>
75949         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
75950         Define always.
75951         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
75953         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75954         bits/fcntl-linux.h.
75956         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
75957         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
75959         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
75960         to __O_LARGEFILE.
75961         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
75962         to __O_LARGEFILE.
75964 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
75965             Joseph Myers  <joseph@codesourcery.com>
75967         * config.make.in (NM): New variable.
75969 2012-10-21  Andreas Jaeger  <aj@suse.de>
75971         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
75972         definitions and declarations that are provided by
75973         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
75975 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
75977         [BZ #14683]
75978         * elf/Makefile (tests-static): Add tst-leaks1-static.
75979         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
75980         ($(objpfx)tst-leaks1-static): New rule.
75981         ($(objpfx)tst-leaks1-static-mem): Likewise.
75982         (tst-leaks1-static-ENV): New macro.
75983         * elf/dl-open.c (dl_open_worker): Check the main application
75984         only if SHARED is defined.
75985         * elf/tst-leaks1-static.c: New file.
75987 2012-10-20  Andreas Jaeger  <aj@suse.de>
75989         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
75990         generic values for Linux.
75991         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
75992         and declarations that are provided by <bits/fcntl-linux.h> and
75993         include <bits/fcntl-linux.h>.
75994         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75995         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75997 2012-10-20  Roland McGrath  <roland@hack.frob.com>
75999         * io/fcntl.h: Move include of <bits/types.h> to the top and
76000         include it unconditionally.
76002 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
76004         * wcsmbs/Makefile (tests-ifunc): New variable.
76005         (tests): Add $(tests-ifunc).
76006         * wcsmbs/test-wcschr-ifunc.c: New file.
76007         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
76008         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
76009         * wcsmbs/test-wcslen-ifunc.c: Likewise.
76010         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
76011         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
76013         * string/Makefile (tests-ifunc): New variable.
76014         (tests): Add $(tests-ifunc).
76015         * string/test-memccpy.c (TEST_NAME): New macro.
76016         * string/test-memchr.c (TEST_NAME): Likewise.
76017         * string/test-memcmp.c (TEST_NAME): Likewise.
76018         * string/test-memcpy.c (TEST_NAME): Likewise.
76019         * string/test-memmem.c (TEST_NAME): Likewise.
76020         * string/test-memmove.c (TEST_NAME): Likewise.
76021         * string/test-memset.c (TEST_NAME): Likewise.
76022         * string/test-rawmemchr.c (TEST_NAME): Likewise.
76023         * string/test-stpcpy.c (TEST_NAME): Likewise.
76024         * string/test-stpncpy.c (TEST_NAME): Likewise.
76025         * string/test-strcasecmp.c (TEST_NAME): Likewise.
76026         * string/test-strcasestr.c (TEST_NAME): Likewise.
76027         * string/test-strcat.c (TEST_NAME): Likewise.
76028         * string/test-strchr.c (TEST_NAME): Likewise.
76029         * string/test-strcmp.c(TEST_NAME): Likewise.
76030         * string/test-strcpy.c (TEST_NAME): Likewise.
76031         * string/test-strcspn.c (TEST_NAME): Likewise.
76032         * string/test-strlen.c (TEST_NAME): Likewise.
76033         * string/test-strncasecmp.c (TEST_NAME): Likewise.
76034         * string/test-strncmp.c (TEST_NAME): Likewise.
76035         * string/test-strncpy.c (TEST_NAME): Likewise.
76036         * string/test-strnlen.c (TEST_NAME): Likewise.
76037         * string/test-strpbrk.c (TEST_NAME): Likewise.
76038         * string/test-strrchr.c (TEST_NAME): Likewise.
76039         * string/test-strspn.c (TEST_NAME): Likewise.
76040         * string/test-strstr.c (TEST_NAME): Likewise.
76041         * string/test-bcopy-ifunc.c: New file.
76042         * string/test-bzero-ifunc.c: Likewise.
76043         * string/test-memccpy-ifunc.c: Likewise.
76044         * string/test-memchr-ifunc.c: Likewise.
76045         * string/test-memcmp-ifunc.c: Likewise.
76046         * string/test-memcpy-ifunc.c: Likewise.
76047         * string/test-memmem-ifunc.c: Likewise.
76048         * string/test-memmove-ifunc.c: Likewise.
76049         * string/test-mempcpy-ifunc.c: Likewise.
76050         * string/test-memset-ifunc.c: Likewise.
76051         * string/test-rawmemchr-ifunc.c: Likewise.
76052         * string/test-stpcpy-ifunc.c: Likewise.
76053         * string/test-stpncpy-ifunc.c: Likewise.
76054         * string/test-strcasecmp-ifunc.c: Likewise.
76055         * string/test-strcasestr-ifunc.c: Likewise.
76056         * string/test-strcat-ifunc.c: Likewise.
76057         * string/test-strchr-ifunc.c: Likewise.
76058         * string/test-strchrnul-ifunc.c: Likewise.
76059         * string/test-strcmp-ifunc.c: Likewise.
76060         * string/test-strcpy-ifunc.c: Likewise.
76061         * string/test-strcspn-ifunc.c: Likewise.
76062         * string/test-strlen-ifunc.c: Likewise.
76063         * string/test-strncasecmp-ifunc.c: Likewise.
76064         * string/test-strncat-ifunc.c: Likewise.
76065         * string/test-strncmp-ifunc.c: Likewise.
76066         * string/test-strncpy-ifunc.c: Likewise.
76067         * string/test-strnlen-ifunc.c: Likewise.
76068         * string/test-strpbrk-ifunc.c: Likewise.
76069         * string/test-strrchr-ifunc.c: Likewise.
76070         * string/test-strspn-ifunc.c: Likewise.
76071         * string/test-strstr-ifunc.c: Likewise.
76073         * debug/Makefile (tests-ifunc): New variable.
76074         (tests): Add $(tests-ifunc).
76075         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
76076         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
76077         * debug/test-stpcpy_chk-ifunc.c: New file.
76078         * debug/test-strcpy_chk-ifunc.c: Likewise.
76080 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
76082         [BZ #13601]
76083         * elf/dl-load.c (open_verify): Retry read if the entire ELF
76084         header is not read in.
76086 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
76088         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
76089         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
76090         directly.  Pass built executable to script as
76091         $(built-program-cmd).
76092         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
76093         $testprogram without using LD_LIBRARY_PATH and $ldso.
76095         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
76096         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
76097         $(rtld-installed-name).
76098         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
76099         (rtld_installed_name): Likewise.
76100         (library_path): Likewise.
76101         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
76102         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
76103         $(run-program-prefix) to tst-tables.sh.
76104         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
76105         it to run tst-table-from and tst-table-to.
76106         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
76107         Pass it to tst-table.sh.
76108         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
76109         $(run-program-prefix) to tst-gettext.sh.
76110         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
76111         tst-translit.sh.
76112         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
76113         tst-gettext2.sh.
76114         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
76115         to run tst-gettext.
76116         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
76117         to run tst-gettext2.
76118         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
76119         to run tst-translit.
76120         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
76121         $(run-program-prefix) to tst-mtrace.sh.
76122         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
76123         to run tst-mtrace.
76124         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
76125         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
76126         $(rtld-installed-name).
76127         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
76128         (rtld_installed_name): Likewise.
76129         (run_program_prefix): New variable.  Use it to run wordexp-test.
76131         * Makeconfig (ARCH): Remove all definitions.
76132         (machine): Likewise.
76133         [ARCH]: Remove conditional code.
76134         [!objdir]: Give error.
76135         [!objdir] (objpfx): Remove.
76136         [!objdir] (common-objpfx): Likewise.
76137         [!objdir] (common-objdir): Likewise.
76138         * configure.in (config_makefile): Remove.  Hardcode Makefile in
76139         AC_CONFIG_FILES call.
76140         * configure: Regenerated.
76142         [BZ #13888]
76143         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
76144         or TMPDIR.
76145         (testout): Likewise.
76147         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
76148         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
76149         $(rtld-installed-name).
76150         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
76151         (rtld_installed_name): Likewise.
76152         (runit): Remove function.
76153         (run_getconf): New variable,  Use it for running getconf binary.
76155 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
76157         [BZ #14716]
76158         * string/test-memmem.c (check_result): New function.
76159         (do_one_test): Use it.
76160         (check1): New function.
76161         (test_main): Use it.
76163 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
76165         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
76167 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
76169         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
76170         (_G_LSEEK64): Likewise.
76171         (_G_MMAP64): Likewise.
76172         (_G_FSTAT64): Likewise.
76173         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
76174         (_G_LSEEK64): Likewise.
76175         (_G_MMAP64): Likewise.
76176         (_G_FSTAT64): Likewise.
76177         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
76178         unconditional.  Call __mmap64 directly.
76179         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
76180         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
76181         __lseek64 directly.
76182         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
76183         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
76184         __mmap64 directly.
76185         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
76186         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
76187         __lseek64 directly.
76188         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
76189         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
76190         __lseek64 directly.
76191         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
76192         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
76193         __lseek64 directly.
76194         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
76195         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
76196         __fxstat64 directly.
76197         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
76198         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
76199         unconditional.
76200         (freopen64) [!_G_OPEN64]: Remove conditional code.
76201         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
76202         unconditional.
76203         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
76204         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
76205         unconditional.
76206         (ftello64) [!_G_LSEEK64]: Remove conditional code.
76207         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
76208         unconditional.
76209         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76210         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
76211         unconditional.
76212         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
76213         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
76214         unconditional.
76215         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76216         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
76217         unconditional.
76218         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76219         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
76220         unconditional.
76221         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76223 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
76225         [BZ #12140]
76226         * manual/memory.texi (Malloc Tunable Parameters): Add note
76227         about free list pointers overwriting some perturb bytes.
76228         Wording suggested by Roland McGrath.
76230 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
76232         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
76233         (lgamma_test): Likewise.
76234         (tgamma_test): Likewise.
76236 2012-10-16  Florian Weimer  <fweimer@redhat.com>
76238         [BZ #14700]
76239         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
76240         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
76242 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
76244         * NEWS: Mention BZ #14716.
76245         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
76246         when removing AVAILABLE1_USES_J macro.
76248 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
76250         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
76251         (__bswap_64): __uint64_t for unsigned 64-bit int.
76253 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
76255         * include/string.h (memmem): Declare libc hidden alias.
76256         * string/memmem.c (memmem): Define libc hidden alias.
76257         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
76258         __read, __close instead of open, read, close.
76260 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
76262         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
76263         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
76264         global and hidden.
76265         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
76266         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
76267         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
76268         Likewise.
76269         (__rawmemchr_sse2): Likewise.
76270         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
76271         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
76272         (__strchr_sse2): Likewise.
76273         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
76274         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
76275         (__strcasecmp_sse2): Likewise.
76276         (__strncasecmp_sse2): Likewise.
76277         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
76278         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
76279         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
76280         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
76281         (__strrchr_sse2): Likewise.
76282         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
76283         ifunc-impl-list.c.
76284         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
76285         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
76286         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
76287         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76288         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
76289         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
76290         * sysdeps/x86_64/multiarch/memset.S: Likewise.
76291         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
76292         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
76293         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
76294         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
76295         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
76296         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
76297         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
76298         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
76299         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
76300         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
76301         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
76302         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
76303         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
76304         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
76305         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
76306         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
76307         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
76308         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
76309         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76310         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
76311         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76312         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
76313         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
76315         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
76316         global and hidden.
76317         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
76318         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
76319         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
76320         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
76321         Likewise.
76322         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
76323         Likewise.
76324         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
76325         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
76326         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
76327         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
76328         ifunc-impl-list.c.
76329         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
76330         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
76331         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
76332         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
76333         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
76334         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76335         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
76336         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
76337         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
76338         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
76339         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
76340         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
76341         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
76342         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
76343         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
76344         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
76345         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
76346         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
76347         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
76348         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
76349         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76350         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
76351         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
76352         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
76353         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76354         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
76355         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
76356         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
76357         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
76358         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
76359         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
76360         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
76361         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
76362         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
76363         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
76364         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
76365         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
76366         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
76367         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
76368         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
76369         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
76371         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
76372         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
76373         * include/ifunc-impl-list.h: New file.
76374         * misc/ifunc-impl-list.c: Likewise.
76375         * misc/Makefile (routines): Add ifunc-impl-list.
76376         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
76377         * string/test-string.h: Include <ifunc-impl-list.h>.
76378         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
76379         TEST_NAME]: New variables.
76380         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
76381         are defined.
76382         (test_init): Call __libc_ifunc_impl_list to initialize
76383         func_list if TEST_IFUNC and TEST_NAME are defined.
76385         * string/Makefile (strop-tests): Add bcopy and bzero.
76386         * string/test-bcopy.c: New file.
76387         * string/test-bzero.c: Likewise.
76388         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
76389         defined.
76390         * string/test-memset.c: Support bzero test if TEST_BZERO is
76391         defined.
76392         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
76393         __libc_memmove.
76394         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
76395         __libc_memset.
76396         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
76397         of memset.
76399 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
76401         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
76402         * configure: Regenerated.
76404         * Makeconfig (+link-static-before-libc): Don't include
76405         $(link-static-libc).
76407         * libio/libio.h (_IO_pos_t): Remove.
76409 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76411         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
76412         McGrath.
76414 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76416         * crypt/crypt-entry.c: Include fips-private.h.
76417         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
76418         * crypt/md5c-test.c (main): Tolerate disabled MD5.
76419         * sysdeps/unix/sysv/linux/fips-private.h: New file.
76420         * sysdeps/generic/fips-private.h: New file, dummy fallback.
76422 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76424         * crypt/crypt-private.h: Include stdbool.h.
76425         (_ufc_setup_salt_r): Return bool.
76426         * crypt/crypt-entry.c: Include errno.h.
76427         (__crypt_r): Return NULL with EINVAL for bad salt.
76428         * crypt/crypt_util.c (bad_for_salt): New.
76429         (_ufc_setup_salt_r): Check that salt is long enough and within
76430         the specified alphabet.
76431         * crypt/badsalttest.c: New file.
76432         * crypt/Makefile (tests): Add it.
76433         ($(objpfx)badsalttest): New.
76435 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
76437         * NEWS: Add entry for BZ #14602.
76439 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
76441         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
76442         type-generic.
76443         * math/libm-test.inc: Update comment listing what functions and
76444         macros are tested.
76445         (isgreater_test): New function.
76446         (isgreaterequal_test): Likewise.
76447         (isless_test): Likewise.
76448         (islessequal_test): Likewise.
76449         (islessgreater_test): Likewise.
76450         (isunordered_test): Likewise.
76451         (main): Call the new functions.
76453 2012-10-09  Roland McGrath  <roland@hack.frob.com>
76455         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
76456         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
76457         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
76458         * sysdeps/i386/configure: Regenerated.
76459         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
76460         * sysdeps/mach/configure: Regenerated.
76461         * sysdeps/mach/hurd/configure: Regenerated.
76462         * sysdeps/powerpc/configure: Regenerated.
76463         * sysdeps/powerpc/powerpc32/configure: Regenerated.
76464         * sysdeps/powerpc/powerpc64/configure: Regenerated.
76465         * sysdeps/s390/s390-32/configure: Regenerated.
76466         * sysdeps/s390/s390-64/configure: Regenerated.
76467         * sysdeps/sh/configure: Regenerated.
76468         * sysdeps/sparc/configure: Regenerated.
76469         * sysdeps/unix/sysv/linux/configure: Regenerated.
76470         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
76471         * sysdeps/x86_64/configure: Regenerated.
76473         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
76474         defined.  Don't check if MAP is NULL.
76476 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
76478         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
76479         (_G_stat64): Likewise.
76480         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
76481         (_G_stat64): Likewise.
76482         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
76483         instead of struct _G_stat64.
76484         * libio/fileops.c (mmap_remap_check): Likewise.
76485         (decide_maybe_mmap): Likewise.
76486         (_IO_new_file_seekoff): Likewise.
76487         (_IO_file_stat): Likewise.
76488         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
76489         _G_off64_t.
76490         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
76491         instead of struct _G_stat64.
76492         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76494 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
76496         [BZ #14602]
76497         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76498         Replace with ...
76499         (CHECK_EOL): New macro.
76500         (two_way_short_needle): Check beginning of haystack for EOL.  Use
76501         CHECK_EOL.
76502         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76503         Replace with CHECK_EOL.
76504         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76505         Replace with CHECK_EOL.
76507 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
76509         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
76510         type-generic.
76511         * math/libm-test.inc: Update comment listing what functions and
76512         macros are tested.
76513         (finite_test): New function.
76514         (isinf_test): Likewise.
76515         (isnan_test): Likewise.
76516         (fpclassify_test): Test subnormal input.
76517         (isfinite_test): Likewise.
76518         (isnormal_test): Likewise.
76519         (main): Call the new functions.
76521 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
76523         [BZ #14660]
76524         * Makerules (%.dynsym): Force C locale when running
76525         $(OBJDUMP) --dynamic-syms.
76527 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
76529         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
76530         <stdint.h>.
76532 2012-10-06  David S. Miller  <davem@davemloft.net>
76534         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
76535         upper 32-bits of the length value in %o2 since we use branch-on-register
76536         tests which consider the entire 64-bit register.
76538 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
76540         * string/test-strstr.c (check2): Add a test for page boundary.
76542 2012-10-05  David S. Miller  <davem@davemloft.net>
76544         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
76545         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
76546         file.
76547         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76548         sysdep_routines.
76549         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76550         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
76551         and bzero when HWCAP_SPARC_CRYPTO is present.
76553 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
76555         [BZ #14602]
76556         * string/test-strstr.c (check2): New function.
76557         (test_main): Call check2.
76559         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
76560         and bug-strchr1.
76561         * string/bug-strcasestr1.c (do_test): Moved to ...
76562         * string/test-strcasestr.c (check1): Here.  New function.
76563         (do_one_test): Break out result checking code into ...
76564         (check_result): This.  New function.
76565         (do_one_test): Call check_result.
76566         (test_main): Call check1.
76567         * string/bug-strchr1.c (do_test): Moved to ...
76568         * string/test-strchr.c (check1): Here.  New function.
76569         (do_one_test): Break out result checking code into ...
76570         (check_result): This.  New function.
76571         (do_one_test): Call check_result.
76572         (test_main): Call check1.
76573         * string/bug-strstr1.c (main): Moved to ...
76574         * string/test-strstr.c (check1): Here.  New function.
76575         (do_one_test): Break out result checking code into ...
76576         (check_result): This.  New function.
76577         (do_one_test): Call check_result.
76578         (test_main): Call check1.
76579         * string/bug-strcasestr1.c: Removed.
76580         * string/bug-strchr1.c: Likewise.
76581         * string/bug-strstr1.c: Likewise.
76583         * elf/Makefile (dl-routines): Add hwcaps.
76584         * elf/dl-support.c (_dl_important_hwcaps): Removed.
76585         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
76586         (_dl_important_hwcaps): Moved to ...
76587         * elf/dl-hwcaps.c: Here.  New file.
76588         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
76590         [BZ #14557]
76591         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
76592         if IS_IN_rtld isn't defined.
76594         * elf/dl-support.c (_dl_sysinfo_map): New.
76595         Include "get-dynamic-info.h" and "setup-vdso.h".
76596         (_dl_non_dynamic_init): Call setup_vdso.
76597         * elf/dynamic-link.h: Don't include <assert.h>.
76598         (elf_get_dynamic_info): Moved to ...
76599         * elf/get-dynamic-info.h: Here.  New file.
76600         * elf/dynamic-link.h: Include "get-dynamic-info.h".
76601         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
76602         * elf/setup-vdso.h: Here.  New file.
76603         * elf/rtld.c: Include "setup-vdso.h".
76604         (dl_main): Call setup_vdso.
76606 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
76608         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
76609         creal in comment listing functions tested.  List finite, isinf,
76610         isnan, isless, islessequal, isgreater, isgreaterequal,
76611         islessgreater, isunordered, lgamma_r and pow10 as functions and
76612         macros not tested.  Mention which functions not tested are aliases
76613         for other functions.  Fix typo.  Note that signs of NaNs are not
76614         tested.
76616         * scripts/config.guess: Update from config.git.
76617         * scripts/config.sub: Likewise.
76619 2012-10-04  Roland McGrath  <roland@hack.frob.com>
76621         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
76622         * misc/madvise.c (madvise): Renamed to __madvise.
76623         Make madvise a weak alias.
76624         * include/sys/mman.h: Declare __madvise.
76625         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
76626         * sysdeps/unix/syscalls.list
76627         (madvise): Make __madvise the strong name, and madvise a weak alias.
76628         * sysdeps/unix/sysv/linux/syscalls.list
76629         (madvise, mmap): Remove redundant entries.
76630         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
76631         * malloc/malloc.c (mtrim): Likewise.
76632         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
76634 2012-10-03  Roland McGrath  <roland@hack.frob.com>
76636         * sysdeps/mach/hurd/dl-cache.c: File removed.
76637         * config.h.in (USE_LDCONFIG): New #undef.
76638         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
76639         * configure: Regenerated.
76640         * elf/Makefile (dl-routines): Add dl-cache only under
76641         [$(use-ldconfig) = yes].
76642         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
76643         cache on [USE_LDCONFIG].
76644         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
76645         [USE_LDCONFIG].
76646         * elf/rtld.c (dl_main): Likewise.
76648 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
76650         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
76651         _SC_LEVEL4_CACHE_LINESIZE.
76653 2012-10-03  Roland McGrath  <roland@hack.frob.com>
76655         * sysdeps/unix/bsd/confstr.h: File removed.
76657 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
76659         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
76660         sys/sdt-config.h.
76662 2012-10-02  Roland McGrath  <roland@hack.frob.com>
76664         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
76665         Make 'mapoff' field ElfW(Off) rather than off_t.
76667 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
76669         * nscd/Makefile: Remove nscd-cflags and all its users.
76670         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
76671         (CFLAGS-nonlib): Add compiler flags for nscd modules.
76673         [BZ #10631]
76674         * malloc.c (malloc_printerr): Clarify error message.
76676 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
76678         [BZ #14648]
76679         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76680         Set bit_FMA_Usable if FMA is supported.
76681         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
76682         macro.
76683         (bit_FMA4_Usable): Updated.
76684         (index_FMA_Usable): New macro.
76685         (CPUID_FMA): Likewise.
76686         (HAS_FMA): Defined with bit_FMA_Usable.
76688 2012-10-01  Roland McGrath  <roland@hack.frob.com>
76690         * bits/types.h (__swblk_t): Type removed.
76691         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
76692         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
76693         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76694         (__SWBLK_T_TYPE): Likewise.
76695         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76696         (__SWBLK_T_TYPE): Likewise.
76697         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76698         (__SWBLK_T_TYPE): Likewise.
76699         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76700         (__SWBLK_T_TYPE): Likewise.
76702 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
76703             Honza Horak <hhorak@redhat.com>
76705         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
76706         (xdr_mapname): Use YPMAXMAP as maxsize.
76707         (xdr_peername): Use YPMAXPEER as maxsize.
76708         (xdr_keydat): Use YPAXRECORD as maxsize.
76709         (xdr_valdat): Use YPMAXRECORD as maxsize.
76711 2012-10-01  Roland McGrath  <roland@hack.frob.com>
76713         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
76715         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
76716         * csu/init-first.c: ... here.
76717         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
76718         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
76719         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
76720         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
76721         * sysdeps/i386/init-first.c: File removed.
76722         * sysdeps/sh/init-first.c: File removed.
76724 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
76726         [BZ #14645]
76727         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
76728         if x * y might underflow to zero and z is zero.
76729         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
76730         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76731         * math/libm-test.inc (min_subnorm_value): New variable.
76732         (fma_test): Add more tests.
76733         (fma_test_towardzero): Likewise.
76734         (fma_test_downward): Likewise.
76735         (fma_test_upward): Likewise.
76736         (initialize): Set min_subnorm_value.
76738 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
76740         [BZ #14638]
76741         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
76742         0 + 0.
76743         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
76744         mode for addition resulting in exact zero.
76745         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
76746         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
76747         exact 0 + 0.
76748         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
76749         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76750         * math/libm-test.inc (fma_test): Add more tests.
76751         (fma_test_towardzero): New function.
76752         (fma_test_downward): Likewise.
76753         (fma_test_upward): Likewise.
76754         (main): Call the new functions.
76756 2012-09-28  David S. Miller  <davem@davemloft.net>
76758         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
76760 2012-09-28  Roland McGrath  <roland@hack.frob.com>
76762         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
76763         instead of SIGALRM.
76765         * sysdeps/gnu/_G_config.h: Moved to ...
76766         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
76767         * sysdeps/mach/hurd/_G_config.h: Moved to ...
76768         * sysdeps/generic/_G_config.h: ... here.
76770         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
76772         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
76774         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
76775         Conditionalize target on [libnss_test1.so-version].
76777         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
76779         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
76780         (elfobjdir): Move out of conditionals.
76782         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
76783         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
76784         (__nss_lookup_function): Conditionalize label remove_from_tree on
76785         [!DO_STATIC_NSS || SHARED], matching its only use.
76787 2012-09-28  David S. Miller  <davem@davemloft.net>
76789         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
76790         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
76791         file.
76792         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76793         sysdep_routines.
76794         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76795         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
76796         when HWCAP_SPARC_CRYPTO is present.
76798 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76800         * io/tst-mknodat.c: Create a FIFO instead of a socket.
76802 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
76804         [BZ #6530]
76805         * stdio-common/vfprintf.c (process_string_arg): Revert
76806         2000-07-22 change.
76808 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
76810         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
76811         for testcase.
76812         * stdio-common/tst-sprintf.c: Include <locale.h>
76813         (main): Test sprintf's handling of incomplete multibyte
76814         characters.
76816 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
76818         * elf/dl-runtime.c (VERSYMIDX): Removed.
76819         * elf/dl-version.c (VERSYMIDX): Likewise.
76820         * elf/do-rel.h (VERSYMIDX): Likewise.
76821         (VALIDX): Likewise.
76822         * elf/dynamic-link.h (VERSYMIDX): Likewise.
76823         * elf/rtld.c (VALIDX): Likewise.
76824         (ADDRIDX): Likewise.
76825         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
76826         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
76827         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
76828         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
76829         (VALIDX): Likewise.
76830         (ADDRIDX): Likewise.
76832 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76834         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
76836 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
76838         [BZ #11438]
76839         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
76840         to global scope.
76841         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
76842         addresses are in the same scope as 192.0.2/24.
76843         * posix/gai.conf: Document new scope table defaults.
76845 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76847         [BZ #5298]
76848         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
76849         for ftell.  Compute offsets from write pointers instead.
76850         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76852 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76854         [BZ #14543]
76855         * libio/Makefile (tests): New test case tst-fseek.
76856         * libio/tst-fseek.c: New test case to verify that fseek/ftell
76857         combination works in wide mode.
76858         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
76859         state when the external buffer state changes.
76861 2012-09-27  David S. Miller  <davem@davemloft.net>
76863         [BZ #14376]
76864         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
76865         pass reloc->r_addend in as the 'high' argument to
76866         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
76868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76870 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76872         * rt/tst-aio2.c: Include <pthread.h>.
76873         * rt/tst-aio3.c: Likewise.
76875 2012-09-27  Steve Ellcey  <sellcey@mips.com>
76877         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
76879 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
76881         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
76882         contents on [SHARED].
76884 2012-09-26  Marek Polacek  <polacek@redhat.com>
76886         [BZ #14530]
76887         [BZ #13741]
76888         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
76889         for C++ and GCC <4.3 as well as for non GCC compilers.
76891 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
76893         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76895 2012-09-25  Roland McGrath  <roland@hack.frob.com>
76897         * Makefile.in (all, install): Declare with .PHONY.
76898         Reported by Michael Hope <michael.hope@linaro.org>.
76900 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76902         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
76903         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
76904         system header.
76905         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
76906         Likewise.
76907         (sydep_routines): Add the new and the internal functions.
76908         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
76909         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
76910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
76911         (GLIBC_2.17): Add the new function.
76912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76913         (GLIBC_2.17): Likewise.
76914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
76915         (GLIBC_2.17): Likewise.
76916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
76917         (GLIBC_2.17): Likewise.
76918         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
76920 2012-09-25  Alan Modra  <amodra@gmail.com>
76922         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
76923         Add release barrier before setting once_control to say
76924         initialisation is done.  Add hints on lwarx.  Use macro in
76925         place of isync.
76926         (clear_once_control): Add release barrier.
76928 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
76930         [BZ #13629]
76931         * math/s_clog.c (__clog): Handle more values close to |z| = 1
76932         specially.
76933         * math/s_clog10.c (__clog10): Likewise.
76934         * math/s_clog10f.c (__clog10f): Likewise.
76935         * math/s_clog10l.c (__clog10l): Likewise.
76936         * math/s_clogf.c (__clogf): Likewise.
76937         * math/s_clogl.c (__clogl): Likewise.
76938         * math/Makefile (libm-calls): Add x2y2m1.
76939         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
76940         (__x2y2m1): Likewise.
76941         (__x2y2m1l): Likewise.
76942         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
76943         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
76944         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
76945         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
76946         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
76947         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
76948         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
76949         * sysdeps/i386/fpu/libm-test-ulps: Update.
76950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76952         [BZ #14621]
76953         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
76954         int as type of variable DEPTH.
76955         (glob): Use size_t instead of int as type of variables NEWCOUNT
76956         and OLD_PATHC.
76958 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76960         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
76961         Add s_sincosf-sse2.
76962         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
76963         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
76964         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
76965         macros for using routine as __sincosf_ia32.
76966         Use macro for function declaration and weak_alias.
76967         * sysdeps/i386/fpu/libm-test-ulps: Update.
76969         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
76970         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76972         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
76973         subnormal argument.
76974         * math/s_cexpf.c (__cexpf): Likewise.
76975         * math/s_csinf.c (__csinf): Likewise.
76976         * math/s_csinhf.c (__csinhf): Likewise.
76977         * math/s_ctanf.c (__ctanf): Likewise.
76978         * math/s_ctanhf.c (__ctanhf): Likewise.
76979         * math/s_ccosh.c (__ccoshf): Likewise.
76980         * math/s_cexp.c (__cexpl): Likewise.
76981         * math/s_csin.c (__csin): Likewise.
76982         * math/s_csinh.c (__csinh): Likewise.
76983         * math/s_ctan.c (__ctan): Likewise.
76984         * math/s_ctanh.c (ctanh): Likewise.
76985         * math/s_ccoshl.c (__ccoshl): Likewise.
76986         * math/s_cexpl.c (__cexpl): Likewise.
76987         * math/s_csinl.c (__csinl): Likewise.
76988         * math/s_csinhl.c (__csinhl): Likewise.
76989         * math/s_ctanl.c (__ctanl): Likewise.
76990         * math/s_ctanhl.c (__ctanhl): Likewise.
76992 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
76994         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
76995         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
76996         (_IO_off_t): Define to __off_t, not _G_off_t.
76997         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
76998         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
76999         (_IO_wint_t): Define to wint_t, not _G_wint_t.
77000         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
77001         type of __dummy and __dummy2 fields.
77002         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
77003         (_G_ssize_t): Likewise.
77004         (_G_off_t): Likewise.
77005         (_G_pid_t): Likewise.
77006         (_G_uid_t): Likewise.
77007         (_G_wchar_t): Likewise.
77008         (_G_wint_t): Likewise.
77009         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
77010         (_G_ssize_t): Likewise.
77011         (_G_off_t): Likewise.
77012         (_G_pid_t): Likewise.
77013         (_G_uid_t): Likewise.
77014         (_G_wchar_t): Likewise.
77015         (_G_wint_t): Likewise.
77016         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
77017         (_G_ssize_t): Likewise.
77018         (_G_off_t): Likewise.
77019         (_G_pid_t): Likewise.
77020         (_G_uid_t): Likewise.
77021         (_G_wchar_t): Likewise.
77022         (_G_wint_t): Likewise.
77024 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
77026         * malloc/arena.c: Include malloc-sysdep.h.
77027         (shrink_heap): Use check_may_shrink_heap to decide if madvise
77028         is sufficient to shrink the heap or an unmap is needed.
77029         * sysdeps/generic/malloc-sysdep.h: New file.  Define
77030         new function check_may_shrink_heap.
77031         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
77032         new function check_may_shrink_heap.
77034 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
77036         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
77037         comments.
77039 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
77041         * catgets/test-gencat.sh: Add "set -e".
77042         * elf/tst-pathopt.sh: Likewise.
77043         * grp/tst_fgetgrent.sh: Likewise.
77044         * iconvdata/run-iconv-test.sh: Likewise.
77045         * intl/tst-gettext.sh: Likewise.
77046         * intl/tst-gettext2.sh: Likewise.
77047         * intl/tst-gettext4.sh: Likewise.
77048         * intl/tst-gettext6.sh: Likewise.
77049         * intl/tst-translit.sh: Likewise.
77050         * io/ftwtest-sh: Likewise.
77051         * libio/test-freopen.sh: Likewise.
77052         * malloc/tst-mtrace.sh: Likewise.
77053         * posix/globtest.sh: Likewise.
77054         * posix/tst-getconf.sh: Likewise.
77055         * posix/wordexp-tst.sh: Likewise.
77056         * stdio-common/tst-printf.sh: Likewise.
77057         * stdio-common/tst-unbputc.sh: Likewise.
77058         * stdlib/tst-fmtmsg.sh: Likewise.
77059         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
77060         * catgets/Makefile: Do not specify -e option when running
77061         testsuite shell scripts.
77062         * elf/Makefile: Likewise.
77063         * grp/Makefile: Likewise.
77064         * iconvdata/Makefile: Likewise.
77065         * intl/Makefile: Likewise.
77066         * io/Makefile: Likewise.
77067         * libio/Makefile: Likewise.
77068         * malloc/Makefile: Likewise.
77069         * posix/Makefile: Likewise.
77070         * stdio-common/Makefile: Likewise.
77071         * stdlib/Makefile: Likewise.
77072         * sysdeps/x86_64/Makefile: Likewise.
77074         * io/ftwtest-sh: Add copyright header.
77075         * posix/globtest.sh: Likewise.
77076         * posix/tst-getconf.sh: Likewise.
77077         * posix/wordexp-tst.sh: Likewise.
77078         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
77080 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
77082         [BZ #13679]
77083         * Makeconfig (+link): Defined as $(+link-static) if
77084         $(build-shared) isn't yes.
77085         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
77086         isn't yes.
77087         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
77089         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
77091         [BZ #14562]
77092         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
77093         new chunk size with MALLOC_ALIGN_MASK.
77095 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
77097         [BZ #5044]
77098         * stdio-common/printf_fphex.c: Include <stdbool.h> and
77099         <rounding-mode.h>.
77100         (__printf_fphex): Determine rounding using get_rounding_mode and
77101         round_away.
77102         * stdio-common/tst-printf-round.c (struct hex_test): New
77103         structure.
77104         (hex_tests): New variable.
77105         (test_hex_in_one_mode): New function.
77106         (do_test): Also run tests for hex float output.
77108 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
77110         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
77111         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
77112         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
77113         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
77114         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
77115         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
77116         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
77117         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
77119 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
77121         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
77122         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
77123         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
77124         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
77126 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
77128         [BZ #14579]
77129         * elf/rtld.c (dl_main): Limit the check for self loading to normal
77130         mode only.
77131         * elf/tst-rtld-load-self.sh: New test.
77132         * elf/Makefile: Run it.
77134 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
77136         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
77137         (tst-writev-ENV): Remove.
77138         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
77140 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
77142         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
77144 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
77146         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
77147         unconditional.
77148         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
77149         Likewise.
77150         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
77151         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
77152         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
77153         Likewise.
77155 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
77157         [BZ #14587]
77158         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
77159         * config.make.in (have-cpp-asm-debuginfo): Removed.
77160         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
77161         * configure: Regenerated.
77163 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
77165         [BZ #5044]
77166         * stdio-common/printf_fp.c: Include <stdbool.h> and
77167         <rounding-mode.h>.
77168         (___printf_fp): Determine rounding using get_rounding_mode and
77169         round_away.
77170         * stdio-common/tst-printf-round.c: New file.
77171         * stdio-common/Makefile (tests): Add tst-printf-round.
77172         (link-libm): New variable.
77173         ($(objpfx)tst-printf-round): Depend in $(link-libm).
77175 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
77177         [BZ #14576]
77178         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
77179         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
77180         Likewise.
77181         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
77182         Likewise.
77184 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
77186         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
77187         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77188         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77189         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77191 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
77193         [BZ #14518]
77194         * include/rounding-mode.h: New file.
77195         * sysdeps/generic/get-rounding-mode.h: Likewise.
77196         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
77197         * stdlib/strtod_l.c: Include <rounding-mode.h>.
77198         (MAX_VALUE): New macro.
77199         (MIN_VALUE): Likewise.
77200         (overflow_value): New function.
77201         (underflow_value): Likewise.
77202         (round_and_return): Use overflow_value and underflow_value to
77203         determine return values in overflow and underflow cases.  Use
77204         round_away to determine rounding depending on rounding mode.
77205         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
77206         determine return values in overflow and underflow cases.
77207         * stdlib/tst-strtod-round.c: Include <fenv.h>.
77208         (struct test_results): New structure.
77209         (struct test): Use struct test_results to store expected results
77210         for all rounding modes.
77211         (TEST): Include expected results for all rounding modes.
77212         (test_in_one_mode): New function.
77213         (do_test): Use test_in_one_mode to compute and check results.
77214         Check results for all rounding modes.
77215         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
77216         $(link-libm).
77218 2012-12-09  Allan McRae  <allan@archlinux.org>
77220         * sysdeps/i386/fpu/libm-test-ulps: Update
77222 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
77224         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
77225         (_G_int32_t): Likewise.
77226         (_G_uint16_t): Likewise.
77227         (_G_uint32_t): Likewise.
77228         (_G_HAVE_BOOL): Likewise.
77229         (_G_HAVE_ATEXIT): Likewise.
77230         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77231         (_G_HAVE_IO_FILE_OPEN): Likewise.
77232         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
77233         (_G_int32_t): Likewise.
77234         (_G_uint16_t): Likewise.
77235         (_G_uint32_t): Likewise.
77236         (_G_HAVE_BOOL): Likewise.
77237         (_G_HAVE_ATEXIT): Likewise.
77238         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77239         (_G_HAVE_IO_FILE_OPEN): Likewise.
77240         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
77241         (_G_int32_t): Likewise.
77242         (_G_uint16_t): Likewise.
77243         (_G_uint32_t): Likewise.
77244         (_G_HAVE_BOOL): Likewise.
77245         (_G_HAVE_ATEXIT): Likewise.
77246         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77247         (_G_HAVE_IO_FILE_OPEN): Likewise.
77249 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
77251         * csu/libc-tls.c: Update copyright years.
77253 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
77255         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
77256         [!_G_USING_THUNKS]: Remove conditional code.
77257         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
77258         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
77260         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
77261         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
77262         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77263         (_G_VTABLE_LABEL_PREFIX): Likewise.
77264         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77265         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77266         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77267         (_G_VTABLE_LABEL_PREFIX): Likewise.
77268         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77269         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77270         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77271         (_G_VTABLE_LABEL_PREFIX): Likewise.
77272         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77274 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
77276         * libio/Makefile: Include ../Makeconfig before tests.
77277         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
77278         only if $(build-shared) is yes.
77280         * iconv/gconv_db.c: Update copyright years.
77282 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77284         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
77285         unwind info if defined PIC. Fix special cases description.
77286         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
77288         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
77289         DP_HI_MASK entry.
77290         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
77292 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
77294         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
77296         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
77297         is NULL.
77299         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
77300         (LDLIBS-tst-chk4): This.
77301         (LDFLAGS-tst-chk5): Renamed to ...
77302         (LDLIBS-tst-chk5): This.
77303         (LDFLAGS-tst-chk6): Renamed to ...
77304         (LDLIBS-tst-chk6): This.
77305         (LDFLAGS-tst-lfschk4): Renamed to ...
77306         (LDLIBS-tst-lfschk4): This.
77307         (LDFLAGS-tst-lfschk5): Renamed to ...
77308         (LDLIBS-tst-lfschk5): This.
77309         (LDFLAGS-tst-lfschk6): Renamed to ...
77310         (LDLIBS-tst-lfschk6): This.
77312         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
77313         on $(common-objpfx)soversions.mk.
77315 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
77317         [BZ #10014]
77318         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
77319         example host name.
77321 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
77323         * malloc/arena.c (arena_get_retry): New function that gets
77324         another arena for the caller to try its request on.
77325         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
77326         current arena cannot fulfill the request.
77327         (__libc_memalign): Likewise.
77328         (__libc_memalign): Likewise.
77329         (__libc_pvalloc): Likewise.
77330         (__libc_calloc): Likewise.
77332 2012-09-05  John Tobey  <john.tobey@gmail.com>
77334         [BZ #13542]
77335         * manual/arith.texi (Operations on Complex): Fix description
77336         of carg branch cut.
77338 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
77340         [BZ #10014]
77341         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
77342         host name.
77344         [BZ #10038]
77345         * manual/memory.texi (Memory): Make order of menu items match
77346         order of sections.
77348 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77350         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
77351         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
77352         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
77354 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77356         * csu/libc-tls.c (static_dtv): Renamed to ...
77357         (_dl_static_dtv): This.  Make it global.
77358         (_dl_initial_dtv): Removed.
77359         (__libc_setup_tls): Updated.
77360         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
77361         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
77362         DL_INITIAL_DTV.
77364 2012-09-06  Petr Machata  <pmachata@redhat.com>
77366         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
77367         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
77368         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
77369         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
77371 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77373         [BZ #14545]
77374         * csu/libc-tls.c (_dl_initial_dtv): New variable.
77375         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
77376         freeing dtv[-1].
77378 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77380         [BZ #14544]
77381         * Makeconfig (link-static-before-libc): Replace $(+prector)
77382         with $(+prectorT).
77383         (link-static-after-libc): Replace $(+postctor) with
77384         $(+postctorT).
77385         (link-bounded): Replace $(+prector)/$(+postctor) with
77386         $(+prectorT)/$(+postctorT).
77387         (+prectorT): New macro.
77388         (+postctorT): Likewise.
77390 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
77392         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
77393         (round_str): Handle values above the maximum for IBM long double
77394         as inexact.
77395         * stdlib/tst-strtod-round.c (tests): Regenerated.
77397 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77399         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
77400         assembler flag.
77401         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
77402         zarch_nohighgprs around the zarch optimized routines.
77403         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
77404         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
77405         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
77406         for zarch.
77408 2012-09-05  David S. Miller  <davem@davemloft.net>
77410         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77412         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
77413         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
77414         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
77415         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77416         entries.
77418 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77420         * malloc/arena.c: Fold copyright years.
77421         * malloc/mcheck.c, malloc/memusage.c: Likewise.
77423 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77425         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
77427 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77429         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
77431 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77433         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
77434         change internal state upon failure.
77436 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77438         * malloc/mcheck.c (mcheck_check_all): Fix typo.
77439         * malloc/memusage.c (mmap): Likewise.
77440         (mmap64, mremap): Likewise.  Adjust name in comment.
77442 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
77444         * libio/fileops.c: Fix typos in comments.
77445         * libio/oldfileops.c: Likewise.
77446         * libio/wfileops.c: Likewise.
77448 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
77450         [BZ #1349]
77451         * malloc/Makefile (tests): Add tst-malloc-usable test case.
77452         (tst-malloc-usable-ENV): Set environment for test case.
77453         * malloc/hooks.c (malloc_check_get_size): New function to get
77454         requested size.
77455         * malloc/malloc.c (musable): Use malloc_check_get_size.
77456         * malloc/tst-malloc-usable.c: New test case.
77458 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77460         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
77462 2012-09-05  Allan McRae  <allan@archlinux.org>
77464         [BZ #13966]
77465         * configure.in (CXX_SYSINCLUDES): Use compiler output to
77466         determine header location.
77467         * configure: Regenerated.
77469 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77471         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
77472         float format.
77473         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
77474         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
77475         format.
77476         (test): Regenerate.
77478 2012-09-04  David S. Miller  <davem@davemloft.net>
77480         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
77481         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
77482         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
77484 2012-09-04  Florian Weimer  <fweimer@redhat.com>
77486         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
77487         failures.
77489         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
77491 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
77493         [BZ #9914]
77494         * libio/iogetdelim.c: Include <limits.h>.
77495         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
77496         + len + 1 would overflow.
77498 2012-09-03  Andreas Jaeger  <aj@suse.de>
77500         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77501         * sysdeps/i386/fpu/libm-test-ulps: Update.
77503 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77505         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77506         Add s_sinf-sse2, s_conf-sse2.
77508         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
77509         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
77510         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
77511         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
77513         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
77514         for using routine as __sinf_ia32.
77515         Use macro for function declaration and weak_alias.
77516         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
77517         for using routine as __cosf_ia32.
77518         Use macro for function declaration and weak_alias.
77520         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
77521         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
77523         * sysdeps/x86_64/fpu/s_sinf.S: New file.
77524         * sysdeps/x86_64/fpu/s_cosf.S: New file.
77525         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77527         * math/libm-test.inc (cos_test): Add more test cases.
77528         (sin_test): Likewise.
77529         (sincos_test): Likewise.
77531 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77533         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
77534         (IFUNC_RESOLVE): Make pointers to the specialized implementations
77535         hidden.
77536         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
77538 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
77540         [BZ #14538]
77541         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
77542         first element of the GOT.
77543         (elf_machine_load_address): Return the difference between
77544         the runtime address of _DYNAMIC and elf_machine_dynamic ().
77546 2012-09-01  Allan McRae  <allan@archlinux.org>
77548         [BZ #13412]
77549         * configure.in (AWK): Require gawk version 3.0 or later.
77550         * configure: Regenerated.
77552 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
77554         * sysdeps/unix/sysv/linux/kernel-features.h
77555         (__ASSUME_POSIX_CPU_TIMERS): Remove.
77556         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77557         [__NR_clock_getres]: Make code unconditional.
77558         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
77559         (clock_getcpuclockid): Remove code left unreachable by removal of
77560         conditionals.
77561         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
77562         code unconditional.
77563         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77564         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77565         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
77566         Make code unconditional.
77567         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77568         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77569         * sysdeps/unix/sysv/linux/clock_settime.c
77570         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
77571         conditional code.
77572         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
77573         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77575 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
77577         [BZ #14476]
77578         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
77579         scripts/test-installation.pl.
77581         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
77582         and $ld_so_version if it is set.
77584 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
77586         [BZ #14516]
77587         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
77588         failure if reading from procfs failed.
77589         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
77591 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
77593         * sysdeps/unix/sysv/linux/kernel-features.h
77594         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
77595         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77596         Remove conditional code.
77597         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77598         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
77599         Remove conditional code.
77600         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77601         * sysdeps/unix/sysv/linux/i386/fxstat.c
77602         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77603         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77604         * sysdeps/unix/sysv/linux/i386/fxstatat.c
77605         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77606         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77607         * sysdeps/unix/sysv/linux/i386/lxstat.c
77608         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77609         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77610         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
77611         Remove conditional code.
77612         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77613         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77614         Remove conditional code.
77615         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77616         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
77617         <kernel-features.h>.
77618         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
77619         Remove.
77620         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
77621         Remove conditional code.
77622         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77623         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
77624         Remove conditional.
77626 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
77628         [BZ #5400]
77629         * NEWS: Add fixed bug number.
77631 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
77633         [BZ #14519]
77634         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
77635         underflowing exponent in case of negative sign.
77636         * stdlib/tst-strtod-round-data: Add more tests.
77637         * stdlib/tst-strtod-round.c (tests): Regenerated.
77639         [BZ #3479]
77640         * stdlib/strtod_l.c (NDIG): Remove.
77641         (HEXNDIG): Likewise.
77642         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
77643         smallest representable value.
77644         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
77645         lie within an exact representation of 1/2 ulp of the result.
77646         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
77647         unconditionally.
77648         (TENS_P9_IDX): Define unconditionally.
77649         (TENS_P9_SIZE): Likewise.
77650         (TENS_P10_IDX): Likewise.
77651         (TENS_P10_SIZE): Likewise.
77652         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
77653         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
77654         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
77655         entries for 10^2^13 and 10^2^14.
77656         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
77657         (TENS_P13_IDX): Define.
77658         (TENS_P13_SIZE): Likewise.
77659         (TENS_P14_IDX): Likewise.
77660         (TENS_P14_SIZE): Likewise.
77661         (_fpioconst_pow10): Change array size to
77662         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
77663         unconditional.
77664         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
77665         1024]: Add entries for 10^2^13 and 10^2^14.
77666         [LAST_POW10 > _LAST_POW10]: Remove #error.
77667         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
77668         (_fpioconst_pow10): Change array size to
77669         FPIOCONST_POW10_ARRAY_SIZE.
77670         * stdlib/gen-fpioconst.c: New file.
77671         * stdlib/gen-tst-strtod-round.c: Likewise.
77672         * stdlib/tst-strtod-round-data: Likewise.
77673         * stdlib/tst-strtod-round.c: Likewise.
77674         * stdlib/Makefile (tests): Add tst-strtod-round.
77676         [BZ #14459]
77677         * stdlib/strtod_l.c: Include <stdint.h>.
77678         (NDEBUG): Do not define.
77679         (round_and_return): Change EXPONENT parameter to type intmax_t.
77680         Rearrange calculations to avoid internal overflow possibilities.
77681         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
77682         Rearrange calculations to avoid internal overflow possibilities.
77683         Assert that number fits inside MPNSIZE limbs.
77684         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
77685         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
77686         calculations and add assertions to avoid internal overflow
77687         possibilities.  Add casts to avoid signed/unsigned operations.
77688         * stdlib/tst-strtod-overflow.c: New file.
77689         * stdlib/Makefile (tests): Add tst-strtod-overflow.
77691 2012-08-25  Marek Polacek  <polacek@redhat.com>
77693         * time/time.h: Fix some typos in comments.
77695 2012-08-23  Roland McGrath  <roland@hack.frob.com>
77697         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
77698         * posix/tst-rfc3484-2.c: Likewise.
77699         * posix/tst-rfc3484-3.c: Likewise.
77701 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
77703         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
77704         (EF_ARM_ABI_FLOAT_HARD): Likewise.
77706 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
77708         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
77709         #include of fxstatat64.c.
77711 2012-08-22  Roland McGrath  <roland@hack.frob.com>
77713         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
77714         * shadow/getspent_r.c: Likewise.
77715         * shadow/getspnam.c: Likewise.
77716         * shadow/getspnam_r.c: Likewise.
77717         * gshadow/getsgent.c: Likewise.
77718         * gshadow/getsgent_r.c: Likewise.
77719         * gshadow/getsgnam.c: Likewise.
77720         * gshadow/getsgnam_r.c: Likewise.
77721         * inet/getnetbyad.c: Likewise.
77722         * inet/getnetbyad_r.c: Likewise.
77723         * inet/getnetbynm.c: Likewise.
77724         * inet/getnetbynm_r.c: Likewise.
77725         * inet/getnetent.c: Likewise.
77726         * inet/getnetent_r.c: Likewise.
77727         * inet/getproto.c: Likewise.
77728         * inet/getproto_r.c: Likewise.
77729         * inet/getprtent.c: Likewise.
77730         * inet/getprtent_r.c: Likewise.
77731         * inet/getprtname.c: Likewise.
77732         * inet/getprtname_r.c: Likewise.
77733         * inet/getrpcbyname.c: Likewise.
77734         * inet/getrpcbyname_r.c: Likewise.
77735         * inet/getrpcbynumber.c: Likewise.
77736         * inet/getrpcbynumber_r.c: Likewise.
77737         * inet/getrpcent.c: Likewise.
77738         * inet/getrpcent_r.c: Likewise.
77739         * inet/getaliasent.c: Likewise.
77740         * inet/getaliasent_r.c: Likewise.
77741         * inet/getaliasname.c: Likewise.
77742         * inet/getaliasname_r.c: Likewise.
77743         * nscd/getgrgid_r.c: Likewise.
77744         * nscd/getgrnam_r.c: Likewise.
77745         * nscd/gethstbyad_r.c: Likewise.
77746         * nscd/gethstbynm3_r.c: Likewise.
77747         * nscd/getpwnam_r.c: Likewise.
77748         * nscd/getpwuid_r.c: Likewise.
77749         * nscd/getsrvbynm_r.c: Likewise.
77750         * nscd/getsrvbypt_r.c: Likewise.
77751         * nscd/gai.c: Likewise.
77753         * configure.in (build_nscd): New substituted variable, set
77754         by --disable-build-nscd and defaults to $use_nscd.
77755         * configure: Regenerated.
77756         * config.make.in (build-nscd): New substituted variable.
77757         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
77758         Change conditional to require [$(build-nscd) = yes] as well.
77759         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
77761         [BZ #13696]
77762         * configure.in (use_nscd): New substituted variable, set by
77763         --disable-nscd.  If enabled, define USE_NSCD.
77764         * configure: Regenerated.
77765         * config.h.in: Add USE_NSCD.
77766         * config.make.in (use-nscd): New substituted variable.
77767         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
77768         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
77769         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
77770         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
77771         (CFLAGS-getgrnam_r.c): Likewise.
77772         (CFLAGS-initgroups.c): Likewise.
77773         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
77774         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
77775         Variables removed.
77776         * inet/getnetgrent_r.c
77777         (nscd_setnetgrent): New function, broken out of ...
77778         (setnetgrent): ... here.  Call it.
77779         (innetgr): Conditionalize nscd bits on [USE_NSCD].
77780         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
77781         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
77782         * nscd/Makefile (routines, aux): Move definitions after include of
77783         Makeconfig.  Conditionalize on [$(use-nscd) != no].
77784         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
77785         Conditionalize on [USE_NSCD].
77786         (is_nscd, nscd_init_cb): Likewise.
77787         (nss_load_library): Conditionalize init callback on [USE_NSCD].
77788         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
77789         * nss/nss_db/db-init.c: Likewise.
77790         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
77791         [USE_NSCD].
77792         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
77793         (make_request): Use it.
77794         (cache_valid_p): New function.
77795         (__check_pf): Use it.
77796         * NEWS: Add item for --disable-nscd.
77798 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
77800         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
77801         to support sed >= 4.2.1-20-ga9bf076.
77802         * configure: Regenerated.
77804 2012-08-22  Roland McGrath  <roland@hack.frob.com>
77806         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
77807         Conditionalize whole body on [IREL].
77809 2012-08-22  Jeff Law <law@redhat.com>
77811         [BZ #14505]
77812         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
77813         if the family is PF_UNSPEC.
77815 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
77817         * Makerules (lib-version): Rename from V.
77818         (install-lib-nosubdir): Change V to lib-version.
77820 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
77822         [BZ #14252]
77823         * powerpc32/power6/wcschr.c: New file.
77824         * powerpc32/power6/wcscpy.c: New file.
77825         * powerpc32/power6/wcsrchr.c: New file.
77826         * powerpc64/power6/wcschr.c: New file.
77827         * powerpc64/power6/wcscpy.c: New file.
77828         * powerpc64/power6/wcsrchr.c: New file.
77830 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
77832         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
77833         (two_way_short_needle): Use it.
77834         * string/strstr.c (AVAILABLE1_USES_J): Define.
77835         * string/strcasestr.c: Likewise.
77837         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
77838         array references.
77839         * string/strcasestr.c (TOLOWER): Make side-effect safe.
77841         [BZ #11607]
77842         * NEWS: Add an entry.
77843         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
77844         define their defaults.
77845         (two_way_short_needle): Detect end-of-string on-the-fly.
77846         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
77847         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
77848         * string/bug-strcasestr1.c: New test.
77849         * string/Makefile: Run it.
77851 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
77853         [BZ #11607]
77854         * string/str-two-way.h (two_way_short_needle): Optimize matching of
77855         the first character.
77857 2012-08-21  Roland McGrath  <roland@hack.frob.com>
77859         * csu/elf-init.c (__libc_csu_irel): Function removed.
77860         * csu/libc-start.c (apply_irel): New function.
77861         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
77863 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
77865         * sysdeps/unix/sysv/linux/kernel-features.h
77866         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
77867         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
77868         <kernel-features.h>.
77869         [__NR_fadvise64_64]: Make code unconditional.
77870         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
77871         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77872         !__NR_fadvise64_64)]: Likewise.
77873         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77874         !__NR_fadvise64_64))]: Likewise.
77875         [__NR_fadvise64]: Make code unconditional.
77876         [!__NR_fadvise64]: Remove conditional code.
77877         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
77878         <kernel-features.h>.
77879         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77880         unconditional.
77881         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77882         conditional code.
77883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
77884         not include <kernel-features.h>.
77885         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77886         unconditional.
77887         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77888         conditional code.
77889         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
77890         include <kernel-features.h>.
77891         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77892         unconditional.
77893         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77894         conditional code.
77896 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
77898         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
77899         slight instruction rearrangements per scrollpipe analysis.
77900         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
77902 2012-08-20  Roland McGrath  <roland@hack.frob.com>
77904         * manual/syslog.texi (syslog; vsyslog, closelog):
77905         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
77906         Reported by Ricardo Catalinas JimĂ©nez <jimenezrick@gmail.com>.
77908         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
77909         DSOCAPS to match condition on defining it.
77911 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
77913         * sysdeps/unix/sysv/linux/kernel-features.h
77914         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
77915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
77916         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77917         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
77919         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77920         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
77922         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77923         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77925         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
77926         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
77928         * sysdeps/unix/sysv/linux/kernel-features.h
77929         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
77930         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
77931         unconditional.
77932         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77933         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
77934         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77935         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77936         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
77937         Make code unconditional.
77938         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77939         (__mmap64) [!__NR_mmap2]: Likewise.
77940         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
77941         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77942         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77943         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
77944         [__NR_mmap2]: Make code unconditional.
77945         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77946         (__mmap64) [!__NR_mmap2]: Likewise.
77948 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77950         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
77952 2012-08-18  Andreas Jaeger  <aj@suse.de>
77954         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
77956 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
77958         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
77959         * include/unistd.h (__have_sock_cloexec): Likewise.
77960         (__have_pipe2): Likewise.
77961         (__have_dup3): Likewise.
77963 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
77965         [BZ #9685]
77966         * include/unistd.h (__have_pipe2): Change define into an extern int.
77967         (__have_dup3): Likewise.
77968         * socket/have_sock_cloexec.c: Include fcntl.h.
77969         (__have_pipe2): New variable.
77970         (__have_dup3): Likewise.
77972 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
77974         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
77976 2012-08-17  Marek Polacek  <polacek@redhat.com>
77978         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
77979         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
77981 2012-08-17  Roland McGrath  <roland@hack.frob.com>
77983         * configure.in: Add AC_SUBST for sysheaders.
77984         * configure: Regenerated.
77985         * config.make.in (sysheaders): New substituted variable.
77987         * sysdeps/unix/mkfifo.c: Moved ...
77988         * sysdeps/posix/mkfifo.c: ... here.
77989         * sysdeps/unix/mkfifoat.c: Moved ...
77990         * sysdeps/posix/mkfifoat.c: ... here.
77992         * sysdeps/unix/utime.c: Moved ...
77993         * sysdeps/posix/utime.c: ... here.
77995         * sysdeps/unix/time.c: Moved ...
77996         * sysdeps/posix/time.c: ... here.
77997         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
77998         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
78000         * sysdeps/unix/nice.c: Moved ...
78001         * sysdeps/posix/nice.c: ... here.
78003         * sysdeps/unix/alarm.c: Moved ...
78004         * sysdeps/posix/alarm.c: ... here.
78006         * intl/Makefile ($(codeset_mo)): Depend on the input file.
78008 2012-08-17  Jeff Law <law@redhat.com>
78010         * intl/Makefile (codeset_mo): New variable.
78011         ($(codeset_mo)): New target.
78012         (tst-codeset.out): Depend on that.  Remove explicit rule.
78013         (tst-gettext3.out, tst-gettext5.out): Likewise.
78014         (LOCPATH-ENV, tst-codeset-ENV): New variables.
78015         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
78016         * intl/tst-codeset.sh: Remove.
78017         * intl/tst-gettext3.sh: Likewise.
78018         * intl/tst-gettext5.sh: Likewise.
78020 2012-08-17  Roland McGrath  <roland@hack.frob.com>
78022         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
78023         * sysdeps/unix/syscalls.list: ... here.
78025         * sysdeps/posix/getaddrinfo.c
78026         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
78027         (gaiconf_init, gaiconf_reload): Use them.
78028         [!_STATBUF_ST_NSEC]
78029         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
78030         Define using time_t rather than struct timespec.
78032         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
78033         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
78034         Macros removed.
78035         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
78036         [!NO_THREADS].
78037         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
78038         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
78039         Likewise.
78041         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
78042         __libc_cleanup_push argument.
78044         * bits/param.h: New file.
78045         * misc/sys/param.h: New file.
78046         * include/sys/param.h: New file.
78047         * misc/Makefile (headers): Add bits/param.h.
78048         * sysdeps/generic/sys/param.h: File removed.
78049         * sysdeps/unix/sysv/linux/bits/param.h: New file.
78050         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
78051         * sysdeps/mach/hurd/bits/param.h: New file.
78052         * sysdeps/mach/hurd/sys/param.h: File removed.
78054         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
78055         last change.
78057         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
78058         [_IO_MTSAFE_IO].
78059         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
78060         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
78061         New macros.
78063         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
78064         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
78065         rather than -D_IO_MTSAFE_IO conditionally.
78066         * stdio-common/Makefile (CPPFLAGS): Likewise.
78067         * wcsmbs/Makefile (CPPFLAGS): Likewise.
78068         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
78069         Use $(libio-mtsafe).
78070         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
78071         of -D_IO_MTSAFE_IO.
78072         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
78073         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
78074         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
78075         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
78076         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
78077         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
78078         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
78079         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
78080         (CFLAGS-fread_u_chk.c): Likewise.
78081         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
78082         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
78083         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
78084         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
78085         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
78086         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
78087         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
78088         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
78089         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
78091         * libio/Makefile: Test [$(libc-reentrant) = yes]
78092         instead of [$(filter %REENTRANT, $(defines)) nonempty].
78094         * Makeconfig
78095         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
78096         * sysdeps/pthread/configure: File removed.
78097         * sysdeps/pthread/Makeconfig: New file.
78098         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
78099         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
78101 2012-08-16  Gary Benson  <gbenson@redhat.com>
78103         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
78104         unmapping the first object in a namespace.
78106 2012-08-16  Roland McGrath  <roland@hack.frob.com>
78108         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
78109         (__internal_setnetgrent): ... this.  Add internal_function to
78110         definition.  Add libc_hidden_def.
78111         (setnetgrent): Update caller.
78112         (internal_endnetgrent): Renamed to ...
78113         (__internal_endnetgrent): ... this.  Add internal_function to
78114         definition.  Add libc_hidden_def.
78115         (endnetgrent): Update caller.
78116         (internal_getnetgrent_r): Renamed to ...
78117         (__internal_getnetgrent_r): ... this.  Add internal_function to
78118         definition.  Add libc_hidden_def.
78119         (__getnetgrent_r): Update caller.
78120         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
78122 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
78124         * stdlib/longlong.h: Update from GCC.
78126 2012-08-16  Roland McGrath  <roland@hack.frob.com>
78128         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
78129         on _QL, which is set by umul_ppmm but never used.
78130         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
78131         variables, which are set by GMP macros but never used.
78132         * stdio-common/_itowa.c (_itowa): Likewise.
78133         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
78134         * stdlib/mod_1.c (mpn_mod_1): Likewise.
78136 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
78138         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
78139         struct La_sh_regs is not constant.
78140         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
78141         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
78142         and struct La_sparc64_regs are not constant.
78144 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
78146         * sysdeps/unix/sysv/linux/kernel-features.h
78147         (__ASSUME_POSIX_TIMERS): Remove.
78148         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
78149         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78150         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
78151         Make code unconditional.
78152         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78153         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
78154         Make code unconditional.
78155         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78156         * sysdeps/unix/sysv/linux/clock_nanosleep.c
78157         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
78158         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78159         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
78160         Make code unconditional.
78161         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78162         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
78163         (__libc_missing_posix_timers): Remove.
78165 2012-08-15  Roland McGrath  <roland@hack.frob.com>
78167         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
78168         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
78170         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
78172         * elf/dl-sym.c: Include <stdlib.h>.
78174         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
78175         constants, which avoids warnings in 32-bit builds.
78177         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
78178         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
78180         * misc/lseek.c: File moved to ...
78181         * io/lseek.c: ... here.
78183         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
78185         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
78186         shifting LEN more than 31 bits at once.
78188 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78190         [BZ #14195]
78191         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
78192         segmentation fault for a case of two empty input strings.
78193         * string/test-strncasecmp.c (check1): Renamed to...
78194         (bz12205): ...this.
78195         (bz14195): Add new testcase for two empty input strings and N > 0.
78196         (test_main): Call new testcase, adapt for renamed function.
78198 2012-08-15  Andreas Jaeger  <aj@suse.de>
78200         [BZ #14090]
78201         * crypt/md5test2.c: New test, based on test supplied by Serge
78202         Belyshev <belyshev@depni.sinp.msu.ru>.
78203         * crypt/Makefile (xtests): Add md5test-giant..
78204         * crypt/Makefile ($(objpfx)md5test-giant): Add.
78206 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
78208         [BZ #14090]
78209         * crypt/md5.c (md5_process_block): Don't assume the buffer
78210         length is less than 2**32.
78211         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
78212         length is less than 2**64.
78214 2012-08-15  Roland McGrath  <roland@hack.frob.com>
78216         * string/str-two-way.h: Include <sys/param.h>.
78217         (MAX): Macro removed.
78219         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
78220         Move #define and #undef of memmove to just before and after
78221         including <string.h>.
78223         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
78224         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
78225         and after including <string.h>.  Move declarations of
78226         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
78227         to before #include "string/memmove.c".
78229         * include/dirent.h: Declare __getdirentries.
78231         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
78232         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
78234 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
78236         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
78237         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
78238         * sysdeps/i386/configure: Regenerated.
78239         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
78240         STABS_CURRENT_FILE, and STABS_FUN.
78241         (END): Remove call to STABS_FUN_END.
78242         (STABS_CURRENT_FILE1): Delete.
78243         (STABS_CURRENT_FILE): Likewise.
78244         (STABS_FUN): Likewise.
78245         (STABS_FUN_END): Likewise.
78246         (STABS_FUN2): Likewise.
78247         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
78248         * sysdeps/x86_64/configure: Regenerated.
78250 2012-08-14  Roland McGrath  <roland@hack.frob.com>
78252         * elf/dl-open.c: Include <atomic.h>.
78253         * elf/dl-lookup.c: Likewise.
78255 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
78257         * sysdeps/unix/sysv/linux/kernel-features.h
78258         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
78259         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
78260         unconditionally.
78261         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
78262         unconditionally.
78263         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
78264         condition on __ASSUME_CLONE_THREAD_FLAGS.
78266 2012-08-14  Andreas Jaeger  <aj@suse.de>
78268         * sysdeps/i386/fpu/libm-test-ulps: Update.
78270 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
78272         * include/atomic.h (atomic_exchange_and_add): Split into ...
78273         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
78274         New atomic macros.
78276 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
78278         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78280 2012-08-13  Jeff Law <law@redhat.com>
78282         * manual/stdio.texi (snprintf): Clarify handling of the trailing
78283         null byte in the output string.
78285 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
78287         * sysdeps/unix/sysv/linux/kernel-features.h
78288         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
78289         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
78290         (__ASSUME_ARG_MAX_STACK_BASED): Define.
78291         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
78292         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
78293         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
78294         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
78296 2012-08-09  Jeff Law <law@redhat.com>
78298         [BZ #13939]
78299         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
78300         When avoid_arena is set, don't retry in the that arena.  Pick the
78301         next one, whatever it might be.
78302         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
78303         (arena_lock): Pass in new parameter to arena_get2.
78304         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
78305         arena_get2.
78306         (__libc_malloc): Unify retrying after main arena failure with
78307         __libc_memalign version.
78308         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
78310 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
78312         [BZ #14166]
78313         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
78314         to __redirect_strstr.
78315         (__strstr_sse42): Use typeof __redirect_strstr.
78316         (__strstr_ia32): Likewise.
78317         (__libc_strstr): New prototype.
78318         (strstr): Renamed to ...
78319         (__libc_strstr): This.
78320         (strstr): New strong alias of __libc_strstr.
78321         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
78322         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
78323         __redirect_time.
78324         Include <time.h>.
78325         (__libc_time): New prototype.
78326         (time_ifunc): Replace time with __libc_time.
78327         (time): New strong alias and hidden definition of __libc_time.
78328         (__GI_time): Remove strong alias.
78329         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
78330         Include <stddef.h>.
78331         (memmove): Redefined to __redirect_memmove.
78332         (__memmove_sse2): Use typeof __redirect_memmove.
78333         (__memmove_ssse3): Likewise.
78334         (__memmove_ssse3_back): Likewise.
78335         (__libc_memmove): New prototype.
78336         (memmove): Renamed to ...
78337         (__libc_memmove): This.
78338         (memmove): New strong alias of __libc_memmove.
78340 2012-08-08  Mark Salter  <msalter@redhat.com>
78342         * elf/elf.h
78343         (R_MN10300_TLS_GD): Define.
78344         (R_MN10300_TLS_LD): Likewise.
78345         (R_MN10300_TLS_LDO): Likewise.
78346         (R_MN10300_TLS_GOTIE): Likewise.
78347         (R_MN10300_TLS_IE): Likewise.
78348         (R_MN10300_TLS_LE): Likewise.
78349         (R_MN10300_TLS_DTPMOD): Likewise.
78350         (R_MN10300_TLS_DTPOFF): Likewise.
78351         (R_MN10300_TLS_TPOFF): Likewise.
78352         (R_MN10300_SYM_DIFF): Likewise.
78353         (R_MN10300_ALIGN): Likewise.
78354         (R_MN10300_NUM): Update.
78356 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
78358         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
78359         Remove.
78361 2012-08-08  Roland McGrath  <roland@hack.frob.com>
78363         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
78365         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
78366         sysdeps/unix -> sysdeps/posix move.
78367         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
78369 2012-08-07      Allan McRae     <allan@archlinux.org>
78371         [BZ #14303]
78372         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
78373         (SUNOS_CPP): Likewise.
78374         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
78375         not found.
78376         (open_input): Call CPP using execvp.
78378 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
78380         * sysdeps/unix/sysv/linux/kernel-features.h
78381         (__ASSUME_PROT_GROWSUPDOWN): Remove.
78382         (__ASSUME_NO_CLONE_DETACHED): Likewise.
78383         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78384         (__ASSUME_WAITID_SYSCALL): Likewise.
78385         * sysdeps/unix/sysv/linux/dl-execstack.c
78386         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
78387         code unconditional.
78388         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
78389         conditional code.
78390         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
78391         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
78392         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
78393         code.
78394         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
78395         unconditional.
78396         [__ASSUME_WAITID_SYSCALL]: Likewise.
78397         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
78399 2012-08-07  Roland McGrath  <roland@hack.frob.com>
78401         * sysdeps/unix/closedir.c: Renamed to ...
78402         * sysdeps/posix/closedir.c: ... here.
78403         * sysdeps/unix/dirfd.c: Renamed to ...
78404         * sysdeps/posix/dirfd.c: ... here.
78405         * sysdeps/unix/dirstream.h: Renamed to ...
78406         * sysdeps/posix/dirstream.h: ... here.
78407         * sysdeps/unix/fdopendir.c: Renamed to ...
78408         * sysdeps/posix/fdopendir.c: ... here.
78409         * sysdeps/unix/opendir.c: Renamed to ...
78410         * sysdeps/posix/opendir.c: ... here.
78411         * sysdeps/unix/readdir.c: Renamed to ...
78412         * sysdeps/posix/readdir.c: ... here.
78413         * sysdeps/unix/readdir_r.c: Renamed to ...
78414         * sysdeps/posix/readdir_r.c: ... here.
78415         * sysdeps/unix/rewinddir.c: Renamed to ...
78416         * sysdeps/posix/rewinddir.c: ... here.
78417         * sysdeps/unix/seekdir.c: Renamed to ...
78418         * sysdeps/posix/seekdir.c: ... here.
78419         * sysdeps/unix/telldir.c: Renamed to ...
78420         * sysdeps/posix/telldir.c: ... here.
78421         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
78422         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
78423         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
78424         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
78426         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
78427         * bits/fcntl.h: ... here.
78429         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
78430         not 0.
78431         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
78432         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
78433         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
78434         (struct flock): Move l_start, l_len to the beginning.
78435         Use __pid_t for l_pid.
78436         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
78437         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
78438         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
78439         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
78440         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
78441         [__USE_LARGEFILE64] (struct flock64): New type.
78442         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
78444         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
78445         * bits/dirent.h: ... here.
78447         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
78448         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
78450 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
78452         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78453         Change from 2.6.0 to 2.6.16.
78454         * sysdeps/unix/sysv/linux/configure: Regenerated.
78455         * sysdeps/unix/sysv/linux/kernel-features.h
78456         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
78457         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
78458         version.
78459         (__ASSUME_UTIMES): Likewise.
78460         (__ASSUME_CLONE_STOPPED): Remove.
78461         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
78462         architectures, not kernel version.
78463         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
78464         (__ASSUME_NO_CLONE_DETACHED): Likewise.
78465         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78466         (__ASSUME_WAITID_SYSCALL): Likewise.
78467         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
78468         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
78469         * README: State 2.6.16 as minimum Linux kernel version.  Do not
78470         refer to older versions.
78472 2012-08-06  Roland McGrath  <roland@hack.frob.com>
78474         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
78475         Define alphasort64 as an alias.
78476         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
78477         Define versionsort64 as an alias.
78478         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
78479         Define scandir64 as an alias.
78480         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
78481         Define scandirat64 as an alias.
78482         * dirent/alphasort64.c (alphasort64):
78483         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
78484         * dirent/versionsort64.c: Likewise.
78485         * dirent/scandir64.c: Likewise.
78486         * dirent/scandirat64.c: Likewise.
78487         * sysdeps/wordsize-64/alphasort.c: File removed.
78488         * sysdeps/wordsize-64/alphasort64.c: File removed.
78489         * sysdeps/wordsize-64/scandir.c: File removed.
78490         * sysdeps/wordsize-64/scandir64.c: File removed.
78491         * sysdeps/wordsize-64/scandirat.c: File removed.
78492         * sysdeps/wordsize-64/scandirat64.c: File removed.
78493         * sysdeps/wordsize-64/versionsort.c: File removed.
78494         * sysdeps/wordsize-64/versionsort64.c: File removed.
78495         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
78496         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
78497         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
78498         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
78499         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
78500         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
78501         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
78502         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
78504         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
78505         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78506         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
78507         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78508         [defined __arch64__ || defined __sparcv9]
78509         (__INO_T_MATCHES_INO64_T): New macro.
78510         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78511         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
78512         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
78513         * sysdeps/unix/sysv/linux/bits/dirent.h
78514         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
78515         (_DIRENT_MATCHES_DIRENT64): New macro.
78517         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
78518         Define lockf64 as an alias.
78519         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
78520         Define fseeko64 as an alias.
78521         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
78522         Define ftello64 as an alias.
78523         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
78524         Define _IO_fgetpos64 and fgetpos64 as aliases.
78525         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
78526         Define _IO_fsetpos64 and fsetpos64 as aliases.
78527         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
78528         Conditionalize body on this.
78529         * libio/fseeko64.c: Likewise.
78530         * libio/ftello64.c: Likewise.
78531         * libio/iofgetpos64.c: Likewise.
78532         * libio/iofsetpos64.c: Likewise.
78533         * sysdeps/wordsize-64/lockf.c: File removed.
78534         * sysdeps/wordsize-64/lockf64.c: File removed.
78535         * sysdeps/wordsize-64/fseeko.c: File removed.
78536         * sysdeps/wordsize-64/fseeko64.c: File removed.
78537         * sysdeps/wordsize-64/ftello.c: File removed.
78538         * sysdeps/wordsize-64/ftello64.c: File removed.
78539         * sysdeps/wordsize-64/iofgetpos.c: File removed.
78540         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
78541         * sysdeps/wordsize-64/iofsetpos.c: File removed.
78542         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
78543         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
78544         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
78545         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
78546         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
78547         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
78548         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
78549         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
78550         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
78551         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
78552         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
78554         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78555         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78556         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
78557         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78558         [defined __arch64__ || defined __sparcv9]
78559         (__OFF_T_MATCHES_OFF64_T): New macro.
78560         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78561         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78562         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78563         (__OFF_T_MATCHES_OFF64_T): New macro.
78565 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
78567         * stdlib/secure-getenv.c (__secure_getenv): Replace
78568         GLIBC_2_16 with GLIBC_2_17.
78570 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
78572         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
78573         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78575 2012-08-03  David S. Miller  <davem@davemloft.net>
78577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78579 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
78581         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
78582         Remove.
78583         (__ASSUME_CORRECT_SI_PID): Likewise.
78584         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
78585         (__ASSUME_TMPFS_NAME): Likewise.
78586         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
78587         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
78588         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
78589         (HAVE_AUX_SECURE): Make definition unconditional.
78590         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
78591         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
78593 2012-08-03  Roland McGrath  <roland@hack.frob.com>
78595         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
78596         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
78597         * sysdeps/mach/hurd/eloop-threshold.h: New file.
78598         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78599         __eloop_threshold instead of SYMLOOP_MAX.
78601         * sysdeps/generic/eloop-threshold.h: New file.
78602         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
78603         of MAXSYMLINKS.
78604         * elf/chroot_canon.c (chroot_canon): Likewise.
78606 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
78608         [BZ #13717]
78609         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78610         Change to 2.6.0 everywhere.
78611         * sysdeps/unix/sysv/linux/configure: Regenerated.
78612         * sysdeps/unix/sysv/linux/kernel-features.h
78613         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
78614         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
78615         kernel versions.
78616         (__ASSUME_POSIX_TIMERS): Define unconditionally.
78617         (__ASSUME_FUTEX_REQUEUE): Remove.
78618         (__ASSUME_STATFS64): Define unconditionally.
78619         (__ASSUME_AT_SECURE): Likewise.
78620         (__ASSUME_CORRECT_SI_PID): Likewise.
78621         (__ASSUME_TGKILL): Define without depending on kernel version for
78622         i386.
78623         (__ASSUME_UTIMES): Likewise.
78624         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
78625         kernel version.
78626         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
78627         (__ASSUME_TMPFS_NAME): Likewise.
78628         * README: Update reference to Linux kernel versions.
78630 2012-08-02  Marek Polacek  <polacek@redhat.com>
78632         [BZ #14150]
78633         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
78634         libc_cv_asm_type_prefix with %.
78635         * configure: Regenerated.
78636         * include/libc-symbols.h: Remove comment about
78637         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78638         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
78639         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
78640         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
78641         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
78642         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78643         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
78644         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
78645         * elf/tst-unique2mod1.c: Likewise.
78646         * elf/tst-unique1mod2.c: Likewise.
78647         * elf/tst-unique1mod1.c: Likewise.
78648         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
78649         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
78650         Replace ASM_TYPE_DIRECTIVE with .type.
78651         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78652         * sysdeps/i386/sysdep.h: Likewise.
78653         * sysdeps/x86_64/sysdep.h: Likewise.
78654         * sysdeps/sh/sysdep.h: Likewise.
78655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78656         Do not define ASM_TYPE_DIRECTIVE.
78657         * sysdeps/powerpc/sysdep.h: Likewise.
78658         * sysdeps/powerpc/powerpc32/sysdep.h:
78659         Replace ASM_TYPE_DIRECTIVE with .type.
78660         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78661         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78662         * sysdeps/i386/fpu/e_powf.S: Likewise.
78663         * sysdeps/i386/fpu/e_expl.S: Likewise.
78664         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78665         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78666         * sysdeps/i386/fpu/e_pow.S: Likewise.
78667         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78668         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78669         * sysdeps/i386/fpu/s_expm1.S: Likewise.
78670         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78671         * sysdeps/i386/fpu/e_log2.S: Likewise.
78672         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78673         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78674         * sysdeps/i386/fpu/e_powl.S: Likewise.
78675         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78676         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78677         * sysdeps/i386/fpu/e_logl.S: Likewise.
78678         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78679         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78680         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78681         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78682         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78683         * sysdeps/i386/fpu/e_log.S: Likewise.
78684         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78685         * sysdeps/i386/fpu/e_logf.S: Likewise.
78686         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78687         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78688         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78689         * sysdeps/i386/fpu/e_log10.S: Likewise.
78690         * sysdeps/i386/fpu/s_frexp.S: Likewise.
78691         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78692         * sysdeps/i386/fpu/s_asinh.S: Likewise.
78693         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78694         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78695         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
78696         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78697         * sysdeps/i386/i686/strtok.S: Likewise.
78698         * sysdeps/i386/i386-mcount.S: Likewise.
78699         * sysdeps/i386/strtok.S: Likewise.
78700         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
78701         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78702         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78703         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78704         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78705         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78706         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78707         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78708         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78709         * sysdeps/x86_64/_mcount.S: Likewise.
78710         * sysdeps/x86_64/strtok.S: Likewise.
78711         * sysdeps/sh/_mcount.S: Likewise.
78713 2012-08-01  Roland McGrath  <roland@hack.frob.com>
78715         * libio/iofopen.c: Include <fcntl.h>.
78716         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
78717         (_IO_fopen64, fopen64): Define as aliases.
78718         * libio/iofopen64.c: Include <fcntl.h>.
78719         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
78720         Conditionalize body on this.
78721         * sysdeps/wordsize-64/iofopen.c: File removed.
78722         * sysdeps/wordsize-64/iofopen64.c: File removed.
78724 2012-08-01  Marek Polacek  <polacek@redhat.com>
78726         * libc/Makeconfig: Use elf in place of binfmt-subdir.
78727         Use dlfcn directly instead of a variable.
78728         (binfmt-subdir): Do not define.
78729         (dlfcn): Likewise.
78731 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
78733         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
78734         Remove all definitions.
78735         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
78736         <kernel-features.h>.
78737         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78738         (miss_F_GETOWN_EX): Remove all definitions.
78739         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
78740         macro definition.
78741         [!__ASSUME_FCNTL64]: Remove conditional code.
78742         [__ASSUME_FCNTL64]: Make code unconditional.
78743         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
78744         <kernel-features.h>.
78745         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78746         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
78747         (lockf64) [__NR_fcntl64]: Make code unconditional.
78748         (lockf64) [__ASSUME_FCNTL64]: Likewise.
78750         * sysdeps/unix/sysv/linux/kernel-features.h
78751         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
78752         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
78753         Make code unconditional.
78754         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78755         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
78757         [__NR_vfork]: Make code unconditional.
78758         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78759         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
78761         [__NR_vfork]: Make code unconditional.
78762         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78763         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78765 2012-08-01  Roland McGrath  <roland@hack.frob.com>
78767         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
78768         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
78770         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78771         Define mkstemp64 as an alias.
78772         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78773         Define mkstemps64 as an alias.
78774         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78775         Define mkostemp64 as an alias.
78776         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78777         Define mkostemps64 as an alias.
78778         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
78779         Conditionalize body on this.
78780         * misc/mkostemp64.c: Likewise.
78781         * misc/mkostemps64.c: Likewise.
78782         * misc/mkstemps64.c: Likewise.
78783         * sysdeps/wordsize-64/mkstemp64.c: File removed.
78784         * sysdeps/wordsize-64/mkostemp64.c: File removed.
78785         * sysdeps/wordsize-64/mkostemp.c: File removed.
78786         * sysdeps/wordsize-64/mkstemp.c: File removed.
78787         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
78788         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
78789         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
78790         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
78792         [BZ #14138]
78793         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
78794         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
78795         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
78796         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
78798         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
78799         compat_symbol macros from <shlib-compat.h> rather than the underlying
78800         default_symbol_version and symbol_version macros, so that DEFAULT
78801         lines in shlib-versions are respected.
78802         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
78804 2012-08-01  Florian Weimer  <fweimer@redhat.com>
78806         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
78807         Declare with warn_unused_result.
78808         (setgid, setregid, setegid, setresgid): Likewise.
78809         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
78810         Likewise.
78811         * WUR-REPORT: Remove set*id functions.
78813 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
78815         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
78817 2012-07-31  Roland McGrath  <roland@hack.frob.com>
78819         [BZ #10191]
78820         * include/sys/socket.h (__libc_accept, __libc_accept4):
78821         Add attribute_hidden.
78822         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
78824         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
78825         use of PTR_MANGLE.
78826         * inet/getnetgrent_r.c (setup): Likewise.
78828         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
78830 2012-07-31  David S. Miller  <davem@davemloft.net>
78832         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78834 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
78836         [BZ #13629]
78837         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
78838         value between 1.0 and 2.0 and smaller part has absolute value less
78839         than 1.0.
78840         * math/s_clog10.c (__clog10): Likewise.
78841         * math/s_clog10f.c (__clog10f): Likewise.
78842         * math/s_clog10l.c (__clog10l): Likewise.
78843         * math/s_clogf.c (__clogf): Likewise.
78844         * math/s_clogl.c (__clogl): Likewise.
78845         * math/libm-test.inc (clog_test): Add more tests.
78846         (clog10_test): Likewise.
78847         * sysdeps/i386/fpu/libm-test-ulps: Update.
78848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78850 2012-07-31  Florian Weimer  <fweimer@redhat.com>
78852         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
78853         Exit with zero in case no suitable GID is found, and write a
78854         message to standard error.
78856 2012-07-30  Roland McGrath  <roland@hack.frob.com>
78858         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
78859         rather than to 1.
78860         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
78861         (MAXPATHLEN): Removed.
78862         (NOGROUP, NODEV): New macros.
78863         (setbit, clrbit, isset, isclr): New macros.
78864         (howmany, roundup, powerof2): New macros.
78865         (DEV_BSIZE): New macro.
78867         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
78868         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
78870         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
78871         definition on [!__NO_LONG_DOUBLE_MATH].
78873         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
78874         PTR_MANGLE and PTR_DEMANGLE.
78876         * socket/accept4.c (accept4): Rename to __libc_accept4.
78877         Define accept4 as a weak alias.
78879         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
78880         on [_DIRENT_HAVE_D_TYPE].
78881         * io/ftw.c (ftw_dir): Likewise.
78883         * io/xmknod.c (__xmknod): Don't check PATH for being null.
78885         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
78887         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
78888         Use the BSD numbers rather than the arbitrary ones we had.
78889         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
78890         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
78891         (SIGXCPU, SIGXFSZ): New macros.
78892         (_NSIG): Now 32.
78894         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
78895         initializer on [_LIBC_REENTRANT].
78897         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
78898         definitions inside [_POSIX_MAPPED_FILES].
78900         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
78902         * dirent/opendir.c: Include <fcntl.h>.
78904         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
78905         (__libc_getspecific): Likewise.
78906         (__libc_key_create): Likewise.
78908         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
78909         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
78910         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
78911         (tmpfile64): Define as alias.
78912         * sysdeps/wordsize-64/tmpfile.c: File removed.
78913         * sysdeps/wordsize-64/tmpfile64.c: File removed.
78914         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
78915         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
78917         * stdio-common/vfscanf.c: Include <stdbool.h>.
78918         * nss/makedb.c: Likewise.
78919         * stdio-common/_i18n_number.h: Likewise.
78920         * argp/argp-help.c: Likewise.
78921         * posix/wordexp.c: Likewise.
78922         * sysdeps/posix/spawni.c: Likewise.
78923         * nss/nss_files/files-initgroups.c: Likewise.
78924         * stdio-common/reg-modifier.c: Include <stdlib.h>.
78925         * nss/nss_files/files-initgroups.c: Likewise.
78926         * nss/nss_db/db-netgrp.c: Likewise.
78927         * nss/nss_db/db-initgroups.c: Likewise.
78928         * io/fchmodat.c: Include <sys/stat.h>.
78930         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
78931         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
78933         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
78934         [HAVE_MMAP].
78936         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
78937         Add multiple inclusion protection.
78939 2012-07-27  David S. Miller  <davem@davemloft.net>
78941         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78943 2012-07-27  Gary Benson  <gbenson@redhat.com>
78945         [BZ #14298]
78946         * elf/rtld.c: Include <stap-probe.h>.
78947         (dl_main): Added static probes "init_start" and "init_complete".
78948         * elf/dl-load.c: Include <stap-probe.h>.
78949         (lose): Take new parameter "nsid".
78950         Added static probe "map_failed".
78951         (_dl_map_object_from_fd): Pass namespace id to lose.
78952         Added static probe "map_start".
78953         (open_verify): Pass namespace id to lose.
78954         * elf/dl-open.c: Include <stap-probe.h>.
78955         (dl_open_worker) Added static probes "map_complete", "reloc_start"
78956         and "reloc_complete".
78957         * elf/dl-close.c: Include <stap-probe.h>.
78958         (_dl_close_worker): Added static probes "unmap_start" and
78959         "unmap_complete".
78960         * elf/rtld-debugger-interface.txt: New file documenting the above.
78962 2012-07-26  Roland McGrath  <roland@hack.frob.com>
78964         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
78965         rather than a string variable.
78966         * sunrpc/rpc_main.c (h_output): Likewise.
78967         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
78969 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
78971         * inet/check_native.c: New file.
78973 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
78975         [BZ #13629]
78976         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
78977         if larger part has absolute value 1.0.
78978         * math/s_clog10.c (__clog10): Likewise.
78979         * math/s_clog10f.c (__clog10f): Likewise.
78980         * math/s_clog10l.c (__clog10l): Likewise.
78981         * math/s_clogf.c (__clogf): Likewise.
78982         * math/s_clogl.c (__clogl): Likewise.
78983         * math/libm-test.inc (clog_test): Add more tests.
78984         (clog10_test): Likewise.
78985         * sysdeps/i386/fpu/libm-test-ulps: Update.
78986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78988         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
78989         (pltexit): Likewise.
78990         (La_regs): Likewise.
78991         (La_retval): Likewise.
78992         (int_retval): Likewise.
78993         Update #error for removed macros to refer only to definitions in
78994         tst-audit.h.
78995         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
78996         macro.
78997         (pltexit): Likewise.
78998         (La_regs): Likewise.
78999         (La_retval): Likewise.
79000         (int_retval): Likewise.
79001         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
79002         macro.
79003         (pltexit): Likewise.
79004         (La_regs): Likewise.
79005         (La_retval): Likewise.
79006         (int_retval): Likewise.
79007         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
79008         macro.
79009         (pltexit): Likewise.
79010         (La_regs): Likewise.
79011         (La_retval): Likewise.
79012         (int_retval): Likewise.
79013         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
79014         macro.
79015         (pltexit): Likewise.
79016         (La_regs): Likewise.
79017         (La_retval): Likewise.
79018         (int_retval): Likewise.
79019         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
79020         macro.
79021         (pltexit): Likewise.
79022         (La_regs): Likewise.
79023         (La_retval): Likewise.
79024         (int_retval): Likewise.
79025         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
79026         macro.
79027         (pltexit): Likewise.
79028         (La_regs): Likewise.
79029         (La_retval): Likewise.
79030         (int_retval): Likewise.
79031         * sysdeps/generic/tst-audit.h: Update comment to refer only to
79032         macro definitions in tst-audit.h.
79033         * sysdeps/i386/tst-audit.h: New file.
79034         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
79035         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
79036         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
79037         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
79038         * sysdeps/sh/tst-audit.h: Likewise.
79039         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
79040         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
79041         * sysdeps/x86_64/tst-audit.h: Likewise.
79043 2012-07-26  Andreas Jaeger  <aj@suse.de>
79045         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
79046         ptrace.
79048         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
79049         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
79050         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
79051         PTRACE_O_MASK.
79052         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
79053         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
79054         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
79056         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
79057         value.
79059         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
79060         _sigsys.
79061         (si_call_addr, si_syscall, si_arch): Define new macro.
79062         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
79063         _sigsys.
79064         (si_call_addr, si_syscall, si_arch): Define new marcro.
79065         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
79066         _sigsys.
79067         (si_call_addr, si_syscall, si_arch): Define new macro.
79068         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
79069         _sigsys.
79070         (si_call_addr, si_syscall, si_arch): Define new macro.
79072 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
79074         [BZ #13717]
79075         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79076         Change to 2.4.21 where previously 2.4.1.
79077         * sysdeps/unix/sysv/linux/configure: Regenerated.
79078         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
79079         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
79080         Linux kernel version.
79081         (__ASSUME_STD_AUXV): Remove.
79082         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
79083         kernel version.
79084         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
79085         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
79086         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
79087         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
79088         (__ASSUME_NETLINK_SUPPORT): Likewise.
79089         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
79090         (__no_netlink_support): Remove conditional definition.
79091         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
79092         Remove.
79093         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
79094         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
79095         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
79096         (if_nameindex_ioctl): Remove.
79097         (if_nameindex_netlink): Do not handle __no_netlink_support.
79098         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
79099         code.
79100         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
79101         Remove conditional code.
79102         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
79103         code.
79104         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
79105         unconditional.
79106         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
79107         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
79108         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
79109         Remove.
79110         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
79111         [!__ASSUME_STD_AUXV]: Remove conditional code.
79112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
79113         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
79114         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
79115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
79116         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
79117         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79118         code.
79119         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
79121         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
79122         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79123         conditional code.
79124         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
79126         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79127         code.
79128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
79129         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79130         conditional code.
79131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
79132         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79133         code unconditional.
79134         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79135         conditional code.
79136         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79137         unconditional.
79138         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79139         conditional code.
79140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79141         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79142         unconditional.
79143         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79144         conditional code.
79145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
79146         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79147         code unconditional.
79148         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79149         conditional code.
79150         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79151         unconditional.
79152         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79153         conditional code.
79154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
79155         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79156         code unconditional.
79157         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79158         conditional code.
79159         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79160         unconditional.
79161         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79162         conditional code.
79164 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
79166         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
79167         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
79168         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
79169         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
79170         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
79171         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
79172         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
79173         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
79174         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
79175         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
79176         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
79177         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
79178         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
79179         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
79180         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
79181         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
79182         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
79183         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
79184         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
79185         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
79186         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
79187         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
79188         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
79190 2012-07-25  Florian Weimer  <fweimer@redhat.com>
79192         * Versions.def: Add GLIBC_2.17.
79193         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
79194         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
79195         Introduce __libc_secure_getenv.
79196         * stdlib/Versions (2.17): Add secure_getenv
79197         (GLIBC_PRIVATE): Add __libc_secure_getenv.
79198         * stdlib/secure-getenv.c: Rename __secure_getenv to
79199         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
79200         symbol __secure_getenv for GLIBC_2.0.
79201         * stdlib/tst-secure-getenv.c: New.
79202         * stdlib/Makefile (tests): Add testcase.
79203         * manual/startup.texi (Environment Access): Document
79204         secure_getenv.
79205         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
79206         __libc_secure_getenv.
79207         * inet/ruserpass.c (ruserpass): Likewise.
79208         * malloc/mtrace.c (mtrace): Likewise.
79209         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
79210         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
79211         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
79212         * sysdeps/posix/tempname.c: Likewise.  Evaluate
79213         HAVE_SECURE_GETENV.
79214         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
79215         __secure_getenv to __libc_secure_getenv.
79216         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
79217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79218         Likewise.
79219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
79220         Likewise.
79221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
79222         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
79223         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
79224         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
79225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
79226         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
79227         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
79229 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
79231         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
79232         (struct La_i86_retval): Likewise.
79233         (struct La_x86_64_regs): Likewise.
79234         (struct La_x86_64_retval): Likewise.
79235         (struct La_x32_regs): Likewise.
79236         (struct La_x32_retval): Likewise.
79237         (struct La_ppc32_regs): Likewise.
79238         (struct La_ppc32_retval): Likewise.
79239         (struct La_ppc64_regs): Likewise.
79240         (struct La_ppc64_retval): Likewise.
79241         (struct La_sh_regs): Likewise.
79242         (struct La_sh_retval): Likewise.
79243         (struct La_s390_32_regs): Likewise.
79244         (struct La_s390_32_retval): Likewise.
79245         (struct La_s390_64_regs): Likewise.
79246         (struct La_s390_64_retval): Likewise.
79247         (struct La_sparc32_regs): Likewise.
79248         (struct La_sparc32_retval): Likewise.
79249         (struct La_sparc64_regs): Likewise.
79250         (struct La_sparc64_retval): Likewise.
79251         (struct audit_ifaces): Remove architecture-specific pltenter and
79252         pltexit members.
79253         * sysdeps/i386/ldsodefs.h: New file.
79254         * sysdeps/powerpc/ldsodefs.h: Likewise.
79255         * sysdeps/s390/ldsodefs.h: Likewise.
79256         * sysdeps/sh/ldsodefs.h: Likewise.
79257         * sysdeps/sparc/ldsodefs.h: Likewise.
79258         * sysdeps/x86_64/ldsodefs.h: Likewise.
79260 2012-07-25  Marek Polacek  <polacek@redhat.com>
79262         [BZ #6808]
79263         * math/libm-test.inc (yn_test): Add another test.
79264         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
79265         to ERANGE when the result is +-Inf.
79266         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
79267         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
79268         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
79269         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
79271 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
79273         * conform/data/time.h-data (NULL): Use macro-constant.  Require
79274         equal to 0.
79275         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
79276         clock_t.
79277         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
79279 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
79281         * configure.in <sysdeps resolving>: Correct printing
79282         Implies_before.
79283         * configure: Regenerate.
79285 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
79287         * math/w_ilogb.c: Include <limits.h>.
79288         * math/w_ilogbl.c: Likewise.
79290 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
79292         * manual/lang.texi (__va_copy): Document primarily as ISO C99
79293         va_copy.  Document allowing for unavailable va_copy only as
79294         pre-C99 compatibility.
79295         * manual/string.texi (Copying and Concatenation): Use va_copy
79296         instead of __va_copy in concat example.
79298 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
79300         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
79301         (__sendto): Use create_address_port.  Initialize APORT and deallocate
79302         it if not null.
79304         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
79305         with O_NOLINK passed to __file_name_lookup.
79307         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
79308         with O_NOLINK passed to __file_name_lookup.
79310         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
79311         negative N or less than NGIDS.
79313         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
79314         type to string_t.  Set ERANGE as errno and return it if NAME is not big
79315         enough.  Use memcpy instead of strncpy.
79317 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
79319         * elf/Makefile (check-data): Remove.
79320         (localplt.data): New vpath directive.
79321         ($(objpfx)check-localplt.out): Use localplt.data from vpath
79322         instead of $(check-data).
79323         * scripts/data/localplt-generic.data: Move to ...
79324         * sysdeps/generic/localplt.data: ... here.
79325         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
79326         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
79327         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
79328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
79329         ... here.
79330         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
79331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
79332         ... here.
79333         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
79334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
79335         ... here.
79336         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
79337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
79338         ... here.
79339         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
79340         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
79341         ... here.
79342         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
79343         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
79344         ... here.
79346 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79348         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
79349         PPC32 and PPC64 files.
79350         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
79351         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
79353 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79355         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
79356         __makecontext_ret to ...
79357         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
79358         ... here and call exit if uc_link is NULL.  New file.
79359         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
79360         __makecontext_ret.S.
79361         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
79362         __makecontext_ret to ...
79363         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
79364         ... here and call exit if uc_link is NULL.  New file.
79365         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
79366         __makecontext_ret.S.
79368 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79370         * elf/elf.h (R_390_IRELATIVE): New definition.
79371         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
79372         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
79373         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
79374         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
79375         (elf_machine_lazy_rel): Likewise.
79376         * sysdeps/s390/dl-irel.h: New file.
79377         * sysdeps/s390/s390-64/memcpy.S: New asm code.
79378         * sysdeps/s390/s390-64/memset.S: New asm code.
79379         * sysdeps/s390/s390-64/memcmp.S: New asm code.
79380         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
79381         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
79382         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
79383         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
79384         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
79385         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
79386         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
79387         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
79388         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
79389         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
79390         * sysdeps/s390/s390-32/memcpy.S: New asm code.
79391         * sysdeps/s390/s390-32/memset.S: New asm code.
79392         * sysdeps/s390/s390-32/memcmp.S: New asm code.
79394 2012-07-17  Marek Polacek  <polacek@redhat.com>
79396         [BZ #14349]
79397         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
79398         * sysdeps/s390/s390-64/configure.in: Likewise.
79399         * sysdeps/sparc/configure.in: Likewise.
79400         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
79401         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
79402         * sysdeps/i386/configure.in: Likewise.
79403         * sysdeps/x86_64/configure.in: Likewise.
79404         * sysdeps/sh/configure.in: Likewise.
79405         * sysdeps/s390/s390-32/configure: Regenerated.
79406         * sysdeps/s390/s390-64/configure: Likewise.
79407         * sysdeps/x86_64/configure: Likewise.
79408         * sysdeps/sh/configure: Likewise.
79409         * sysdeps/powerpc/powerpc64/configure: Likewise.
79410         * sysdeps/powerpc/powerpc32/configure: Likewise.
79411         * sysdeps/sparc/configure: Likewise.
79412         * sysdeps/i386/configure: Likewise.
79414         * elf/dl-open.c: Comment fixes.
79416 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
79418         * Makefile [CXX] (check-data): Remove.
79419         [CXX] (c++-types.data): New vpath directive.
79420         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
79421         vpath.  Do not allow for C++ type data being missing.
79422         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
79423         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
79424         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
79425         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
79426         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
79427         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
79428         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
79429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
79430         ... here.
79431         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
79432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
79433         ... here.
79434         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
79435         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
79436         ... here.
79437         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
79438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
79439         ... here.
79440         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
79441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
79442         ... here.
79443         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
79444         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
79445         ... here.
79446         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
79447         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
79448         ... here.
79449         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
79450         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
79452         * elf/tls-macros.h (TLS_LE): Move architecture-specific
79453         definitions to architecture-specific files.
79454         (TLS_IE): Likewise.
79455         (TLS_LD): Likewise.
79456         (TLS_GD): Likewise.
79457         * sysdeps/i386/tls-macros.h: New file.
79458         * sysdeps/powerpc/tls-macros.h: Likewise.
79459         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
79460         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
79461         * sysdeps/sh/tls-macros.h: Likewise.
79462         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
79463         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
79464         * sysdeps/x86_64/tls-macros.h: Likewise.
79466 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
79468         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
79469         zero value for regular exit case.
79471         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
79472         (__start_context): Preserve zero value for regular exit case.
79474 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
79475             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79477         * manual/setjmp.texi (setcontext): Clarify normal process
79478         termination when uc_link is the null pointer.
79479         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
79480         exit call.
79482 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
79484         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
79485         preprocessor.  Test for each exception mask separately.
79487 2012-07-16  Andreas Jaeger  <aj@suse.de>
79489         * po/ru.po: Update from translation team.
79491 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
79493         * conform/data/string.h-data (NULL): Use macro-constant.  Require
79494         equal to 0.
79495         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79496         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79497         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
79498         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
79499         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79501 2012-07-13  Andreas Jaeger  <aj@suse.de>
79503         * po/fr.po: Update from translation team.
79505 2012-07-12  Marek Polacek  <polacek@redhat.com>
79507         [BZ #14173]
79508         * math/libm-test.inc (yn_test): Add test for BZ #14173.
79509         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
79510         loop condition.
79512 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
79514         [BZ #13717]
79515         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79516         Change to 2.4.1 where previously 2.4.0.
79517         * sysdeps/unix/sysv/linux/configure: Regenerated.
79518         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
79519         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
79520         version.
79521         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
79522         (__ASSUME_AT_CLKTCK): Remove.
79523         (__ASSUME_AT_PAGESIZE): Likewise.
79524         (__ASSUME_AT_XID): Likewise.
79525         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
79526         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
79527         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
79528         unconditionally.
79529         (HAVE_AUX_PAGESIZE): Likewise.
79530         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
79531         [__ASSUME_AT_CLKTCK]: Make code unconditional.
79532         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
79534 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
79536         [BZ #14307]
79537         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
79538         the temporary buffer used to invoke __gethostbyname2_r,
79539         __gethostbyaddr_r and gethostbyname4_r to make room for struct
79540         host_data / struct gaih_addrtuple.
79541         * resolv/nss_dns/dns-host.c (global scope): Move definition of
79542         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
79543         header file nss/nsswitch.h.
79544         * nss/nsswitch.h (global scope): Add definition of implementation
79545         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
79546         resolv/nss_dns/dns-host.c).
79548 2012-07-11  Andreas Jaeger  <aj@suse.de>
79550         * po/fr.po: Update from translation team.
79552         * po/sv.po: Update from translation team
79553         * po/fr.po: Another update from translation team.
79555 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79557         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
79558         for subnormals or multiply small sinh result by itself.
79559         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79562 2012-07-11  David S. Miller  <davem@davemloft.net>
79564         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79566 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
79568         [BZ #14347]
79569         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
79570         (INTERNAL_MARK): Shift it here.
79572 2012-07-10  Marek Polacek  <polacek@redhat.com>
79574         [BZ #14151]
79575         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
79576         libc_cv_asm_global_directive with .globl.
79577         * configure: Regenerated.
79578         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
79579         with .globl.
79580         * sysdeps/i386/configure: Regenerated.
79581         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
79582         with .globl.
79583         * sysdeps/x86_64/configure: Regenerated.
79584         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
79585         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
79586         * elf/tst-unique2mod2.c: Likewise.
79587         * elf/tst-unique2mod1.c: Likewise.
79588         * elf/tst-unique1mod2.c: Likewise.
79589         * elf/tst-unique1mod1.c: Likewise.
79590         * sysdeps/s390/s390-32/sysdep.h: Likewise.
79591         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
79592         * sysdeps/s390/s390-64/sysdep.h: Likewise.
79593         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
79594         * sysdeps/mach/sysdep.h: Likewise.
79595         * sysdeps/i386/sysdep.h: Likewise.
79596         * sysdeps/i386/i386-mcount.S: Likewise.
79597         * sysdeps/x86_64/_mcount.S: Likewise.
79598         * sysdeps/x86_64/sysdep.h: Likewise.
79599         * sysdeps/sh/_mcount.S: Likewise.
79600         * sysdeps/sh/sysdep.h: Likewise.
79601         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
79602         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
79603         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
79604         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79605         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
79606         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
79607         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
79608         * locale/localeinfo.h: Likewise.
79609         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
79610         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
79612 2012-07-09  Roland McGrath  <roland@hack.frob.com>
79614         [BZ #14336]
79615         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
79616         system".
79617         * manual/message.texi (The Uniforum approach): Likewise.
79618         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
79619         (glibc iconv Implementation): Likewise.
79621 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
79623         [BZ #14337]
79624         * math/s_clog.c (__clog): Avoid scaling a value down where that
79625         could result in underflow.
79626         * math/s_clog10.c (__clog10): Likewise.
79627         * math/s_clog10f.c (__clog10f): Likewise.
79628         * math/s_clog10l.c (__clog10l): Likewise.
79629         * math/s_clogf.c (__clogf): Likewise.
79630         * math/s_clogl.c (__clogl): Likewise.
79631         * math/libm-test.inc (clog_test): Add more tests.
79632         (clog10_test): Likewise.
79633         * sysdeps/i386/fpu/libm-test-ulps: Update.
79634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79636 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
79638         [BZ #14283]
79639         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
79640         by 7 not 8 to examine high bit of fractional part.
79642         [BZ #14042]
79643         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
79644         for call to __mcount_internal.
79645         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
79646         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
79647         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
79649 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
79651         [BZ #14154]
79652         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
79653         approximation for values within 0x1p-13f of an odd multiple of
79654         pi/4.
79655         * math/libm-test.inc (tan_test): Do not allow spurious underflow
79656         exception.  Add more tests.
79657         * sysdeps/i386/fpu/libm-test-ulps: Update.
79659         [BZ #6778]
79660         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
79661         inputs and return -1 for them.  Do not check for +Inf in case not
79662         reachable for +Inf.
79663         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
79664         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
79665         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79666         and return -1 for them.  Do not check for +Inf in case not
79667         reachable for +Inf.
79668         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
79669         define.
79670         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79671         and return -1 for them.  Do not check for +Inf in case not
79672         reachable for +Inf.
79673         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
79674         spurious underflow.
79675         * sysdeps/i386/fpu/libm-test-ulps: Update.
79676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79678 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
79680         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
79682 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
79684         [BZ #14157]
79685         [BZ #14331]
79686         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
79687         could result in spurious underflow.  Scale down values above
79688         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
79689         * math/s_csqrtf.c (__csqrtf): Likewise.
79690         * math/s_csqrtl.c (__csqrtl): Likewise.
79691         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
79692         spurious underflow.
79693         * sysdeps/i386/fpu/libm-test-ulps: Update.
79694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79696 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
79698         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
79699         xopen-msg.sed.
79700         * catgets/xopen-msg.awk: New file.
79701         * catgets/xopen-msg.sed: Removed.
79703         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
79704         po2text.sed.
79705         * intl/po2test.awk: New file.
79706         * intl/po2test.sed: Removed.
79708 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
79710         [BZ #14328]
79711         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
79712         or multiply small sinh result by itself.
79713         * math/s_ctanf.c (__ctanf): Likewise.
79714         * math/s_ctanh.c (__ctanh): Likewise.
79715         * math/s_ctanhf.c (__ctanhf): Likewise.
79716         * math/s_ctanhl.c (__ctanhl): Likewise.
79717         * math/s_ctanl.c (__ctanl): Likewise.
79718         * math/libm-test.inc (ctan_test_tonearest): New function.
79719         (ctan_test_towardzero): Likewise.
79720         (ctan_test_downward): Likewise.
79721         (ctan_test_upward): Likewise.
79722         (ctanh_test_tonearest): Likewise.
79723         (ctanh_test_towardzero): Likewise.
79724         (ctanh_test_downward): Likewise.
79725         (ctanh_test_upward): Likewise.
79726         (main): Call these new functions.
79727         * sysdeps/i386/fpu/libm-test-ulps: Update.
79728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79730 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
79732         * .gitignore: Delete /ports entry.
79734 2012-07-03  Andreas Jaeger  <aj@suse.de>
79736         * po/bg.po: Update from translation team.
79737         * po/cs.po: Likewise.
79738         * po/de.po: Likewise.
79739         * po/hr.po: Likewise.
79740         * po/nl.pl: Likewise.
79741         * po/pl.po: Likewise.
79742         * po/vi.po: Likewise.
79744 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
79746         * Makeconfig [!+link] (+link-before-libc): New variable.
79747         [!+link] (+link-after-libc): Likewise.
79748         [!+link] (+link-tests): Likewise.
79749         [!+link] (+link): Define in terms of $(+link-before-libc) and
79750         $(+link-after-libc).
79751         [!+link-static] (+link-static-before-libc): New variable.
79752         [!+link-static] (+link-static-after-libc): Likewise.
79753         [!+link-static] (+link-static-tests): Likewise.
79754         [!+link-static] (+link-static): Define in terms of
79755         $(+link-static-before-libc) and $(+link-static-after-libc).
79756         [build-shared] (link-libc-before-gnulib): New variable.
79757         [build-shared] (link-libc-tests): Likewise.
79758         [build-shared] (link-libc): Define in terms of
79759         $(link-libc-before-gnulib).
79760         [!build-shared] (link-libc-tests): New variable.
79761         (link-libc-static-tests): New variable.
79762         [!gnulib] (gnulib-arch): New variable.
79763         [!gnulib] (gnulib-tests): Likewise.
79764         [!gnulib] (static-gnulib-arch): Likewise.
79765         [!gnulib] (static-gnulib-tests): Likewise.
79766         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
79767         Define with "=" instead of ":=".
79768         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
79769         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
79770         * Rules (binaries-all-notests): New variable.
79771         (binaries-all-tests): Likewise.
79772         (binaries-static-notests): Likewise.
79773         (binaries-static-tests): Likewise.
79774         (binaries-all): Define using $(binaries-all-notests) and
79775         $(binaries-all-tests).
79776         (binaries-static): Define using $(binaries-static-notests) and
79777         $(binaries-static-tests).
79778         (binaries-shared-tests): New variable.
79779         (binaries-shared-notests): Likewise.
79780         (binaries-shared): Remove variable.
79781         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
79782         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
79783         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
79784         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
79785         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
79786         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
79787         * elf/Makefile (sln-modules): New variable.
79788         (extra-objs): Add $(sln-modules:=.o).
79789         (ldconfig-modules): Add static-stubs.
79790         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
79791         * elf/static-stubs.c: New file.
79793         [BZ #14283]
79794         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
79795         by 7 not 8 to examine high bit of fractional part.  Use volatile
79796         variables when splitting into final array of floats if
79797         __FLT_EVAL_METHOD__ != 0.
79798         * math/libm-test.inc (cos_test): Add another test.
79799         (sin_test): Likewise.
79800         * sysdeps/i386/fpu/libm-test-ulps: Update.
79802         [BZ #14273]
79803         * math/libm-test.inc (cosh_test): Add more tests.
79805         * version.h (RELEASE): Set to "development".
79806         (VERSION): Set to "2.16.90".
79808 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
79810         * NEWS: Update copyright. Remove last-updated date.
79811         Mention math library bug fixes and timezone data changes.
79812         * README: Mention GNU/Hurd, x32, and HPPA support status.
79814 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
79816         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
79818 2012-06-27  Andreas Jaeger  <aj@suse.de>
79820         * manual/contrib.texi (Contributors): Add Samuel Thibault.
79822 2012-06-25  Andreas Jaeger  <aj@suse.de>
79824         * sysdeps/s390/fpu/libm-test-ulps: Update.
79826 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
79827             Thomas Schwinge  <thomas@codesourcery.com>
79829         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
79830         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
79831         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
79832         fanotify_mark.
79834 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
79836         * sysdeps/mach/start.c: Remove file.
79837         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
79838         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
79839         * sysdeps/sh/init-first.c: Likewise.
79841         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
79842         registers for frame unwinding purposes, add CFI directives.
79843         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79844         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
79845         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
79846         Likewise.
79848         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
79849         __fortify_fail returning.
79850         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79852         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
79853         sysdeps/sh/____longjmp_chk.S.
79854         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
79855         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
79856         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
79857         (gen-as-const-headers): Append sigaltstack-offsets.sym.
79859         * sysdeps/sh/abort-instr.h: New file.
79860         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
79861         process in case exit returns.
79863         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
79864         initialize the GOT register before use.
79866         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
79867         calculation of ARGC > 4.
79869         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
79870         meaningful names to some local labels.
79872 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79873             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79875         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
79876         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
79877         (__arch_compare_and_exchange_val_16_acq): Likewise.
79878         (__arch_compare_and_exchange_val_32_acq): Likewise.
79879         (atomic_exchange_and_add): Fix gUSA sequence.
79880         (atomic_add): Likewise.
79881         (atomic_add_negative): Likewise.
79882         (atomic_add_zero): Likewise.
79883         (atomic_bit_test_set): Likewise.
79885 2012-06-22  Andreas Schwab  <schwab@redhat.com>
79887         [BZ #13579]
79888         * include/link.h (struct link_map): Add l_free_initfini.
79889         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
79890         l_initfini.
79891         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
79892         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
79893         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
79894         set.
79896 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
79898         * configure.in: Use AC_LANG_SOURCE.
79899         * configure: Regenerate.
79901 2012-06-22  Roland McGrath  <roland@hack.frob.com>
79903         * configure.in (libc_cv_localstatedir): New substituted variable.
79904         * configure: Regenerated.
79905         * config.make.in (localstatedir): New variable, substituted from
79906         libc_cv_localstatedir.
79907         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
79908         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
79909         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
79910         * sysdeps/gnu/configure: Regenerated.
79912 2012-06-21  Jeff Law  <law@redhat.com>
79914         [BZ #14277]
79915         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
79916         free.  Simplify list management for _LIBC case.
79918 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
79920         [BZ #14273]
79921         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
79922         Clear sign bit of 64-bit integer value before comparing against
79923         overflow value.
79925         * sysdeps/mach/configure: Regenerated.
79927 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
79929         [BZ #14278]
79930         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
79932 2012-06-21  Jeff Law  <law@redhat.com>
79934         [BZ #13882]
79935         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
79936         uint16_t for elements in the "seen" array to avoid char overflows.
79937         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79938         * elf/dl-open.c (dl_open_worker): Likewise.
79940 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
79942         * scripts/list-sources.sh: Scan PORTS for translations.
79943         * po/libc.pot: Regenerated.
79945 2012-06-21  Andreas Jaeger  <aj@suse.de>
79947         [BZ #12194]
79948         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
79949         warning.
79950         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
79951         * bits/byteswap-16.h (__bswap_16): Likewise.
79952         * bits/byteswap.h (__bswap_constant_16): Likewise.
79954 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
79956         [BZ #14117]
79957         * sysdeps/i386/fpu_control.h: Removed.
79958         * sysdeps/x86_64/fpu_control.h: Moved to ...
79959         * sysdeps/x86/fpu_control.h: Here.
79961         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
79962         (_FPU_SETCW): Likewise.
79964 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
79966         [BZ #14117]
79967         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
79968         * sysdeps/x86/fpu/bits/mathinline.h: This.
79969         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
79971         [BZ #14050]
79972         [BZ #14117]
79973         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
79974         functions if __x86_64__ is defined.
79976 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
79978         * string/endian.h: Add !__ASSEMBLER__ condition for including
79979         conversion interfaces.
79981 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
79983         [BZ #14241]
79984         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
79985         of ABS(x) in calculating zero to negative powers other than odd
79986         integers.
79987         * math/libm-test.inc (pow_test): Add more tests.
79989 2012-06-15  Andreas Jaeger  <aj@suse.de>
79991         * manual/contrib.texi (Contributors): Update entry of Liubov
79992         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
79993         Machado Filho.
79995 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
79997         * string/string.h: Add __wur to GNU version of strerror_r.
79999 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
80001         [BZ #14229]
80002         * string/Makefile (tests): Add tst-strtok_r.
80003         * string/tst-strtok_r.c: New file.
80004         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
80005         RAX_LP/RDX_LP on SAVE_PTR.
80007 2012-06-14  Roland McGrath  <roland@hack.frob.com>
80009         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
80011 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
80013         * libm_test.inc (csqrt_test): Allow more spurious underflow
80014         exceptions.
80015         (j0_test): Likewise.
80016         (j1_test): Likewise.
80017         (y0_test): Likewise.
80018         (y1_test): Likewise.
80020 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
80022         * po/Makefile (libc.pot): Use UTF-8 charset.
80024 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
80026         [BZ #14210]
80027         Suppress sign-conversion warning from FD_SET.
80028         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
80029         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
80030         not unsigned long int.
80031         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
80033 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
80035         [BZ #14050]
80036         [BZ #14117]
80037         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
80038         __extern_always_inline instead of __extern_inline.
80039         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
80040         (__signbit): Likewise.
80041         (__signbitl): Support C++ namespace.
80042         (lrintf): New inline function.
80043         (lrint): Likewise.
80044         (llrintf): Likewise.
80045         (llrint): Likewise.
80046         (fmaxf): Likewise.
80047         (fmax): Likewise.
80048         (fminf): Likewise.
80049         (fmin): Likewise.
80050         (rint): Likewise.
80051         (rintf): Likewise.
80052         (ceil): Likewise.
80053         (ceilf): Likewise.
80054         (floor): Likewise.
80055         (floorf): Likewise.
80056         (nearbyint): Likewise.
80057         (nearbyintf): Likewise.
80059 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
80061         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
80062         non-default versions.
80064 2012-06-11  Roland McGrath  <roland@hack.frob.com>
80066         [BZ #14218]
80067         * manual/argp.texi (Argp): Reword argp_parse description slightly.
80069 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
80071         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
80072         (FE_UPWARD, FE_DOWNWARD): Don't define.
80073         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
80074         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80076         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
80077         reading it.
80078         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80079         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80081 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
80083         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
80084         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
80085         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
80086         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
80088 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
80090         [BZ #14117]
80091         * sysdeps/i386/fpu/bits/fenv.h: Removed.
80092         * sysdeps/i386/fpu/Implies: New file.
80093         * sysdeps/x86_64/fpu/Implies: Likewise.
80094         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
80095         * sysdeps/x86/fpu/bits/fenv.h: This.
80097         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
80098         __SSE_MATH__.
80100 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
80102         [BZ #14134]
80103         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
80104         character 0xffff that matches the last element of the
80105         conversion table.
80107 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80109         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
80110         fmodl commit.
80112 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80114         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
80115         values higher than 25.6283.
80117 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80119         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
80120         subnormal exponent extraction and add some __builtin_expect.
80121         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
80122         Fix for subnormal mantissa calculation.
80124 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
80126         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
80127         cpu2 is -1 and errno is not ENOSYS.
80129 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
80131         [BZ #14117]
80132         * sysdeps/i386/i486/bits/string.h: Renamed to ...
80133         * sysdeps/x86/bits/string.h: This.
80134         * sysdeps/x86_64/bits/string.h: Removed.
80136         * sysdeps/i386/i486/bits/string.h: Define inline functions only
80137         if not compiling for x86-64, but compiling for >= i486.
80139         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
80140         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
80142         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
80143         New macro from Linux kernel 3.4.0.
80144         (FP_XSTATE_MAGIC2): Likewise.
80145         (FP_XSTATE_MAGIC2_SIZE): Likewise.
80146         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
80147         (struct _fpx_sw_bytes): New struct.
80148         (struct _xsave_hdr): Likewise.
80149         (struct _ymmh_state): Likewise.
80150         (struct _xstate): Likewise.
80152         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
80153         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
80154         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
80155         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
80156         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
80157         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
80159         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
80160         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
80161         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
80162         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
80163         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
80164         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
80166 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
80168         [BZ #13743]
80169         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
80170         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
80171         (sysdep_headers): Include sys/platform/ppc.h.
80172         * sysdeps/powerpc/test-gettimebase.c: Test for
80173         __ppc_get_timebase() to catch future ISA opcode/insn changes.
80174         * manual/Makefile (appendices): Include platform.texi.
80175         * manual/contrib.texi (Contributors): Update @node pointers.
80176         * manual/maint.texi (Maintenance): Likewise.
80177         (Platform): New node.
80178         * manual/platform.texi: New file.  Document the new features.
80180 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
80181             Jakub Jelinek  <jakub@redhat.com>
80183         [BZ #14188]
80184         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
80185         where __builtin_expect is unavailable.
80187 2012-06-03  David S. Miller  <davem@davemloft.net>
80189         * stdlib/longlong.h: Updated from GCC.
80191 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
80193         [BZ #14042]
80194         * sysdeps/powerpc/powerpc32/mcount.c: New file.
80195         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
80196         __mcount_internal.
80197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
80198         (GLIBC_2.16): Likewise.
80200 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
80202         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
80204 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
80206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
80207         (default-abi): New variable.
80208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
80209         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
80210         variable.
80211         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
80212         Likewise.
80213         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
80214         Likewise.
80215         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
80216         Likewise.
80218         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
80219         definition.  Document in comment.
80221 2012-06-01  David S. Miller  <davem@davemloft.net>
80223         * stdlib/longlong.h: Updated from GCC.
80225 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
80227         [BZ #14117]
80228         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
80229         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
80230         sys/debugreg.h sys/io.h here.
80231         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
80232         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
80233         sys/io.h.
80234         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
80235         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
80236         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
80237         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
80238         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
80239         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
80241         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
80242         Define only if __x86_64__ is defined.
80244 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
80246         [BZ #14048]
80247         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
80248         Use int64_t for variable i.
80249         * math/libm-test.inc (fmod_test): Add more tests.
80251         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
80252         z computation is not scheduled after fetestexcept.
80253         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
80254         Use math_force_eval instead of asm to ensure calculation scheduled
80255         before exception test.
80256         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
80257         Ensure a1 + u.d computation is not scheduled after fetestexcept.
80259 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
80261         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
80262         computation is not scheduled after fetestexcept.
80264 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
80266         [BZ #14117]
80267         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
80268         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
80270 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80272         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
80273         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
80275 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
80277         [BZ #14117]
80278         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
80279         <bits/wordsize.h>.
80280         (__WCHAR_MIN): Support __WORDSIZE == 64.
80281         (__WCHAR_MAX): Likewise.
80283         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
80284         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
80286         [BZ #14183]
80287         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
80288         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
80290         [BZ #14117]
80291         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
80292         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
80294         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
80295         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
80297         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
80298         Defined to 1 if __x86_64__ isn't defined.
80299         (_STAT_VER_LINUX_OLD): New.
80300         (st_atime): Remove duplicate.
80301         (st_mtime): Likewise.
80302         (st_ctime): Likewise.
80304 2012-05-31  David S. Miller  <davem@davemloft.net>
80306         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
80307         entries.
80309 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
80311         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
80312         gen-libm-test.pl.
80314         [BZ #14132]
80315         * elf/dl-reloc.c: Include <_itoa.h>.
80316         (_dl_reloc_bad_type): Remove use of INTUSE.
80317         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
80318         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
80319         * stdio-common/psiginfo.c (psiginfo): Likewise.
80320         * stdio-common/psignal.c (psignal): Likewise.
80321         * string/strsignal.c (strsignal): Likewise.
80322         * include/signal.h (_sys_siglist): Declare hidden proto.
80323         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
80324         INTVARDEF with libc_hidden_data_def.
80325         * stdio-common/itoa-udigits.c: Likewise.
80326         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
80327         (_itoa_lower_digits_internal): Remove declaration.
80328         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
80329         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
80330         (_sys_sigabbrev_internal): Remove aliases.
80331         (_sys_siglist): Define hidden alias.
80333 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
80335         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80336         bits/sysctl.h.
80338 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
80340         [BZ #14117]
80341         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
80342         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
80344         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
80345         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
80346         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
80347         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
80348         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
80349         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
80351         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
80352         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
80353         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
80355         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
80356         with __addr.
80357         (insw): Likewise.
80358         (insl): Likewise.
80359         (outsb): Likewise.
80360         (outsw): Likewise.
80361         (outsl): Likewise.
80363         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
80364         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
80365         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
80367         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
80368         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
80369         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
80370         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
80371         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
80372         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
80374         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
80375         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
80377         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
80378         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
80380         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
80381         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
80382         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
80384         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
80385         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
80386         to ...
80387         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
80389         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
80390         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
80391         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
80393         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
80394         for x86-64.
80395         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
80397 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
80399         * math/math.h (M_El): Use two more decimal places.
80400         (M_LOG2El): Likewise.
80401         (M_LOG10El): Likewise.
80402         (M_LN2l): Likewise.
80403         (M_LN10l): Likewise.
80404         (M_PIl): Likewise.
80405         (M_PI_2l): Likewise.
80406         (M_PI_4l): Likewise.
80407         (M_1_PIl): Likewise.
80408         (M_2_PIl): Likewise.
80409         (M_2_SQRTPIl): Likewise.
80410         (M_SQRT2l): Likewise.
80411         (M_SQRT1_2l): Likewise.
80413 2012-05-31  David S. Miller  <davem@davemloft.net>
80415         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
80416         values between float registers.
80417         * sysdeps/sparc/sparc64/memset.S: Likewise.
80418         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
80420 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
80422         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
80423         -D_FORTIFY_SOURCE=1.
80424         (CPPFLAGS-tst-longjmp_chk.c): Define.
80425         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
80426         (CPPFLAGS-tst-longjmp_chk2.c): Define.
80427         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
80428         CFLAGS-tst-wchar-h.c.
80430 2012-05-31  Marek Polacek  <polacek@redhat.com>
80432         [BZ #14132]
80433         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
80434         __endmntent_internal): Remove declaration.
80435         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
80436         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
80437         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
80439 2012-05-30  David S. Miller  <davem@davemloft.net>
80441         * sysdeps/sparc/sparc32/soft-fp/q_util.c
80442         (___Q_simulate_exceptions): Use real FP ops rather than writing
80443         into the %fsr.
80444         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
80445         Likewise.
80447 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80449         [BZ #14117]
80450         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
80451         * sysdeps/x86/bits/xtitypes.h: This.
80453         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
80454         * sysdeps/x86/bits/wordsize.h: This.
80456         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
80457         * sysdeps/x86/bits/huge_vall.h: This.
80459         * sysdeps/i386/bits/select.h: Removed.
80460         * sysdeps/x86_64/bits/select.h: Renamed to ...
80461         * sysdeps/x86/bits/select.h: This.
80463         * sysdeps/i386/bits/setjmp.h: Removed.
80464         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
80465         * sysdeps/x86/bits/setjmp.h: This.
80467         * sysdeps/i386/bits/mathdef.h: Removed.
80468         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
80469         * sysdeps/x86/bits/mathdef.h: This.
80471 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
80473         [BZ #14132]
80474         * include/sys/socket.h (__connect_internal)
80475         (__libc_sa_len_internal): Remove declaration.
80476         (__connect, __libc_sa_len): Declare hidden_proto.
80477         (SA_LEN): Remove use of INTUSE.
80478         * socket/connect.c: Add libc_hidden_def.
80479         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
80480         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
80481         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
80482         alias.
80483         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
80484         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
80485         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
80486         of adding _internal alias.
80488 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80490         [BZ #14117]
80491         * sysdeps/i386/bits/link.h: Removed.
80492         * sysdeps/i386/bits/linkmap.h: Likewise.
80493         * sysdeps/x86_64/bits/link.h: Renamed to ...
80494         * sysdeps/x86/bits/link.h: This.
80495         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
80496         * sysdeps/x86/bits/linkmap.h: This.
80498         * sysdeps/i386/bits/endian.h: Removed.
80499         * sysdeps/x86_64/bits/endian.h: Renamed to ...
80500         * sysdeps/x86/bits/endian.h: This.
80502         * sysdeps/i386/bits/byteswap.h: Removed.
80503         * sysdeps/i386/bits/byteswap-16.h: Likewise.
80504         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
80505         * sysdeps/x86/bits/byteswap.h: This.
80506         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
80507         * sysdeps/x86/bits/byteswap-16.h: This.
80508         * sysdeps/i386/Implies: Add x86.
80509         * sysdeps/x86_64/Implies: Likewise.
80511 2012-05-30  David S. Miller  <davem@davemloft.net>
80513         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
80514         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
80515         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
80516         (FP_TRAPPING_EXCEPTIONS): Define.
80517         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
80518         (FP_TRAPPING_EXCEPTIONS): Define.
80519         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
80520         subnormals only when inexact has been signalled or underflow
80521         exceptions are enabled.
80522         (_FP_PACK_CANONICAL): Likewise.
80524 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80526         [BZ #14183]
80527         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
80528         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
80530 2012-05-30  Richard Henderson  <rth@twiddle.net>
80532         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
80533         with #ifndef NOT_IN_libc.
80535         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
80536         marked to avoid plt entry.
80538 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80540         [BZ #14112]
80541         * Makeconfig (default-abi): New macro.
80542         (abi-includes): Likewise.
80543         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
80544         $(abi-$(default-abi)-lib-soname) for soname if defined.
80545         ($(common-objpfx)gnu/lib-names.stmp): Generate from
80546         abi-variants.
80547         * Makefile (installed-stubs): Likewise.
80548         * include/stubs-biarch.h: Removed.
80549         * scripts/lib-names.awk: Only handle one library at a time.
80550         * scripts/soversions.awk: Remove WORDSIZE support.
80551         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
80552         entries.
80553         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
80554         Removed.
80555         (syscall-list-default-condition): Likewise.
80556         (syscall-list-default-condition): Likewise.
80557         (syscall-list-includes): Likewise.
80558         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
80559         syscall-list-* with abi-*.  Handle undefined abi-variants.
80560         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
80561         * sysdeps/unix/sysv/linux/i386/Implies: New file.
80562         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
80563         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
80564         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
80565         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
80566         Removed.
80567         (syscall-list-32-options): Likewise.
80568         (syscall-list-32-condition): Likewise.
80569         (syscall-list-64-options): Likewise.
80570         (syscall-list-64-condition): Likewise.
80571         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
80572         macro.
80573         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
80574         Renamed to ...
80575         (abi-*): This.
80576         (abi-64-ld-soname): New macro.
80577         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
80578         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
80579         Renamed to ...
80580         (abi-*): This.
80581         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
80582         * sysdeps/x86_64/x32/shlib-versions: Likewise.
80584 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
80586         * sysdeps/unix/sysv/linux/kernel-features.h
80587         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
80588         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
80589         include <kernel-features.h>.
80590         [!__NR_ftruncate64]: Remove conditional code.
80591         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80592         [__NR_ftruncate64]: Make code unconditional.
80593         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80594         * sysdeps/unix/sysv/linux/truncate64.c: Do not
80595         include <kernel-features.h>.
80596         [!__NR_ftruncate64]: Remove conditional code.
80597         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80598         [__NR_ftruncate64]: Make code unconditional.
80599         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
80601         include <kernel-features.h>.
80602         [!__NR_ftruncate64]: Remove conditional code.
80603         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80604         [__NR_ftruncate64]: Make code unconditional.
80605         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
80607         include <kernel-features.h>.
80608         [!__NR_ftruncate64]: Remove conditional code.
80609         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80610         [__NR_ftruncate64]: Make code unconditional.
80611         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80613         * configure.in (libc_cv_fpie): Weaken to a compile test using
80614         LIBC_TRY_CC_OPTION.
80615         * configure: Regenerated.
80617 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
80620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
80621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
80622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80623         Refreshed.
80624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
80625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
80626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
80627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
80628         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
80629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80630         Refreshed.
80632 2012-05-27  David S. Miller  <davem@davemloft.net>
80634         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
80635         (___Q_zero): New.
80636         (__Q_simulate_exceptions): Return void.  Change to simulate
80637         exceptions by writing into the %fsr.
80638         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
80639         (__Qp_handle_exceptions): Likewise.
80640         (numbers): Delete.
80641         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
80642         __Qp_handle_exceptions.
80643         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
80644         __Qp_handle_exceptions.
80645         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80646         as unused and give dummy FP_RND_NEAREST initializer.
80647         (FP_INHIBIT_RESULTS): Define.
80648         (___Q_simulate_exceptions): Update declaration.
80649         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
80650         formatting.
80651         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80652         as unused and give dummy FP_RND_NEAREST initializer.
80653         (__Qp_handle_exceptions): Update declaration.
80654         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
80655         formatting.
80657 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
80659         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
80660         the temporary FPU control word.
80661         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
80662         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
80663         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
80664         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80665         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
80666         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
80667         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
80668         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80669         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
80670         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
80671         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80673 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
80675         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
80676         fields.
80678 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
80680         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
80681         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
80682         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
80683         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
80684         Likewise.
80685         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
80686         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
80687         Likewise.
80689 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
80691         * po/h.po: Update from translation team.
80693 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
80695         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
80697         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
80698         handling of denormals.
80699         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80700         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
80701         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80702         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80703         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80704         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
80705         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
80706         Likewise.
80708 2012-05-26  Marek Polacek  <polacek@redhat.com>
80710         [BZ #14152]
80711         * math/libm-test.inc (fma_test): Don't always expect underflow
80712         exception.
80714 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
80716         [BZ #12416]
80717         * elf/tst-execstack.c: Include stackinfo.h.
80718         (do_test): Adjust test case to ensure that pthread_getattr_np
80719         behaviour remains the same after marking stack executable.
80721 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
80723         * sysdeps/unix/sysv/linux/kernel-features.h
80724         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
80725         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
80726         kernel-features.h.
80727         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80728         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80729         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
80730         kernel-features.h.
80731         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80732         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80734 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
80736         * configure.in: Define the default includes to being none.
80737         * configure: Regenerated.
80739 2012-05-25  Roland McGrath  <roland@hack.frob.com>
80741         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
80742         * sysdeps/x86_64/setjmp.S: Likewise.
80743         * sysdeps/i386/bsd-setjmp.S: Likewise.
80744         * sysdeps/i386/bsd-_setjmp.S: Likewise.
80745         * sysdeps/i386/setjmp.S: Likewise.
80746         * sysdeps/i386/__longjmp.S: Likewise.
80747         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80748         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
80750         * include/stap-probe.h: New file.
80751         * configure.in: Handle --enable-systemtap.
80752         * configure: Regenerated.
80753         * config.h.in (USE_STAP_PROBE): New #undef.
80754         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
80755         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
80756         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
80758 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
80760         [BZ #13717]
80761         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80762         to 2.4.0 where earlier.
80763         * sysdeps/unix/sysv/linux/configure: Regenerated.
80764         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
80765         <kernel-features.h>.
80766         [__ASSUME_32BITUIDS]: Make code unconditional.
80767         [!__ASSUME_32BITUIDS]: Remove conditional code.
80768         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
80769         <kernel-features.h>.
80770         [__ASSUME_32BITUIDS]: Make code unconditional.
80771         [!__ASSUME_32BITUIDS]: Remove conditional code.
80772         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
80773         [__ASSUME_32BITUIDS]: Make code unconditional.
80774         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
80775         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
80776         <kernel-features.h>.
80777         [__ASSUME_32BITUIDS]: Make code unconditional.
80778         [!__ASSUME_32BITUIDS]: Remove conditional code.
80779         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
80780         <kernel-features.h>.
80781         [__ASSUME_32BITUIDS]: Make code unconditional.
80782         [!__ASSUME_32BITUIDS]: Remove conditional code.
80783         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
80784         <kernel-features.h>.
80785         [__ASSUME_32BITUIDS]: Make code unconditional.
80786         [!__ASSUME_32BITUIDS]: Remove conditional code.
80787         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
80788         <kernel-features.h>.
80789         [__ASSUME_32BITUIDS]: Make code unconditional.
80790         [!__ASSUME_32BITUIDS]: Remove conditional code.
80791         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
80792         <kernel-features.h>.
80793         [__ASSUME_32BITUIDS]: Make code unconditional.
80794         [!__ASSUME_32BITUIDS]: Remove conditional code.
80795         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
80796         <kernel-features.h>.
80797         [__ASSUME_32BITUIDS]: Make code unconditional.
80798         [!__ASSUME_32BITUIDS]: Remove conditional code.
80799         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
80800         <kernel-features.h>.
80801         [__ASSUME_32BITUIDS]: Make code unconditional.
80802         [!__ASSUME_32BITUIDS]: Remove conditional code.
80803         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
80804         <kernel-features.h>.
80805         [__ASSUME_32BITUIDS]: Make code unconditional.
80806         [!__ASSUME_32BITUIDS]: Remove conditional code.
80807         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
80808         <kernel-features.h>.
80809         [__ASSUME_32BITUIDS]: Make code unconditional.
80810         [!__ASSUME_32BITUIDS]: Remove conditional code.
80811         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
80812         <kernel-features.h>.
80813         [__ASSUME_32BITUIDS]: Make code unconditional.
80814         [!__ASSUME_32BITUIDS]: Remove conditional code.
80815         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
80816         <kernel-features.h>.
80817         [__NR_setresgid] (__setresgid): Do not declare.
80818         [__ASSUME_32BITUIDS]: Make code unconditional.
80819         [!__ASSUME_32BITUIDS]: Remove conditional code.
80820         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
80821         <kernel-features.h>.
80822         [__NR_setresuid] (__setresuid): Do not declare.
80823         [__ASSUME_32BITUIDS]: Make code unconditional.
80824         [!__ASSUME_32BITUIDS]: Remove conditional code.
80825         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
80826         <kernel-features.h>.
80827         [__ASSUME_32BITUIDS]: Make code unconditional.
80828         [!__ASSUME_32BITUIDS]: Remove conditional code.
80829         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
80830         <kernel-features.h>.
80831         [__ASSUME_32BITUIDS]: Make code unconditional.
80832         [!__ASSUME_32BITUIDS]: Remove conditional code.
80833         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
80834         <kernel-features.h>.
80835         [__ASSUME_32BITUIDS]: Make code unconditional.
80836         [!__ASSUME_32BITUIDS]: Remove conditional code.
80837         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
80838         <kernel-features.h>.
80839         [__ASSUME_32BITUIDS]: Make code unconditional.
80840         [!__ASSUME_32BITUIDS]: Remove conditional code.
80841         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
80842         <kernel-features.h>.
80843         [__ASSUME_32BITUIDS]: Make code unconditional.
80844         [!__ASSUME_32BITUIDS]: Remove conditional code.
80845         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
80846         <kernel-features.h>.
80847         [__ASSUME_32BITUIDS]: Make code unconditional.
80848         [!__ASSUME_32BITUIDS]: Remove conditional code.
80849         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
80850         <kernel-features.h>.
80851         [__ASSUME_32BITUIDS]: Make code unconditional.
80852         [!__ASSUME_32BITUIDS]: Remove conditional code.
80853         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
80854         <kernel-features.h>.
80855         [__ASSUME_32BITUIDS]: Make code unconditional.
80856         [!__ASSUME_32BITUIDS]: Remove conditional code.
80857         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
80858         <kernel-features.h>.
80859         [__ASSUME_32BITUIDS]: Make code unconditional.
80860         [!__ASSUME_32BITUIDS]: Remove conditional code.
80861         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
80862         <kernel-features.h>.
80863         [__ASSUME_32BITUIDS]: Make code unconditional.
80864         [!__ASSUME_32BITUIDS]: Remove conditional code.
80865         * sysdeps/unix/sysv/linux/kernel-features.h
80866         (__ASSUME_SETRESUID_SYSCALL): Remove.
80867         (__ASSUME_SETRESGID_SYSCALL): Likewise.
80868         (__ASSUME_32BITUIDS): Likewise.
80869         (__ASSUME_LDT_WORKS): Likewise.
80870         (__ASSUME_O_DIRECTORY): Likewise.
80871         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
80872         architecture but not kernel version.
80873         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
80874         (__ASSUME_MMAP2_SYSCALL): Likewise.
80875         (__ASSUME_STAT64_SYSCALL): Likewise.
80876         (__ASSUME_IPC64): Likewise.
80877         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
80878         <kernel-features.h>.
80879         [__ASSUME_32BITUIDS]: Make code unconditional.
80880         [!__ASSUME_32BITUIDS]: Remove conditional code.
80881         * sysdeps/unix/sysv/linux/opendir.c: Do not include
80882         <kernel-features.h>.
80883         [__ASSUME_O_DIRECTORY]: Make code unconditional.
80884         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
80885         132096]: Remove conditional code.
80886         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
80887         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
80888         <kernel-features.h>.
80889         [__ASSUME_32BITUIDS]: Make code unconditional.
80890         [!__ASSUME_32BITUIDS]: Remove conditional code.
80891         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
80892         <kernel-features.h>.
80893         [__ASSUME_32BITUIDS]: Make code unconditional.
80894         [!__ASSUME_32BITUIDS]: Remove conditional code.
80895         * sysdeps/unix/sysv/linux/setegid.c: Do not include
80896         <kernel-features.h>.
80897         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
80898         unconditional.
80899         (__setresgid): Do not declare.
80900         [__ASSUME_32BITUIDS]: Make code unconditional.
80901         [!__ASSUME_32BITUIDS]: Remove conditional code.
80902         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
80903         <kernel-features.h>.
80904         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
80905         unconditional.
80906         (__setresuid): Do not declare.
80907         [__ASSUME_32BITUIDS]: Make code unconditional.
80908         [!__ASSUME_32BITUIDS]: Remove conditional code.
80909         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
80910         <kernel-features.h>.
80911         [__ASSUME_32BITUIDS]: Make code unconditional.
80912         [!__ASSUME_32BITUIDS]: Remove conditional code.
80913         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
80914         <kernel-features.h>.
80915         [__ASSUME_32BITUIDS]: Make code unconditional.
80916         [!__ASSUME_32BITUIDS]: Remove conditional code.
80918 2012-05-25  Richard Henderson  <rth@twiddle.net>
80920         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
80921         dl_hwcap to ifunc resolver.
80922         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
80923         elf_ifunc_invoke.
80924         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
80925         dl_hwcap to ifunc resolver.
80926         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
80928 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
80930         [BZ #14153]
80931         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
80932         for |x| <= 2**-26, not 2**-57.
80933         * math/libm-test.inc (acos_test): Do not allow spurious underflow
80934         exception.
80936 2012-05-24  Jeff Law  <law@redhat.com>
80938         * stdio-common/Makefile (tests): Add bug25.
80939         * stdio-common/bug25.c: New test.
80941 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
80943         [BZ #13576]
80944         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
80945         multiple of MALLOC_ALIGNMENT in size.
80946         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
80948 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
80950         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
80951         Require >= 256.
80952         (FILENAME_MAX): Use macro-int-constant.
80953         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
80954         (_IOFBF): Use macro-int-constant.
80955         (_IOLBF): Likewise.
80956         (_IONBF): Likewise.
80957         (SEEK_CUR): Likewise.
80958         (SEEK_END): Likewise.
80959         (SEEK_SET): Likewise.
80960         (TMP_MAX): Likewise.
80961         (EOF): Use macro-int-constant.  Require < 0.
80962         (NULL): Use macro-constant.  Require == 0.
80963         (stdin): Require type to be FILE *.
80964         (stdout): Likewise.
80965         (stderr): Likewise.
80966         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
80967         macro-int-constant.
80968         (EXIT_SUCCESS): Likewise.
80969         (NULL): Use macro-constant.  Require == 0.
80970         (RAND_MAX): Use macro-int-constant.
80971         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
80972         [C99-based standards] (strtof): Require function.
80973         [C99-based standards] (strtold): Likewise.
80974         [C99-based standards] (strtoll): Likewise.
80975         [C99-based standards] (strtoull): Likewise.
80976         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
80977         [ISO || ISO99 || ISO11] (limits.h): Likewise.
80978         [ISO || ISO99 || ISO11] (math.h): Likewise.
80979         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
80980         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
80981         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80983 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
80985         [BZ #14132]
80986         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
80987         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
80988         * intl/dgettext.c (DCGETTEXT): Likewise.
80989         * intl/gettext.c (DCGETTEXT): Likewise.
80990         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
80991         * posix/regex_internal.h (gettext): Likewise.
80992         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
80993         Remove declaration.
80994         * include/argz.h (__argz_count_internal)
80995         (__argz_stringify_internal): Remove declaration.
80996         (__argz_count, __argz_stringify): Declare hidden proto.
80997         * intl/dcgettext.c: Remove use of INTDEF.
80998         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
80999         * string/argz-stringify.c: Likewise.
81000         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
81001         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
81002         Declare hidden proto.
81003         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
81004         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
81005         Declare hidden proto.
81006         * include/stdio.h (__asprintf_internal): Don't declare.
81007         (__asprintf): Don't define as macro.  Declare hidden proto.
81008         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
81009         (__fsetlocking): Declare hidden proto.
81010         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
81011         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
81012         hidden proto.
81013         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
81014         (_IO_setlinebuf): Remove use of INTUSE.
81015         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
81016         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
81017         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
81018         Remove declaration.
81019         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
81020         (_IO_do_flush): Remove use of INTUSE.
81021         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
81022         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
81023         (_IO_adjust_column, _IO_least_wmarker)
81024         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
81025         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
81026         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
81027         (_IO_default_doallocate, _IO_wdefault_doallocate)
81028         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
81029         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
81030         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
81031         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
81032         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
81033         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
81034         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
81035         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
81036         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
81037         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
81038         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
81039         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
81040         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
81041         proto.
81042         (_IO_flush_all_internal, _IO_adjust_column_internal)
81043         (_IO_default_uflow_internal, _IO_default_finish_internal)
81044         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
81045         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
81046         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
81047         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
81048         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
81049         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
81050         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
81051         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
81052         (_IO_file_close_internal, _IO_file_close_it_internal)
81053         (_IO_file_underflow_internal, _IO_file_overflow_internal)
81054         (_IO_file_init_internal, _IO_file_attach_internal)
81055         (_IO_file_fopen_internal, _IO_file_read_internal)
81056         (_IO_file_sync_internal, _IO_file_seek_internal)
81057         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
81058         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
81059         (_IO_str_underflow_internal, _IO_str_overflow_internal)
81060         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
81061         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
81062         (_IO_list_all_internal, _IO_link_in_internal)
81063         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
81064         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
81065         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
81066         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
81067         (_IO_do_write_internal, _IO_padn_internal)
81068         (_IO_getline_info_internal, _IO_getline_internal)
81069         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
81070         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
81071         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
81072         (_IO_vfscanf_internal, _IO_vfprintf_internal)
81073         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
81074         (_IO_init_internal, _IO_un_link_internal): Don't declare.
81075         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
81076         with libc_hidden_ver, remove use of INTUSE.
81077         * libio/genops.c: Likewise.
81078         * libio/freopen.c: Likewise.
81079         * libio/freopen64.c: Likewise.
81080         * libio/iofclose.c: Likewise.
81081         * libio/iofdopen.c: Likewise.
81082         * libio/iofflush.c: Likewise.
81083         * libio/iofflush_u.c: Likewise.
81084         * libio/iofgets.c: Likewise.
81085         * libio/iofgets_u.c: Likewise.
81086         * libio/iofopen.c: Likewise.
81087         * libio/iofopncook.c: Likewise.
81088         * libio/iofread.c: Likewise.
81089         * libio/iofread_u.c: Likewise.
81090         * libio/ioftell.c: Likewise.
81091         * libio/iofwrite.c: Likewise.
81092         * libio/iogetline.c: Likewise.
81093         * libio/iogets.c: Likewise.
81094         * libio/iogetwline.c: Likewise.
81095         * libio/iopadn.c: Likewise.
81096         * libio/iopopen.c: Likewise.
81097         * libio/ioseekoff.c: Likewise.
81098         * libio/ioseekpos.c: Likewise.
81099         * libio/iosetbuffer.c: Likewise.
81100         * libio/iosetvbuf.c: Likewise.
81101         * libio/ioungetc.c: Likewise.
81102         * libio/ioungetwc.c: Likewise.
81103         * libio/iovdprintf.c: Likewise.
81104         * libio/iovsprintf.c: Likewise.
81105         * libio/iovsscanf.c: Likewise.
81106         * libio/memstream.c: Likewise.
81107         * libio/obprintf.c: Likewise.
81108         * libio/oldfileops.c: Likewise.
81109         * libio/oldiofclose.c: Likewise.
81110         * libio/oldiofdopen.c: Likewise.
81111         * libio/oldiofopen.c: Likewise.
81112         * libio/oldiopopen.c: Likewise.
81113         * libio/oldstdfiles.c: Likewise.
81114         * libio/putc.c: Likewise.
81115         * libio/setbuf.c: Likewise.
81116         * libio/setlinebuf.c: Likewise.
81117         * libio/stdfiles.c: Likewise.
81118         * libio/strops.c: Likewise.
81119         * libio/vasprintf.c: Likewise.
81120         * libio/vscanf.c: Likewise.
81121         * libio/vsnprintf.c: Likewise.
81122         * libio/vswprintf.c: Likewise.
81123         * libio/wfiledoalloc.c: Likewise.
81124         * libio/wfileops.c: Likewise.
81125         * libio/wgenops.c: Likewise.
81126         * libio/wmemstream.c: Likewise.
81127         * libio/wstrops.c: Likewise.
81128         * libio/__fpurge.c: Likewise.
81129         * libio/__fsetlocking.c: Likewise.
81130         * assert/assert.c: Likewise.
81131         * debug/fgets_chk.c: Likewise.
81132         * debug/fgets_u_chk.c: Likewise.
81133         * debug/fread_chk.c: Likewise.
81134         * debug/fread_u_chk.c: Likewise.
81135         * debug/gets_chk.c: Likewise.
81136         * debug/obprintf_chk.c: Likewise.
81137         * debug/vasprintf_chk.c: Likewise.
81138         * debug/vdprintf_chk.c: Likewise.
81139         * debug/vsnprintf_chk.c: Likewise.
81140         * debug/vsprintf_chk.c: Likewise.
81141         * malloc/mtrace.c: Likewise.
81142         * misc/error.c: Likewise.
81143         * misc/syslog.c: Likewise.
81144         * stdio-common/asprintf.c: Likewise.
81145         * stdio-common/fxprintf.c: Likewise.
81146         * stdio-common/getw.c: Likewise.
81147         * stdio-common/isoc99_fscanf.c: Likewise.
81148         * stdio-common/isoc99_scanf.c: Likewise.
81149         * stdio-common/isoc99_vfscanf.c: Likewise.
81150         * stdio-common/isoc99_vscanf.c: Likewise.
81151         * stdio-common/isoc99_vsscanf.c: Likewise.
81152         * stdio-common/printf-prs.c: Likewise.
81153         * stdio-common/printf_fp.c: Likewise.
81154         * stdio-common/printf_fphex.c: Likewise.
81155         * stdio-common/printf_size.c: Likewise.
81156         * stdio-common/putw.c: Likewise.
81157         * stdio-common/scanf.c: Likewise.
81158         * stdio-common/sprintf.c: Likewise.
81159         * stdio-common/tmpfile.c: Likewise.
81160         * stdio-common/vfprintf.c: Likewise.
81161         * stdio-common/vfscanf.c: Likewise.
81162         * stdlib/strfmon_l.c: Likewise.
81163         * sunrpc/openchild.c: Likewise.
81164         * sunrpc/xdr_stdio.c: Likewise.
81165         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
81166         * sysdeps/mach/hurd/tmpfile.c: Likewise.
81168 2012-05-24  Roland McGrath  <roland@hack.frob.com>
81170         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81172         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
81173         in the third column, to generate for the shared library an IFUNC
81174         that uses _dl_vdso_vsym.
81175         * Makerules (COMPILE.c, compile-stdin.c): New variables.
81176         * Makeconfig (object-suffixes-noshared): New variable.
81178         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
81179         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
81180         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
81181         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
81183         [BZ #14132]
81184         * include/sys/time.h (__gettimeofday): Remove macro.
81185         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
81186         * time/gettimeofday.c (__gettimeofday): Remove #undef.
81187         Remove INTDEF.
81188         (__gettimeofday): Add libc_hidden_def.
81189         (gettimeofday): Add libc_hidden_weak.
81190         * sysdeps/mach/gettimeofday.c: Likewise.
81191         * sysdeps/posix/gettimeofday.c: Likewise.
81192         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
81193         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
81194         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
81195         (__gettimeofday_internal): Remove strong_alias.
81196         (__gettimeofday): Add libc_hidden_def.
81197         (gettimeofday): Add libc_hidden_weak.
81198         * sysdeps/unix/syscalls.list (gettimeofday):
81199         Remove __gettimeofday_internal alias.
81201 2012-05-24  Daniel Jacobowitz  <drow@false.org>
81202             H.J. Lu  <hongjiu.lu@intel.com>
81204         [BZ #12495]
81205         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
81206         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
81207         (largebin_index_32_big): New.
81208         (largebin_index): Use it for 16-byte alignment.
81209         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
81210         correction with front_misalign.
81212 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
81214         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
81215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
81216         Likewise.
81217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
81218         Likewise.
81219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
81220         Likewise.
81221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
81222         Likewise.
81223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
81224         Likewise.
81225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
81226         Likewise.
81227         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
81228         Likewise.
81229         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
81230         Likewise.
81231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
81232         Likewise.
81233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
81234         Likewise.
81235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
81236         Likewise.
81237         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
81238         Likewise.
81240         * scripts/data/c++-types-x32-linux-gnu.data: New file.
81241         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
81243 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
81245         [BZ #10846]
81246         [BZ #14036]
81247         * math/libm-test.inc (exp_test): Add test from bug 14036.
81248         (pow_test): Add test from bug 10846.
81250         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
81251         and other flags.
81252         (special_function): Do not include flags in test name.
81253         (parse_args): Likewise.
81254         * sysdeps/i386/fpu/libm-test-ulps: Update.
81255         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81256         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
81257         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
81258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81260         * math/gen-libm-test.pl (%beautify): Add entries for underflow
81261         exceptions.
81262         * math/libm-test.inc ("Philosophy"): Update comment about
81263         exception testing.
81264         (UNDERFLOW_EXCEPTION): New macro.
81265         (UNDERFLOW_EXCEPTION_OK): Likewise.
81266         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
81267         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
81268         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
81269         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
81270         (INVALID_EXCEPTION_OK): Update value.
81271         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
81272         (OVERFLOW_EXCEPTION_OK): Likewise.
81273         (IGNORE_ZERO_INF_SIGN): Likewise.
81274         (test_exceptions): Handle underflow exceptions.
81275         (acos_test): Update for underflow exception expectations.
81276         (cexp_test): Likewise.
81277         (clog_test): Likewise.
81278         (clog10_test): Likewise.
81279         (csqrt_test): Likewise.
81280         (ctan_test): Likewise.
81281         (ctanh_test): Likewise.
81282         (exp_test): Likewise.
81283         (exp10_test): Likewise.
81284         (exp2_test): Likewise.
81285         (expm1_test): Likewise.
81286         (fma_test): Likewise.
81287         (j0_test): Likewise.
81288         (jn_test): Likewise.
81289         (nexttoward_test): Likewise.
81290         (pow_test): Likewise.
81291         (scalbn_test): Likewise.
81292         (scalbln_test): Likewise.
81293         (tan_test): Likewise.
81294         (y1_test): Likewise.
81295         * sysdeps/i386/fpu/libm-test-ulps: Update.
81296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81298 2012-05-23  David S. Miller  <davem@davemloft.net>
81300         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
81301         (__libc_sigaction): Remove unused local variables.
81303 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
81305         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
81307 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
81309         mktime: avoid signed integer overflow
81310         * time/mktime.c (__mktime_internal): Do not mishandle the case
81311         where diff == INT_MIN.
81313         mktime: simplify computation of average
81314         * time/mktime.c (ranged_convert): Use new time_t_avg function
81315         instead of rolling our own (probably-slower) code.
81317         mktime: do not assume signed right shift propagates sign bit
81318         * time/mktime.c (isdst_differ): New static function.
81319         (__mktime_internal): No need to normalize tm_isdst now.
81320         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
81321         tm_isdst values.
81323         mktime: merge another wrapv change from gnulib
81324         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
81325         from some compilers.
81327         mktime: remove incorrect attempt at unusual arithmetics
81328         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
81329         The code didn't really work on such machines anyway.
81330         (TYPE_MINIMUM): Assume two's complement.
81331         (twos_complement_arithmetic): Verify that long_int and time_t
81332         are two's complement (or unsigned, in the latter case).
81334         mktime: check signed shifts on long_int and time_t, too
81335         * time/mktime.c (SHR): Check that shifts work as desired
81336         on the types long_int and time_t too, as SHR is used on
81337         such types.
81339         mktime: do not assume 'long' is wide enough
81340         * time/mktime.c (verify): Move decl up.
81341         (long_int): New type.
81342         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
81343         to remove assumption in the code that 'long' is wide enough to
81344         store year values.  This assumption is not true on x32 and on
81345         some non-glibc platforms.
81347         mktime: merge wrapv change from gnulib
81348         * time/mktime.c (WRAPV): New macro.
81349         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
81350         (guess_time_tm, __mktime_internal): Do not assume that signed
81351         integer overflow wraps around; modern compilers generate code
81352         where this assumption is no longer valid.
81354 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
81356         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81357         Replace "jmp L(pseudo_end)" with "ret".
81358         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
81359         Likewise.
81361 2012-05-23  Andreas Jaeger  <aj@suse.de>
81363         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
81364         * sysdeps/unix/sysv/linux/poll.c: Remove file.
81366 2012-05-23  Andreas Jaeger  <aj@suse.de>
81367             Maximilian Attems  <max@stro.at>
81369         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
81370         New macros.
81372 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
81374         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
81375         code so that pseudo_end is just ret and the stack pointer is
81376         correct also for static library in error case.
81378 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
81380         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
81381         move to syscalls.list.
81382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
81383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
81384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
81385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
81387         * manual/install.texi (Running make install): Do not mention Linux
81388         kernel version for which pt_chown is not needed.
81389         (Linux): Do not mention problems with nscd with 2.0 kernels.
81390         * INSTALL: Regenerated.
81392 2012-05-23  Andreas Jaeger  <aj@suse.de>
81394         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
81395         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
81396         macro.
81397         * sysdeps/unix/sysv/linux/s390/bits/mman.h
81398         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81399         * sysdeps/unix/sysv/linux/sh/bits/mman.h
81400         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81401         * sysdeps/unix/sysv/linux/i386/bits/mman.h
81402         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81403         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
81404         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81405         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
81406         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81407         * sysdeps/unix/sysv/linux/bits/in.h
81408         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
81410 2012-05-22  Roland McGrath  <roland@hack.frob.com>
81412         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
81413         (PREPARE_VERSION): Just use assert instead, it will be elided
81414         under [NDEBUG] anyway.
81416 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81418         * sysdeps/unix/sysv/linux/Makefile: Include
81419         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
81420         (sysdep_routines): Remove sysctl.
81421         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
81422         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
81423         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
81424         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
81425         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
81427 2012-05-22  Andreas Jaeger  <aj@suse.de>
81429         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
81430         that pseudo_end is just ret and the stack pointer is correct also
81431         for static library in error case.
81433 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
81435         [BZ #14122]
81436         * nss/nsswitch.c (defconfig_entries): New variable.
81437         (__nss_database_lookup): Don't leak defconfig entries.
81438         (nss_parse_service_list): Don't leak on error paths.
81439         (free_database_entries): New function.
81440         (free_defconfig): New function.
81441         (free_mem): Move common code to free_database_entries.
81443 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81445         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
81446         Add arch_prctl.
81447         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
81449         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
81450         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
81451         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
81452         New macro.
81453         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
81454         (INTERNAL_SYSCALL_TYPES): Likewise.
81455         (LOAD_ARGS_TYPES_[1-6]): Likewise.
81456         (LOAD_REGS_TYPES_[1-6]): Likewise.
81457         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
81458         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
81460 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81462         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
81463         copysignl for GLIBC_2_0.
81464         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
81465         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
81466         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
81467         logbl for GLIBC_2_0.
81468         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
81469         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
81471 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81473         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
81474         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
81476         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81477         Use "neg %eax".
81479         * time/mktime.c: Update copyright years.
81481 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
81483         mktime: merge comment-quoting-style change from gnulib
81484         * time/mktime.c: Quote 'like this' in comments.
81485         The GNU coding standards suggest that we no longer quote `like this',
81486         as "`" and "'" are typically rendered asymmetrically nowadays.
81487         The typical gnulib style is to quote 'like this' when quoting
81488         code, and "like this" when quoting English.
81490         * time/mktime.c (compile-command): Add "-I.".
81492         mktime: merge mktime-internal.h change from gnulib
81493         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
81495         mktime: merge time_r change from gnulib
81496         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
81498         mktime: merge DEBUG change from gnulib
81499         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
81500         case system <time.h> has a #define.
81502         mktime: merge <sys/types.h> change from gnulib
81503         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
81504         since <time.t> is now guaranteed to define time_t.
81506         mktime: merge HAVE_CONFIG_H change from gnulib
81507         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
81509 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81511         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81512         Use "neg %eax".
81514         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
81515         __rlim_t cast.
81516         (struct rusage): Use anonymous union to pad each field to
81517         __syscall_slong_t.
81519 2012-05-21  David S. Miller  <davem@davemloft.net>
81521         * Makefules (o-iterator): Remove .s cases.
81522         (compile-command.s): Delete.
81523         (COMPILE.s): Delete.
81524         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
81526 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
81528         * configure.in (libc_cv_predef_stack_protector): Only consider
81529         "foobar" and "__stack_chk_fail" lines in libc_undefs.
81530         * configure: Regenerated.
81532 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81534         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81535         New macro.  Use R*LP on int and pointer.
81536         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
81537         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
81538         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
81539         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
81541         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
81542         [__WORDSIZE_TIME64_COMPAT32] instead of
81543         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
81544         (struct utmp): Likewise.
81545         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
81546         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
81547         Renamed to ...
81548         (__WORDSIZE_TIME64_COMPAT32): This.
81549         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
81550         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
81551         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
81552         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
81553         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
81554         (__WORDSIZE_TIME64_COMPAT32): New macro.
81556 2012-05-21  Andreas Jaeger  <aj@suse.de>
81558         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
81559         only if [SHARED]. Add prototype for __wcschr_ia32.
81561 2012-05-21  Roland McGrath  <roland@hack.frob.com>
81563         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
81564         of %rbp unmolested in the jmp_buf while mangling the low bits.
81565         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
81566         unmolested high bits of %rbp while demangling the low bits.
81567         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
81569 2012-05-21  Andreas Jaeger  <aj@suse.de>
81571         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
81572         * sunrpc/svc_simple.c: Use it for registerrpc.
81573         * sunrpc/xcrypt.c: Use it for passwd2des.
81575         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
81577 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81579         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
81580         Don't define if [__SYSCALL_WORDSIZE != 32].
81581         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
81582         New macro.
81584 2012-05-21  Bruno Haible  <bruno@clisp.org>
81585             Andreas Jaeger  <aj@suse.de>
81587         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
81588         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
81589         inptr and inend for must_buffer_ch.
81590         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
81591         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
81592         * stdio-common/Makefile (tests): Remove bug15.
81593         (bug15-ENV): Remove macro.
81594         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
81595         anymore.
81597 2012-05-19  Andreas Jaeger  <aj@suse.de>
81598             Roland McGrath  <roland@hack.frob.com>
81600         * manual/contrib.texi: Completely rewritten. It contains now an
81601         alphabetical list of contributors and their contributions.
81603 2012-05-21  Richard Henderson  <rth@twiddle.net>
81605         * misc/getauxval.c (__getauxval): Use unsigned long int.
81606         * misc/sys/auxv.h: Include <sys/cdefs.h>.
81607         (getauxval): Use unsigned long int.
81609 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81611         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81613 2012-05-21  Roland McGrath  <roland@hack.frob.com>
81615         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
81616         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
81617         __alignof__ (long double).
81619 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81623 2012-05-20  Richard Henderson  <rth@twiddle.net>
81625         * misc/getauxval.c: New file.
81626         * misc/sys/auxv.h: New file.
81627         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
81628         (routines): Add getauxval.
81629         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
81630         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
81631         * elf/dl-sysdep.c (_dl_auxv): Remove.
81632         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
81633         * elf/dl-support.c (_dl_auxv): New variable.
81634         (_dl_aux_init): Initialize it.
81635         * manual/startup.texi (Auxiliary Vector): New node.
81636         * sysdeps/generic/bits/hwcap.h: New file.
81637         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
81638         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
81639         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
81640         * sysdeps/sparc/sysdep.h: ... here.  Include it.
81641         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
81642         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
81643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81644         Update.
81645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
81646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
81647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
81648         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
81649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81651         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
81652         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
81654 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81658 2012-05-19  David S. Miller  <davem@davemloft.net>
81660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81662 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
81664         [BZ #14123]
81665         * math/s_ccosh.c: Include <float.h>
81666         (__ccosh): Avoid internal overflow calculating sinh and cosh
81667         values before multiplying by sin and cos values.
81668         * math/s_ccoshf.c: Likewise.
81669         * math/s_ccoshl.c: Likewise.
81670         * math/s_csin.c: Likewise.
81671         * math/s_csinf.c: Likewise.
81672         * math/s_csinl.c: Likewise.
81673         * math/s_csinh.c: Likewise.
81674         * math/s_csinhf.c: Likewise.
81675         * math/s_csinhl.c: Likewise.
81676         * math/libm-test.inc (ccos_test): Add more tests.
81677         (ccosh_test): Likewise.
81678         (csin_test): Likewise.
81679         (csinh_test): Likewise.
81680         * sysdeps/i386/fpu/libm-test-ulps: Update.
81681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81683 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
81685         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
81686         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
81688         * sysdeps/x86_64/x32/_itoa.h: Add comment.
81690 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
81692         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
81693         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
81694         * sysdeps/powerpc/soft-fp/Versions: Likewise.
81695         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
81696         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
81697         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
81698         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
81699         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
81700         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
81701         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
81702         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
81703         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
81704         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
81705         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
81706         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
81707         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
81708         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
81709         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
81710         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
81711         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
81712         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
81713         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
81714         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
81715         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
81716         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
81717         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
81718         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
81719         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
81720         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
81721         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
81722         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
81724 2012-05-18  Andreas Jaeger  <aj@suse.de>
81726         * csu/.gitignore: Delete.
81728 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81730         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
81731         (timex): Use __syscall_slong_t.
81733 2012-05-18  Andreas Jaeger  <aj@suse.de>
81734             Carlos O'Donell  <carlos_odonell@mentor.com>
81736         * manual/install.texi (Configuring and compiling): Update
81737         description about files modified in the source directory.
81738         * INSTALL: Regenerated.
81740 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81742         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
81743         value.  Use "or" to set return value to -1.
81744         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
81745         negate return value.
81747 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
81749         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
81750         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
81751         failure if the compiler has Graphite support disabled.
81752         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
81753         Likewise.
81754         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
81755         (CFLAGS-memmove.c): Likewise.
81756         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
81757         Likewise.
81759 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81761         * sysdeps/x86_64/x32/_itoa.h: New file.
81763         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
81764         getdents system call only if kernel and user dirents have the
81765         same d_ino and d_off.
81767         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81768         LLONG_MAX != LONG_MAX.
81769         (_itoa_word): Use _ITOA_WORD_TYPE on value.
81770         (_fitoa_word): Likewise.
81772         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
81773         years.
81774         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
81775         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
81776         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
81778         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
81779         include <bits/wordsize.h>.  Check __x86_64__ instead of
81780         __WORDSIZE.
81781         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
81782         if __x86_64__ is defined.  Use anonymous union on fpstate.
81784         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
81785         anonymous union.
81787 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
81789         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
81790         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
81791         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
81792         Refer to _rtld_local_ro instead of _rtld_global_ro.
81793         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
81794         Likewise.
81795         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
81796         Likewise.
81797         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
81798         Likewise.
81799         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
81800         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
81801         of _rtld_global, and rtld_progname instead of _dl_argv[0].
81803         [BZ #10882]
81804         * sysdeps/powerpc/powerpc32/dl-machine.c
81805         (__elf_machine_runtime_setup) [PROF]: Don't reference
81806         _dl_prof_resolve.
81808 2012-05-18  Andreas Jaeger  <aj@suse.de>
81810         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
81811         function only available for GCCs before 3.4 since GCC 3.4
81812         introduced a builtin.
81813         (lrint): Likewise.
81814         (llrintf): Likewise.
81815         (llrint): Likewise.
81816         (fmaxf): Likewise.
81817         (fmax): Likewise.
81818         (fminf): Likewise.
81819         (fmin): Likewise.
81820         (rint): Likewise.
81821         (rintf): Likewise.
81822         (nearbyint): Likewise.
81823         (nearbyintf): Likewise.
81824         (ceil): Likewise.
81825         (ceilf): Likewise.
81826         (floor): Likewise.
81827         (floorf): Likewise.
81829 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81831         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
81832         on both fields and cast pointer to __syscall_ulong_t.
81834         * bits/types.h (__fsword_t): New type.
81835         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
81836         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
81837         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81838         (__FSWORD_T_TYPE): Likewise.
81839         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81840         (__FSWORD_T_TYPE): Likewise.
81841         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81842         (__FSWORD_T_TYPE): Likewise.
81843         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
81844         (__FSWORD_T_TYPE): Likewise.
81845         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
81846         __SWORD_TYPE with __fsword_t.
81847         (statfs64): Likewise.
81849 2012-05-17  David S. Miller  <davem@davemloft.net>
81851         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
81853 2012-05-17  Andreas Jaeger  <aj@suse.de>
81855         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
81856         warning.
81858 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81860         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
81862 2012-05-17  Andreas Jaeger  <aj@suse.de>
81864         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
81865         when it is used.
81867 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
81869         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
81871 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81873         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
81874         * sysdeps/x86_64/tst-mallocalign1.c: New file.
81876 2012-05-17  Andreas Jaeger  <aj@suse.de>
81877             Carlos O'Donell  <carlos_odonell@mentor.com>
81879         [BZ #14059]
81880         * sysdeps/x86_64/multiarch/init-arch.h
81881         (bit_YMM_Usable): Rename to...
81882         (bit_AVX_Usable): ... this.
81883         (bit_FMA4_Usable): New macro.
81884         (bit_XMM_state): New macro.
81885         (bit_YMM_state): New macro.
81886         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
81887         [__ASSEMBLER__] (index_AVX_Usable): ... this.
81888         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
81889         (CPUID_OSXSAVE): New macro.
81890         (CPUID_AVX): New macro.
81891         (CPUID_FMA4): New macro.
81892         (index_YMM_Usable): Rename to...
81893         (index_AVX_Usable): ... this.
81894         (HAS_AVX): Use HAS_ARCH_FEATURE.
81895         (HAS_FMA4): Likewise.
81896         (HAS_YMM_USABLE): Remove.
81897         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81898         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
81899         are present.
81900         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
81901         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
81902         * sysdeps/x86_64/multiarch/Makefile: Likewise.
81903         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
81904         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
81906 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
81908         * math/libm-test.c: Support platforms without multiple rounding modes.
81909         * math/bug-nextafter.c: Support platforms without FP exceptions.
81910         * math/bug-nexttoward.c: Likewise.
81911         * math/test-fenv.c: Likewise.
81912         * math/test-misc.c: Likewise.
81913         * stdlib/bug-getcontext.c: Likewise.
81915 2012-05-17  Andreas Jaeger  <aj@suse.de>
81917         * manual/examples/search.c (critter_cmp): Change signature to
81918         avoid warnings.
81919         * manual/string.texi (Collation Functions): Likewise.
81921 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81923         * bits/types.h: Fold copyright years.
81924         * bits/typesizes.h: Likewise.
81925         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
81926         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
81927         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
81928         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
81929         * time/time.h: Likewise.
81931 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
81933         [BZ #208]
81934         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
81935         in instead of returning them.  Return void.
81936         (__libc_mallinfo): Accumulate over all arenas.
81937         (__malloc_stats): Adjust for change in int_mallinfo interface.
81939 2012-05-16  Roland McGrath  <roland@hack.frob.com>
81941         [BZ #10375]
81942         * configure.in (NM): Add AC_CHECK_TOOL for it.
81943         (libc_extra_cflags): New substituted variable.
81944         Check for -fstack-protector being used implicitly.
81945         * configure: Regenerated.
81946         * config.make.in (config-extra-cflags): New variable,
81947         gets @libc_extra_cflags@.
81948         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
81950         [BZ #10375]
81951         * configure.in: Check for _FORTIFY_SOURCE being predefined.
81952         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
81953         * configure: Regenerated.
81954         * config.make.in (CPPUNDEFS): New substituted variable.
81955         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
81956         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
81957         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
81959 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81961         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
81962         (mq_attr): Use __syscall_slong_t.
81964 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81966         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
81967         Check __x86_64__ instead of __WORDSIZE.
81968         (_STAT_VER_LINUX): Likewise.
81969         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
81970         __syscall_ulong_t and __syscall_slong_t.
81971         (stat64): Likewise.
81973 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81975         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
81977 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81979         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
81981 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81983         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
81984         __syscall_ulong_t.
81986         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
81987         include <bits/wordsize.h>.  Check __x86_64__ instead of
81988         __WORDSIZE.
81989         (greg_t): Use "__extension__ long long int" if __x86_64__ is
81990         defined.
81991         (mcontext_t): Replace "unsigned long" with "unsigned long long".
81993         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
81994         include <bits/wordsize.h>.  Check __x86_64__ instead of
81995         __WORDSIZE.
81996         (user_regs_struct): Use "__extension__ unsigned long long"
81997         instead of "unsigned long" if __x86_64__ is defined.
81998         (user): Likewise.  Pad after pointer field if __ILP32__ is
81999         defined.
82001 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
82003         * configure.in (makeinfo): Require version 4.5 or later.  Allow
82004         versions 5 to 9.
82005         * configure: Regenerated.
82006         * manual/install.texi (texinfo): Increase version requirement to
82007         4.5 or later.
82008         * INSTALL: Regenerated.
82010         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
82012 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82014         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
82016         * sysdeps/x86_64/x32/ffs.c: New file.
82018         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
82019         __syscall_ulong_t.
82020         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
82021         defined.  Use __syscall_ulong_t.
82022         (shminfo): Use __syscall_ulong_t.
82023         (shm_info): Likewise.
82025         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
82026         __syscall_ulong_t.
82028         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
82029         <bits/wordsize.h>.
82030         (msgqnum_t): Use __syscall_ulong_t.
82031         (msglen_t): Likewise.
82032         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
82033         __syscall_ulong_t.
82035         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
82036         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
82038         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
82040         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
82041         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
82043         * sysvipc/sys/msg.h (msgbuf): Replace long int with
82044         __syscall_slong_t.
82046         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
82047         include <bits/wordsize.h>.  Check __x86_64__ instead of
82048         __WORDSIZE.
82050         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
82051         "unsigned long long int" if __x86_64__ is defined.
82052         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
82054         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
82055         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
82056         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
82058         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
82059         <stdint.h>.
82060         (GET_PC): Cast to uintptr_t first.
82061         (GET_FRAME): Likewise.
82062         (GET_STACK): Likewise.
82064         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
82065         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
82066         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
82067         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
82068         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
82069         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
82070         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
82071         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
82072         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
82073         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
82074         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
82075         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
82076         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
82077         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
82078         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
82079         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
82080         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
82081         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
82082         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
82083         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
82084         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
82085         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
82086         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
82087         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
82088         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
82089         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
82090         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
82091         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
82092         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
82094 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
82096         * Makerules (+depfiles): Also collect depfiles from .oS in
82097         $(extra-objs).
82098         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
82099         .oS, $(libnldbl-routines)).
82101         * Makerules (native-compile-mkdep-flags): Define.
82102         * sunrpc/Makefile (extra-objs): Add $(addprefix
82103         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
82104         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
82105         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
82106         calling $(make-target-directory).
82108 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82110         * bits/types.h (__snseconds_t): Removed.
82111         * time/time.h (struct timespec): Replace __snseconds_t with
82112         __syscall_slong_t.
82113         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
82114         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
82115         Likewise.
82116         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82117         (__SNSECONDS_T_TYPE): Likewise.
82118         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82119         (__SNSECONDS_T_TYPE): Likewise.
82120         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82121         (__SNSECONDS_T_TYPE): Likewise.
82123 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82125         * sysdeps/mach/hurd/bits/typesizes.h
82126         (__SYSCALL_SLONG_TYPE): New macro.
82127         (__SYSCALL_ULONG_TYPE): Likewise.
82129 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82131         * bits/types.h (__syscall_slong_t): New type.
82132         (__syscall_ulong_t): Likewise.
82134         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
82135         (__SYSCALL_ULONG_TYPE): Likewise.
82136         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82137         (__SYSCALL_SLONG_TYPE): Likewise.
82138         (__SYSCALL_ULONG_TYPE): Likewise.
82139         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82140         (__SYSCALL_SLONG_TYPE): Likewise.
82141         (__SYSCALL_ULONG_TYPE): Likewise.
82142         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82143         (__SYSCALL_SLONG_TYPE): Likewise.
82144         (__SYSCALL_ULONG_TYPE): Likewise.
82146 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82148         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
82149         Add sigaltstack-offsets.sym.
82150         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
82151         <sigaltstack-offsets.h>.
82152         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
82153         longjmp_msg pointer.
82154         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
82155         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
82156         signal stack.
82157         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
82159 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
82161         * elf/stackguard-macros.h: Remove file.
82162         * sysdeps/generic/stackguard-macros.h: New file.
82163         * sysdeps/i386/stackguard-macros.h: Likewise.
82164         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
82165         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
82166         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
82167         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
82168         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
82169         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
82170         * sysdeps/x86_64/stackguard-macros.h: Likewise.
82171         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
82172         <elf/stackguard-macros.h>.
82174         [BZ #14109]
82175         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
82176         __aligned__ in attribute.
82177         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
82178         (gregset_t): Likewise.
82180 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82182         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
82183         * sysdeps/x86_64/64/Implies-after: Here.  New file.
82184         * sysdeps/x86_64/x32/Implies-after: New file.
82186 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82188         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
82189         and access return value for _dl_profile_fixup.  Use R10_LP to
82190         load frame size.
82192 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82194         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
82196 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82198         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
82199         * sysdeps/x86_64/x32/sysdep.h: New file.
82201 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82203         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
82204         * sysdeps/x86_64/setjmp.S: Likewise.
82206 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82208         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
82209         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
82210         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
82211         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
82212         remove unused global constant.
82214 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
82216         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
82217         include of <not-cancel.h>.
82219 2012-05-15  Roland McGrath  <roland@hack.frob.com>
82221         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
82223 2012-05-15  Jeff Law  <law@redhat.com>
82224             Andreas Jaeger  <aj@suse.de>
82226         [BZ #13594]
82227         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
82228         out from...
82229         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
82230         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
82231         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
82232         code changing __hst_map_handle.map.
82234 2012-05-15  Roland McGrath  <roland@hack.frob.com>
82236         * configure.in (sysnames): Look for Implies-before and Implies-after
82237         files.
82238         * configure: Regenerated.
82240 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82242         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
82243         8-byte data alignment with LP_SIZE alignment.
82245 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82247         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
82248         into R10_LP.
82250 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82252         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
82254 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82256         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
82257         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
82258         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
82259         Likewise.
82260         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
82262 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82264         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
82265         (stackinfo_sub_sp): Likewise.
82267 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82269         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
82270         RAX_LP.
82272 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82274         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
82275         into R*_LP.
82277 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82279         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
82280         sizes into R*_LP.
82282 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82284         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
82286 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82288         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
82289         into R11_LP and load __x86_64_shared_cache_size_half into
82290         R8_LP.
82292 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82294         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
82295         R8_LP.
82297 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82299         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
82300         logb for POWER7.
82301         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
82302         logbf for POWER7.
82303         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
82304         logbl for POWER7.
82305         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
82306         powerpc32/power7/fpu/s_logb.c via #include.
82307         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
82308         powerpc32/power7/fpu/s_logbf.c via #include.
82309         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
82310         powerpc32/power7/fpu/s_logbl.c via #include.
82312 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
82314         * README.libm: Remove file.
82316 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82318         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
82319         count for x32.  Use R*_LP and omit operand-size suffix.
82321 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82323         * shlib-versions: Move x86_64-.*-linux.* entries to ...
82324         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
82325         * sysdeps/x86_64/x32/shlib-versions: New file.
82327 2012-05-14  Roland McGrath  <roland@hack.frob.com>
82329         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
82330         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
82331         Use _dl_fatal_printf instead.
82333 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
82335         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
82336         set if not set by the user.  Do not allow for being unset.
82337         * sysdeps/unix/sysv/linux/configure: Regenerated.
82339 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82341         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
82342         the `q' suffix from lea and replace .quad with ASM_ADDR.
82344 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82346         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
82347         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
82348         instead of $17.
82349         (PTR_DEMANGLE): Likewise.
82351 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82353         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
82354         (LP_OP): Likewise.
82355         (ASM_ADDR): Likewise.
82356         (RAX_LP): Likewise.
82357         (RBP_LP): Likewise.
82358         (RBX_LP): Likewise.
82359         (RCX_LP): Likewise.
82360         (RDI_LP): Likewise.
82361         (RSI_LP): Likewise.
82362         (RSP_LP): Likewise.
82363         (R8_LP): Likewise.
82364         (R9_LP): Likewise.
82365         (R10_LP): Likewise.
82366         (R10_LP): Likewise.
82367         (R11_LP): Likewise.
82368         (R12_LP): Likewise.
82369         (R13_LP): Likewise.
82370         (R14_LP): Likewise.
82371         (R15_LP): Likewise.
82373 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82375         * sysdeps/x86_64/x32/dl-machine.h: New file.
82377 2012-05-14  Andreas Jaeger  <aj@suse.de>
82379         * manual/Makefile (subdir): Remove export of subdir.
82380         (all): Remove target.
82381         (.PHONY): Remove all from list.
82382         (mkinstalldirs): Remove.
82383         (.PHONY): Remove installdirs from list.
82384         ($(inst_infodir)/libc.info): Use make-target-directory.
82385         (installdirs): Remove.
82386         (subdir_%): Remove.
82387         (glibc-targets): Remove.
82388         (lib): Remove.
82389         (stubs): Remove.
82390         ($(objpfx)stubs ../po/manual.pot): Remove.
82391         ($(objpfx)stamp%): Remove.
82392         (make-target-directory): Remove.
82393         (subdir_install): Remove.
82394         (routines): Remove.
82395         (aux): Remove.
82396         (sources): Remove.
82397         (objects): Remove.
82398         (headers): Remove.
82400         [BZ #13750]
82401         * manual/.gitignore: Remove, it's not needed anymore.
82402         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
82403         all files in it.
82404         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
82405         directory.
82406         (texis): Renamed to $(objpfx)texis.
82407         (texis-path): New, contains path to generated files.
82408         (chapters.%): Use texis-path for complete path, add extra argument
82409         libc-texinfo.sh.
82410         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
82411         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
82412         (summary,texi, stamp-summary): Use complete path of
82413         files. Generate files in build dir.
82414         (dir-add.texi): Build in build dir.
82415         (libm-err.texi,stamp-libm-err): Likewise.
82416         (version.texi, stamp-version): Likewise.
82417         (.%c.texi): Likewise.
82418         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
82419         (mostlyclean): Remove target.
82420         (realclean): Remove target.
82421         (generated): Add new variable with contents from mostlyclean and
82422         realclean, remove entries duplicated in common-mostlyclean, add
82423         stamp-libm-err and stamp-version.
82424         (generated-dirs): Add libc directory.
82425         ($(inst_infodir)/libc.info): Install files from build dir.
82427         * manual/install.texi (Configuring and compiling): Adjust since
82428         the info files are not part of the tar ball anymore.
82430 2012-05-14  Andreas Jaeger  <aj@suse.de>
82432         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
82433         variable.
82435 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
82437         [BZ #13717]
82438         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
82439         to 2.2.0 where earlier.
82440         * sysdeps/unix/sysv/linux/configure: Regenerated.
82441         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
82442         Remove conditional code.
82443         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
82444         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
82445         Remove conditional code.
82446         [!__NR_lchown]: Likewise.
82447         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82448         [__NR_lchown]: Likewise.
82449         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
82450         comment referencing __ASSUME_LCHOWN_SYSCALL.
82451         * sysdeps/unix/sysv/linux/i386/sigaction.c
82452         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82453         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82454         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
82455         Remove conditional code.
82456         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
82457         (__protocol_available): Remove #if 0 code.
82458         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
82459         conditional code.
82460         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
82461         * sysdeps/unix/sysv/linux/kernel-features.h
82462         (__ASSUME_GETCWD_SYSCALL): Don't define.
82463         (__ASSUME_REALTIME_SIGNALS): Likewise.
82464         (__ASSUME_PREAD_SYSCALL): Likewise.
82465         (__ASSUME_PWRITE_SYSCALL): Likewise.
82466         (__ASSUME_POLL_SYSCALL): Likewise.
82467         (__ASSUME_LCHOWN_SYSCALL): Likewise.
82468         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
82469         non-SPARC.
82470         (__ASSUME_SIOCGIFNAME): Don't define.
82471         (__ASSUME_MSG_NOSIGNAL): Likewise.
82472         (__ASSUME_SENDFILE): Define unconditionally.
82473         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
82474         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
82475         conditional code.
82476         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
82477         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
82478         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82479         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82480         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
82481         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82482         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
82484         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82485         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
82487         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82488         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
82490         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82491         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
82493         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82494         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
82496         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82497         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
82499         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82500         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
82502         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82503         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
82505         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82506         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82507         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
82508         Remove conditional code.
82509         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82510         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82511         Remove conditional code.
82512         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82513         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
82514         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
82515         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82516         Remove conditional code.
82517         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82518         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
82519         Remove conditional code.
82520         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82521         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
82522         Remove conditional code.
82523         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82524         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82525         Remove conditional code.
82526         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82527         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82528         Remove conditional code.
82529         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82530         * sysdeps/unix/sysv/linux/sh/pwrite64.c
82531         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82532         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82533         * sysdeps/unix/sysv/linux/sigaction.c
82534         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82535         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82536         * sysdeps/unix/sysv/linux/sigpending.c
82537         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82538         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82539         * sysdeps/unix/sysv/linux/sigprocmask.c
82540         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82541         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82542         * sysdeps/unix/sysv/linux/sigsuspend.c
82543         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82544         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82545         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
82546         (__libc_missing_rt_sigs): Remove.
82547         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
82548         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
82549         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
82550         Remove conditional code.
82551         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
82552         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
82553         return 1.
82554         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
82555         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
82556         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
82557         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
82559 2012-05-14  Andreas Jaeger  <aj@suse.de>
82561         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
82562         it's not used in glibc.
82563         (__coshm1): Likewise.
82564         (__acosh1p): Likewise.
82565         (__sgn): Likewise.
82567         * manual/string.texi (Copying and Concatenation): Add missing
82568         variable in concat example.
82569         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
82571 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82573         [BZ #14103]
82574         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
82575         __builtin_clzl with __builtin_clzll.
82577 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82579         [BZ #14104]
82580         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
82581         libc_freeres_ptr.
82583 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82585         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
82586         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
82587         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
82588         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
82590 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
82592         * NEWS: Update ia64 info.
82594 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
82596         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
82597         used as bcopy.
82599 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
82601         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
82602         * sysdeps/unix/syscalls.list (dup3): Likewise.
82603         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
82604         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
82606 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
82608         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
82609         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
82611 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
82613         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
82614         thread pointer.
82615         (TLS_IE): Use mov/add instead of movq/addq to load thread
82616         pointer.
82617         (TLS_GD_PREFIX): New.
82618         (TLS_GD): Use it.
82620 2012-05-11  David S. Miller  <davem@davemloft.net>
82622         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
82623         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
82624         (_FPU_SETCW): Likewise.
82626 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82628         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
82629         is 32-byte aligned.
82631 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
82633         [BZ #11837]
82634         * iconvdata/gb18030.c: Update tables.
82635         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
82636         characters specially.
82637         (BODY for TO_LOOP): Add encoding of missing ranges.
82639 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
82641         [BZ #13673]
82642         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
82643         * sysdeps/mach/hurd/dup3.c: Likewise.
82644         * sysdeps/mach/hurd/readlinkat.c: Likewise.
82645         * sysdeps/powerpc/memmove.c:: Likewise.
82647 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82649         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
82650         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
82652 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82654         * elf/elf.h (R_X86_64_RELATIVE64): New.
82655         (R_X86_64_NUM): Updated.
82656         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
82657         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
82658         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
82659         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
82660         tst-quad1pie tst-quad2pie
82661         (modules-names): Add tst-quadmod1 tst-quadmod2.
82662         ($(objpfx)tst-quad1): New dependency.
82663         ($(objpfx)tst-quad2): Likewise.
82664         ($(objpfx)tst-quad1pie): Likewise.
82665         ($(objpfx)tst-quad2pie): Likewise.
82666         * sysdeps/x86_64/tst-quad1.c: New file.
82667         * sysdeps/x86_64/tst-quad1pie.c: New file.
82668         * sysdeps/x86_64/tst-quad2.c: Likewise.
82669         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
82670         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
82671         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
82672         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
82673         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
82675 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82677         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
82678         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
82679         * streams/stropts.h (t_scalar_t): Define type.
82681         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
82682         (_PATH_PRESERVE): Set to "/var/lib".
82683         (_PATH_RWHODIR): Set to "/var/spool/rwho".
82685         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
82686         instead of int.
82688         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
82689         if __dir_mkfile succeeded.
82691         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
82692         checking for _hurd_dtablesize.  Unlock it right after having
82693         finished _hurd_dtable allocation.
82695 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82697         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
82698         * sysdeps/mach/hurd/configure: Regenerated.
82699         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
82700         special-casing to...
82701         * sysdeps/gnu/configure.in: ... this new file.
82702         * sysdeps/unix/sysv/linux/configure: Regenerated.
82703         * sysdeps/gnu/configure: New generated file.
82705         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
82706         for Linux: use nsec instead of usec, as well as:
82707         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
82708         members of type struct timespec.
82709         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
82710         New macros.
82711         (struct stat64): Likewise.
82712         (_STATBUF_ST_NSEC): New macro.
82713         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
82715         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
82716         __strtoul_internal rather than strtoul.
82718 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82720         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
82721         and reject them.
82723 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82725         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
82726         which preserves existing values.
82727         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
82729 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82731         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
82732         TIMEOUT values.  Return EINVAL for NFDS values either negative or
82733         greater than FD_SETSIZE.
82735 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82737         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
82738         allocated, call __vm_protect to finish enabling the existing space, and
82739         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
82740         allocate the remainder.
82742 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82744         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
82745         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
82747 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82749         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
82750         sysdeps/mach/hurd/readlink.c.
82752         * posix/tst-sysconf.c (posix_options): Only use
82753         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
82754         _POSIX_SYNCHRONIZED_IO when they are defined
82755         * sysdeps/mach/hurd/bits/posix_opt.h:
82756         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
82757         (_XOPEN_REALTIME): Undefine macro.
82758         (_XOPEN_REALTIME_THREADS): Undefine macro.
82759         (_XOPEN_SHM): Undefine macro.
82760         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
82761         macro to -1.
82762         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
82763         macro to -1.
82764         (_POSIX_ASYNC_IO): Undefine macro.
82765         (_POSIX_PRIORITIZED_IO): Undefine macro.
82766         (_POSIX_SPIN_LOCKS): Define macro to -1.
82768         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
82769         SA_NODEFER, SA_RESETHAND.
82770         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
82771         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
82772         F_DUPFD_CLOEXEC.
82774 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82776         * elf/Makefile (pldd-modules): Define unconditionally.
82778 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82780         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
82782 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82784         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
82785         Return ENOENT when name is empty.
82786         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
82788 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82790         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
82792         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
82794 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82796         Fix mlock in all cases except non-readable pages.
82797         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
82798         instead of VM_PROT_ALL as parameter to __vm_wire function.
82800         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
82801         (__mkdir): When path is `/', just fail with EEXIST.
82802         * sysdeps/mach/hurd/mkdirat.c: Likewise.
82804 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82806         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
82807         <sys/uio.h> (for writev).
82808         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
82809         and <sys/param.h> (for MIN).
82811 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82813         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
82814         REQUESTED_TIME.  Properly set the remaining time and return EINTR
82815         if interrupted.
82817 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82819         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
82820         Depend on against $(link-rpcuserlibs).
82822 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82824         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
82825         (__libc_stack_end): Do not use attribute_relro.
82826         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
82827         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
82828         to libthread-provided value.
82829         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
82830         attribute_relro.
82832 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82834         [BZ #3748]
82835         * bits/libc-lock.h (__libc_once_get): New macro.
82836         * sysdeps/mach/bits/libc-lock.h: Likewise.
82837         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
82838         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
82839         instead of using implementation details.
82841         * libio/fileops.c: Unconditionally include <kernel-features.h>.
82842         * libio/freopen.c: Likewise.
82843         * libio/freopen64.c: Likewise.
82844         * misc/syslog.c: Likewise.
82845         * nscd/connections.c: Likewise.
82846         * nscd/netgroupcache.c: Likewise.
82847         * sysdeps/posix/getcwd.c: Likewise.
82849 2012-05-10  Roland McGrath  <roland@hack.frob.com>
82851         * math/w_ilogbf.c: Add #include <limits.h>.
82853 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82855         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
82856         path instead of returning without unlocking.
82858         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
82859         immediate-write ioctls.
82860         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
82862 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82864         * sysdeps/mach/hurd/i386/init-first.c (init): Use
82865         __builtin_frame_address instead of making assumptions about the
82866         location of the return address relative to DATA.  Force early load of
82867         the return address.
82868         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
82869         __builtin_frame_address.
82871         dup3 for GNU Hurd.
82872         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
82873         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
82874         implement dup3 and do some further code clean-ups.
82875         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
82876         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
82878 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82880         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
82882         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
82883         HURD_CRITICAL_END around holding _hurd_dtable_lock.
82884         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
82885         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
82886         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
82887         d->port.lock.
82889         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
82890         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
82891         when handler == SIG_ERR, not when handler != SIG_ERR.
82893 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82895         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
82896         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
82897         definitions.
82899         accept4 for GNU Hurd.
82900         * include/sys/socket.h (__libc_accept4): New prototype.
82901         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
82902         to implement __libc_accept4.
82903         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
82904         __libc_accept4.
82905         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
82907         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
82908         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
82909         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
82910         signal-defines.sym.
82912 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82914         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
82916 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82918         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
82919         assertion on O_CLOEXEC flag.
82920         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
82921         * hurd/intern-fd.c: Likewise.
82922         * hurd/port2fd.c: Likewise.
82924 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82926         [BZ #3906]
82927         * bits/in.h (IPV6_PKTINFO): Define new macro.
82928         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
82930 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82932         [BZ #13954]
82933         [BZ #13955]
82934         [BZ #13956]
82935         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
82936         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
82937         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
82938         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
82939         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
82940         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
82941         * math/libm-test.inc (logb_test) : Additional logb tests.
82943 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
82944             Andreas Jaeger  <aj@suse.de>
82946         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
82947         * configure: Regenerated.
82948         * config.h.in (LINK_OBSOLETE_RPC): New macro.
82949         * config.make.in (link-obsolete-rpc): New substituted variable.
82950         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
82951         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
82952         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82953         (shared-only-routines): Don't set it under [link-obsolete-rpc],
82954         so that libc.a contains the symbols.
82955         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82956         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
82957         * sunrpc/auth_none.c: Likewise.
82958         * sunrpc/auth_unix.c: Likewise.
82959         * sunrpc/authdes_prot.c: Likewise.
82960         * sunrpc/authuxprot.c: Likewise.
82961         * sunrpc/clnt_gen.c: Likewise.
82962         * sunrpc/clnt_perr.c: Likewise.
82963         * sunrpc/clnt_raw.c: Likewise.
82964         * sunrpc/clnt_simp.c: Likewise.
82965         * sunrpc/clnt_tcp.c: Likewise.
82966         * sunrpc/clnt_udp.c: Likewise.
82967         * sunrpc/clnt_unix.c: Likewise.
82968         * sunrpc/des_crypt.c: Likewise.
82969         * sunrpc/des_soft.c: Likewise.
82970         * sunrpc/get_myaddr.c: Likewise.
82971         * sunrpc/key_call.c: Likewise.
82972         * sunrpc/key_prot.c: Likewise.
82973         * sunrpc/netname.c: Likewise.
82974         * sunrpc/pm_getmaps.c: Likewise.
82975         * sunrpc/pm_getport.c: Likewise.
82976         * sunrpc/pmap_clnt.c: Likewise.
82977         * sunrpc/pmap_prot.c: Likewise.
82978         * sunrpc/pmap_prot2.c: Likewise.
82979         * sunrpc/pmap_rmt.c: Likewise.
82980         * sunrpc/publickey.c: Likewise.
82981         * sunrpc/rpc_cmsg.c: Likewise.
82982         * sunrpc/rpc_common.c: Likewise.
82983         * sunrpc/rpc_dtable.c: Likewise.
82984         * sunrpc/rpc_prot.c: Likewise.
82985         * sunrpc/rpc_thread.c: Likewise.
82986         * sunrpc/rtime.c: Likewise.
82987         * sunrpc/svc.c: Likewise.
82988         * sunrpc/svc_auth.c: Likewise.
82989         * sunrpc/svc_raw.c: Likewise.
82990         * sunrpc/svc_run.c: Likewise.
82991         * sunrpc/svc_tcp.c: Likewise.
82992         * sunrpc/svc_udp.c: Likewise.
82993         * sunrpc/svc_unix.c: Likewise.
82994         * sunrpc/svcauth_des.c: Likewise.
82995         * sunrpc/xcrypt.c: Likewise.
82996         * sunrpc/xdr.c: Likewise.
82997         * sunrpc/xdr_array.c: Likewise.
82998         * sunrpc/xdr_float.c: Likewise.
82999         * sunrpc/xdr_intXX_t.c: Likewise.
83000         * sunrpc/xdr_mem.c: Likewise.
83001         * sunrpc/xdr_rec.c: Likewise.
83002         * sunrpc/xdr_ref.c: Likewise.
83003         * sunrpc/xdr_sizeof.c: Likewise.
83004         * sunrpc/xdr_stdio.c: Likewise.
83006 2012-05-10  Roland McGrath  <roland@hack.frob.com>
83008         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
83009         change.  Update copyright years.
83011 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
83013         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
83015 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
83016             Joseph Myers  <joseph@codesourcery.com>
83017             Paul Pluzhnikov  <ppluzhnikov@google.com>
83019         [BZ #14012]
83020         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
83021         requiring rpcgen.
83022         [cross-compiling] (extra-libs): Likewise.
83023         [cross-compiling] (extra-libs-others): Likewise.
83024         [cross-compiling] (librpcsvc-routines): Likewise.
83025         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
83026         [cross-compiling] (omit-deps): Likewise.
83027         (sunrpc-CPPFLAGS): New variable.
83028         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
83029         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
83030         (cross-rpcgen-objs): New variable.
83031         (extra-objs): Append $(cross-rpcgen-objs).
83032         ($(cross-rpcgen-objs)): New rule.
83033         ($(objpfx)cross-rpcgen): Likewise.
83034         (rpcgen-cmd): Define to use $(built-program-file).  Expand
83035         comment.
83036         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
83037         ($(objpfx)x%.stmp): Likewise.
83038         * sunrpc/proto.h [IS_IN_build] (_): Define.
83039         [IS_IN_build] (_libc_intl_domainname): Likewise.
83041 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
83043         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
83044         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
83045         and R_X86_64_TPOFF64.
83047 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
83049         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
83050         sysdeps/unix/sysv/syscalls.list.
83051         (stime): Likewise.
83052         (utime): Likewise.
83053         * sysdeps/unix/sysv/syscalls.list: Remove file.
83055 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
83057         [BZ #3440]
83058         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
83059         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
83060         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
83061         (__LC_IDENTIFICATION): Make these macros useful in #if
83062         expressions, as required by C99.
83064 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
83066         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
83067         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
83068         after this.
83070 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
83072         * stdlib/longlong.h: Updated from GCC.
83074 2012-05-09  Andreas Jaeger  <aj@suse.de>
83076         * nscd/nscd.c (run_modes): Make named enum, reorder so that
83077         default is first entry.
83078         (run_mode): Set type.
83079         (main): Remove informal message about syslog.
83080         (options): Fix typo.
83082         [BZ #14053]
83083         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
83084         to asm.
83085         (lrint): Likewise.
83086         (llrintf): Likewise.
83087         (llrint): Likewise.
83088         (rint): Likewise.
83089         (rintf): Likewise.
83090         (nearbyint): Likewise.
83091         (nearbyintf): Likewise.
83093 2012-05-09  Andreas Jaeger  <aj@suse.de>
83094             Pedro Alves  <palves@redhat.com>
83096         * nscd/nscd.c (run_mode): Use enum.
83097         (main): Cleanup coding style issue.
83099 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
83100             Andreas Jaeger  <aj@suse.de>
83102         * nscd/nscd.c (go_background): Replaced with...
83103         (run_mode): ... this.
83104         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
83105         (options): Add -F --foreground.
83106         (main): Implement it.
83107         (parse_opt): Parse it.
83109 2012-05-09  Andreas Jaeger  <aj@suse.de>
83111         [BZ #14083]
83112         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
83113         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
83114         -Wconversion warning.
83115         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
83116         Likewise.
83118 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
83120         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
83121         == 0.
83122         (LC_ALL): Use macro-int-constant.
83123         (LC_COLLATE): Likewise.
83124         (LC_CTYPE): Likewise.
83125         (LC_MESSAGES): Likewise.
83126         (LC_MONETARY): Likewise.
83127         (LC_NUMERIC): Likewise.
83128         (LC_TIME): Likewise.
83129         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
83130         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83131         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83132         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
83133         Specify type.
83134         [C99-based standards] (float_t): Expect type.
83135         [C99-based standards] (double_t): Expect type.
83136         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
83137         type.
83138         [C99-based standards] (HUGE_VALL): Likewise.
83139         [C99-based standards] (INFINITY): Likewise.
83140         [C99-based standards] (NAN): Likewise.
83141         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
83142         [C99-based standards] (FP_NAN): Likewise.
83143         [C99-based standards] (FP_NORMAL): Likewise.
83144         [C99-based standards] (FP_SUBNORMAL): Likewise.
83145         [C99-based standards] (FP_ZERO): Likewise.
83146         [C99-based standards] (FP_FAST_FMA): Use
83147         optional-macro-int-constant.  Specify type.  Require == 1.
83148         [C99-based standards] (FP_FAST_FMAF): Likewise.
83149         [C99-based standards] (FP_FAST_FMAL): Likewise.
83150         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
83151         [C99-based standards] (FP_ILOGBNAN): Likewise.
83152         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
83153         Specify type.
83154         [C99-based standards] (MATH_ERREXCEPT): Likewise.
83155         [C99-based standards] (math_errhandling): Specify type.
83156         [ISO99 || ISO11] (signgam): Do not allow.
83157         [non-C99-based standards] (copysignf): Do not allow.
83158         [non-C99-based standards] (exp2f): Likewise.
83159         [non-C99-based standards] (log2f): Likewise.
83160         [non-C99-based standards] (modff): Allow.
83161         [non-C99-based standards] (erff): Do not allow.
83162         [non-C99-based standards] (erfcf): Likewise.
83163         [non-C99-based standards] (gammaf): Likewise.
83164         [non-C99-based standards] (hypotf): Likewise.
83165         [non-C99-based standards] (j0f): Likewise.
83166         [non-C99-based standards] (j1f): Likewise.
83167         [non-C99-based standards] (jnf): Likewise.
83168         [non-C99-based standards] (lgammaf): Likewise.
83169         [non-C99-based standards] (tgammaf): Likewise.
83170         [non-C99-based standards] (y0f): Likewise.
83171         [non-C99-based standards] (y1f): Likewise.
83172         [non-C99-based standards] (ynf): Likewise.
83173         [non-C99-based standards] (isnanf): Likewise.
83174         [non-C99-based standards] (acoshf): Likewise.
83175         [non-C99-based standards] (asinhf): Likewise.
83176         [non-C99-based standards] (atanhf): Likewise.
83177         [non-C99-based standards] (cbrtf): Likewise.
83178         [non-C99-based standards] (expm1f): Likewise.
83179         [non-C99-based standards] (ilogbf): Likewise.
83180         [non-C99-based standards] (log1pf): Likewise.
83181         [non-C99-based standards] (logbf): Likewise.
83182         [non-C99-based standards] (nextafterf): Likewise.
83183         [non-C99-based standards] (remainderf): Likewise.
83184         [non-C99-based standards] (rintf): Likewise.
83185         [non-C99-based standards] (scalbf): Likewise.
83186         [non-C99-based standards] (copysignl): Likewise.
83187         [non-C99-based standards] (exp2l): Likewise.
83188         [non-C99-based standards] (log2l): Likewise.
83189         [non-C99-based standards] (modfl): Allow.
83190         [non-C99-based standards] (erfl): Do not allow.
83191         [non-C99-based standards] (erfcl): Likewise.
83192         [non-C99-based standards] (gammal): Likewise.
83193         [non-C99-based standards] (hypotl): Likewise.
83194         [non-C99-based standards] (j0l): Likewise.
83195         [non-C99-based standards] (j1l): Likewise.
83196         [non-C99-based standards] (jnl): Likewise.
83197         [non-C99-based standards] (lgammal): Likewise.
83198         [non-C99-based standards] (tgammal): Likewise.
83199         [non-C99-based standards] (y0l): Likewise.
83200         [non-C99-based standards] (y1l): Likewise.
83201         [non-C99-based standards] (ynl): Likewise.
83202         [non-C99-based standards] (isnanl): Likewise.
83203         [non-C99-based standards] (acoshl): Likewise.
83204         [non-C99-based standards] (asinhl): Likewise.
83205         [non-C99-based standards] (atanhl): Likewise.
83206         [non-C99-based standards] (cbrtl): Likewise.
83207         [non-C99-based standards] (expm1l): Likewise.
83208         [non-C99-based standards] (ilogbl): Likewise.
83209         [non-C99-based standards] (log1pl): Likewise.
83210         [non-C99-based standards] (logbl): Likewise.
83211         [non-C99-based standards] (nextafterl): Likewise.
83212         [non-C99-based standards] (remainderl): Likewise.
83213         [non-C99-based standards] (rintl): Likewise.
83214         [non-C99-based standards] (scalbl): Likewise.
83215         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83216         [non-C99-based standards] (FP_*): Do not allow.
83217         [C99-based standards] (FP_*): Change to
83218         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83219         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83220         allow.
83221         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
83222         (SIG_ERR): Likewise.
83223         [X/Open-based standards] (SIG_HOLD): Likewise.
83224         (SIG_IGN): Likewise.
83225         (SIGABRT): Use macro-int-constant.  Specify type.  Require
83226         positive value.
83227         (SIGFPE): Likewise.
83228         (SIGILL): Likewise.
83229         (SIGINT): Likewise.
83230         (SIGSEGV): Likewise.
83231         (SIGTER): Likewise.
83232         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
83233         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
83234         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
83235         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
83236         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
83237         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
83238         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
83239         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
83240         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
83241         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
83242         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
83243         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
83244         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
83245         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
83246         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
83247         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
83248         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
83249         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
83250         [X/Open-based standards] (SIGTRAP): Likewise.
83251         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
83252         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
83253         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
83254         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
83255         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83256         allow.
83258 2012-05-08  Ian Wienand  <ianw@vmware.com>
83260         [BZ #14080]
83261         * time/tzset.c (__tzset_parse_tz): Update default rules for
83262         daylight time changes in the Energy Policy Act of 2005.
83264 2012-05-09  Andreas Jaeger  <aj@suse.de>
83266         [BZ #13983]
83267         * elf/ldconfig.c (parse_conf): Change string to make clear that
83268         ldconfig only issued a warning if ld.so.conf does not exist.
83270 2012-05-08  David S. Miller  <davem@davemloft.net>
83272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
83273         movxtod instead of popping the value on the stack.
83275         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83277 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
83279         * config.h.in: Add HAVE_ARM_PCS_VFP.
83281 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
83283         [BZ #13979]
83284         * include/features.h: Warn if user requests __FORTIFY_SOURCE
83285         checking but the checks are disabled for any reason.
83287 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
83289         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
83290         and ELF64_R_TYPE with ELFW(R_TYPE).
83292 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
83294         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
83295         (ulimit): Likewise.
83297         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
83298         (settimeofday): Likewise.
83300 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
83302         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
83303         a struct th_u2 inside the union, and move tu_block/tu_code into
83304         a new th_u3 union of tu_block/tu_code inside of that.  Move
83305         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
83306         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
83307         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
83308         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
83309         (th_stuff): Change to th_u1.tu_stuff.
83310         (th_data): Define.
83311         (th_msg): Change to th_u1.th_u2.tu_data.
83313 2012-05-07  David S. Miller  <davem@davemloft.net>
83315         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83317         [BZ #14074]
83318         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
83319         (SETUP_PIC_REG): Use it.
83320         (SETUP_PIC_REG_LEAF): Use it.
83322 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
83324         [BZ #13885]
83325         [BZ #13923]
83326         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83327         USE_AS_EXPM1L.
83328         (EXPL_FINITE): Likewise.
83329         (FLDLOG): Likewise.
83330         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83331         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83332         e_expl.S.
83333         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83334         USE_AS_EXPM1L.
83335         (EXPL_FINITE): Likewise.
83336         (FLDLOG): Likewise.
83337         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83338         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83339         e_expl.S.
83340         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
83341         test of -max_value argument for long double.
83342         * sysdeps/i386/fpu/libm-test-ulps: Update.
83343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83345 2012-05-06  David S. Miller  <davem@davemloft.net>
83347         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
83348         quad soft-float symbols whose references which are compiler
83349         generated.
83350         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83352 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
83354         [BZ #13884]
83355         [BZ #13914]
83356         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83357         USE_AS_EXP10L.
83358         (EXPL_FINITE): Likewise.
83359         (FLDLOG): Likewise.
83360         (c0): Likewise.
83361         (c1): Likewise.
83362         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
83363         Adjust comments for base varying.
83364         (__expl_finite): Change alias to EXPL_FINITE.
83365         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
83366         e_expl.S.
83367         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
83368         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
83369         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
83370         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
83371         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83372         USE_AS_EXP10L.
83373         (EXPL_FINITE): Likewise.
83374         (FLDLOG): Likewise.
83375         (c0): Likewise.
83376         (c1): Likewise.
83377         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
83378         Adjust comments for base varying.
83379         (__expl_finite): Change alias to EXPL_FINITE.
83380         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
83381         tests for bugs.
83382         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83384         [BZ #14064]
83385         * math/libm-test.inc (check_float_internal): Correct ulp
83386         calculation for subnormal expected results.
83388 2012-05-06  Andreas Jaeger  <aj@suse.de>
83390         * Makeconfig (+math-flags): New, set to -frounding-math.
83391         (+cflags): Add +math-flags so that all of glibc gets compiled with
83392         it.
83394         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
83396 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
83398         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
83399         Disable one test.
83401         [BZ #13787]
83402         [BZ #13922]
83403         [BZ #14036]
83404         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
83405         (__ieee754_expl): Allow for and saturate large arguments.
83406         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
83407         (u_threshold): Likewise.
83408         (__exp): Call __ieee754_exp before checking for overflow and
83409         underflow.
83410         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
83411         (u_threshold): Likewise.
83412         (__expf): Call __ieee754_expf before checking for overflow and
83413         underflow.
83414         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
83415         (u_threshold): Likewise.
83416         (__expl): Call __ieee754_expl before checking for overflow and
83417         underflow.
83418         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
83419         (__ieee754_expl): Allow for and saturate large arguments.
83420         * math/libm-test.inc (exp_test): Add another test.  Do not allow
83421         missing overflow exception on overflow.
83422         (expm1_test): Do not allow missing overflow exception on overflow.
83424         * sysdeps/i386/fpu/e_expl.c: Move to ...
83425         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
83426         rather than using inline asm.
83427         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
83428         * sysdeps/x86_64/fpu/e_expl.S: Copy from
83429         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
83431         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
83432         (nice): Likewise.
83433         (poll): Likewise.
83434         (signal): Likewise.
83435         (time): Likewise.
83436         (times): Likewise.
83438 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83440         * sysdeps/unix/syscalls.list (adjtime): Add entry from
83441         sysdeps/unix/common/syscalls.list.
83442         (fchmod): Likewise.
83443         (fchown): Likewise.
83444         (ftruncate): Likewise.
83445         (getrusage): Likewise.
83446         (gettimeofday): Likewise.
83447         (setpgid): Likewise.
83448         (setregid): Likewise.
83449         (setreuid): Likewise.
83450         (sigaction): Likewise.
83451         (truncate): Likewise.
83452         (vhangup): Likewise.
83453         * sysdeps/unix/common/syscalls.list: Remove file.
83454         * sysdeps/unix/bsd/Implies: Don't include unix/common.
83455         * sysdeps/unix/sysv/linux/Implies: Likewise.
83457 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
83459         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
83460         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
83461         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
83462         Moved to ...
83463         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
83464         Here.
83465         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
83466         to ...
83467         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
83468         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
83469         to ...
83470         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
83471         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
83472         to ...
83473         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
83474         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
83475         to ...
83476         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
83477         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
83478         to ...
83479         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
83480         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
83481         to ...
83482         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
83483         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
83484         to ...
83485         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
83486         Here.
83487         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
83488         to ...
83489         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
83490         Here.
83491         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
83492         to ...
83493         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
83494         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
83495         Moved to ...
83496         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
83497         Here.
83498         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
83499         to ...
83500         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
83502 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83504         * sysdeps/unix/common/bits/dirent.h: Remove file.
83505         * sysdeps/unix/common/bits/fcntl.h: Likewise.
83507         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
83508         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
83509         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
83510         * sysdeps/unix/bsd/isatty.c: Likewise.
83511         * sysdeps/unix/bsd/tcdrain.c: Likewise.
83512         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
83513         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
83515 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83517         [BZ #13563]
83518         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
83519         long double comparison inaccuracies.
83520         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
83521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83523 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
83525         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
83526         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
83528 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83530         [BZ #14049]
83531         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
83532         nonzero digits before rounding a hex value.
83533         * stdlib/tst-strtod.c (tests): Add another test.
83535 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83537         * sysdeps/s390/fpu/libm-test-ulps: Update.
83539 2012-05-03  Andreas Jaeger  <aj@suse.de>
83541         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
83542         does not get optimized out.
83543         (malloc_opt_barrier): New.
83545 2012-05-03  Andreas Jaeger  <aj@suse.de>
83546             Roland McGrath  <roland@hack.frob.com>
83548         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
83549         intermediate file deletion.
83550         (generated): Add .symlist files.
83552 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
83554         [BZ #13775]
83555         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
83556         Redirect under this condition.
83557         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83558         [__USE_GNU] (__dprintf_chk): Not under this condition.
83559         [__USE_GNU] (__vdprintf_chk): Likewise.
83560         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
83561         under this condition.
83562         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83563         [__USE_XOPEN2K8] (dprintf): Define under this condition.
83564         [__USE_XOPEN2K8] (vdprintf): Likewise.
83565         [__USE_GNU] (__dprintf_chk): Not under this condition.
83566         [__USE_GNU] (__vdprintf_chk): Likewise.
83567         [__USE_GNU] (dprintf): Likewise.
83568         [__USE_GNU] (vdprintf): Likewise.
83570 2012-05-03  Roland McGrath  <roland@hack.frob.com>
83572         * elf/Makefile (common-generated): Set this instead of generated for
83573         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
83574         $(all-built-dso)-derived lists.
83576 2012-05-03  Andreas Jaeger  <aj@suse.de>
83578         * sysdeps/i386/fpu/libm-test-ulps: Update.
83580         * FAQ: Removed.
83581         * FAQ.in: Likewise.
83582         * scripts/gen-FAQ.pl: Likewise.
83583         * manual/install.texi (Installation): Point to online location of
83584         FAQ.
83585         * Makefile (files-for-dist): Remove FAQ.
83586         (FAQ): Remove.
83588 2012-05-02  Allan McRae  <allan@archlinux.org>
83590         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
83591         (LDFLAGS-reldepmod5.so): Likewise.
83592         (LDFLAGS-reldep6mod1.so): Likewise.
83593         (LDFLAGS-reldep6mod4.so): Likewise.
83594         (LDFLAGS-reldep8mod3.so): Likewise.
83595         (LDFLAGS-unload4mod1.so): Likewise.
83596         (LDFLAGS-unload4mod2.so): Likewise.
83597         (LDFLAGS-tst-initorder): Likewise.
83598         (LDFLAGS-tst-initordera2.so): Likewise.
83599         (LDFLAGS-tst-initordera3.so): Likewise.
83600         (LDFLAGS-tst-initordera4.so): Likewise.
83601         (LDFLAGS-tst-initorderb2.so): Likewise.
83602         (LDFLAGS-noload): Likewise.
83603         (LDFLAGS-next): Likewise.
83604         (LDFLAGS-order2mod1.so): Likewise.
83605         (LDFLAGS-order2mod2.so): Likewise.
83606         (LDFLAGS-tst-initorder2): Likewise.
83607         (LDFLAGS-tst-initorder2a.so): Likewise.
83608         (LDFLAGS-tst-initorder2b.so): Likewise.
83609         (LDFLAGS-tst-initorder2c.so): Likewise.
83610         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
83612 2012-05-02  David S. Miller  <davem@davemloft.net>
83614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83616 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
83618         [BZ #14055]
83619         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
83621 2012-05-02  Andreas Jaeger  <aj@suse.de>
83623         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
83624         since we manipulate rounding mode.
83625         (CPPFLAGS-test-idouble.c): Likewise.
83626         (CPPFLAGS-test-ifloat.c): Likewise.
83627         (CFLAGS-test-ldouble.c): Likewise.
83628         (CFLAGS-test-double.c): Likewise.
83629         (CFLAGS-test-float.c): Likewise.
83630         (CFLAGS-test-misc.c): Likewise.
83631         (CFLAGS-test-test-fenv.c): Likewise.
83633 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83635         [BZ #2550]
83636         [BZ #2570]
83637         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
83638         comparisons to determine direction to adjust input.
83640 2012-05-01  Roland McGrath  <roland@hack.frob.com>
83642         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
83643         output to the target.
83645         * scripts/localplt.awk: New file.
83646         * elf/Makefile ($(objpfx)check-localplt): Target removed.
83647         (check-localplt-CFLAGS): Variable removed.
83648         ($(all-built-dso:=.jmprel)): New static pattern rule.
83649         (generated): Add those targets.
83650         (localplt-built-dso): New variable.
83651         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
83653         * elf/check-localplt.c: File removed.
83655         * scripts/check-execstack.awk: New file.
83656         * elf/Makefile ($(objpfx)check-execstack): Target removed.
83657         (check-execstack-CFLAGS): Variable removed.
83658         ($(objpfx)check-execstack.h): Target removed.
83659         ($(objpfx)execstack-default): New target.
83660         (generated): Add that instead of check-execstack.h.
83661         ($(all-built-dso:=.phdr)): New static pattern rule.
83662         (generated): Add those targets.
83663         * elf/check-execstack.c: File removed.
83665         * scripts/check-textrel.awk: New file.
83666         * elf/Makefile ($(objpfx)check-textrel): Target removed.
83667         (check-textrel-CFLAGS): Variable removed.
83668         (all-built-dso): Use := to define.o
83669         ($(all-built-dso:=.dyn)): New static pattern rule.
83670         (generated): Add those targets.
83671         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
83672         * config.make.in (READELF): New substituted variable.
83673         * elf/check-textrel.c: File removed.
83675 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
83677         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83678         allow.
83679         * conform/data/ctype.h-data [C99-based standards] (isblank):
83680         Expect function.
83681         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
83682         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
83683         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83684         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
83685         Specify type.  Require positive value.
83686         (EILSEQ): Likewise.
83687         (ERANGE): Likewise.
83688         [ISO || POSIX] (EILSEQ): Do not expect.
83689         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
83690         Specify type.  Require positive value.
83691         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
83692         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
83693         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
83694         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
83695         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
83696         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
83697         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
83698         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
83699         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
83700         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
83701         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
83702         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
83703         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
83704         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
83705         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
83706         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
83707         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
83708         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
83709         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
83710         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
83711         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
83712         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
83713         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
83714         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
83715         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
83716         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
83717         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
83718         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
83719         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
83720         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
83721         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
83722         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
83723         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
83724         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
83725         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
83726         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
83727         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
83728         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
83729         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
83730         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
83731         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
83732         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
83733         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
83734         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
83735         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
83736         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
83737         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
83738         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
83739         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
83740         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
83741         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
83742         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
83743         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
83744         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
83745         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
83746         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
83747         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
83748         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
83749         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
83750         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
83751         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
83752         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
83753         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
83754         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
83755         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
83756         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
83757         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
83758         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
83759         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
83760         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
83761         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
83762         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
83763         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
83764         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
83765         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
83766         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
83767         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
83768         Require >= 2.
83769         (FLT_ROUNDS): Expect as macro, not constant.
83770         (FLT_MANT_DIG): Use macro-int-constant.
83771         (DBL_MANT_DIG): Likewise.
83772         (LDBL_MANT_DIG): Likewise.
83773         (FLT_DIG): Likewise.
83774         (DBL_DIG): Likewise.
83775         (LDBL_DIG): Likewise.
83776         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
83777         (DBL_MIN_EXP): Likewise.
83778         (LDBL_MIN_EXP): Likewise.
83779         (FLT_MAX_EXP): Use macro-int-constant.
83780         (DBL_MAX_EXP): Likewise.
83781         (LDBL_MAX_EXP): Likewise.
83782         (FLT_MAX_10_EXP): Likewise.
83783         (DBL_MAX_10_EXP): Likewise.
83784         (LDBL_MAX_10_EXP): Likewise.
83785         (FLT_MAX): Use macro-constant.
83786         (DBL_MAX): Likewise.
83787         (LDBL_MAX): Likewise.
83788         (FLT_EPSILON): Use macro-constant.  Give upper bound.
83789         (DBL_EPSILON): Likewise.
83790         (LDBL_EPSILON): Likewise.
83791         (FLT_MIN): Likewise.
83792         (DBL_MIN): Likewise.
83793         (LDBL_MIN): Likewise.
83794         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
83795         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
83796         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
83797         [ISO11] (FLT_HAS_SUBNORM): Likewise.
83798         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
83799         [ISO11] (DBL_DECIMAL_DIG): Likewise.
83800         [ISO11] (FLT_DECIMAL_DIG): Likewise.
83801         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
83802         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
83803         [ISO11] (FLT_TRUE_MIN): Likewise.
83804         [ISO11] (LDBL_TRUE_MIN): Likewise.
83805         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83806         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
83807         (SCHAR_MIN): Use macro-int-constant.  Specify type.
83808         (SCHAR_MAX): Likewise.
83809         (UCHAR_MAX): Likewise.
83810         (CHAR_MIN): Likewise.
83811         (CHAR_MAX): Likewise.
83812         (MB_LEN_MAX): Use macro-int-constant.
83813         (SHRT_MIN): Use macro-int-constant.  Specify type.
83814         (SHRT_MAX): Likewise.
83815         (USHRT_MAX): Likewise.
83816         (INT_MAX): Likewise.
83817         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
83818         bound negative.
83819         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83820         bound with "U".
83821         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83822         bound with "L".
83823         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
83824         bound negative.  Suffix upper bound with "L".
83825         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83826         bound with "UL".
83827         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
83828         Specify type.
83829         [C99-based standards] (LLONG_MAX): Likewise.
83830         [C99-based standards] (ULLONG_MAX): Likewise.
83831         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
83832         == 0.
83833         [ISO11] (max_align_t): Require type.
83834         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83836         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
83837         from $CFLAGS, without defining away __attribute__ calls.
83838         (checknamespace): Use $CFLAGS_namespace.
83840         * conform/conformtest.pl (@keywords): Only include C99 keywords
83841         for standards based on C99 or C11.
83843         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
83844         Disable tests.
83845         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
83846         UNIX98]: Likewise.
83848         * conform/conformtest.pl: Handle "macro-int-constant" and test for
83849         usability of symbols in #if.
83851         * conform/conformtest.pl: If macro or constant types start
83852         "promoted:", expect the symbol to be of the following type
83853         promoted by the integer promotions.
83855         * conform/conformtest.pl: Parse all "constant" and "macro" lines
83856         in one place.  Also handle "macro-constant".
83858         * conform/conformtest.pl: Only accept expected macro values with
83859         "==".  Parse all "macro" lines in one place.
83860         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
83862         * conform/conformtest.pl: Handle braced types on "constant" lines
83863         instead of handling "typed-constant".
83864         * conform/data/signal.h-data: Use "constant" instead of
83865         "typed-constant".
83867         * conform/conformtest.pl: Handle "optional-" at start of lines in
83868         one place rather than duplicating several cases.  Handle each
83869         format of "macro" line with initial "optional-".
83871         * conform/conformtest.pl: Only accept expected constant or
83872         optional-constant values with "==".  Parse all "constant" lines in
83873         one place.  Parse all "optional-constant" lines in one place.
83874         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
83875         * conform/data/fmtmsg.h-data: Likewise.
83876         * conform/data/netinet/in.h-data: Likewise.
83877         * conform/data/tar.h-data: Likewise.
83878         * conform/data/limits.h-data: Use "==" form on "constant" and
83879         "optional-constant" lines.
83881         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
83882         Use -std=c99 for XOPEN2K.
83883         (@knownproblems): Remove.
83884         (newtoken): Don't check %isknown.
83886         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
83887         Do not expect macro.
83888         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
83889         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
83890         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
83891         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
83892         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
83893         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
83894         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
83895         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
83896         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
83897         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
83898         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
83899         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
83900         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
83901         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
83902         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
83903         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
83904         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
83905         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
83906         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
83907         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
83908         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
83909         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
83910         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
83911         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
83912         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
83913         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
83914         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
83915         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
83916         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
83917         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
83918         [XPG3] (acosh): Likewise.
83919         [XPG3] (asinh): Likewise.
83920         [XPG3] (atanh): Likewise.
83921         [XPG3] (cbrt): Likewise.
83922         [XPG3] (expm1): Likewise.
83923         [XPG3] (ilogb): Likewise.
83924         [XPG3] (log1p): Likewise.
83925         [XPG3] (logb): Likewise.
83926         [XPG3] (nextafter): Likewise.
83927         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
83928         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
83929         [XPG3] (remainder): Likewise.
83930         [XPG3] (rint): Likewise.
83931         [XPG3 || XPG4 || UNIX98] (round): Likewise.
83932         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
83933         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
83934         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
83935         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
83936         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
83937         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
83938         [UNIX98 || XOPEN2K] (scalb): Expect.
83939         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
83940         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
83941         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
83942         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
83943         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
83944         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
83945         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
83946         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
83947         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
83948         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
83949         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
83950         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
83951         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
83952         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
83953         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
83954         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
83955         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
83956         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
83957         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
83958         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
83959         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
83960         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
83961         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
83962         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
83963         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
83964         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
83965         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
83966         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
83967         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
83968         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
83969         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
83970         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
83971         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
83972         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
83973         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
83974         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
83975         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
83976         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
83977         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
83978         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
83979         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
83980         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
83981         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
83982         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
83983         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
83984         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
83985         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
83986         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
83987         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
83988         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
83989         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
83990         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
83991         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
83992         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
83993         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
83994         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
83995         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
83996         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
83997         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
83998         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
83999         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
84000         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
84001         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
84002         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
84003         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
84004         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
84005         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
84006         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
84007         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
84008         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
84009         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
84010         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
84011         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
84012         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
84013         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
84014         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
84015         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
84016         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
84017         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
84018         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
84019         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
84020         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
84021         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
84022         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
84023         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
84024         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
84025         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
84026         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
84027         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
84028         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
84029         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
84030         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
84031         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
84032         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
84033         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
84034         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
84035         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
84036         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
84037         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
84038         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
84039         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
84040         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
84041         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
84042         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
84043         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
84044         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
84045         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
84046         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
84047         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
84048         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
84049         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
84050         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
84051         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
84052         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
84053         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
84054         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
84055         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
84056         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
84057         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
84058         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
84059         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
84060         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
84061         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
84062         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
84063         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
84064         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
84065         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
84066         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
84067         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
84068         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
84069         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
84070         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
84071         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
84072         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
84073         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
84074         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
84075         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
84077         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
84078         _XOPEN_SOURCE_EXTENDED for XPG4.
84080         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
84082         * Makeconfig (localtime): Remove variable.
84083         (inst_localtime-file): Likewise.
84085 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
84087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
84088         Update.
84089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
84090         Update.
84091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
84092         Update.
84093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
84094         Update.
84095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
84096         Update.
84097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
84098         Update.
84099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
84100         Update.
84101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
84102         Update.
84103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84104         Update.
84106 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
84108         [BZ #2550]
84109         [BZ #2570]
84110         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
84111         comparisons to determine direction to adjust input.
84112         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
84113         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
84114         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
84115         Likewise.
84116         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
84117         Likewise.
84118         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
84119         Likewise.
84120         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
84121         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
84122         Likewise.
84123         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
84124         Likewise.
84125         * math/libm-test.inc (nexttoward_test): Add more tests.
84127 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
84129         [BZ #14040]
84130         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
84131         in version GLIBC_2.1, not GLIBC_2.0.
84132         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
84133         Likewise.
84135 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
84137         [BZ #13942]
84138         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
84139         (1 - x) * (1 + x).
84140         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84141         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
84142         * math/libm-test.inc (acos_test): Add more tests.
84143         (asin_test): Likewise.
84144         * sysdeps/i386/fpu/libm-test-ulps: Update.
84145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84147         [BZ #14034]
84148         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
84149         of square root.
84150         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
84151         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84152         * math/libm-test.inc (acos_test_tonearest): New function.
84153         (acos_test_towardzero): Likewise.
84154         (acos_test_downward): Likewise.
84155         (acos_test_upward): Likewise.
84156         (asin_test_tonearest): Likewise.
84157         (asin_test_towardzero): Likewise.
84158         (asin_test_downward): Likewise.
84159         (asin_test_upward): Likewise.
84160         (main): Call the new functions.
84161         * sysdeps/i386/fpu/libm-test-ulps: Update.
84162         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84164         [BZ #13884]
84165         [BZ #13924]
84166         * math/e_exp10.c: Include <float.h>.
84167         (__ieee754_exp10): Handle underflow here rather than multiplying
84168         large negative argument by M_LN10.
84169         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
84170         of __ieee754_expf.
84171         * math/e_exp10l.c: Include <float.h>.
84172         (__ieee754_exp10l): Handle underflow here rather than multiplying
84173         large negative argument by M_LN10l.
84174         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
84175         spurious overflow exception on underflow.
84177 2012-04-29  Marek Polacek  <polacek@redhat.com>
84179         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
84180         (__fortify_function): New macro.
84181         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
84182         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
84183         __extern_always_inline.
84184         * libio/bits/stdio2.h: Likewise.
84185         * libio/bits/stdio.h: Likewise.
84186         * string/string.h: Likewise.
84187         * string/bits/string3.h: Likewise.
84188         * include/stdio.h: Likewise.
84189         * stdlib/bits/stdlib.h: Likewise.
84190         * stdlib/stdlib.h: Likewise.
84191         * rt/bits/mqueue2.h: Likewise.
84192         * rt/mqueue.h: Likewise.
84193         * posix/bits/unistd.h: Likewise.
84194         * posix/unistd.h: Likewise.
84195         * io/bits/poll2.h: Likewise.
84196         * io/bits/fcntl2.h: Likewise.
84197         * io/fcntl.h: Likewise.
84198         * io/sys/poll.h: Likewise.
84199         * misc/bits/syslog.h: Likewise.
84200         * misc/bits/syslog-ldbl.h: Likewise.
84201         * misc/sys/syslog.h: Likewise.
84202         * socket/bits/socket2.h: Likewise.
84203         * socket/sys/socket.h: Likewise.
84204         * debug/tst-chk1.c: Likewise.
84205         * wcsmbs/bits/wchar2.h: Likewise.
84206         * wcsmbs/bits/wchar-ldbl.h: Likewise.
84207         * wcsmbs/wchar.h: Likewise.
84209 2012-04-29  Andreas Jaeger  <aj@suse.de>
84211         * Makerules (tests): Remove enable-check-abi protection.
84212         (check-abi-warn): Remove.
84213         (check-abi-%): Remove check-abi-warn usage.
84215         * configure.in: Remove check-abi configure option.
84216         * configure: Regenerated.
84217         * config.make.in (enable-check-abi): Remove.
84219 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
84221         [BZ #14033]
84222         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
84223         double functions to double *_finite functions.
84225         [BZ #13941]
84226         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
84227         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
84228         LDBL_MIN_EXP.
84229         * stdio-common/Makefile (tests): Add tst-sprintf3.
84230         * stdio-common/tst-sprintf3.c: New file.
84232         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
84233         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
84235 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
84237         * conform/conformtest.pl: Remove duplicate typed-constant
84238         handling.
84240 2012-04-28  David S. Miller  <davem@davemloft.net>
84242         * Makerules (%.abilist): Add vpath on sysdep_dirs.
84243         (check-abi-%): Remove AWK script prerequisite and explicit
84244         abilist directory.
84245         (check-abi): Rewrite to just diff the symlist with the abilist.
84246         (config-tls, config-abi-config): Delete, no longer used.
84247         (update-abi-%): Remove AWK script and explicit abilist directory.
84248         (update-abi): Rewrite to simply compare and conditionally copy the
84249         symlist and the sysdep abilist file.  Remove update-abi-config
84250         checks.
84251         * abilist/ld.abilist: Remove.
84252         * abilist/libBrokenLocale.abilist: Remove.
84253         * abilist/libanl.abilist: Remove.
84254         * abilist/libcrypt.abilist: Remove.
84255         * abilist/libdl.abilist: Remove.
84256         * abilist/librt.abilist: Remove.
84257         * abilist/libthread_db.abilist: Remove.
84258         * abilist/libutil.abilist: Remove.
84259         * scripts/extract-abilist.awk: Remove.
84260         * scripts/merge-abilist.awk: Remove.
84261         * sysdeps/generic/libcidn.abilist: New file.
84262         * sysdeps/generic/libnss_compat.abilist: New file.
84263         * sysdeps/generic/libnss_db.abilist: New file.
84264         * sysdeps/generic/libnss_dns.abilist: New file.
84265         * sysdeps/generic/libnss_files.abilist: New file.
84266         * sysdeps/generic/libnss_hesiod.abilist: New file.
84267         * sysdeps/generic/libnss_nis.abilist: New file.
84268         * sysdeps/generic/libnss_nisplus.abilist: New file.
84269         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
84270         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
84271         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
84272         file.
84273         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
84274         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
84275         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
84276         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
84277         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
84278         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
84279         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
84280         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
84281         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
84282         file.
84283         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
84284         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
84285         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
84286         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
84287         file.
84288         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
84289         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
84290         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
84291         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
84292         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
84293         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
84294         file.
84295         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
84296         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
84297         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
84298         file.
84299         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
84300         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
84301         New file.
84302         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
84303         New file.
84304         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
84305         New file.
84306         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
84307         New file.
84308         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
84309         New file.
84310         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
84311         New file.
84312         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
84313         New file.
84314         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
84315         New file.
84316         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
84317         New file.
84318         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
84319         New file.
84320         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
84321         New file.
84322         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
84323         New file.
84324         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
84325         New file.
84326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
84327         file.
84328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
84329         New file.
84330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
84331         New file.
84332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
84333         file.
84334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
84335         New file.
84336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
84337         New file.
84338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
84339         file.
84340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
84341         New file.
84342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84343         New file.
84344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
84345         New file.
84346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
84347         New file.
84348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
84349         New file.
84350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
84351         New file.
84352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
84353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
84354         file.
84355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
84356         New file.
84357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
84358         file.
84359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
84360         file.
84361         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
84362         file.
84363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
84364         file.
84365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
84366         file.
84367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
84368         New file.
84369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
84370         file.
84371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
84372         file.
84373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
84374         New file.
84375         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
84376         file.
84377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
84378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
84379         file.
84380         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
84381         New file.
84382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
84383         file.
84384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
84385         file.
84386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
84387         file.
84388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
84389         file.
84390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
84391         file.
84392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
84393         New file.
84394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
84395         file.
84396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
84397         file.
84398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
84399         New file.
84400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
84401         file.
84402         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
84403         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
84404         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
84405         file.
84406         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
84407         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
84408         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
84409         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
84410         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
84411         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
84412         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
84413         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
84414         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
84415         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
84416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
84417         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
84418         file.
84419         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
84420         New file.
84421         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
84422         file.
84423         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
84424         file.
84425         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
84426         file.
84427         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
84428         file.
84429         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
84430         file.
84431         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
84432         New file.
84433         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
84434         New file.
84435         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
84436         file.
84437         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
84438         New file.
84439         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
84440         file.
84441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
84442         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
84443         file.
84444         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
84445         New file.
84446         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
84447         file.
84448         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
84449         file.
84450         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
84451         file.
84452         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
84453         file.
84454         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
84455         file.
84456         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
84457         New file.
84458         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
84459         New file.
84460         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
84461         file.
84462         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
84463         New file.
84464         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
84465         file.
84467 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
84469         * conform/conformtest.pl: Fix typo in handling typed-constant from
84470         allow-header.
84472 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
84474         * README: Cut down references to pre-2.6 Linux kernels and
84475         Linuxthreads.  Update lists of configurations in libc and ports
84476         and sort alphabetically.  Say "or newer" with Linux kernel version
84477         requirements.
84479         * config.h.in [IS_IN_build]: Allow compiling without optimization.
84481 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
84483         [BZ #887]
84484         * math/libm-test.inc (logb_test_downward): New test to expose
84485         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
84486         rounding mode.
84488 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
84490         [BZ #14027]
84491         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
84492         to be done.
84493         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
84494         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
84496 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
84498         * sysdeps/unix/i386/brk.S: Remove file.
84499         * sysdeps/unix/i386/dl-brk.S: Likewise.
84500         * sysdeps/unix/i386/pipe.S: Likewise.
84501         * sysdeps/unix/i386/sigreturn.S: Likewise.
84502         * sysdeps/unix/i386/syscall.S: Likewise.
84503         * sysdeps/unix/i386/vfork.S: Likewise.
84504         * sysdeps/unix/i386/wait.S: Likewise.
84506         * sysdeps/unix/common/tcsendbrk.c: Move to ...
84507         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
84509         * configure.in (arm*-none*): Do not allow without
84510         --enable-hacker-mode.
84511         (netbsd*): Remove case setting base_os.
84512         (386bsd*): Likewise.
84513         (freebsd*): Likewise.
84514         (bsdi*): Likewise.
84515         (osf*): Likewise.
84516         (sunos*): Likewise.
84517         (ultrix*): Likewise.
84518         (newsos*): Likewise.
84519         (dynix*): Likewise.
84520         (*bsd*): Likewise.
84521         (sysv*): Likewise.
84522         (isc*): Likewise.
84523         (esix*): Likewise.
84524         (sco*): Likewise.
84525         (minix*): Likewise.
84526         (irix4*): Likewise.
84527         (irix6*): Likewise.
84528         (solaris[2-9]*): Likewise.
84529         (none): Likewise.
84530         * configure: Regenerated.
84532 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84534         [BZ #11521]
84535         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
84536         overflow or cancellation in calculating denominator.
84537         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
84538         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
84539         down expression to avoid unexpected rounding in newer GCCs.
84540         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
84542 2012-04-26  David S. Miller  <davem@davemloft.net>
84544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
84545         long-double compat symbols.
84546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
84550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
84552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
84553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
84554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
84555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
84556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
84557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
84558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84560 2012-04-25  David S. Miller  <davem@davemloft.net>
84562         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
84563         HWCAP_* values only after the memory barriers have been defined.
84564         (atomic_full_barrier): Define.
84565         (atomic_read_barrier): Define.
84566         (atomic_write_barrier): Define.
84568 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
84570         * shlib-versions: Add libgcc_s version information.
84571         * sysdeps/generic/libgcc_s.h: Remove.
84572         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
84573         libgcc_s.h.
84574         * sysdeps/gnu/unwind-resume.c: Likewise.
84575         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
84577 2012-04-25  David S. Miller  <davem@davemloft.net>
84579         * sysdeps/unix/sparc/brk.S: Delete.
84580         * sysdeps/unix/sparc/dl-brk.S: Delete.
84581         * sysdeps/unix/sparc/pipe.S: Delete.
84582         * sysdeps/unix/sparc/sysdep.S: Delete.
84583         * sysdeps/unix/sparc/sysdep.h: Delete.
84584         * sysdeps/unix/sparc/vfork.S: Delete.
84585         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
84586         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
84587         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
84588         (ret_ERRVAL, r0, r1, MOVE): Define.
84589         (JUMPTARGET): Remove.
84590         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
84591         sysdeps/unix/sparc/sysdep.h
84592         (ENTRY, END): Remove.
84593         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84595 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
84597         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
84598         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
84599         -DIS_IN_build.
84601         * timezone/README: Update upstream location and email address for
84602         tzcode and tzdata.
84603         * timezone/zdump.c: Update from tzcode 2012b.
84604         * timezone/zic.c: Likewise.
84606         * configure.in (libc_cv_as_needed): Remove test.
84607         * configure: Regenerated.
84608         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
84609         conditional definition.
84610         [$(have-as-needed) != yes] (no-as-needed): Likewise.
84611         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
84612         * config.make.in (have-as-needed): Remove variable.
84614 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
84615             Paul Pluzhnikov  <ppluzhnikov@google.com>
84617         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
84618         strings correctly.
84620 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
84622         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
84623         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
84624         * sysdeps/sh/strlen.S: Likewise.
84626 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84628         * sysdeps/unix/fork.S: Remove file.
84629         * sysdeps/unix/i386/fork.S: Likewise.
84630         * sysdeps/unix/sparc/fork.S: Likewise.
84632         * sysdeps/unix/system.c: Remove file.
84633         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
84635         * sysdeps/unix/getegid.S: Remove file.
84636         * sysdeps/unix/geteuid.S: Likewise.
84638 2012-04-24  Roland McGrath  <roland@hack.frob.com>
84640         * scripts/check-localplt.awk: New file.
84641         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
84642         of diff.
84643         * scripts/data/localplt-generic.data: Add a comment.
84645         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
84646         NODE when __dir_mkfile failed.
84647         * sysdeps/mach/hurd/symlinkat.c: Likewise.
84648         Reported by Ludovic CourtĂšs <ludo@gnu.org>.
84650 2012-04-24  Andreas Jaeger  <aj@suse.de>
84652         * Makerules (common-clean): Also remove gen-as-const-headers
84653         files.
84655 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84657         * Makerules (native-compile): Do not change working directory for
84658         build.  Use $(OUTPUT_OPTION) in command.
84659         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
84661 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84663         [BZ #13886]
84664         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
84665         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
84666         * math/libm-test.inc (floor_test): Add more tests.
84667         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
84669 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84671         * sysdeps/unix/getdents.c: Remove file.
84672         * sysdeps/unix/sysv/getdents.c: Likewise.
84673         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
84675         * sysdeps/unix/syscalls.list (madvise): Add syscall from
84676         sysdeps/unix/mman/syscalls.list.
84677         (mmap): Likewise.
84678         (mprotect): Likewise.
84679         (msync): Likewise.
84680         (munmap): Likewise.
84681         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
84682         * sysdeps/unix/mman/syscalls.list: Remove.
84683         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
84685         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
84686         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
84687         * configure: Regenerated.
84688         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
84689         $(libgcc_s_suffix).
84690         * config.make.in (libgcc_s_suffix): Remove variable.
84692 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
84694         * sysdeps/unix/sysv/gethostname.c: Move to ...
84695         * sysdeps/posix/gethostname.c: ... here.
84697         * sysdeps/unix/execve.S: Remove file.
84699         * sysdeps/unix/_exit.S: Remove file.
84701 2012-04-23  Andreas Jaeger  <aj@suse.de>
84703         [BZ #13739]
84704         * manual/Makefile: Remove make dist support, there's no
84705         need for a stand-alone documentation tar ball.
84706         (TEXI2DVI): Define always, it's not in Makeconfig.
84707         (dist): Removed.
84708         (tar-it): Removed.
84709         (edition): Removed.
84710         (glibc-doc-$(edition).tar): Removed
84711         (%.Z): Removed.
84712         (%.gz): Removed.
84713         (%.uu): Removed.
84714         (ETAGS): Remove, it's in Makeconfig.
84715         (move-if-change): Remove, it's in Makeconfig.
84717 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
84719         [BZ #13970]
84720         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
84721         (strtod, strtof, strtold, strtol, strtoul, strtoq)
84722         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
84723         (strtod_l, strtof_l, strtold_l): Remove __wur.
84724         It is not necessarily an error to ignore strtol's return value.
84725         One can reliably look at the stored endptr to decide whether
84726         the number had valid syntax.
84728 2012-04-21  Andreas Jaeger  <aj@suse.de>
84730         [BZ #13739]
84731         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
84733 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
84735         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
84736         * sysdeps/unix/sysv/Versions: Remove file.
84738 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
84740         [BZ #13927]
84741         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84743 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
84745         [BZ #7064]
84746         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
84747         version from __vm86.
84749 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
84751         * sysdeps/unix/common/lxstat.c: Remove file.
84752         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
84754         * sysdeps/unix/sysv/Makefile: Remove file.
84756         * sysdeps/unix/sysv/direct.h: Remove file.
84758         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
84759         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
84760         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
84761         * sysdeps/unix/sysv/bits/signum.h: Likewise.
84762         * sysdeps/unix/sysv/bits/stat.h: Likewise.
84763         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
84764         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
84766         * sysdeps/unix/sysv/setrlimit.c: Remove file.
84768         * sysdeps/unix/xmknod.c: Remove file.
84769         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
84771         * sysdeps/unix/sysv/settimeofday.c: Remove file.
84773         * sysdeps/unix/sysv/i386/time.S: Remove file.
84775         * sysdeps/unix/fxstat.c: Remove file.
84776         * sysdeps/unix/xstat.c: Likewise.
84777         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
84779         * sysdeps/unix/sysv/sigaction.c: Remove file.
84781         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
84782         (sysdep_headers): Remove variable.
84783         [termio.h not in sysdep_headers] (generated): Likewise.
84784         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
84785         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
84786         * sysdeps/unix/sysv/tcdrain.c: Likewise.
84787         * sysdeps/unix/sysv/tcflow.c: Likewise.
84788         * sysdeps/unix/sysv/tcflush.c: Likewise.
84789         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
84790         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
84791         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
84792         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
84793         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
84795         * sysdeps/unix/siglist.c: Remove file.
84797         * sysdeps/unix/getppid.S: Remove file.
84799         * sysdeps/unix/mkdir.c: Remove file.
84800         * sysdeps/unix/rmdir.c: Likewise.
84802 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
84804         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
84805         ERR_MAX value.
84806         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
84807         errlist-compat value.
84809 2012-04-18  David S. Miller  <davem@davemloft.net>
84811         * sysdeps/generic/memcopy.h (reg_char): Delete.
84812         * debug/strcat_chk.c: Use char, not reg_char.
84813         * debug/strcpy_chk.c: Likewise.
84814         * debug/strncat_chk.c: Likewise.
84815         * debug/strncpy_chk.c: Likewise.
84816         * string/memchr.c: Likewise.
84817         * string/memrchr.c: Likewise.
84818         * string/rawmemchr.c: Likewise.
84819         * string/strcat.c: Likewise.
84820         * string/strchr.c: Likewise.
84821         * string/strchrnul.c: Likewise.
84822         * string/strcmp.c: Likewise.
84823         * string/strcpy.c: Likewise.
84824         * string/strncat.c: Likewise.
84825         * string/strncmp.c: Likewise.
84826         * string/strncpy.c: Likewise.
84828 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84830         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
84831         __builtin_memcopy is called when src and dest ranges are known to not
84832         overlap.
84834 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84836         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
84837         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
84838         fwd_align_merge macro call.
84839         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
84840         bwd_align_merge macro call.
84841         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84843 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84845         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
84846         bwd_align_merge macros.
84847         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
84848         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
84849         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84851 2012-04-18  David S. Miller  <davem@davemloft.net>
84853         * sysdeps/sparc/sparc64/memcopy.h: Delete.
84855 2012-04-18  Andreas Jaeger  <aj@suse.de>
84857         [BZ #6794]
84858         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
84859         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
84860         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84862         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
84863         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
84864         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84866         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
84867         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
84868         Adjust for changed ldbl-128 files.
84870         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
84871         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
84872         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84874 2012-04-17  David S. Miller  <davem@davemloft.net>
84876         * sysdeps/sparc/sparc32/memcopy.h: Delete.
84878 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
84880         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
84881         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
84882         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
84883         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
84884         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
84885         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
84887 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84889         [BZ #6794]
84890         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
84891         * math/libm-test.inc: Add ilogb errno and exception tests.
84892         * math/w_ilogb.c: New file: ilogb wrapper.
84893         * math/w_ilogbf.c: New file: ilogbf wrapper.
84894         * math/w_ilogbl.c: New file: ilogbl wrapper.
84895         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
84896         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
84897         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
84898         exception being thrown with 0.0 as argument.
84899         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
84900         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
84901         exception being thrown with 0.0 as argument.
84902         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
84903         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84904         exception being thrown with 0.0 as argument.
84905         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
84906         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84907         exception being thrown with 0.0 as argument.
84908         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
84909         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
84910         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
84911         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
84912         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
84913         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
84914         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
84915         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
84916         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
84918 2012-04-17  Petr Baudis  <pasky@ucw.cz>
84920         * include/sys/uio.h: Change __vector to __iovec to avoid clash
84921         with altivec.
84923 2012-04-16  Marek Polacek  <polacek@redhat.com>
84925         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
84927 2012-04-16  Marek Polacek  <polacek@redhat.com>
84929         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
84930         operands of fdivp instruction.
84932 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
84934         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
84935         * elf/tst-auditmod3b.c: Likewise.
84936         * elf/tst-auditmod4b.c: Likewise.
84937         * elf/tst-auditmod5b.c: Likewise.
84938         * elf/tst-auditmod6b.c: Likewise.
84939         * elf/tst-auditmod6c.c: Likewise.
84940         * elf/tst-auditmod7b.c: Likewise.
84941         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
84942         * sysdeps/x86_64/preconfigure.in: Likewise.
84943         * sysdeps/x86_64/preconfigure: Regenerated.
84945 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
84947         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
84948         __ILP32__.
84950 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
84952         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
84953         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
84955 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
84957         [BZ #13973]
84958         * locale/iso-639.def: Fix gl language name. Spotted by
84959         Yaron Shahrabani.
84961 2012-04-12  Roland McGrath  <roland@hack.frob.com>
84963         [BZ #2074]
84964         * libio/libio.h (__io_write_fn): Update comment.
84966 2012-04-12  Petr Baudis  <pasky@ucw.cz>
84968         [BZ #2074]
84969         * stdio.texi (Hook Functions): The user provided writer function
84970         is not allowed to return -1.
84972 2012-04-11  David S. Miller  <davem@davemloft.net>
84974         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84976 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
84978         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
84979         Add a leading slash to rtkaio.
84981 2012-04-11  Jim Meyering  <meyering@redhat.com>
84983         [BZ #11959]
84984         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
84985         It is not necessarily an error to ignore fwrite's return
84986         value.  One can reliably use ferror to test for errors after
84987         the fact.
84989 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
84991         * bits/types.h (__snseconds_t): New type.
84992         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
84994         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
84995         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
84996         (__SNSECONDS_T_TYPE): Likewise.
84997         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
84998         (__SNSECONDS_T_TYPE): Likewise.
84999         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
85000         (__SNSECONDS_T_TYPE): Likewise.
85002 2012-04-10  Andreas Jaeger  <aj@suse.de>
85004         [BZ #2636]
85005         * manual/time.texi (Processor Time): Return type of times is
85006         elapsed real time since an arbitrary point in the past.
85007         (CPU Time): Move CLK_TCK from here...
85008         (Processor Time): ...to here.  Correct description.
85009         * manual/conf.texi (Constants for Sysconf): Correct description of
85010         _SC_CLK_TCK.
85012 2012-04-10  David S. Miller  <davem@davemloft.net>
85014         [BZ #13967]
85015         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
85016         where the is a gap between DT_REL(A) and DT_JMPREL.
85018 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
85020         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
85021         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
85022         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
85024 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
85026         * elf/dl-support.c (_dl_inhibit_cache): New variable.
85027         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
85028         (dl_main): Handle --inhibit-cache.
85029         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
85030         _dl_inhibit_cache.
85031         * elf/dl-load.c (_dl_map_object): Use it.
85032         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
85034 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
85036         [BZ #13872]
85037         * sysdeps/i386/fpu/e_powl.S (p78): New object.
85038         (__ieee754_powl): Saturate large exponents rather than testing for
85039         overflow of y*log2(x).
85040         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85041         * math/libm-test.inc (pow_test): Do not permit spurious overflow
85042         exceptions.
85044         [BZ #11521]
85045         * math/s_ctan.c: Include <float.h>.
85046         (__ctan): Avoid internal overflow or cancellation in calculating
85047         denominator.
85048         * math/s_ctanf.c: Likewise.
85049         * math/s_ctanl.c: Likewise.
85050         * math/s_ctanh.c: Likewise.
85051         * math/s_ctanhf.c: Likewise.
85052         * math/s_ctanhl.c: Likewise.
85053         * math/libm-test.inc (ctan_test): Add more tests.
85054         (ctanh_test): Likewise.
85055         * sysdeps/i386/fpu/libm-test-ulps: Update.
85056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85058 2012-04-09  Andreas Jaeger  <aj@suse.de>
85060         [BZ #6894]
85061         * manual/filesys.texi (Directory Entries): Mention that d_namlen
85062         is an optional BSD extension.
85064         [BZ #10254]
85065         * manual/stdio.texi (Opening Streams): Document additional fopen
85066         parameters.
85068 2012-04-09  Roland McGrath  <roland@hack.frob.com>
85070         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
85071         %eax without telling the compiler.
85073 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
85075         [BZ # 13963]
85076         * manual/install.texi: Use sourceware.org.
85078 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
85080         [BZ #13873]
85081         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
85082         (__ieee754_pow): Generate overflow and underflow using huge*huge
85083         and tiny*tiny rather than just returning constant infinity or zero
85084         for large exponents.
85085         * math/libm-test.inc (pow_test): Require overflow exceptions for
85086         applicable cases of large exponents.
85088         [BZ #706]
85089         * sysdeps/i386/fpu/e_pow.S (p10): New object.
85090         (__ieee754_pow): Use iterative multiplication algorithm only for
85091         integer exponents with absolute value below 1024.  Check for odd
85092         integer exponents when using algorithm for real exponents.
85093         * math/libm-test.inc (pow_test): Add more tests.
85094         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
85096 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
85098         [BZ #13705]
85099         * math/libm-test.inc (exp_test): Do not allow overflow exception
85100         on underflow test.
85102 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
85104         [BZ #13705]
85105         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
85106         instead of __kernel_standard_f.
85108 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
85110         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
85111         * sysdeps/x86_64/memset_chk.S: Likewise.
85113 2012-04-08  Andreas Jaeger  <aj@suse.de>
85115         [BZ #10153]
85116         * manual/startup.texi (Environment Access): Describe return value
85117         for putenv and setenv.
85119         [BZ #6895]
85120         * manual/filesys.texi (Directory Entries): Add description for
85121         DT_LNK.
85123         [BZ #6890]
85124         * manual/filesys.texi (Directory Entries): Clarify that it's file
85125         system not operating system in the description of DT_UNKNOWN.
85127         [BZ #6578]
85128         * manual/syslog.texi (closelog): Fix reference, it's openlog.
85130 2012-04-08  Stephen Compall  <s11@member.fsf.org>
85132         [BZ #6649]
85133         * manual/llio.texi (Opening and Closing Files): Add cross
85134         reference to explain mode argument.
85136 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
85138         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
85139         * sysdeps/x86_64/memset_chk.S: Likewise.
85141 2012-04-07  David S. Miller  <davem@davemloft.net>
85143         * elf/elf.h (R_SPARC_WDISP10): Define.
85144         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
85145         R_SPARC_SIZE32.
85146         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
85147         R_SPARC_SIZE64 and R_SPARC_H34.
85149 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
85151         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
85152         conditions and remove no longer applicable assertion.
85154 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
85156         * bits/byteswap.h: Include <features.h>.
85157         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
85158         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
85160 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
85162         * bits/byteswap.h (__bswap_16): Removed.
85163         Include <bits/byteswap-16.h> to get __bswap_16.
85164         * sysdeps/i386/bits/byteswap.h: Likewise.
85165         * sysdeps/s390/bits/byteswap.h: Likewise.
85166         * sysdeps/x86_64/bits/byteswap.h: Likewise.
85167         * bits/byteswap-16.h: New file.
85168         * sysdeps/i386/bits/byteswap-16.h: Likewise.
85169         * sysdeps/s390/bits/byteswap-16.h: Likewise.
85170         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
85171         * string/Makefile (headers): Add bits/byteswap-16.h.
85173 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
85175         [BZ #13895]
85176         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
85177         extra indirection.
85178         * nss/Makefile (tests-static, tests): Add tst-nss-static.
85179         * nss/tst-nss-static.c: New.
85181 2012-04-06  Robert Millan  <rmh@gnu.org>
85183         [BZ #6486]
85184         * manual/llio.texi (File Position Primitive): lseek
85185         refers to WHENCE when it really means OFFSET.
85187 2012-04-06  Andreas Jaeger  <aj@suse.de>
85189         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
85190         strncmp declarations.
85192         * abilist/libc.abilist: Add __poll and __ppoll.
85194 2012-04-05  David S. Miller  <davem@davemloft.net>
85196         * scripts/check-local-headers.sh: Accept a host triplet in the
85197         path matched by the exclude regexp.
85199         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
85200         definition.
85201         * sysdeps/powerpc/powerpc32/dl-machine.h
85202         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
85203         * sysdeps/s390/s390-32/dl-machine.h
85204         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85205         * sysdeps/sparc/sparc32/dl-machine.h
85206         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85207         * sysdeps/sparc/sparc64/dl-machine.h
85208         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85210         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
85211         lazy binding.
85212         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
85213         undefined symbol errors.
85215         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
85216         DT_NEEDED entries.
85218 2012-04-05  Michael Matz  <matz@suse.de>
85220         [BZ #13592]
85221         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
85223 2012-04-05  Andreas Jaeger  <aj@suse.de>
85225         [BZ #13908]
85226         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
85227         comment.
85229 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85231         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
85232         which ROUND is no valid rounding mode.
85234 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85236         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
85237         read again.
85238         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
85240 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85242         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
85243         an exception using FPU order intentionally.
85245 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85247         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
85248         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
85249         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
85250         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
85252 2012-04-05  Simon Josefsson  <simon@josefsson.org>
85254         [BZ #12340]
85255         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
85256         EINVAL when BUFLEN is too smal.
85258 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
85260         [BZ #13553]
85261         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
85262         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
85264 2012-04-03  Andreas Jaeger  <aj@suse.de>
85266         [BZ #13938]
85267         * manual/setjmp.texi (System V contexts): Fix sentence.
85269         [BZ #13926]
85270         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
85271         New macro for this case.
85272         [!__GNUC__] (__bswap_64): New inline function for this case.
85273         * sysdeps/x86_64/bits/byteswap.h: Likewise.
85274         * bits/byteswap.h: Likewise.
85275         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
85276         ull, guard with __GLIBC_HAVE_LONG_LONG.
85278         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
85279         __GLIBC_HAVE_LONG_LONG.
85281         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
85282         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
85284 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85286         [BZ #13691]
85287         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
85288         inptr and inend, rather than using last_ch.
85290 2012-04-02  David S. Miller  <davem@davemloft.net>
85292         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
85293         * stdio-common/printf-parse.h (read_int): Change return type to
85294         'int', return -1 on INT_MAX overflow.
85295         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
85296         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
85297         overflows INT_MAX.  Check for overflow of in-format-string precision
85298         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
85299         SIZE_MAX not INT_MAX for integer overflow test.
85300         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
85301         skip the construct in the format string but do not record anything.
85302         * stdio-common/bug22.c: Adjust to test both width/prevision
85303         INT_MAX overflow as well as total length INT_MAX overflow.  Check
85304         explicitly for proper errno values.
85306 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
85308         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
85309         CHAR_MAX.
85310         * string/test-strcmp.c [! WIDE]: Likewise.
85311         * time/tst-mktime2.c: Likewise for INT_MAX.
85312         * string/test-string.h: #include <sys/param.h> for MIN.
85314         * csu/init-first.c (__libc_init_first): Call __ctype_init.
85315         * sysdeps/i386/init-first.c (init): Likewise.
85316         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
85317         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
85318         * sysdeps/sh/init-first.c (init): Likewise.
85320 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
85322         * po/ru.po: Update from translation team.
85323         * po/vi.po: Likewise.
85325 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
85327         * resolv/nss_dns/dns-host.c: Merge copyright years.
85329 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85331         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85332         Optimize memcpy with prefetch if
85333         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
85334         src, dst pointers have unequal 16 byte alignments.
85336 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
85338         [BZ #13928]
85339         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
85340         from a CNAME entry and return the minimum ttl for the query.
85341         (gaih_getanswer_slice): Likewise.
85343 2012-03-30  Jeff Law  <law@redhat.com>
85345         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
85346         due to long keys.
85347         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
85348         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
85350         * resolv/nss_dns/dns-host.c: Update copyright year.
85352 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
85354         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
85355         requests to save a system call.  Fix check that all bytes are sent.
85357         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
85358         comments for sendmmsg.
85360 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
85362         [BZ #13691]
85363         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
85364         with only 1 character between 0x0041 and 0x01b0.
85365         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
85366         * wcsmbs/tst-mbsnrtowcs.c: New file.
85368 2012-03-29  David S. Miller  <davem@davemloft.net>
85370         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
85371         small copies by hand.
85373 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
85375         [BZ #13761]
85376         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
85377         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
85378         group memberships.
85380 2012-03-28  David S. Miller  <davem@davemloft.net>
85382         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
85383         that branches into memcpy.
85384         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
85385         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
85386         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
85387         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
85388         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
85389         bits.
85390         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
85391         implementation too.
85392         * sysdeps/sparc/mempcpy.S: New file.
85394         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
85395         the IFUNC routine in the libc case.
85396         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85398         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
85399         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
85400         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
85401         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
85402         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
85403         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
85404         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
85405         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
85407         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
85408         loop to 256 bytes instead of 64 bytes and fix test signedness.
85410         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
85411         * sysdeps/sparc/sparc32/Makefile: rather than here...
85412         * sysdeps/sparc/sparc64/Makefile: and here.
85414 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
85416         * malloc/mallocbug.c: Avoid warnings about unused variables.
85418 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
85420         [BZ #13760]
85421         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
85422         in the right place. Discard and retry query if response is
85423         larger than input buffer size.
85425 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
85427         [BZ #369]
85428         [BZ #2678]
85429         [BZ #3866]
85430         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
85431         x for large integer exponent.
85432         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
85433         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
85434         sign of result as needed afterwards.
85435         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
85436         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
85437         result for underflowing pow the same as for overflow.
85438         (__kernel_standard_l): Handle powl overflow and underflow here
85439         rather than calling __kernel_standard.
85440         * math/libm-test.inc (pow_test): Add more tests.
85442         [BZ #3868]
85443         [BZ #13879]
85444         [BZ #13910]
85445         [BZ #13911]
85446         [BZ #13912]
85447         [BZ #13913]
85448         [BZ #13915]
85449         [BZ #13916]
85450         [BZ #13917]
85451         [BZ #13918]
85452         [BZ #13919]
85453         [BZ #13920]
85454         [BZ #13921]
85455         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
85456         * sysdeps/ieee754/k_standard.c: Include <float.h>.
85457         (__kernel_standard_l): New function.
85458         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
85459         __kernel_standard.
85460         * math/w_acosl.c (__acosl): Likewise.
85461         * math/w_asinl.c (__asinl): Likewise.
85462         * math/w_atan2l.c (__atan2l): Likewise.
85463         * math/w_atanhl.c (__atanhl): Likewise.
85464         * math/w_coshl.c (__coshl): Likewise.
85465         * math/w_exp10l.c (__exp10l): Likewise.
85466         * math/w_exp2l.c (__exp2l): Likewise.
85467         * math/w_fmodl.c (__fmodl): Likewise.
85468         * math/w_hypotl.c (__hypotl): Likewise.
85469         * math/w_j0l.c (__j0l, __y0l): Likewise.
85470         * math/w_j1l.c (__j1l, __y1l): Likewise.
85471         * math/w_jnl.c (__jnl, __ynl): Likewise.
85472         * math/w_lgammal.c (__lgammal): Likewise.
85473         * math/w_log10l.c (__log10l): Likewise.
85474         * math/w_log2l.c (__log2l): Likewise.
85475         * math/w_logl.c (__logl): Likewise.
85476         * math/w_powl.c (__powl): Likewise.
85477         * math/w_remainderl.c (__remainderl): Likewise.
85478         * math/w_scalbl.c (sysv_scalbl): Likewise.
85479         * math/w_sinhl.c (__sinhl): Likewise.
85480         * math/w_sqrtl.c (__sqrtl): Likewise.
85481         * math/w_tgammal.c (__tgammal): Likewise.
85482         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
85483         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
85484         * math/libm-test.inc (acos_test): Add more tests.
85485         (acosh_test): Likewise.
85486         (asin_test): Likewise.
85487         (atanh_test): Likewise.
85488         (exp_test): Likewise.
85489         (exp10_test): Likewise.
85490         (exp2_test): Likewise.
85491         (expm1_test): Likewise.
85492         (lgamma_test): Likewise.
85493         (log_test): Likewise.
85494         (log10_test): Likewise.
85495         (log1p_test): Likewise.
85496         (log2_test): Likewise.
85497         (pow_test): Do not allow some spurious overflow exceptions.
85498         (sqrt_test): Add more tests.
85499         (tgamma_test): Likewise.
85500         (y0_test): Likewise.
85501         (y1_test): Likewise.
85502         (yn_test): Likewise.
85504 2012-03-27  Anton Blanchard  <anton@samba.org>
85506         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
85507         MAP_HUGETLB.
85508         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
85509         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
85510         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
85512 2012-03-27  David S. Miller  <davem@davemloft.net>
85514         * conform/Makefile: Run run-conformtest.sh using $(BASH).
85516         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
85517         have-as-vis3 check.
85519 2012-03-27  Andreas Jaeger  <aj@suse.de>
85521         * sysdeps/x86_64/elf/configure.in: Moved to ...
85522         * sysdeps/x86_64/configure.in: ... here.
85523         * sysdeps/x86_64/elf/start.S: Moved to ...
85524         * sysdeps/x86_64/start.S: ... here.
85525         * sysdeps/x86_64/elf/configure: Delete.
85527         * sysdeps/x86_64/configure.in: Merge contents from
85528         sysdeps/i386/configure.in (without i686 check).
85530         * sysdeps/i386/elf/Versions: Merge into ...
85531         * sysdeps/i386/Versions: ... this.
85532         * sysdeps/i386/elf/Versions: Delete file.
85533         * sysdeps/i386/elf/start.S: Moved to ...
85534         * sysdeps/i386/start.S: ...here.
85535         * sysdeps/i386/elf/configure.in: Merge into...
85536         * sysdeps/i386/configure.in: ...here.
85537         * sysdeps/i386/elf/configure.in: Delete file.
85538         * sysdeps/i386/elf/configure: Delete file.
85540         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
85541         * debug/backtracesyms.c: ... here.
85542         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
85543         * debug/backtracesymsfd.c: ... here.
85544         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
85545         * sysdeps/generic/ifunc-sel.h: ... here.
85547         * sysdeps/unix/i386/start.c: Delete file.
85548         * sysdeps/unix/sparc/start.c: Delete file.
85549         * sysdeps/unix/start.c: Delete file.
85551         * sysdeps/sh/elf/configure.in: Moved to ...
85552         * sysdeps/sh/configure.in: ... here.
85553         * sysdeps/sh/elf/start.S: Moved to ...
85554         * sysdeps/sh/start.S: ... here.
85555         * sysdeps/sh/elf/configure: Delete file.
85557         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
85558         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
85559         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
85560         * sysdeps/powerpc/powerpc64/entry.h: ... here.
85561         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
85562         * sysdeps/powerpc/powerpc64/start.S: here.
85563         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
85564         * sysdeps/powerpc/powerpc64/Makefile: ... this.
85565         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
85566         * sysdeps/powerpc/powerpc64/configure.in: ... this.
85567         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
85569         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
85570         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
85571         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
85572         * sysdeps/powerpc/powerpc32/start.S: ... here.
85573         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
85574         * sysdeps/powerpc/powerpc32/configure.in: ... this.
85575         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
85577         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
85578         * sysdeps/powerpc/ifunc-sel.h: ... here.
85579         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
85580         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
85582         * sysdeps/sparc/elf/configure.in: Moved to ...
85583         * sysdeps/sparc/configure.in: ... here.
85584         * sysdeps/sparc/elf/configure: Delete file.
85585         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
85586         * sysdeps/sparc/sparc32/start.S: ... here.
85587         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
85588         * sysdeps/sparc/sparc64/start.S: ... here.
85589         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
85590         * sysdeps/sparc/sparc32/Makefile: ... this.
85591         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
85592         * sysdeps/sparc/sparc64/Makefile: ... this.
85594         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
85595         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
85596         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
85597         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
85598         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
85599         * sysdeps/s390/s390-32/setjmp.S: ... here.
85600         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
85601         * sysdeps/s390/s390-32/configure.in: ... here.
85602         * sysdeps/s390/s390-32/elf/configure: Delete file.
85603         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
85604         * sysdeps/s390/s390-32/start.S: ... here.
85606         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
85607         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
85608         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
85609         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
85610         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
85611         * sysdeps/s390/s390-64/setjmp.S: ... here.
85612         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
85613         * sysdeps/s390/s390-64/configure.in: ... here
85614         * sysdeps/s390/s390-64/elf/configure: Delete file.
85615         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
85616         * sysdeps/s390/s390-64/start.S: ... here.
85617         * sysdeps/s390/s390-64/elf/configure: Delete.
85619         * configure.in: Remove support for elf directories in sysdeps.
85621         * configure: Regenerated.
85622         * sysdeps/i386/configure: Regenerated.
85623         * sysdeps/powerpc/powerpc32/configure: Regenerated.
85624         * sysdeps/powerpc/powerpc64/configure: Regenerated.
85625         * sysdeps/s390/s390-32/configure: Regenerated.
85626         * sysdeps/s390/s390-64/configure: Regenerated.
85627         * sysdeps/sh/configure: Regenerated.
85628         * sysdeps/sparc/configure: Regenerated.
85629         * sysdeps/x86_64/configure: Regenerated.
85631 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
85633         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85635         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
85636         denormal result into account.
85638 2012-03-25  Roland McGrath  <roland@hack.frob.com>
85640         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
85641         Reported by Allan McRae <allan@archlinux.org>.
85643 2012-03-23  Jeff Law  <law@redhat.com>
85645         * nss/getnssent.c (__nss_getent): Fix typo.
85647 2012-03-23  David S. Miller  <davem@davemloft.net>
85649         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85651 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
85653         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
85654         to pad to uint64_t for each field.
85655         (dl_tls_index): Replace unsigned long with uint64_t.
85657 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
85658         Paul Pluzhnikov  <ppluzhnikov@google.com>
85660         [BZ #6528]
85661         * grp/Makefile (otherlibs): Don't set it.
85662         * inet/Makefile (otherlibs): Likewise.
85663         * login/Makefile (otherlibs): Likewise.
85664         * nscd/Makefile (otherlibs): Likewise.
85665         * posix/Makefile (otherlibs): Likewise.
85666         * pwd/Makefile (otherlibs): Likewise.
85667         * rt/Makefile (otherlibs): Likewise.
85668         * sunrpc/Makefile (otherlibs): Likewise.
85669         * nss/Makefile (otherlibs): Likewise.
85670         Add libnss_files to routines and static-only-routines.
85671         ($(objpfx)getent): Remove rule.
85672         * resolv/Makefile: Add libnss_dns and libresolv to routines and
85673         static-only-routines.
85675 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
85677         [BZ #13892]
85678         * math/s_cexp.c: Include <float.h>.
85679         (__cexp): Handle exp result overflowing not necessarily
85680         overflowing both real and imaginary parts of result.
85681         * math/s_cexpf.c: Likewise.
85682         * math/s_cexpl.c: Likewise.
85683         * math/libm-test.inc (cexp_test): Add more tests.
85684         * sysdeps/i386/fpu/libm-test-ulps: Update.
85685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85687 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85689         * include/link.h (ELFW): New macro.
85690         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
85691         Replace ELF64_R_TYPE with ELFW(R_TYPE).
85693 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85695         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
85696         with uint64_t.
85698 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85700         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
85701         declaration.
85702         (struct La_x32_retval): Likewise.
85704 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85706         * sysdeps/x86_64/preconfigure.in: New file.
85707         * sysdeps/x86_64/preconfigure: New generated file.
85709 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
85711         [BZ #13824]
85712         * math/e_exp2l.c: Include <float.h>.
85713         (__ieee754_exp2l): Handle overflow and underflow cases
85714         separately.  Only pass fractional part of argument to
85715         __ieee754_expl.
85716         * math/libm-test.inc (exp2_test): Add more tests.
85718         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
85719         negating x to take absolute value.
85720         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
85721         Likewise.
85722         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
85723         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
85724         Likewise.
85725         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
85726         computing low part if x was negated.
85727         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
85729 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85731         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
85732         la_x32_gnu_pltexit.
85733         (pltexit): Cast int_retval to ptrdiff_t.
85734         * elf/tst-auditmod3b.c: Likewise.
85735         * elf/tst-auditmod4b.c: Likewise.
85736         * elf/tst-auditmod5b.c: Likewise.
85737         * elf/tst-auditmod6b.c: Likewise.
85738         * elf/tst-auditmod6c.c: Likewise.
85739         * elf/tst-auditmod7b.c: Likewise.
85741         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
85742         and x32_gnu_pltexit.
85744         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
85745         __ELF_NATIVE_CLASS.
85746         (La_x32_regs): New macro.
85747         (La_x32_retval): Likewise.
85748         (la_x32_gnu_pltenter): New function prototype.
85749         (la_x32_gnu_pltexit): Likewise.
85751 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
85753         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
85754         exponent.
85756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85758         * configure.in (libc_cv_cc_nofma): Check for option to disable
85759         generation of FMA instructions.
85760         * configure: Regenerate.
85761         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
85762         * sysdeps/ieee754/dbl-64/Makefile: New file.
85763         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
85764         Remove brandred-fma4.
85765         (CFLAGS-brandred-fma4.c): Remove.
85766         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
85767         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
85768         define.
85769         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
85770         define.
85772 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85774         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
85775         LLONG_MAX != LONG_MAX.
85776         (_itoa_word): Use _ITOA_WORD_TYPE on value.
85777         (_fitoa_word): Likewise.
85778         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
85779         LLONG_MAX != LONG_MAX.
85780         * stdio-common/_itowa.h: Include <_itoa.h>.
85781         (_itowa_word): Use _ITOA_WORD_TYPE on value.
85782         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
85783         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
85784         only if not defined.
85785         (_ITOA_WORD_TYPE): Likewise.
85786         (_itoa_word): Use _ITOA_WORD_TYPE on value.
85787         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
85789 2012-03-21  David S. Miller  <davem@davemloft.net>
85791         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85793 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85795         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
85796         of x86_64 when setting libc_cv_slibdir, libdir and
85797         libc_cv_localedir.
85798         * sysdeps/unix/sysv/linux/configure: Regenerated.
85800 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85802         * manual/lang.texi (Old Varargs): Remove section.
85803         (How Variadic): Update menu.
85804         (va_start): Do not mention varargs.h.
85806 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
85807             Joseph Myers  <joseph@codesourcery.com>
85809         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
85810         link test.
85811         * configure: Regenerated.
85813 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
85815         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
85816         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
85817         conformtest.pl
85819 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85821         * NOTES: Remove.
85822         * Makefile (files-for-dist): Remove NOTES.
85823         (NOTES): Remove rule.
85824         * README: Don't refer to NOTES.
85825         * manual/creature.texi: Don't include macros.texi.
85826         * manual/intro.texi (creature.texi): Remove comment referring to
85827         NOTES.
85829         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
85830         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
85831         * configure: Regenerated.
85832         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
85833         LIBC_TRY_CC_OPTION.
85834         (libc_cv_as_i686): Likewise.
85835         (libc_cv_cc_avx): Likewise.
85836         (libc_cv_cc_sse2avx): Likewise.
85837         (libc_cv_cc_fma4): Likewise.
85838         (libc_cv_cc_novzeroupper): Likewise.
85839         * sysdeps/i386/configure: Regenerated.
85841         [BZ #13883]
85842         * sysdeps/i386/fpu/s_cexp.S: Remove.
85843         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85844         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85845         * math/libm-test.inc (cexp_test): Add more tests.
85846         * sysdeps/i386/fpu/libm-test-ulps: Update.
85847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85849 2012-03-21  Allan McRae  <allan@archlinux.org>
85851         * timezone/Makefile: Do not install iso3166.tab and zone.tab
85853 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85855         [BZ #13871]
85856         * math/w_exp2.c: Do not include <float.h>.
85857         (o_threshold, u_threshold): Remove.
85858         (__exp2): Calculate result before checking finiteness and calling
85859         __kernel_standard.
85860         * math/w_exp2f.c: Likewise.
85861         * math/w_exp2l.c: Likewise.
85862         * math/libm-test.inc (exp2_test): Require overflow exception for
85863         1e6 input.
85865         [BZ #3866]
85866         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
85867         range of signed 64-bit integers before using fistpll.  Remove
85868         checks for whether integers fit in mantissa bits.
85869         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
85870         the range of signed 32-bit integers before using fistpl.  Remove
85871         checks for whether integers fit in mantissa bits.
85872         * sysdeps/i386/fpu/e_powl.S (p64): New object.
85873         (__ieee754_powl): Test for y outside the range of signed 64-bit
85874         integers before using fistpll.  Reduce 64-bit values to 63-bit
85875         ones as needed.
85876         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
85877         divide-by-zero is raised for zero to large negative powers.
85878         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
85879         (__ieee754_powl): Test for y outside the range of signed 64-bit
85880         integers before using fistpll.  Reduce 64-bit values to 63-bit
85881         ones as needed.
85882         * math/libm-test.inc (pow_test): Add more tests.
85884 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85886         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
85887         <stdio-common/_itoa.h>.
85888         * debug/segfault.c: Likewise.
85889         * elf/dl-cache.c: Likewise.
85890         * elf/dl-minimal.c: Likewise.
85891         * elf/dl-misc.c: Likewise.
85892         * elf/dl-sysdep.c: Likewise.
85893         * elf/dl-version.c: Likewise.
85894         * elf/rtld.c: Likewise.
85895         * hurd/hurdsock.c: Likewise.
85896         * hurd/lookup-retry.c: Likewise.
85897         * malloc/malloc.c: Likewise.
85898         * malloc/mtrace.c: Likewise.
85899         * nscd/nscd_getgr_r.c: Likewise.
85900         * nscd/nscd_getpw_r.c: Likewise.
85901         * nscd/nscd_getserv_r.c: Likewise.
85902         * posix/getopt_init.c: Likewise.
85903         * posix/wordexp.c: Likewise.
85904         * stdio-common/_itoa.c: Likewise.
85905         * stdio-common/printf_fphex.c: Likewise.
85906         * stdio-common/vfprintf.c: Likewise.
85907         * string/_strerror.c: Likewise.
85908         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
85909         * sysdeps/i386/i686/hp-timing.h: Likewise.
85910         * sysdeps/mach/_strerror.c: Likewise.
85911         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
85912         * sysdeps/mach/hurd/sethostid.c: Likewise.
85913         * sysdeps/mach/hurd/xmknodat.c: Likewise.
85914         * sysdeps/mach/xpg-strerror.c: Likewise.
85915         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
85916         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
85917         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
85918         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
85919         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
85920         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
85921         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
85922         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
85923         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
85924         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
85925         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
85926         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
85927         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
85928         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
85929         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
85930         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
85931         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
85932         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
85933         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
85934         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
85935         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
85937         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
85939         * stdio-common/_itoa.h: Moved to ...
85940         * sysdeps/generic/_itoa.h: Here.
85942         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
85944         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
85945         instead of "_itoa.h" and "_itowa.h".
85946         * stdio-common/vfprintf.: Likewise.
85948 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85950         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
85951         <bits/wordsize.h>.
85952         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
85953         (__signbit): Likewise.
85954         (llrintf): Likewise.
85955         (llrint): Likewise.
85957 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85959         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
85960         __WORDSIZE != 64.
85962 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
85964         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
85965         OVERFLOW_EXCEPTION_OK.
85966         * math/libm-test.inc ("Philosophy"): Update comment about
85967         exception testing.
85968         (OVERFLOW_EXCEPTION): Define.
85969         (OVERFLOW_EXCEPTION_OK): Likewise.
85970         (INVALID_EXCEPTION_OK): Renumber.
85971         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
85972         (IGNORE_ZERO_INF_SIGN): Likewise.
85973         (test_exceptions): Handle FE_OVERFLOW.
85974         (exp10_test): Expect overflow exceptions.
85975         (exp2_test): Likewise.
85976         (expm1_test): Likewise.
85977         (nextafter_test): Likewise.
85978         (pow_test): Likewise.
85979         (scalbn_test): Likewise.
85980         (scalbln_test): Likewise.
85982 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85984         * sysdeps/x86_64/bits/atomic.h
85985         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
85986         64bit integer.
85987         (atomic_exchange_acq): Likewise.
85988         (__arch_exchange_and_add_body): Likewise.
85989         (__arch_add_body): Likewise.
85990         (atomic_add_negative): Likewise.
85991         (atomic_add_zero): Likewise.
85993 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85995         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
85996         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
85998 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86000         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
86001         Check __x86_64__ instead of __WORDSIZE.
86003 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86005         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
86007 2012-03-19  David S. Miller  <davem@davemloft.net>
86009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86011         * sysdeps/sparc/fpu/fenv_private.h: New file.
86012         * sysdeps/sparc/fpu/math_private.h: Use it.
86013         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
86014         Remove.
86015         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
86016         (libc_feholdexcept_setroundl): Remove.
86017         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
86018         Remove.
86019         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
86020         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
86022 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86024         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
86025         int64_t instead of long int.
86026         (INSERT_WORDS64): Likewise.
86028 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86030         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
86031         _Unwind_GetCFA return to _Unwind_Ptr first.
86033 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
86035         [BZ #13629]
86036         * math/s_clog.c: Include <float.h>.
86037         (__clog): Scale large or subnormal inputs.
86038         * math/s_clogf.c: Likewise.
86039         * math/s_clogl.c: Likewise.
86040         * math/s_clog10.c: Include <float.h>.
86041         (M_LOG10_2): Define.
86042         (__clog10): Scale large or subnormal inputs.
86043         * math/s_clog10f.c: Likewise.
86044         * math/s_clog10l.c: Likewise.
86045         * math/libm-test.inc (clog_test): Add more tests.
86046         (clog10_test): Likewise.
86047         * sysdeps/i386/fpu/libm-test-ulps: Update.
86048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86050         [BZ #11451]
86051         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
86052         x and y.
86053         * math/libm-test.inc (atan2_test): Add another test.
86055         * Makerules (common-objdir-compile): Remove.
86056         * sysdeps/unix/Makefile (config-generated): Do not add
86057         $(unix-generated) to variable.
86058         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
86059         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
86060         Remove rule.
86061         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
86062         Likewise.
86063         [generic bits/local_lim.h] (before-compile): Do not append to
86064         variable.
86065         [generic bits/local_lim.h] (common-generated): Likewise.
86066         [generic sys/param.h] (before-compile): Do not append to variable.
86067         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
86068         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
86069         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
86070         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
86071         include.
86072         [generic sys/param.h] (sys/param.h-includes): Remove variable.
86073         [generic sys/param.h] (sys/param.h-includes): Remove rule.
86074         [generic sys/param.h] ($(addprefix
86075         $(common-objpfx),$(sys/param.h-includes))): Likewise.
86076         [generic sys/param.h] (common-generated): Do not append to
86077         variable.
86078         [generic sys/param.h] (sysdep_headers): Likewise.
86079         [generic bits/errno.h] (before-compile): Do not append to
86080         variable.
86081         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
86082         rule.
86083         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
86084         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
86085         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
86086         [generic bits/errno.h] (common-generated): Do not append to
86087         variable.
86088         [generic bits/ioctls.h] (before-compile): Do not append to
86089         variable.
86090         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
86091         rule.
86092         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
86093         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
86094         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
86095         rule.
86096         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
86097         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
86098         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
86099         [generic bits/ioctls.h] (common-generated): Do not append to
86100         variable.
86101         [generic sys/syscall.h] (syscall.h): Remove variable.
86102         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
86103         rule.
86104         [generic sys/syscall.h] (before-compile): Do not append to
86105         variable.
86106         [generic sys/syscall.h] (common-generated): Likewise.
86107         * sysdeps/unix/errnos-tmpl.c: Remove file.
86108         * sysdeps/unix/errnos.awk: Likewise.
86109         * sysdeps/unix/ioctls-tmpl.c: Likewise.
86110         * sysdeps/unix/ioctls.awk: Likewise.
86111         * sysdeps/unix/mk-local_lim.c: Likewise.
86112         * sysdeps/unix/snarf-ioctls: Likewise.
86114 2012-03-19  Richard Henderson  <rth@twiddle.net>
86116         * sysdeps/i386/fpu/fenv_private.h: New file.
86117         * sysdeps/i386/fpu/math_private.h: Use it.
86118         (math_opt_barrier, math_force_eval): Remove.
86119         (libc_feholdexcept_setround_53bit): Remove.
86120         (libc_feupdateenv_53bit): Remove.
86121         * sysdeps/x86_64/fpu/math_private.h: Likewise.
86122         (math_opt_barrier, math_force_eval): Remove.
86123         (libc_feholdexcept): Remove.
86124         (libc_feholdexcept_setround): Remove.
86125         (libc_fetestexcept, libc_fesetenv): Remove.
86126         (libc_feupdateenv_test): Remove.
86127         (libc_feupdateenv, libc_feholdsetround): Remove.
86128         (libc_feresetround): Remove.
86130         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
86131         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
86133         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
86134         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
86135         (libc_feupdateenv_testl): New.
86136         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
86137         (libc_feupdateenv_testf): New.
86138         (libc_feupdateenv): Use libc_feupdateenv_test.
86139         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
86140         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
86142         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
86143         (libc_feholdsetroundf, libc_feholdsetroundl): New.
86144         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
86145         (libc_feresetround_noex): New.
86146         (libc_feresetround_noexf): New.
86147         (libc_feresetround_noexl): New.
86148         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
86149         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
86150         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
86151         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
86152         SET_RESTORE_ROUND.
86153         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
86154         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
86155         (__cos): Likewise.
86156         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
86157         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
86158         SET_RESTORE_ROUND_NOEX.
86159         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
86160         SET_RESTORE_ROUND_NOEXF.
86161         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
86162         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
86163         (libc_feholdsetroundf): New.
86164         (libc_feresetround, libc_feresetroundf): New.
86166         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
86167         (libc_feholdexcept_setround_53bit): Convert from macro to function.
86168         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
86170         * sysdeps/generic/math_private.h: Include <fenv.h>.
86171         (default_libc_feholdexcept): New.
86172         (default_libc_feholdexcept_setround): New.
86173         (default_libc_fesetenv, default_libc_feupdateenv): New.
86174         (libc_feholdexcept): Only define if undefined.
86175         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
86176         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
86177         (libc_feholdexcept_setroundl): Likewise.
86178         (libc_feholdexcept_setround_53bit): Likewise.
86179         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
86180         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
86181         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
86182         (libc_feupdateenv_53bit): Likewise.
86183         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
86184         (libc_feholdexcept): Convert from macro to inline function.
86185         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
86186         (libc_fesetenv, libc_feupdateenv): Likewise.
86188         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
86189         not previously defined.
86190         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
86191         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
86192         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
86193         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
86194         * sysdeps/ieee754/flt-32/math_private.h: New file.
86195         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
86196         math_private.h below SET_FLOAT_WORD.
86197         (__isnan, __isinf_ns, __finite): Remove.
86198         (__isnanf, __isinf_nsf, __finitef): Remove.
86200 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
86202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86204 2012-03-17  David S. Miller  <davem@davemloft.net>
86206         [BZ #6471]
86207         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
86208         for 2.16.
86210 2012-03-16  David S. Miller  <davem@davemloft.net>
86212         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
86213         warnings.
86215         [BZ #6471]
86216         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
86217         properly.
86218         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
86219         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
86220         sysdep_routines when subdir is sysvipc.
86221         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
86222         __getshmlba helper.
86224         * sysdeps/sparc/fpu/libm-test/ulps: Update.
86226 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86228         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
86229         [__LP64__].
86231 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86233         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
86234         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
86235         (__lround): Renamed to ...
86236         (__llround): This.  Replace long int with long long int.
86237         Define lround functions as aliases of llround functions.
86238         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
86240 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86242         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
86243         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
86244         adresses to uintptr_t.  Replace "long int" and "unsigned long
86245         int" with "greg_t" on va_arg.
86247 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86249         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
86250         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
86252         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
86253         Move e_machine check before EI_CLASS check.  Handle x32
86254         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
86255         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
86256         SKIP_EM_IA_64 and include
86257         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
86259         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
86260         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
86261         (add_system_dir): New macro.
86263         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
86264         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
86266 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
86268         [BZ #2551]
86269         [BZ #2552]
86270         [BZ #2553]
86271         [BZ #2554]
86272         [BZ #2562]
86273         [BZ #2563]
86274         [BZ #2565]
86275         [BZ #2566]
86276         [BZ #2576]
86277         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
86278         (y0): Likewise.
86279         * math/w_j0f.c (j0f): Likewise.
86280         (y0f): Likewise.
86281         * math/w_j0l.c (__j0l): Likewise.
86282         (__y0l): Likewise.
86283         * math/w_j1.c (j1): Likewise.
86284         (y1): Likewise.
86285         * math/w_j1f.c (j1f): Likewise.
86286         (y1f): Likewise.
86287         * math/w_j1l.c (__j1l): Likewise.
86288         (__y1l): Likewise.
86289         * math/w_jn.c (jn): Likewise.
86290         (yn): Likewise.
86291         * math/w_jnf.c (jnf): Likewise.
86292         (ynf): Likewise.
86293         * math/w_jnl.c (__jnl): Likewise.
86294         (__ynl): Likewise.
86295         * math/libm-test.inc (j0_test): Add more tests.
86296         (j1_test): Likewise.
86297         (jn_test): Likewise.  Add trailing semicolon to existing test.
86298         (y0_test): Likewise.
86299         (y1_test): Likewise.
86300         * sysdeps/i386/fpu/libm-test-ulps: Update.
86301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86303         [BZ #13851]
86304         [BZ #13854]
86305         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
86306         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
86307         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
86308         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
86309         (__tanl): Set errno for infinite argument.
86310         * sysdeps/i386/fpu/mptan.c: Remove.
86311         * sysdeps/i386/fpu/s_tan.S: Likewise.
86312         * sysdeps/i386/fpu/s_tanl.S: Likewise.
86313         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
86314         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
86315         * math/libm-test.inc (tan_test): Add more tests and enable more
86316         tests for double and long double.
86317         * sysdeps/i386/fpu/libm-test-ulps: Update.
86318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86320 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
86322         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
86323         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
86325 2012-03-16  Roland McGrath  <roland@hack.frob.com>
86327         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
86328         * configure.in: Use it for both main tree and add-ons.
86329         * configure: Regenerated.
86331 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86333         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
86335 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
86337         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
86338         in comment.
86340         [BZ #13851]
86341         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
86342         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
86343         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
86344         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
86345         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
86346         infinite argument.
86347         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
86348         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
86349         != 0 for prec == 2.
86350         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
86351         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
86352         * sysdeps/i386/fpu/s_cosl.S: Likewise.
86353         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
86354         * sysdeps/i386/fpu/s_sinl.S: Likewise.
86355         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
86356         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
86357         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
86358         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
86359         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
86360         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
86361         * math/libm-test.inc (cos_test): Add more tests and enable more
86362         tests for long double.
86363         (sin_test): Likewise.
86364         (sincos_test): Likewise.
86365         * sysdeps/i386/fpu/libm-test-ulps: Update.
86366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86368 2012-03-16  David S. Miller  <davem@davemloft.net>
86370         * sysdeps/sparc/fpu/math_private.h: New file.
86372 2012-03-15  David S. Miller  <davem@davemloft.net>
86374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
86375         file.
86376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
86377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
86378         file.
86379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
86380         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
86381         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
86382         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
86383         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
86384         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
86385         sysdep routines.
86386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86388         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
86389         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
86391         * sysdeps/sparc/sparc-ifunc.h: New file.
86392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
86393         sparc-ifunc.h
86394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
86395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
86396         Likewise.
86397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
86398         Likewise.
86399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
86400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
86401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
86402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
86403         Likewise.
86404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
86405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
86406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
86407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
86408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
86409         Likewise.
86410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
86411         Likewise.
86412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
86413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
86414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
86415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
86416         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
86417         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
86418         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
86419         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
86420         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
86421         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
86422         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
86423         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
86424         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
86425         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
86426         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
86427         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
86428         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
86429         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
86430         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
86431         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
86432         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
86433         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
86434         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
86435         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
86437 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
86439         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
86440         scaling.
86441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86443 2012-03-15  Andreas Jaeger  <aj@suse.de>
86445         [BZ #13852]
86446         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
86447         ieee754/flt-32 implementation for sin, cos and sincos.
86448         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
86449         * sysdeps/i386/fpu/s_cosf.S: Likewise.
86450         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
86451         * sysdeps/i386/fpu/s_sinf.S: Likewise.
86452         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
86453         ieee754/flt-32 implementation for tan.
86455         * math/libm-test.inc (cos_test): Enable some large input tests for
86456         float as well
86457         (sin_test): Likewise.
86458         (sincos_test): Likewise.
86459         (tan_test): Add tests for large input.
86461         * sysdeps/i386/fpu/libm-test-ulps: Update.
86463 2012-03-15  Andreas Jaeger  <aj@suse.de>
86465         [BZ #13658]
86466         * math/libm-test.inc (cos_test): Add more test cases.
86467         (sin_test): Likewise.
86468         (sincos_test): Likewise.
86470 2012-03-15  Andreas Jaeger  <aj@suse.de>
86472         [BZ #13837]
86473         * math/libm-test.inc (cos_test): Add a test case for large input
86474         value.
86475         (sin_test): Likewise.
86476         (sincos_test): Likewise.
86478 2012-03-15  Andreas Jaeger  <aj@suse.de>
86479             Joseph Myers  <joseph@codesourcery.com>
86481         [BZ #13658]
86482         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
86483         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
86484         * sysdeps/i386/fpu/branred.c: Likewise.
86485         * sysdeps/i386/fpu/dosincos.c: Likewise.
86486         * sysdeps/i386/fpu/mpa.c: Likewise.
86487         * sysdeps/i386/fpu/s_cos.S: Likewise.
86488         * sysdeps/i386/fpu/s_sin.S: Likewise.
86489         * sysdeps/i386/fpu/s_sincos.S: Likewise.
86490         * sysdeps/i386/fpu/sincos32.c: Likewise.
86492         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
86493         Define.
86494         (libc_feupdateenv_53bit): Define.
86495         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
86496         Define.
86497         (libc_feupdateenv_53bit): Define.
86499         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
86500         53 bit (without extend i386 double precision).
86502         * math/libm-test.inc (sincos_test): Add tests for large input.
86503         (sin): Likewise.
86504         (cos): Likewise.
86506         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
86508 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
86510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86512 2012-03-15  David S. Miller  <davem@davemloft.net>
86514         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
86515         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
86516         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
86517         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
86518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
86519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
86520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
86521         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
86522         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
86523         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
86524         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
86525         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
86526         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
86527         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
86528         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
86529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
86530         file.
86531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
86532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
86533         file.
86534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
86535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
86536         file.
86537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
86538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
86539         file.
86540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
86541         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
86542         fmin/fmax sysdep routines.
86543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86545 2012-03-14  David S. Miller  <davem@davemloft.net>
86547         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
86548         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
86549         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
86550         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
86551         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
86552         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
86553         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
86554         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
86555         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
86556         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
86557         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
86558         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
86559         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
86560         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
86561         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
86562         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
86563         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
86564         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
86565         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
86566         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
86567         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
86568         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
86569         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
86570         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
86571         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
86572         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
86573         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
86574         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
86575         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
86576         routines.
86577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
86578         file.
86579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
86580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
86581         file.
86582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
86583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
86584         file.
86585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
86586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
86587         file.
86588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
86589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
86590         file.
86591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
86592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
86593         file.
86594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
86595         file.
86596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
86597         file.
86598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
86599         file.
86600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
86601         New file.
86602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
86603         file.
86604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
86605         file.
86606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
86607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
86608         file.
86609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
86610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
86611         file.
86612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
86613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
86614         file.
86615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
86616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
86617         VIS3 routines.
86619         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
86620         New file.
86622         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86624         * sysdeps/sparc/configure.in: New file.
86625         * sysdeps/sparc/configure: Generate.
86626         * configure.in (libc_cv_sparc_as_vis3): Substitute.
86627         * configure: Regenerate.
86628         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
86629         * config.make.in (have-as-vis3): New.
86630         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
86631         available use -Av9d instead of -Av9a.
86632         * sysdeps/sparc/sparc64/Makefile: Likewise.
86633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
86634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
86635         New file.
86636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
86637         file.
86638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
86639         New file.
86640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
86641         file.
86642         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
86643         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
86644         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
86645         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
86646         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
86648         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
86649         fzeros/fnegs to load 0x80000000 into a float register instead of
86650         using the stack.
86651         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
86653 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
86655         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86656         bits/syscall.h.
86657         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
86658         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
86659         ($(inst_includedir)/bits/syscall.h): Remove rule.
86660         ($(objpfx)bits/syscall.d): Include instead of
86661         $(objpfx)syscall-list.d.
86662         (generated): Change syscall-list.h and syscall-list.d to
86663         bits/syscall.h and bits/syscall.d.
86665 2012-03-14  Roland McGrath  <roland@hack.frob.com>
86667         [BZ #13846]
86668         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
86670 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
86672         [BZ #13841]
86673         * math/s_csqrt.c: Include <float.h>.
86674         (__csqrt): Scale large or subnormal inputs.
86675         * math/s_csqrtf.c: Likewise.
86676         * math/s_csqrtl.c: Likewise.
86677         * math/libm-test.inc (csqrt_test): Add more tests.
86678         * sysdeps/i386/fpu/libm-test-ulps: Update.
86679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86681         [BZ #13840]
86682         * math/libm-test.inc (hypot_test): Add more tests.
86684 2012-03-13  David S. Miller  <davem@davemloft.net>
86686         [BZ #13840]
86687         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
86688         double-precision for the calculation instead of scaling.
86690 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
86692         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
86693         manipulate bits before adding and subtracting TWO52[sx].
86694         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
86695         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
86696         Likewise.
86697         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
86699 2012-03-13  David S. Miller  <davem@davemloft.net>
86701         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
86702         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
86703         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
86704         rtld-global-offsets.h
86705         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86707         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
86708         large parameters.
86710         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
86712         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
86713         'err' in the ifdef scope in which it is actually used.
86715         * nss/nss_db/db-init.c: Include string.h
86717 2012-03-12  David S. Miller  <davem@davemloft.net>
86719         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86720         masking out of the most significant byte of random value used.
86721         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86722         Fix coding style in previous change.
86724         * sysdeps/unix/sysv/linux/kernel-features.h
86725         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
86726         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
86727         expression.
86728         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
86729         later.
86731 2012-03-11  David S. Miller  <davem@davemloft.net>
86733         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
86734         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
86735         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
86736         for 'resultvar' otherwise things get truncated on 64-bit.
86738         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86739         Fix masking out of the most significant byte of random value used.
86741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86743 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
86745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86747 2012-03-09  David S. Miller  <davem@davemloft.net>
86749         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
86750         variables with appropriate CPP guards.
86751         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
86752         from the frame pointer, not the stack pointer.  Correct layout
86753         comments.  Fix test on resulting framesize and the management of
86754         the outregs buffer for pltexit.  Preserve floating point return
86755         values across _dl_call_pltexit call.
86756         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
86757         framesize and the management of the outregs buffer for pltexit.
86758         Preserve floating point return values across _dl_call_pltexit
86759         call.
86760         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
86761         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
86762         (la_sparc64_gnu_pltexit): New functions.
86763         (print_exit): Fix format string for return register value.
86765 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
86767         * sunrpc/Makefile (others): Add rpcgen.
86768         ($(objpfx)rpcgen): Remove special build rule and dependency on
86769         libc.
86770         * sunrpc/rpcgen.c: New file.
86772 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
86774         [BZ #13673]
86775         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
86776         * stdio-common/bug-vfprintf-nargs.c: Likewise.
86777         * sysdeps/i386/crti.S: Likewise.
86778         * sysdeps/i386/crtn.S: Likewise.
86779         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
86780         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
86781         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
86782         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
86783         * sysdeps/sh/crti.S: Likewise.
86784         * sysdeps/sh/crtn.S: Likewise.
86785         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
86787         [BZ #13673]
86788         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
86789         with URL.
86790         * locale/programs/locfile-kw.gperf: Likewise.
86791         * locale/programs/charmap-kw.h: Regenerated.
86792         * locale/programs/locfile-kw.h: Likewise.
86794         [BZ #13673]
86795         * intl/plural.y: Replace FSF snail mail address with URL.
86796         * intl/plural.c: Regenerated.
86798 2012-03-09  Richard Henderson  <rth@twiddle.net>
86800         * include/math_private.h: Remove file.
86801         * math/math_private.h: Move file ...
86802         * sysdeps/generic/math_private.h: ... here.
86804         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
86805         * sysdeps/powerpc/fpu/math_private.h: Likewise.
86806         * sysdeps/x86_64/fpu/math_private.h: Likewise.
86808         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
86809         and <math_private.h>.
86810         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86811         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86812         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86813         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86814         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86815         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
86816         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86817         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86818         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
86819         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86820         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86821         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86822         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
86823         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86824         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
86825         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
86826         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86827         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
86828         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
86829         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
86830         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86831         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
86832         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
86833         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86834         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
86835         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
86836         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
86837         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86838         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86839         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86840         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
86841         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86842         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
86843         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86844         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86845         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86846         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86847         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86848         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86849         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86850         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
86851         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86852         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86853         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
86854         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
86855         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86856         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
86857         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
86858         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86859         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86860         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
86861         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
86862         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
86863         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86864         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
86865         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86866         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86867         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
86868         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
86869         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
86870         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86871         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
86872         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86873         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86874         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
86875         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86876         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86877         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86878         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
86879         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
86880         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
86881         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86882         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
86883         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86884         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
86885         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
86886         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
86887         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
86888         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
86889         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
86890         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
86891         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
86892         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
86893         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
86894         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86895         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
86896         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
86897         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
86898         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
86899         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86900         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86901         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
86902         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86903         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
86904         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
86905         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
86906         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86907         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
86908         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86909         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
86910         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
86911         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
86912         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
86913         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
86914         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
86915         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
86916         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
86917         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
86918         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
86919         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
86920         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
86921         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
86922         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
86923         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
86924         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
86925         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86926         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
86927         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
86928         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
86929         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86930         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
86931         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
86932         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86933         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
86934         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
86935         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86936         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
86937         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
86938         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
86939         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
86940         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
86941         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86942         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
86943         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
86944         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
86945         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
86946         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
86947         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
86948         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
86949         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
86950         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86951         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
86952         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
86953         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
86954         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
86955         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
86956         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
86957         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
86958         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
86959         * sysdeps/ieee754/k_standard.c: Likewise.
86960         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
86961         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
86962         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86963         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
86964         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
86965         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
86966         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
86967         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
86968         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
86969         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
86970         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86971         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
86972         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
86973         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
86974         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
86975         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
86976         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
86977         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
86978         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
86979         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
86980         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
86981         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
86982         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
86983         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
86984         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
86985         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
86986         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
86987         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
86988         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
86989         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
86990         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
86991         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
86992         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
86993         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
86994         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
86995         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
86996         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
86997         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
86998         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
86999         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
87000         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
87001         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
87002         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
87003         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
87004         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
87005         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
87006         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
87007         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
87008         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
87009         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
87010         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
87011         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
87012         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
87013         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
87014         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
87015         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
87016         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
87017         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
87018         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
87019         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
87020         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
87021         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
87022         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
87023         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
87024         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87025         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87026         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
87027         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
87028         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
87029         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
87030         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
87031         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87032         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
87033         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
87034         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
87035         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
87036         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
87037         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
87038         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87039         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
87040         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
87041         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
87042         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
87043         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
87044         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
87045         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
87046         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
87047         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
87048         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
87049         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
87050         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
87051         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
87052         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
87053         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
87054         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
87055         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
87056         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
87057         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
87058         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
87059         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
87060         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
87061         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
87062         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
87063         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
87064         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
87065         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
87066         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
87067         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
87068         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
87069         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
87070         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
87071         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
87072         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
87073         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87074         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
87075         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87076         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
87077         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87078         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87079         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
87080         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87081         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
87082         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
87083         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
87084         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87085         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
87086         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
87087         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
87088         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
87089         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
87090         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
87091         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
87092         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
87093         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
87094         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
87095         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
87096         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
87097         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
87098         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
87099         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
87100         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
87101         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
87102         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
87103         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
87104         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
87105         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
87106         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
87107         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
87108         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
87109         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
87110         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
87111         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
87112         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
87113         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
87114         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
87115         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
87116         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
87117         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
87118         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
87119         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
87120         * sysdeps/ieee754/s_lib_version.c: Likewise.
87121         * sysdeps/ieee754/s_matherr.c: Likewise.
87122         * sysdeps/ieee754/s_signgam.c: Likewise.
87123         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
87124         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
87125         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
87126         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
87127         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
87128         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
87129         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
87130         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
87131         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
87132         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
87133         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
87134         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
87135         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
87136         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
87137         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
87138         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
87139         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
87140         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
87141         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
87142         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
87143         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
87145 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
87147         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
87148         * sunrpc/rpc_main.c: Likewise.
87149         * sunrpc/rpc_svcout.c: Likewise.
87151 2012-03-09  David S. Miller  <davem@davemloft.net>
87153         * include/math_private.h: New file.
87155 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
87157         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
87158         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
87159         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
87160         from <bits/socket_type.h>.
87161         (enum __socket_type): Don't define here.
87162         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
87163         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87164         bits/socket_type.h.
87166         [BZ #13566]
87167         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
87168         checking __USE_GNU.
87170         * Makerules ($(inst_includedir)/%.h): New rule.
87171         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
87172         (install-others): Remove variable setting.
87173         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
87175 2012-03-08  Richard Henderson  <rth@twiddle.net>
87177         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
87178         from macro to inline function; merge with the
87179         !__LIBC_INTERNAL_MATH_INLINES version.
87180         (__ieee754_sqrtf): Likewise.
87182         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
87183         to inline function.
87184         (__rintf, __floor, __floorf): Likewise.
87186         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
87187         macro to inline function.
87188         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
87190         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
87191         not <math/math_private.h>.
87193 2012-03-08  David S. Miller  <davem@davemloft.net>
87195         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
87196         copyright year.
87197         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
87199 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
87201         * resolv/gai_misc.c (handle_requests): Fix struct timespec
87202         normalization.
87203         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
87204         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
87206 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
87208         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
87209         be defined individually, they must be defined as a block.  Define
87210         S for printing a string instead of hidint the different by using a
87211         macro for adding the 'l'.
87212         * stdio-common/tst-fphex-wide.c: Adjust.
87214 2012-03-07  Marek Polacek  <polacek@redhat.com>
87216         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
87218 2012-03-08  Marek Polacek  <polacek@redhat.com>
87220         [BZ #13806]
87221         * stdio-common/Makefile (tests): Add tst-fphex-wide.
87222         * stdio-common/tst-fphex.c: Define a few macros to make the
87223         test reusable.  Use them.
87224         * stdio-common/tst-fphex-wide.c: New file.
87226 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
87228         [BZ #6911]
87229         * manual/macros.texi (gnusystems): New macro.
87230         (nongnusystems): Likewise.
87231         (gnulinuxhurdsystems): Likewise.
87232         (gnuhurdsystems): Likewise..
87233         (gnulinuxsystems): Likewise.
87234         * manual/charset.texi: Use new macros or @theglibc{} to refer to
87235         variants of the GNU system, not "GNU system".
87236         * manual/conf.texi: Likewise.
87237         * manual/errno.texi: Likewise.  Update example of errno macro
87238         expansion.
87239         * manual/filesys.texi: Likewise.
87240         (getumask): Document as specific to GNU/Hurd.
87241         * manual/install.texi: Likewise.  Reword some references to
87242         GNU/Linux.
87243         * manual/intro.texi: Likewise.
87244         * manual/io.texi: Likewise.
87245         (File Name Portability): Detail which constraints are inapplicable
87246         to all GNU systems and which are only inapplicable to GNU/Hurd.
87247         * manual/job.texi: Likewise.
87248         * manual/llio.texi: Likewise.
87249         (O_NOCTTY): Document as present on GNU/Linux.
87250         * manual/maint.texi: Likewise.
87251         * manual/memory.texi: Likewise.
87252         * manual/pattern.texi: Likewise.
87253         * manual/pipe.texi: Likewise.
87254         * manual/process.texi: Likewise.
87255         * manual/resource.texi: Likewise.
87256         (RUSAGE_CHILDREN): Remove statement about specifying a particular
87257         child on GNU/Hurd.
87258         * manual/setjmp.texi: Likewise.
87259         * manual/signal.texi: Likewise.
87260         * manual/startup.texi: Likewise.
87261         * manual/stdio.texi: Likewise.
87262         * manual/terminal.texi: Likewise.
87263         (ONLCR): Document as POSIX.
87264         (OXTABS): Document availability on GNU/Linux as XTABS.
87265         (ONOEOT): Document availability separately from other bits.
87266         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
87267         * manual/time.texi: Likewise.
87268         * manual/users.texi: Likewise.
87269         * INSTALL: Regenerated.
87270         * sysdeps/gnu/errlist.c: Regenerated.
87272         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
87273         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
87274         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
87275         puts.
87276         * configure: Regenerated.
87278 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
87280         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
87281         default includes instead of AC_HEADER_CHECK.
87282         * sysdeps/i386/configure: Regenerated.
87284         [BZ #10716]
87285         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
87286         * math/s_cacoshf.c (__cacoshf): Likewise.
87287         * math/s_cacoshl.c (__cacoshl): Likewise.
87288         * math/s_casinh.c (__casinh): Set signs of result from argument.
87289         * math/s_casinhf.c (__casinhf): Likewise.
87290         * math/s_casinhl.c (__casinhl): Likewise.
87291         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
87292         (casinh_test): Add more tests.
87293         * sysdeps/i386/fpu/libm-test-ulps: Update.
87294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87296 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
87298         * po/zh_TW.po: Update from translation team.
87300         * login/Makefile (distribute): Remove variable.
87301         * catgets/Makefile: Likewise.
87302         * mach/Makefile: Likewise.
87303         * malloc/Makefile: Likewise.
87304         * misc/Makefile: Likewise.
87305         * iconv/Makefile: Likewise.
87306         * nscd/Makefile: Likewise.
87307         * hurd/Makefile: Likewise.
87308         * manual/Makefile: Likewise.
87309         * locale/Makefile: Likewise.
87310         * intl/Makefile: Likewise.
87311         * conform/Makefile: Likewise.
87312         * nss/Makefile: Likewise.
87313         * time/Makefile: Likewise.
87314         * soft-fp/Makefile: Likewise.
87315         * dirent/Makefile: Likewise.
87316         * gmon/Makefile: Likewise.
87317         * po/Makefile: Likewise.
87318         * rt/Makefile: Likewise.
87319         * socket/Makefile: Likewise.
87320         * math/Makefile: Likewise.
87321         * signal/Makefile: Likewise.
87322         * debug/Makefile: Likewise.
87323         * elf/Makefile: Likewise.
87324         * timezone/Makefile: Likewise.
87325         * stdlib/Makefile: Likewise.
87326         * iconvdata/Makefile: Likewise.
87327         * sunrpc/Makefile: Likewise.
87328         * io/Makefile: Likewise.
87329         * argp/Makefile: Likewise.
87330         * inet/Makefile: Likewise.
87331         * hesiod/Makefile: Likewise.
87332         * grp/Makefile: Likewise.
87333         * csu/Makefile: Likewise.
87334         * wctype/Makefile: Likewise.
87335         * crypt/Makefile: Likewise.
87336         * libio/Makefile: Likewise.
87337         * string/Makefile: Likewise.
87338         * nis/Makefile: Likewise.
87339         * resolv/Makefile: Likewise.
87340         * stdio-common/Makefile: Likewise.
87341         * wcsmbs/Makefile: Likewise.
87342         * dlfcn/Makefile: Likewise.
87343         * posix/Makefile: Likewise.
87345         [BZ #6959]
87346         * timezone/Makefile: Don't install timezone files, just the programs
87347         and scripts.
87349 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
87351         * nss/databases.def: Add missing gshadow entry.
87353         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
87355 2012-03-06  Marek Polacek  <polacek@redhat.com>
87357         [BZ #13726]
87358         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
87359         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
87360         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
87361         * stdio-common/tst-long-dbl-fphex.c: New file.
87363 2012-03-06  David S. Miller  <davem@davemloft.net>
87365         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
87366         (set_obp_int): New function.
87367         (get_obp_int): New function.
87368         (__get_clockfreq_via_dev_openprom): Likewise.
87369         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
87370         Avoid unused variable warnings on 'val' and use builtin_expect.
87371         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
87372         __builtin_expect.
87373         (INLINE_CLONE_SYSCALL): Likewise.
87375 2012-03-05  David S. Miller  <davem@davemloft.net>
87377         * sysdeps/sparc/fpu/libm-test-ulps: Update.
87379 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
87381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87383         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
87384         only for |x| >= 40.
87385         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87387 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
87389         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
87390         Replace gettimeofday with __vdso_gettimeofday.
87392         * sysdeps/unix/sysv/linux/x86_64/init-first.c
87393         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
87394         __vdso_clock_gettime and __vdso_getcpu.
87396         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
87397         time with __vdso_time.
87399 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
87401         * manual/lang.texi (size_t): Note types to which size_t may be
87402         equivalent with the GNU C Library, but do not describe when
87403         differences between them are significant.
87405 2012-03-05  Andreas Jaeger  <aj@suse.de>
87407         * sysdeps/i386/fpu/libm-test-ulps: Update.
87409 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
87411         [BZ #3976]
87412         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
87413         (__ieee754_pow): Save and restore rounding mode and use
87414         round-to-nearest for main computations.
87415         * math/libm-test.inc (pow_test_tonearest): New function.
87416         (pow_test_towardzero): Likewise.
87417         (pow_test_downward): Likewise.
87418         (pow_test_upward): Likewise.
87419         (main): Call the new functions.
87420         * sysdeps/i386/fpu/libm-test-ulps: Update.
87421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87423         [BZ #3976]
87424         * math/libm-test.inc (cosh_test_tonearest): New function.
87425         (cosh_test_towardzero): Likewise.
87426         (cosh_test_downward): Likewise.
87427         (cosh_test_upward): Likewise.
87428         (sinh_test_tonearest): Likewise.
87429         (sinh_test_towardzero): Likewise.
87430         (sinh_test_downward): Likewise.
87431         (sinh_test_upward): Likewise.
87432         (main): Call the new functions.
87433         * sysdeps/i386/fpu/libm-test-ulps: Update.
87434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87436 2012-03-05  Tom de Vries  <tom@codesourcery.com>
87438         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
87439         default stack guard is set in last bytes.
87440         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
87442 2012-03-05  Kees Cook  <keescook@chromium.org>
87444         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
87446         [BZ #13656]
87447         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
87448         possibly allocate from heap instead of stack.
87449         * stdio-common/bug-vfprintf-nargs.c: New file.
87450         * stdio-common/Makefile (tests): Add nargs overflow test.
87452 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
87454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87456 2012-03-03  Marek Polacek  <polacek@redhat.com>
87458         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
87459         * math/math_private.h: Likewise.
87460         * stdlib/tst-strtod.c: Likewise.
87461         * sysdeps/i386/i486/bits/atomic.h: Likewise.
87462         * sysdeps/x86_64/bits/atomic.h: Likewise.
87464 2012-03-02  David S. Miller  <davem@davemloft.net>
87466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
87467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
87468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
87469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
87470         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
87471         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
87472         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
87473         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
87475 2012-03-02  Roland McGrath  <roland@hack.frob.com>
87477         [BZ #13792]
87478         * manual/examples/README: New file, says the example source files
87479         can be used under GPL>=2.
87480         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
87481         line containing just "*/".
87482         * manual/examples/add.c: Add copyright header (GPL>=2).
87483         * manual/examples/argp-ex1.c: Likewise.
87484         * manual/examples/argp-ex2.c: Likewise.
87485         * manual/examples/argp-ex3.c: Likewise.
87486         * manual/examples/argp-ex4.c: Likewise.
87487         * manual/examples/atexit.c: Likewise.
87488         * manual/examples/db.c: Likewise.
87489         * manual/examples/dir.c: Likewise.
87490         * manual/examples/dir2.c: Likewise.
87491         * manual/examples/execinfo.c: Likewise.
87492         * manual/examples/filecli.c: Likewise.
87493         * manual/examples/filesrv.c: Likewise.
87494         * manual/examples/fmtmsgexpl.c: Likewise.
87495         * manual/examples/genpass.c: Likewise.
87496         * manual/examples/inetcli.c: Likewise.
87497         * manual/examples/inetsrv.c: Likewise.
87498         * manual/examples/isockad.c: Likewise.
87499         * manual/examples/longopt.c: Likewise.
87500         * manual/examples/memopen.c: Likewise.
87501         * manual/examples/memstrm.c: Likewise.
87502         * manual/examples/mkfsock.c: Likewise.
87503         * manual/examples/mkisock.c: Likewise.
87504         * manual/examples/mygetpass.c: Likewise.
87505         * manual/examples/pipe.c: Likewise.
87506         * manual/examples/popen.c: Likewise.
87507         * manual/examples/rprintf.c: Likewise.
87508         * manual/examples/search.c: Likewise.
87509         * manual/examples/select.c: Likewise.
87510         * manual/examples/setjmp.c: Likewise.
87511         * manual/examples/sigh1.c: Likewise.
87512         * manual/examples/sigusr.c: Likewise.
87513         * manual/examples/stpcpy.c: Likewise.
87514         * manual/examples/strdupa.c: Likewise.
87515         * manual/examples/strftim.c: Likewise.
87516         * manual/examples/strncat.c: Likewise.
87517         * manual/examples/subopt.c: Likewise.
87518         * manual/examples/swapcontext.c: Likewise.
87519         * manual/examples/termios.c: Likewise.
87520         * manual/examples/testopt.c: Likewise.
87521         * manual/examples/testpass.c: Likewise.
87522         * manual/examples/timeval_subtract.c: Likewise.
87524         [BZ #13792]
87525         * manual/time.texi (Elapsed Time): Move timeval_subtract example
87526         function to ...
87527         * manual/timeval_subtract.c.texi: ... here, new file.
87529 2012-03-02  David S. Miller  <davem@davemloft.net>
87531         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
87533 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
87535         [BZ #3976]
87536         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
87537         (__sin): Save and restore rounding mode and use round-to-nearest
87538         for all computations.
87539         (__cos): Save and restore rounding mode and use round-to-nearest
87540         for all computations.
87541         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
87542         <fenv.h>.
87543         (tan): Save and restore rounding mode and use round-to-nearest for
87544         all computations.
87545         * math/libm-test.inc (cos_test_tonearest): New function.
87546         (cos_test_towardzero): Likewise.
87547         (cos_test_downward): Likewise.
87548         (cos_test_upward): Likewise.
87549         (sin_test_tonearest): Likewise.
87550         (sin_test_towardzero): Likewise.
87551         (sin_test_downward): Likewise.
87552         (sin_test_upward): Likewise.
87553         (tan_test_tonearest): Likewise.
87554         (tan_test_towardzero): Likewise.
87555         (tan_test_downward): Likewise.
87556         (tan_test_upward): Likewise.
87557         (main): Call the new functions.
87558         * sysdeps/i386/fpu/libm-test-ulps: Update.
87559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87561         [BZ #10135]
87562         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
87563         small n, then large n, before computing and testing k+n.
87564         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
87565         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
87566         Likewise.
87567         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
87568         Likewise.
87569         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
87570         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
87571         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
87572         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
87573         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
87574         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
87575         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
87576         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
87577         * math/libm-test.inc (scalbn_test): Add more tests.
87578         (scalbln_test): Likewise.
87580         * manual/filesys.texi (mode_t): Describe constraints on size and
87581         signedness, not exact equivalence to a particular type.
87582         (ino_t): Likewise.
87583         (ino64_t): Likewise.
87584         (dev_t): Likewise.
87585         (nlink_t): Likewise.
87586         (blkcnt_t): Likewise.
87587         (blkcnt64_t): Likewise.
87588         * manual/llio.texi (off_t): Likewise.
87590         [BZ #3976]
87591         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
87592         (__ieee754_exp): Save and restore rounding mode and use
87593         round-to-nearest for all computations.
87594         * math/libm-test.inc (exp_test_tonearest): New function.
87595         (exp_test_towardzero): Likewise.
87596         (exp_test_downward): Likewise.
87597         (exp_test_upward): Likewise.
87598         (main): Call the new functions.
87599         * sysdeps/i386/fpu/libm-test-ulps: Update.
87600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87602 2012-03-01  Chris Demetriou  <cgd@google.com>
87604         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
87605         have predictable order.
87607 2012-03-01  David S. Miller  <davem@davemloft.net>
87609         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
87611         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
87612         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
87613         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
87614         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
87616         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
87617         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
87618         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
87619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
87620         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
87621         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
87622         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
87623         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
87624         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
87626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
87628         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
87629         * sysdeps/sparc/fpu/libm-test-ulps: to here.
87630         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
87632         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
87633         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87634         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87635         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
87636         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
87637         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
87638         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
87639         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87640         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87641         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
87642         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
87643         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87644         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87645         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87646         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87647         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87648         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
87649         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
87650         * sysdeps/sparc/elf/configure: Regenerated.
87652 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
87654         * configure.in (AS, LD): Require binutils 2.20 or later.
87655         * configure: Regenerated.
87656         * manual/install.texi (Tools for Compilation): Give binutils 2.20
87657         as required minimum version.
87658         * INSTALL: Regenerated.
87660         [BZ #2541]
87661         [BZ #4108]
87662         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
87663         before squaring exponent.
87664         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
87665         bottom long double and 27 bits of top long double before squaring
87666         exponent.
87667         * math/libm-test.inc (erfc_test): Add more tests.
87668         * sysdeps/i386/fpu/libm-test-ulps: Update.
87669         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87672 2012-03-01  Kai Tietz  <ktietz@redhat.com>
87674         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
87675         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
87676         containing bit-fields.
87677         * soft-fp/extended.h (_FP_UNION_E): Likewise.
87678         * soft-fp/single.h (_FP_UNION_S): Likewise.
87679         * soft-fp/double.h (_FP_UNION_D): Likewise.
87681 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
87683         [BZ #13786]
87684         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
87685         not include ../strcmp.S.
87686         [USE_AS_STRNCASECMP_L]: Likewise.
87687         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
87688         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
87689         * sysdeps/i386/i686/multiarch/strncase_l-c.c
87690         (__strncasecmp_l_ia32): Define as alias to
87691         __strncasecmp_l_nonascii.
87693         [BZ #5794]
87694         * math/libm-test.inc (expm1_test): Add test for bug 5794.
87695         * sysdeps/i386/fpu/libm-test-ulps: Update.
87696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87698         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
87699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87701 2012-02-29  Jeff Law  <law@redhat.com>
87703         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
87704         out of bounds read.
87706 2012-02-29  Marek Polacek  <polacek@redhat.com>
87708         [BZ #13706]
87709         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
87710         * elf/Makefile: Add rules to run tst-unused-dep.out.
87712 2012-02-28  David S. Miller  <davem@davemloft.net>
87714         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
87715         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
87716         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
87717         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
87718         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
87719         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
87721 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
87723         * math/libm-test.inc (llround_test): Move one test from
87724         lround_test.  Use TEST_f_L in moved test.
87725         (lround_test): Move misplaced test to llround_test.  Add testcase
87726         from bug 2561.
87728 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
87730         * sysdeps/x86_64/fpu/e_expf.S: New file.
87731         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
87733 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
87735         [BZ #13637]
87736         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
87737         of remain_len that may cause incomplete multi-byte character and
87738         false match.
87739         * posix/bug-regex33.c: New file.
87740         * posix/Makefile (tests): Add bug-regex33.
87742 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
87744         * manual/macros.texi: New file.
87745         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
87746         * manual/libc.texinfo: Include macros.texi.
87747         * manual/creatute.texi: Likewise.
87748         * manual/install.texi: Likewise.
87749         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
87750         @glibcadj{} in references to the GNU C Library.
87751         * manual/charset.texi: Likewise.
87752         * manual/conf.texi: Likewise.
87753         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
87754         when not using those macros.
87755         * manual/creature.texi: Likewise.
87756         * manual/crypt.texi: Likewise.
87757         * manual/errno.texi: Likewise.
87758         * manual/filesys.texi: Likewise.
87759         * manual/header.texi: Likewise.
87760         * manual/install.texi: Likewise.
87761         * manual/intro.texi: Likewise.
87762         * manual/io.texi: Likewise.
87763         * manual/job.texi: Likewise.
87764         * manual/lang.texi: Likewise.
87765         * manual/libc.texiinfo: Likewise.
87766         * manual/llio.texi: Likewise.
87767         * manual/locale.texi: Likewise.
87768         * manual/maint.texi: Likewise.
87769         * manual/math.texi: Likewise.
87770         * manual/memory.texi: Likewise.
87771         * manual/message.texi: Likewise.
87772         * manual/nss.texi: Likewise.
87773         * manual/pattern.texi: Likewise.
87774         * manual/process.texi: Likewise.
87775         * manual/resource.texi: Likewise.
87776         * manual/search.texi: Likewise.
87777         * manual/setjmp.texi: Likewise.
87778         * manual/signal.texi: Likewise.
87779         * manual/socket.texi: Likewise.
87780         * manual/startup.texi: Likewise.
87781         * manual/stdio.texi: Likewise.
87782         * manual/string.texi: Likewise.
87783         * manual/sysinfo.texi: Likewise.
87784         * manual/syslog.texi: Likewise.
87785         * manual/terminal.texi: Likewise.
87786         * manual/time.texi: Likewise.
87787         * manual/users.texi: Likewise.
87788         * INSTALL: Regenerated.
87789         * NOTES: Regenerated.
87790         * sysdeps/gnu/errlist.c: Regenerated.
87792 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
87794         * include/dirent.h: Include <dirstream.h> before
87795         <dirent/dirent.h>.
87797 2012-02-28  David S. Miller  <davem@davemloft.net>
87799         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
87800         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
87801         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
87802         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
87804 2012-02-27  David S. Miller  <davem@davemloft.net>
87806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
87807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
87808         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
87809         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
87811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
87812         frame pointer instead of stack pointer relative arg slot.
87813         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87814         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87815         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87817 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
87819         [BZ #3992]
87820         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
87822 2012-02-27  David S. Miller  <davem@davemloft.net>
87824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
87825         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87826         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
87827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
87828         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87829         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87830         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
87831         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
87833 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
87835         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
87836         later.  Allow versions 5-9.
87837         * configure: Regenerated.
87838         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
87839         required minimum version and 4.6 as recommended version.  Do not
87840         mention bugs in GCC 2.7 and 2.8.
87841         * INSTALL: Regenerated.
87843 2012-02-27  David S. Miller  <davem@davemloft.net>
87845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
87846         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
87847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
87848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
87849         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
87850         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
87851         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
87852         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
87854         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
87855         manipulate bits before adding and subtracting TWO112[sx].
87856         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
87858 2012-02-27  Roland McGrath  <roland@hack.frob.com>
87860         [BZ #13775]
87861         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
87862         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
87863         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
87864         being in POSIX, because they are in 1003.1-2008.
87866         * rt/tst-aio.c: Include <fcntl.h>.
87867         * rt/tst-aio7.c: Likewise.
87868         * rt/tst-aio64.c: Likewise.
87870         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
87872 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
87874         * manual/install.texi (--with-headers): Describe headers as
87875         interface headers, not private headers.
87876         (Specific advice for GNU/Linux systems): Describe use of headers
87877         from "make headers_install", not private headers from older
87878         kernels.
87879         * INSTALL: Regenerated.
87880         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
87881         Change to 2.6.19.
87882         * sysdeps/unix/sysv/linux/configure: Regenerated.
87884         * manual/llio.texi (fclean): Remove documentation.
87886         * manual/Makefile (libc-texi-generated): New variable.  Include
87887         version.texi.
87888         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
87889         $(libc-texi-generated), not duplicated list of files.
87890         (version.texi, stamp-version): New rules.
87891         (realclean): Remove $(libc-texi-generated), not individual files
87892         from that list.  Do not remove dir-add.texinfo.
87893         * manual/libc.texinfo: Comment out uses of edition numbers and
87894         references to printed manual.  Remove last-updated dates.
87895         (EDITION): Comment out.
87896         (ISBN): Likewise.
87897         (VERSION, UPDATED): Remove.
87898         (version.texi): Include.
87900 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
87902         * sysdeps/posix/spawni.c: Include <signal.h>.
87903         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
87904         * sysdeps/pthread/aio_fsync.c: Likewise.
87906 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
87908         * conform/Makefile (tests): Run only when not cross-compiling and
87909         when fast-check is not defined.
87911         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
87912         * conform/data/limits.h-data: Fixes for POSIX2008.
87913         * conform/run-conformtest.sh: Run all tests.
87914         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
87915         headers.
87916         * include/bits/dlfcn.h: Likewise.
87917         * include/langinfo.h: Likewise.
87918         * include/monetary.h: Likewise.
87919         * include/sys/poll.h: Likewise.
87921         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
87922         for __USE_GNU.
87923         * posix/spawn.h: Define __need_sigset_t.
87924         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
87925         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
87926         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
87927         to get sigevent_t only.
87928         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
87929         only for __USE_GNU.
87930         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87931         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87932         process_vm_writev only for __USE_GNU.
87933         * termios/termios.h: Declare tcgetsid also for POSIX2008.
87935         * conform/Makefile: For now ignore errors from run-conformtest.
87936         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
87937         POSIX to avoid namespace pollution.  Don't prepend headers.
87938         * conform/data/aio.h-data: Fixes for POSIX testing.
87939         * conform/data/fcntl.h-data: Likewise.
87940         * conform/data/glob.h-data: Likewise.
87941         * conform/data/grp.h-data: Likewise.
87942         * conform/data/pthread.h-data: Likewise.
87943         * conform/data/pwd.h-data: Likewise.
87944         * conform/data/signal.h-data: Likewise.
87945         * conform/data/spawn.h-data: Likewise.
87946         * conform/data/stdio.h-data: Likewise.
87947         * conform/data/stdlib.h-data: Likewise.
87948         * conform/data/stropts.h-data: Likewise.
87949         * conform/data/sys/mman.h-data: Likewise.
87950         * conform/data/sys/stat.h-data: Likewise.
87951         * conform/data/sys/types.h-data: Likewise.
87952         * conform/data/sys/wait.h-data: Likewise.
87953         * conform/data/time.h-data: Likewise.
87954         * conform/data/unistd.h-data: Likewise.
87955         * conform/data/utime.h-data: Likewise.
87957         * io/sys/stat.h: fchmod was always in POSIX.
87958         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
87959         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
87960         * rt/aio.h: Define __need_timespec before including <time.h>.
87961         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
87962         struct.  Add forward declaration of pthread_attr_t and use it in
87963         sigevent.
87964         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87965         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87966         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
87967         always remove CLK_TCK definition.
87969 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
87971         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
87973 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
87975         * conform/run-conformtest.sh: New file.
87976         * conform/Makefile: Run run-conformtest for tests.
87977         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
87978         support.
87980         * conform/data/uchar.h-data: New file.
87981         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
87982         * conform/data/arpa/inet.h-data: Likewise.
87983         * conform/data/assert.h-data: Likewise.
87984         * conform/data/complex.h-data: Likewise.
87985         * conform/data/cpio.h-data: Likewise.
87986         * conform/data/ctype.h-data: Likewise.
87987         * conform/data/dirent.h-data: Likewise.
87988         * conform/data/dlfcn.h-data: Likewise.
87989         * conform/data/errno.h-data: Likewise.
87990         * conform/data/fcntl.h-data: Likewise.
87991         * conform/data/float.h-data: Likewise.
87992         * conform/data/fmtmsg.h-data: Likewise.
87993         * conform/data/fnmatch.h-data: Likewise.
87994         * conform/data/ftw.h-data: Likewise.
87995         * conform/data/glob.h-data: Likewise.
87996         * conform/data/grp.h-data: Likewise.
87997         * conform/data/iconv.h-data: Likewise.
87998         * conform/data/inttypes.h-data: Likewise.
87999         * conform/data/langinfo.h-data: Likewise.
88000         * conform/data/libgen.h-data: Likewise.
88001         * conform/data/limits.h-data: Likewise.
88002         * conform/data/locale.h-data: Likewise.
88003         * conform/data/math.h-data: Likewise.
88004         * conform/data/monetary.h-data: Likewise.
88005         * conform/data/mqueue.h-data: Likewise.
88006         * conform/data/ndbm.h-data: Likewise.
88007         * conform/data/net/if.h-data: Likewise.
88008         * conform/data/netdb.h-data: Likewise.
88009         * conform/data/netinet/in.h-data: Likewise.
88010         * conform/data/nl_types.h-data: Likewise.
88011         * conform/data/poll.h-data: Likewise.
88012         * conform/data/pthread.h-data: Likewise.
88013         * conform/data/pwd.h-data: Likewise.
88014         * conform/data/regex.h-data: Likewise.
88015         * conform/data/sched.h-data: Likewise.
88016         * conform/data/search.h-data: Likewise.
88017         * conform/data/semaphore.h-data: Likewise.
88018         * conform/data/setjmp.h-data: Likewise.
88019         * conform/data/signal.h-data: Likewise.
88020         * conform/data/spawn.h-data: Likewise.
88021         * conform/data/stdarg.h-data: Likewise.
88022         * conform/data/stdio.h-data: Likewise.
88023         * conform/data/stdlib.h-data: Likewise.
88024         * conform/data/string.h-data: Likewise.
88025         * conform/data/strings.h-data: Likewise.
88026         * conform/data/stropts.h-data: Likewise.
88027         * conform/data/sys/ipc.h-data: Likewise.
88028         * conform/data/sys/mman.h-data: Likewise.
88029         * conform/data/sys/msg.h-data: Likewise.
88030         * conform/data/sys/resource.h-data: Likewise.
88031         * conform/data/sys/select.h-data: Likewise.
88032         * conform/data/sys/sem.h-data: Likewise.
88033         * conform/data/sys/shm.h-data: Likewise.
88034         * conform/data/sys/socket.h-data: Likewise.
88035         * conform/data/sys/stat.h-data: Likewise.
88036         * conform/data/sys/statvfs.h-data: Likewise.
88037         * conform/data/sys/time.h-data: Likewise.
88038         * conform/data/sys/timeb.h-data: Likewise.
88039         * conform/data/sys/times.h-data: Likewise.
88040         * conform/data/sys/types.h-data: Likewise.
88041         * conform/data/sys/uio.h-data: Likewise.
88042         * conform/data/sys/un.h-data: Likewise.
88043         * conform/data/sys/utsname.h-data: Likewise.
88044         * conform/data/sys/wait.h-data: Likewise.
88045         * conform/data/syslog.h-data: Likewise.
88046         * conform/data/tar.h-data: Likewise.
88047         * conform/data/termios.h-data: Likewise.
88048         * conform/data/utime.h-data: Likewise.
88049         * conform/data/utmpx.h-data: Likewise.
88050         * conform/data/varargs.h-data: Likewise.
88051         * conform/data/wchar.h-data: Likewise.
88052         * conform/data/wctype.h-data: Likewise.
88053         * conform/data/wordexp.h-data: Likewise.
88055         * include/stropts.h: New file.
88056         * include/uchar.h: New file.
88057         * include/aio.h: Changes to allow conformtest.pl to use the headers.
88058         * include/assert.h: Likewise.
88059         * include/ctype.h: Likewise.
88060         * include/dirent.h: Likewise.
88061         * include/dlfcn.h: Likewise.
88062         * include/fcntl.h: Likewise.
88063         * include/fnmatch.h: Likewise.
88064         * include/glob.h: Likewise.
88065         * include/grp.h: Likewise.
88066         * include/libio.h: Likewise.
88067         * include/locale.h: Likewise.
88068         * include/math.h: Likewise.
88069         * include/net/if.h: Likewise.
88070         * include/netdb.h: Likewise.
88071         * include/netinet/in.h: Likewise.
88072         * include/pthread.h: Likewise.
88073         * include/pwd.h: Likewise.
88074         * include/regex.h: Likewise.
88075         * include/sched.h: Likewise.
88076         * include/search.h: Likewise.
88077         * include/setjmp.h: Likewise.
88078         * include/signal.h: Likewise.
88079         * include/stdio.h: Likewise.
88080         * include/stdlib.h: Likewise.
88081         * include/string.h: Likewise.
88082         * include/sys/cdefs.h: Likewise.
88083         * include/sys/mman.h: Likewise.
88084         * include/sys/msg.h: Likewise.
88085         * include/sys/resource.h: Likewise.
88086         * include/sys/select.h: Likewise.
88087         * include/sys/socket.h: Likewise.
88088         * include/sys/stat.h: Likewise.
88089         * include/sys/statvfs.h: Likewise.
88090         * include/sys/time.h: Likewise.
88091         * include/sys/times.h: Likewise.
88092         * include/sys/uio.h: Likewise.
88093         * include/sys/utsname.h: Likewise.
88094         * include/sys/wait.h: Likewise.
88095         * include/termios.h: Likewise.
88096         * include/time.h: Likewise.
88097         * include/ulimit.h: Likewise.
88098         * include/unistd.h: Likewise.
88099         * include/utime.h: Likewise.
88100         * include/wchar.h: Likewise.
88101         * include/wctype.h: Likewise.
88102         * include/wordexp.h: Likewise.
88104         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
88106         * time/time.h: TIME_UTC must be a macro.
88107         Make timespec_get available for ISO C11 only as well.
88109 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
88111         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
88112         Reported by Peng Haitao <penght@cn.fujitsu.com>.
88114 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
88116         * configure.in: Use -o not -a in test for unsupported multi-arch.
88118 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
88120         * manual/texinfo.tex: Update to version 2012-01-19.16.
88122 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
88124         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
88126 2012-02-24  Roland McGrath  <roland@hack.frob.com>
88128         [BZ #13738]
88129         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
88130         * manual/fdl-1.3.texi: New file.
88131         * manual/fdl-1.1.texi: File removed.
88133         [BZ #13738]
88134         * manual/libc.texinfo (FDL_VERSION): New @set.
88135         Use it for mention of FDL in cover text.
88136         (Documentation License): Use it in @include file name.
88138 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88139             Roland McGrath  <roland@hack.frob.com>
88141         [BZ #5461]
88142         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
88143         (not LONG_LONG_MAX and LONG_LONG_MIN.
88144         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
88145         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
88146         name.
88147         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
88149 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88151         [BZ #2547]
88152         [BZ #11365]
88153         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
88154         manipulate bits before adding and subtracting TWO23[sx].
88155         * math/libm-test.inc (nearbyint_test): Add more tests.
88157 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88159         [BZ #2548]
88160         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
88161         bits before adding and subtracting TWO23[sx].
88162         * math/libm-test.inc (rint_test): Add more tests.
88163         (rint_test_tonearest): Likewise.
88164         (rint_test_towardzero): Likewise.
88165         (rint_test_downward): Likewise.
88166         (rint_test_upward: Likewise.
88168 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88170         [BZ #10110]
88171         * include/stdc-predef.h: New file.  Extracted from features.h.
88172         * include/features.h: Include stdc-predef.h.
88173         * Makefile (headers): Add stdc-predef.h.
88174         * CONFORMANCE (Compiler limitations): Update.
88176 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88178         * manual/libc.texinfo (VERSION, UPDATED): Revert.
88180 2012-02-21  David S. Miller  <davem@davemloft.net>
88182         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
88183         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88185 2012-02-20  David S. Miller  <davem@davemloft.net>
88187         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
88188         using a normal save/restore sequence, rather than allocating a
88189         dummy stack frame just to store a frame pointer and restore.
88190         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88192 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
88194         * manual/install.texi: Fix stray word in line-wrapped comment.
88196 2012-02-20  David S. Miller  <davem@davemloft.net>
88198         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
88199         both binutils and gcc support GOTDATA.
88201         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
88202         "rd %pc" in the PIC register setup sequences.
88204         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
88205         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
88206         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
88207         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
88208         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
88209         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
88210         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
88211         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88212         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
88213         (SYSCALL_ERROR_HANDLER): Likewise.
88214         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
88215         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
88216         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
88217         (SYSCALL_ERROR_HANDLER): Likewise.
88219         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
88220         (HAVE_GCC_GOTDATA): New.
88221         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
88222         relocation support in both binutils and gcc.
88223         * sysdeps/sparc/elf/configure: Regenerate.
88225         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
88226         * sysdeps/sparc/sparc32/elf/configure: Delete.
88227         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
88228         * sysdeps/sparc/sparc64/elf/configure: Delete.
88229         * sysdeps/sparc/elf/configure.in: New file.
88230         * sysdeps/sparc/elf/configure: Generate.
88232         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
88233         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
88234         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
88235         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
88236         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
88238 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
88240         * manual/install.texi: Do not mention specific glibc version
88241         numbers.
88242         * manual/libc.texinfo (VERSION, UPDATED): Update.
88243         (@copying): Use @copyright{} and range of years.
88245 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
88247         [BZ #13695]
88248         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
88249         [crti.S not in sysdirs] (generated): Do not append.
88250         [crti.S not in sysdirs] (omit-deps): Likewise.
88251         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
88252         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
88253         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
88254         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
88255         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
88256         Likewise.
88257         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
88258         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
88259         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
88260         * csu/defs.awk: Remove file.
88261         * sysdeps/generic/initfini.c: Likewise.
88262         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
88263         variable.
88264         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
88265         Likewise.
88267 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
88269         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
88270         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
88271         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
88272         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
88273         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88274         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
88275         <bits/epoll.h>.
88276         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
88277         (__EPOLL_PACKED): Define to empty if not defined by
88278         <bits/epoll.h>.
88279         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
88280         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88281         bits/epoll.h.
88283 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
88285         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
88286         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
88287         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
88288         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
88289         <bits/timerfd.h>.
88290         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
88291         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88292         bits/timerfd.h.
88294 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
88296         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
88297         in C locale.
88298         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
88299         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
88300         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
88301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88303 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
88305         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88306         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88308 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
88310         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
88311         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
88312         defined.
88313         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
88314         Likewise.
88315         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
88316         entry for 2.16.
88318 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
88320         * math/w_acos.c: Use non-signaling floating-point comparisons.
88321         * math/w_acosf.c: Likewise.
88322         * math/w_acosh.c: Likewise.
88323         * math/w_acoshf.c: Likewise.
88324         * math/w_acoshl.c: Likewise.
88325         * math/w_acosl.c: Likewise.
88326         * math/w_asin.c: Likewise.
88327         * math/w_asinf.c: Likewise.
88328         * math/w_asinl.c: Likewise.
88329         * math/w_atanh.c: Likewise.
88330         * math/w_atanhf.c: Likewise.
88331         * math/w_atanhl.c: Likewise.
88332         * math/w_exp2.c: Likewise.
88333         * math/w_exp2f.c: Likewise.
88334         * math/w_exp2l.c: Likewise.
88335         * math/w_j0.c: Likewise.
88336         * math/w_j0f.c: Likewise.
88337         * math/w_j0l.c: Likewise.
88338         * math/w_j1.c: Likewise.
88339         * math/w_j1f.c: Likewise.
88340         * math/w_j1l.c: Likewise.
88341         * math/w_jn.c: Likewise.
88342         * math/w_jnf.c: Likewise.
88343         * math/w_log.c: Likewise.
88344         * math/w_log10.c: Likewise.
88345         * math/w_log10f.c: Likewise.
88346         * math/w_log10l.c: Likewise.
88347         * math/w_log2.c: Likewise.
88348         * math/w_log2f.c: Likewise.
88349         * math/w_log2l.c: Likewise.
88350         * math/w_logf.c: Likewise.
88351         * math/w_logl.c: Likewise.
88352         * math/w_sqrt.c: Likewise.
88353         * math/w_sqrtf.c: Likewise.
88354         * math/w_sqrtl.c: Likewise.
88355         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88356         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
88357         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88358         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88359         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88361 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88363         [BZ #9739]
88364         * manual/string.texi (strnlen): Use correct parameter name in
88365         equivalent expression.
88367 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88369         [BZ #11174]
88370         * manual/users.texi (seteuid): Consistently use neweuid for
88371         argument name.
88373 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88375         [BZ #13704]
88376         * manual/nss.texi (Services in the NSS configuration): Correct
88377         list of services in example configuration file.
88379 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
88381         [BZ #11322]
88382         * manual/arith.texi: Remove statements about negative zero
88383         behaving identically to zero.
88385 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
88387         [BZ #5993]
88388         * manual/install.texi: Do not document upgrading from libc5.
88390 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
88392         [BZ #4596]
88393         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
88395 2012-02-18  David S. Miller  <davem@davemloft.net>
88397         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
88398         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
88399         %o7 across the call.
88400         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
88401         instead.
88402         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
88403         SETUP_PIC_REG_LEAF.
88404         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88405         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
88406         * sysdeps/sparc/crtn.S: Likewise.
88408 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
88410         * aout/Makefile: Remove.
88412 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
88414         [BZ #13058]
88415         * manual/examples/argp-ex1.c (main): Format definition in GNU
88416         style.
88417         * manual/examples/argp-ex2.c (main): Likewise.
88418         * manual/examples/argp-ex3.c (main): Likewise.
88419         * manual/examples/argp-ex4.c (main): Likewise.
88420         * manual/examples/longopt.c (main): Use new-style prototype
88421         definition.
88422         * manual/examples/strncat.c (main): Specify return type and use
88423         (void) for arguments.
88424         * manual/examples/subopt.c (main): Use char **argv argument.
88426 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88428         [BZ #5077]
88429         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
88430         rounding modes.
88432 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
88434         [BZ #6907]
88435         * manual/string.texi (strchr): Change when strchrnul is
88436         recommended.
88438 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
88440         [BZ #174]
88441         * manual/locale.texi (setlocale): Document LOCPATH.
88443 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88445         [BZ #10210]
88446         * manual/process.texi (execle): Move @dots{} before last argument.
88448 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
88450         [BZ #12047]
88451         * manual/charset.texi (Generic Charset Conversion): Fix typo
88452         (LC_TYPE -> LC_CTYPE).
88454 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
88456         [BZ #5805]
88457         * manual/arith.texi (scalbn): Use @var{} on parameter names.
88458         (scalbnf): Likewise.
88459         (scalbnl): Likewise.
88460         (scalbln): Likewise.
88461         (scalblnf): Likewise.
88462         (scalblnl): Likewise.
88463         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
88464         (vwarnx): Likewise.
88465         (verr): Likewise.
88466         (verrx): Likewise.
88467         * manual/filesys.texi (telldir): Use braces around return type.
88468         * manual/llio.texi (mmap): Add space after comma.
88469         (mmap64): Likewise.
88470         * manual/math.texi (jn): Use @var{} on parameter names.
88471         (jnf): Likewise.
88472         (jnl): Likewise.
88473         (yn): Likewise.
88474         (ynf): Likewise.
88475         (ynl): Likewise.
88476         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
88477         line.
88478         * manual/resource.texi (ulimit): Use @dots{} instead of literal
88479         "...".
88480         (sched_get_priority_min): Remove semicolon on @deftypefun line.
88481         (sched_get_priority_max): Likewise.
88482         * manual/signal.texi (sigvec): Add space after comma.
88483         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
88484         names.
88485         (if_indextoname): Likewise.
88486         (if_freenameindex): Likewise.
88487         (sendto): Use ',' instead of '.' in prototype.
88488         * manual/startup.texi (syscall): Use @dots{} instead of literal
88489         "...".
88490         * manual/stdio.texi (__fpending): Separate initial words of
88491         paragraph from @deftypefun line.
88492         * manual/syslog.texi (syslog): Use @dots{} instead of literal
88493         "...".
88494         (vsyslog): Use @var{} on parameter names.
88495         * manual/terminal.texi (stty): Use @var{} on parameter names.
88496         * manual/users.texi (getutmp): Use @var{} on parameter names.
88497         (getutmpx): Likewise.
88499 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88501         [BZ #6884]
88502         * manual/stdio.texi (fopen): Fix typos in description of
88503         ",ccs=STRING".
88505 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
88507         [BZ #4026]
88508         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
88509         get clock_id definition.
88511 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
88513         [BZ #4822]
88514         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
88515         (madvise): Cast every argument to void on its own.
88517 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88519         [BZ #9902]
88520         * manual/startup.texi (Exit Status): Fix typo.
88522 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88524         [BZ #10140]
88525         * manual/examples/argp-ex1.c: Include <stdlib.h>.
88526         * manual/examples/argp-ex2.c: Likewise.
88527         * manual/examples/argp-ex3.c: Likewise.
88529 2012-02-16  Richard Henderson  <rth@redhat.com>
88531         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
88532         * sysdeps/s390/s390-32/initfini.c: Remove.
88533         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
88534         * sysdeps/s390/s390-64/initfini.c: Remove.
88536 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
88538         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
88539         compiler output for sysdeps/generic/initfini.c.
88540         * sysdeps/sh/elf/initfini.c: Remove file.
88542 2012-02-16  David S. Miller  <davem@davemloft.net>
88544         [BZ #11494]
88545         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
88547         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
88548         * sysdeps/sparc/crti.S: New file.
88549         * sysdeps/sparc/crtn.S: New file.
88550         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
88551         * sysdeps/sparc/sparc64/Makefile: Likewise.
88553 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
88555         [BZ #3335]
88556         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
88558 2012-02-15  Roland McGrath  <roland@hack.frob.com>
88560         [BZ #4822]
88561         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
88563         * mach/devstream.c (cookie_io_functions_t): Macro removed.
88564         (write, read, close): Likewise.
88565         Patch by Aurelien Jarno <aurelien@aurel32.net>.
88567 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
88569         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
88570         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
88571         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
88572         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
88573         <bits/signalfd.h>.
88574         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
88575         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88576         bits/signalfd.h.
88578 2012-02-14  Marek Polacek  <polacek@redhat.com>
88580         * sysdeps/x86_64/crti.S: New file.
88581         * sysdeps/x86_64/crtn.S: New file.
88582         * sysdeps/x86_64/elf/initfini.c: Remove file.
88584 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
88586         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
88587         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
88588         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
88589         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
88590         <bits/inotify.h>.
88591         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
88592         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88593         bits/inotify.h.
88595 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
88597         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
88598         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
88599         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
88600         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
88601         <bits/eventfd.h>.
88602         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
88603         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88604         bits/eventfd.h.
88606 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
88608         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
88609         __feraiseexcept instead of feraiseexcept.
88611         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
88612         nanosleep invocations.
88613         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
88614         strings, and add error checking for a nanosleep invocations.
88616 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
88618         Replace FSF snail mail address with URLs, as per GNU coding standards.
88619         Most of the snail mail addresses were wrong anyway, and omitting
88620         them makes the source code easier to maintain.  Almost all of the
88621         changes are to license notices and to locale LC_IDENTIFICATION
88622         addresses, except for this one:
88623         * manual/libc.texinfo: In "Published by", give the FSF's URL,
88624         not its snail mail address.
88626 2012-02-09  Richard Henderson  <rth@twiddle.net>
88628         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
88629         of kernel-features.h.
88631         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
88633 2012-02-08  Marek Polacek  <polacek@redhat.com>
88635         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
88636         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
88637         * sysdeps/gnu/_G_config.h: Likewise.
88638         * sysdeps/generic/_G_config.h: Likewise.
88640 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
88642         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
88643         tests.
88644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88646         * sysdeps/powerpc/powerpc32/crti.S: New file.
88647         * sysdeps/powerpc/powerpc32/crtn.S: New file.
88648         * sysdeps/powerpc/powerpc64/crti.S: New file.
88649         * sysdeps/powerpc/powerpc64/crtn.S: New file.
88651         * Makeconfig (have-initfini): Don't set.
88652         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
88653         * configure.in (nopic_initfini): Don't substitute.
88654         * config.h.in (HAVE_INITFINI): Don't #undef.
88655         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
88656         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
88658 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
88660         Support crti.S and crtn.S provided directly by architectures.
88661         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
88662         [crti.S in sysdirs] (omit-deps): Likewise.
88663         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
88664         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
88665         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
88666         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
88667         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
88668         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
88669         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
88670         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
88671         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
88672         compiler output for sysdeps/generic/initfini.c.
88673         * sysdeps/i386/elf/Makefile: Remove file.
88674         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
88676 2012-02-07  Marek Polacek  <polacek@redhat.com>
88678         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
88679         * sysdeps/gnu/_G_config.h: Likewise.
88680         * sysdeps/mach/hurd/_G_config.h: Likewise.
88682 2012-02-07  Marek Polacek  <polacek@redhat.com>
88684         * math/Makefile (tests): Add tst-CMPLX2.
88685         * math/tst-CMPLX2.c: New file.
88687 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
88689         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88691         * math/libm-test.inc (jn_test): Add missing L suffix.
88693 2012-02-06  Marek Polacek  <polacek@redhat.com>
88695         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
88696         * sysdeps/i386/fpu/e_powf.S: Likewise.
88697         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88698         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
88699         * sysdeps/i386/fpu/e_acosh.S: Likewise.
88700         * sysdeps/i386/fpu/e_pow.S: Likewise.
88701         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
88702         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88703         * sysdeps/i386/fpu/s_expm1.S: Likewise.
88704         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
88705         * sysdeps/i386/fpu/e_log2.S: Likewise.
88706         * sysdeps/i386/fpu/e_log2l.S: Likewise.
88707         * sysdeps/i386/fpu/e_scalb.S: Likewise.
88708         * sysdeps/i386/fpu/e_powl.S: Likewise.
88709         * sysdeps/i386/fpu/s_log1p.S: Likewise.
88710         * sysdeps/i386/fpu/e_log10f.S: Likewise.
88711         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
88712         * sysdeps/i386/fpu/e_logl.S: Likewise.
88713         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
88714         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
88715         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
88716         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
88717         * sysdeps/i386/fpu/e_log2f.S: Likewise.
88718         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88719         * sysdeps/i386/fpu/e_log.S: Likewise.
88720         * sysdeps/i386/fpu/s_cexp.S: Likewise.
88721         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88722         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
88723         * sysdeps/i386/fpu/e_logf.S: Likewise.
88724         * sysdeps/i386/fpu/e_log10l.S: Likewise.
88725         * sysdeps/i386/fpu/e_atanh.S: Likewise.
88726         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
88727         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
88728         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
88729         * sysdeps/i386/fpu/e_log10.S: Likewise.
88730         * sysdeps/i386/fpu/s_frexp.S: Likewise.
88731         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88732         * sysdeps/i386/fpu/s_asinh.S: Likewise.
88733         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
88734         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88735         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
88736         * sysdeps/i386/asm-syntax.h: Likewise.
88737         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88738         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88739         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88740         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
88741         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
88742         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88743         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
88744         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
88745         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88746         * sysdeps/powerpc/sysdep.h: Likewise.
88747         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
88748         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
88750 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
88752         [BZ #411]
88753         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
88755 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
88757         * sysdeps/i386/sysdep.h: Include <features.h>.
88758         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
88759         version.
88761 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
88763         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
88764         Define.
88765         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
88766         LOAD_PIC_REG_STR.
88768 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88770         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
88771         (SETUP_PIC_REG): Use GET_PC_THUNK.
88772         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
88773         macro.
88775 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88777         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
88778         for non-PIC compilation.
88779         (SETUP_PIC_REG): Add .p2align directive.
88780         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
88781         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
88782         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
88783         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
88784         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
88785         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
88786         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
88787         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88788         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
88789         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
88790         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
88791         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
88792         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
88793         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
88794         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
88795         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
88796         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
88797         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
88798         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
88799         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
88800         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
88801         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
88802         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
88803         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
88804         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
88805         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
88806         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88807         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
88808         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
88809         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
88810         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
88811         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88812         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
88813         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
88814         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
88815         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
88816         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
88817         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
88818         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
88819         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
88820         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
88822 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88824         * math/tst-CMPLX.c: Include <stdio.h>.
88826 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
88828         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
88829         float.
88830         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88831         * sysdeps/sparc/bits/mathdef.h: Likewise.
88833 2012-01-31  Marek Polacek  <polacek@redhat.com>
88835         * libio/libio.h: Don't define _PARAMS.
88836         * locale/programs/config.h: Don't define PARAMS.
88837         * stdlib/strtol_l.c: Likewise.
88838         (__strtol_l): Remove PARAMS from the prototype.
88840 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
88842         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
88843         names.  Just use the correct names.  Remove unnecessary wrapper
88844         functions.
88845         * malloc/arena.c: Likewise.
88846         * malloc/hooks.c: Likewise.
88848         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
88849         ARENA_TEST says not to.  Simplify test for creation of a new arena.
88850         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
88852 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
88854         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
88855         into tail calls.
88856         (update_get_addr): New function.
88857         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
88858         GET_ADDR_MODULE parameter.
88860 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
88862         * crypt/cert.c: Remove __STDC__ conditionals.
88863         * crypt/crypt-entry.c: Likewise.
88864         * crypt/crypt_util.c: Likewise.
88865         * libio/filedoalloc.c: Likewise.
88866         * libio/fileops.c: Likewise.
88867         * libio/genops.c: Likewise.
88868         * libio/iofclose.c: Likewise.
88869         * libio/iofdopen.c: Likewise.
88870         * libio/iofopen.c: Likewise.
88871         * libio/iofopen64.c: Likewise.
88872         * libio/iogetdelim.c: Likewise.
88873         * libio/iopopen.c: Likewise.
88874         * libio/obprintf.c: Likewise.
88875         * libio/oldfileops.c: Likewise.
88876         * libio/oldiofclose.c: Likewise.
88877         * libio/oldiofdopen.c: Likewise.
88878         * libio/oldiofopen.c: Likewise.
88879         * libio/oldiopopen.c: Likewise.
88880         * libio/wfiledoalloc.c: Likewise.
88881         * libio/wgenops.c: Likewise.
88882         * locale/programs/xmalloc.c: Likewise.
88883         * misc/syslog.c: Likewise.
88884         * stdio-common/xbug.c: Likewise.
88885         * string/memchr.c: Likewise.
88886         * string/memcmp.c: Likewise.
88887         * string/memrchr.c: Likewise.
88888         * string/rawmemchr.c: Likewise.
88889         * sysdeps/posix/getcwd.c: Likewise.
88890         * time/strftime_l.c: Likewise.
88892 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
88894         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
88895         * config.make.in (config-cflags-sse2avx): Define.
88896         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
88897         Fix typo.
88899 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
88901         * scripts/config.guess: Update from upstream config git repository.
88902         * scripts/config.sub: Likewise.
88904 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
88906         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
88907         (EM_NUM): Update.
88908         (R_TILEPRO_*, R_TILEGX_*): New macros.
88910         * scripts/firstversions.awk: Fix bug in version range handling.
88912         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
88914         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
88916         * include/sys/epoll.h: New file.
88917         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
88918         libc_hidden_def.
88920 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
88922         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
88923         Avoid unnecessary __WORDSIZE == 64 test.
88924         (fmaxf): Use VEX format if possible.
88925         (fmax): Likewise.
88926         (fminf): Likewise.
88927         (fmin): Likewise.
88929         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
88930         * math/math_private.h: Remove libc_fegetround* and
88931         libc_fesetround*.
88932         * sysdeps/i386/configure.in: Check for -msse2avx.
88933         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
88934         also if SSE2AVX is defined.
88935         Remove libc_fegetround* and libc_fesetround*.
88936         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
88937         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
88938         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
88939         of HAS_YMM_USABLE.
88940         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88941         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88942         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88943         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88944         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88946         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
88948 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88950         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
88951         size is not set.
88952         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88954 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
88956         [BZ #13618]
88957         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
88958         relocation.
88959         * Makeconfig (libm): Define.
88960         * elf/Makefile: Add rules to build and run tst-relsort1.
88961         * elf/tst-relsort1.c: New file.
88962         * elf/tst-relsort1mod1.c: New file.
88963         * elf/tst-relsort1mod2.c: New file.
88965 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
88967         * math/s_ldexp.c: Remove __STDC__ conditionals.
88968         * math/s_ldexpf.c: Likewise.
88969         * math/s_ldexpl.c: Likewise.
88970         * math/s_nextafter.c: Likewise.
88971         * math/s_nexttowardf.c: Likewise.
88972         * math/s_significand.c: Likewise.
88973         * math/s_significandf.c: Likewise.
88974         * math/s_significandl.c: Likewise.
88975         * math/w_jnl.c: Likewise.
88976         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
88977         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
88978         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
88979         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
88980         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
88981         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
88982         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
88983         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
88984         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
88985         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
88986         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
88987         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88988         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
88989         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
88990         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
88991         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
88992         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
88993         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
88994         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
88995         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
88996         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
88997         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
88998         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
88999         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
89000         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
89001         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
89002         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
89003         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
89004         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
89005         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
89006         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
89007         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
89008         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
89009         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
89010         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
89011         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
89012         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
89013         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
89014         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
89015         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
89016         * sysdeps/ieee754/k_standard.c: Likewise.
89017         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
89018         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
89019         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
89020         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
89021         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
89022         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
89023         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
89024         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
89025         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
89026         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
89027         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
89028         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
89029         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
89030         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
89031         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
89032         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
89033         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
89034         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
89035         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
89036         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
89037         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
89038         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
89039         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
89040         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
89041         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
89042         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
89043         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
89044         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
89045         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
89046         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
89047         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
89048         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
89049         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
89050         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
89051         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
89052         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
89053         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
89054         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
89055         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
89056         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
89057         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
89058         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
89059         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
89060         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
89061         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
89062         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
89063         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
89064         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
89065         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
89066         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
89067         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
89068         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
89069         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
89070         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
89071         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
89072         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
89073         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
89074         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
89075         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
89076         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
89077         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
89078         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
89079         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
89080         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
89081         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
89082         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
89083         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
89084         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
89085         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
89086         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
89087         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
89088         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
89089         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
89090         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
89091         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
89092         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
89093         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
89094         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
89095         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
89096         * sysdeps/ieee754/s_matherr.c: Likewise.
89097         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
89098         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
89099         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
89100         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
89102 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
89104         * crypt/md5.h: Remove __STDC__ conditionals.
89105         * libio/libioP.h: Likewise.
89106         * locale/programs/config.h: Likewise.
89107         * sysdeps/generic/sysdep.h: Likewise.
89108         * sysdeps/i386/asm-syntax.h: Likewise.
89109         * sysdeps/s390/asm-syntax.h: Likewise.
89110         * sysdeps/unix/sysdep.h: Likewise.
89111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
89112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
89114 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
89116         * libio/libio.h: Remove __STDC__ conditionals.
89117         * malloc/obstack.h: Likewise.
89118         * math/complex.h: Likewise.
89119         * math/math.h: Likewise.
89120         * sysdeps/generic/_G_config.h: Likewise.
89121         * sysdeps/gnu/_G_config.h: Likewise.
89122         * sysdeps/mach/hurd/_G_config.h: Likewise.
89123         * sysdeps/powerpc/bits/mathdef.h: Likewise.
89124         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
89125         * sysdeps/sparc/bits/mathdef.h: Likewise.
89127 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
89129         [BZ #13583]
89130         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
89131         Clean up HAS_* macros.
89132         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
89133         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
89134         possible.
89135         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
89136         HAS_AVX.
89137         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89138         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89139         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89140         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89141         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89143 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
89145         * elf/tst-unique3.cc (gets): Remove declaration.
89146         * elf/tst-unique3lib.cc (gets): Likewise.
89147         * elf/tst-unique3lib2.cc (gets): Likewise.
89148         * elf/tst-unique4.cc (gets): Likewise.
89150 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
89152         * include/stdio.h: Add C++ protection.  Add gets declarations and
89153         definitions.
89154         * debug/tst-chk1.c: Don't declare gets here.
89155         * stdio-common/tst-gets.c: Likewise.
89157 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
89159         * posix/glob: Remove directory.
89161 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
89163         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
89165 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
89167         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
89168         of the non-standard EPFNOSUPPORT.
89170 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89172         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
89173         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
89174         ANYWHERE set to 1 only on KERN_NO_SPACE error.
89176 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
89178         * wcsmbs/uchar.h: Test __STDC_VERSION__.
89180 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
89182         * nscd/aicache.c (addhstaiX): Do not cache negative results of
89183         transient errors.
89184         * nscd/grpcache.c (cache_addgr): Likewise.
89185         * nscd/hstcache.c (cache_addhst): Likewise.
89186         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89187         * nscd/pwdcache.c (cache_addpw): Likewise.
89188         * nscd/servicescache.c (cache_addserv): Likewise.
89190 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
89192         * malloc/malloc.c: Various cleanups.
89193         * malloc/hooks.c: Likewise.
89195         * stdlib/Makefile (tests): Add bug-fmtmsg1.
89196         * stdlib/bug-fmtmsg1.c: New file.
89198         * stdlib/fmtmsg.c (init): Add missing unlock.
89199         Patch by Peng Haitao <penght@cn.fujitsu.com>.
89201 2012-01-12  Marek Polacek  <polacek@redhat.com>
89203         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
89204         and _GNU_SOURCE.
89206 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
89208         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
89209         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
89210         macro to ensure uniqueness of label name.
89211         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89212         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89214 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
89216         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
89218         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
89219         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
89220         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
89221         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
89223 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
89225         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
89227         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
89228         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
89229         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
89231         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
89233         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
89234         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
89235         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
89236         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
89238         * math/bits/math-finite.h: Add ldexp support.
89240 2012-01-10  Marek Polacek  <polacek@redhat.com>
89242         * locale/programs/localedef.h (show_archive_content): Add noreturn
89243         attribute.
89245 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
89247         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
89249 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
89251         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
89253         * io/Makefile (headers): Add bits/poll2.h.
89255 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
89257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
89258         typo #include statement.
89260 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
89262         * include/sys/cdefs.h: Define __attribute_alloc_size.
89263         * catgets/gencat.c: Add alloc_size attribute and apply consistently
89264         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
89265         * elf/pldd.c: Likewise.
89266         * iconv/iconv_charmap.c: Likewise.
89267         * iconv/iconvconfig.c: Likewise.
89268         * iconv/strtab.c: Likewise.
89269         * locale/programs/locale.c: Likewise.
89270         * locale/programs/localedef.h: Likewise.
89271         * locale/programs/simple-hash.c: Likewise.
89272         * nscd/nscd.h: Likewise.
89273         * nss/makedb.c: Likewise.
89274         * sysdeps/generic/ldconfig.h: Likewise.
89275         * locale/programs/localedef.c: Remove xmalloc prototype.
89276         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
89278 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
89280         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
89281         appropriate.
89283 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
89285         * math/Makefile (tests): Add tst-CMPLX.
89286         * math/tst-CMPLX.c: New file.
89288         * math/complex.h (CMPLXL): Fix typo.
89290         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
89291         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
89292         GLIBC_2.16.
89293         * debug/tst-chk1.c: Add poll and ppoll tests.
89294         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
89295         * include/sys/poll.h: Add hidden proto for ppoll.
89296         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
89297         * sysdeps/mach/hurd/ppoll.c: Likewise.
89298         * io/ppoll.c: Likewise.
89299         * debug/poll_chk.c: New file.
89300         * debug/ppoll_chk.c: New file.
89301         * include/bits/poll2.h: New file.
89302         * io/bits/poll2.h: New file.
89304         [BZ #1350]
89305         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
89307         * configure.in: static is always set to yes.  Remove.
89308         * config.make.in: Don't set build-static.
89309         * Makeconfig: Remove use of build-static.
89310         * dlfcn/Makefile: Likewise.
89311         * elf/Makefile: Likewise.
89312         * math/Makefile: Likewise.
89313         * misc/Makefile: Likewise.
89314         * nptl/Makefile: Likewise.
89315         * sysdeps/mach/hurd/Makefile: Likewise.
89317         * configure.in: PWD_P is not used anymore.
89318         * config.make.in: Remove PWD_P entry.
89320         * configure.in: Remove last remnants of RANLIB.
89321         No need to check for signed size_t anymore.
89322         Don't set libc_commonpagesize and libc_relro_required here for Alpha
89323         and IA-64.
89324         Remove __builtin_expect test because we require at least gcc 3.4.
89325         * aclocal.m4: Likewise.
89327         * wcsmbs/mbrtoc16.c: Implement using towc function.
89328         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
89329         * wcsmbs/wcsmbsload.c: Likewise.
89330         * iconv/gconv_simple.c: Likewise.
89331         * iconv/gconv_int.h: Likewise.
89332         * iconv/gconv_builtin.h: Likewise.
89333         * iconv/iconv_prog.c: Remove CHAR16 handling.
89335         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
89337         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
89339         * configure.in: Remove --with-elf and --enable-bounded options.
89340         Dont set base_machine for ia64.  More non-ELF conditions removed.
89341         Remove testing and setting of leading underscore information.
89342         * config.make.in (build-bounded): Set to no.
89343         * config.h.in: Remove NO_UNDERSCORES entry.
89344         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
89345         them.
89346         * csu/start.c: Remove !NO_UNDERSCORE code.
89347         * locale/localeinfo.h: Likewise.
89348         * sysdeps/generic/machine-gmon.h: Likewise.
89349         * sysdeps/generic/sysdep.h: Likewise.
89350         * sysdeps/i386/sysdep.h: Likewise.
89351         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89352         * sysdeps/mach/sysdep.h: Likewise.
89353         * sysdeps/s390/s390-32/sysdep.h: Likewise.
89354         * sysdeps/s390/s390-64/sysdep.h: Likewise.
89355         * sysdeps/sh/sysdep.h: Likewise.
89356         * sysdeps/sparc/sparc32/alloca.S: Likewise.
89357         * sysdeps/unix/i386/sysdep.S: Likewise.
89358         * sysdeps/unix/sparc/start.c: Likewise.
89359         * sysdeps/unix/sparc/sysdep.S: Likewise.
89360         * sysdeps/unix/sparc/sysdep.h: Likewise.
89361         * sysdeps/unix/start.c: Likewise.
89362         * sysdeps/unix/x86_64/sysdep.S: Likewise.
89363         * sysdeps/x86_64/sysdep.h: Likewise.
89365 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
89367         [BZ #13553]
89368         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
89369         for non-gcc.
89370         * argp/argp-fmtstream.h: Use const instead __const.
89371         * argp/argp.h: Likewise.
89372         * assert/assert.h: Likewise.
89373         * bits/fenv.h: Likewise.
89374         * bits/sched.h: Likewise.
89375         * bits/sigset.h: Likewise.
89376         * bits/sigthread.h: Likewise.
89377         * catgets/nl_types.h: Likewise.
89378         * conform/data/pthread.h-data: Likewise.
89379         * crypt/crypt-private.h: Likewise.
89380         * crypt/crypt.h: Likewise.
89381         * crypt/crypt_util.c: Likewise.
89382         * ctype/ctype.h: Likewise.
89383         * debug/execinfo.h: Likewise.
89384         * debug/mbsnrtowcs_chk.c: Likewise.
89385         * debug/mbsrtowcs_chk.c: Likewise.
89386         * debug/wcsnrtombs_chk.c: Likewise.
89387         * debug/wcsrtombs_chk.c: Likewise.
89388         * debug/wcstombs_chk.c: Likewise.
89389         * dirent/dirent.h: Likewise.
89390         * dlfcn/dlfcn.h: Likewise.
89391         * elf/neededtest4.c: Likewise.
89392         * grp/grp.h: Likewise.
89393         * gshadow/gshadow.h: Likewise.
89394         * iconv/gconv.h: Likewise.
89395         * iconv/gconv_int.h: Likewise.
89396         * iconv/gconv_simple.c: Likewise.
89397         * iconv/iconv.h: Likewise.
89398         * iconv/loop.c: Likewise.
89399         * iconv/skeleton.c: Likewise.
89400         * include/aio.h: Likewise.
89401         * include/aliases.h: Likewise.
89402         * include/argz.h: Likewise.
89403         * include/arpa/inet.h: Likewise.
89404         * include/assert.h: Likewise.
89405         * include/dirent.h: Likewise.
89406         * include/dlfcn.h: Likewise.
89407         * include/execinfo.h: Likewise.
89408         * include/fcntl.h: Likewise.
89409         * include/fenv.h: Likewise.
89410         * include/glob.h: Likewise.
89411         * include/grp.h: Likewise.
89412         * include/libintl.h: Likewise.
89413         * include/mntent.h: Likewise.
89414         * include/netdb.h: Likewise.
89415         * include/pwd.h: Likewise.
89416         * include/rpc/netdb.h: Likewise.
89417         * include/sched.h: Likewise.
89418         * include/search.h: Likewise.
89419         * include/shadow.h: Likewise.
89420         * include/signal.h: Likewise.
89421         * include/stdio.h: Likewise.
89422         * include/stdlib.h: Likewise.
89423         * include/string.h: Likewise.
89424         * include/sys/socket.h: Likewise.
89425         * include/sys/stat.h: Likewise.
89426         * include/sys/statfs.h: Likewise.
89427         * include/sys/statvfs.h: Likewise.
89428         * include/sys/syslog.h: Likewise.
89429         * include/sys/time.h: Likewise.
89430         * include/sys/uio.h: Likewise.
89431         * include/time.h: Likewise.
89432         * include/unistd.h: Likewise.
89433         * include/utmp.h: Likewise.
89434         * include/wchar.h: Likewise.
89435         * include/wctype.h: Likewise.
89436         * inet/aliases.h: Likewise.
89437         * inet/arpa/inet.h: Likewise.
89438         * inet/netinet/ether.h: Likewise.
89439         * inet/netinet/in.h: Likewise.
89440         * intl/libintl.h: Likewise.
89441         * io/bits/fcntl2.h: Likewise.
89442         * io/fcntl.h: Likewise.
89443         * io/ftw.h: Likewise.
89444         * io/sys/poll.h: Likewise.
89445         * io/sys/stat.h: Likewise.
89446         * io/sys/statfs.h: Likewise.
89447         * io/sys/statvfs.h: Likewise.
89448         * io/utime.h: Likewise.
89449         * libio/bits/stdio.h: Likewise.
89450         * libio/bits/stdio2.h: Likewise.
89451         * libio/libio.h: Likewise.
89452         * libio/libioP.h: Likewise.
89453         * libio/stdio.h: Likewise.
89454         * locale/lc-ctype.c: Likewise.
89455         * locale/locale.h: Likewise.
89456         * login/utmp.h: Likewise.
89457         * malloc/arena.c: Likewise.
89458         * malloc/malloc.c: Likewise.
89459         * malloc/malloc.h: Likewise.
89460         * malloc/mcheck.c: Likewise.
89461         * malloc/mtrace.c: Likewise.
89462         * math/bits/mathcalls.h: Likewise.
89463         * math/fenv.h: Likewise.
89464         * math/math_private.h: Likewise.
89465         * misc/bits/error.h: Likewise.
89466         * misc/bits/syslog.h: Likewise.
89467         * misc/err.h: Likewise.
89468         * misc/error.h: Likewise.
89469         * misc/fstab.h: Likewise.
89470         * misc/mntent.h: Likewise.
89471         * misc/regexp.h: Likewise.
89472         * misc/search.h: Likewise.
89473         * misc/sgtty.h: Likewise.
89474         * misc/sys/mman.h: Likewise.
89475         * misc/sys/syslog.h: Likewise.
89476         * misc/sys/uio.h: Likewise.
89477         * misc/sys/xattr.h: Likewise.
89478         * misc/ttyent.h: Likewise.
89479         * nis/rpcsvc/ypclnt.h: Likewise.
89480         * nss/nss.h: Likewise.
89481         * posix/bits/unistd.h: Likewise.
89482         * posix/fnmatch.h: Likewise.
89483         * posix/glob.h: Likewise.
89484         * posix/sched.h: Likewise.
89485         * posix/spawn.h: Likewise.
89486         * posix/sys/wait.h: Likewise.
89487         * posix/unistd.h: Likewise.
89488         * posix/wordexp.h: Likewise.
89489         * pwd/pwd.h: Likewise.
89490         * resolv/netdb.h: Likewise.
89491         * resource/sys/resource.h: Likewise.
89492         * rt/aio.h: Likewise.
89493         * rt/bits/mqueue2.h: Likewise.
89494         * rt/mqueue.h: Likewise.
89495         * shadow/shadow.h: Likewise.
89496         * signal/signal.h: Likewise.
89497         * socket/send.c: Likewise.
89498         * socket/sendto.c: Likewise.
89499         * socket/sys/socket.h: Likewise.
89500         * stdio-common/printf.h: Likewise.
89501         * stdlib/bits/stdlib.h: Likewise.
89502         * stdlib/fmtmsg.h: Likewise.
89503         * stdlib/monetary.h: Likewise.
89504         * stdlib/stdlib.h: Likewise.
89505         * stdlib/ucontext.h: Likewise.
89506         * streams/stropts.h: Likewise.
89507         * string/argz.h: Likewise.
89508         * string/bits/string2.h: Likewise.
89509         * string/string.h: Likewise.
89510         * string/strings.h: Likewise.
89511         * sunrpc/rpc/auth.h: Likewise.
89512         * sunrpc/rpc/auth_des.h: Likewise.
89513         * sunrpc/rpc/clnt.h: Likewise.
89514         * sunrpc/rpc/netdb.h: Likewise.
89515         * sunrpc/rpc/pmap_clnt.h: Likewise.
89516         * sunrpc/rpc/xdr.h: Likewise.
89517         * sysdeps/generic/inttypes.h: Likewise.
89518         * sysdeps/generic/net/if.h: Likewise.
89519         * sysdeps/generic/sys/swap.h: Likewise.
89520         * sysdeps/gnu/net/if.h: Likewise.
89521         * sysdeps/gnu/utmpx.h: Likewise.
89522         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
89523         * sysdeps/i386/i486/bits/string.h: Likewise.
89524         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
89525         * sysdeps/s390/bits/string.h: Likewise.
89526         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
89527         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
89528         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
89529         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
89530         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
89531         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
89532         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
89533         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
89534         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
89535         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
89536         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
89537         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
89538         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
89539         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
89540         * sysdeps/unix/sysv/linux/readv.c: Likewise.
89541         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
89542         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
89543         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89544         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
89545         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
89546         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89547         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
89548         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
89549         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
89550         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
89551         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
89552         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
89553         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89554         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
89555         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
89556         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
89557         * sysvipc/sys/ipc.h: Likewise.
89558         * sysvipc/sys/msg.h: Likewise.
89559         * sysvipc/sys/sem.h: Likewise.
89560         * sysvipc/sys/shm.h: Likewise.
89561         * termios/termios.h: Likewise.
89562         * time/sys/time.h: Likewise.
89563         * time/time.h: Likewise.
89564         * wcsmbs/bits/wchar2.h: Likewise.
89565         * wcsmbs/uchar.h: Likewise.
89566         * wcsmbs/wchar.h: Likewise.
89567         * wctype/wctype.h: Likewise.
89569         [BZ #13551]
89570         * Makeconfig: Remove all but ELF support including AIX support.
89571         * Makerules: Likewise.
89572         * config.h.in: Likewise.
89573         * config.make.in: Likewise.
89574         * configure: Likewise.
89575         * configure.in: Likewise.
89576         * csu/Makefile: Likewise.
89577         * csu/version.c: Likewise.
89578         * debug/Makefile: Likewise.
89579         * dlfcn/Makefile: Likewise.
89580         * elf/Makefile: Likewise.
89581         * extra-lib.mk: Likewise.
89582         * iconv/Makefile: Likewise.
89583         * include/libc-symbols.h: Likewise.
89584         * include/shlib-compat.h: Likewise.
89585         * resolv/Makefile: Likewise.
89586         * resolv/res_libc.c: Likewise.
89587         * rt/Makefile: Likewise.
89588         * sysdeps/i386/asm-syntax.h: Likewise.
89589         * sysdeps/i386/sysdep.h: Likewise.
89590         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89591         * sysdeps/mach/sysdep.h: Likewise.
89592         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
89593         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
89594         * sysdeps/s390/asm-syntax.h: Likewise.
89595         * sysdeps/s390/s390-32/sysdep.h: Likewise.
89596         * sysdeps/s390/s390-64/sysdep.h: Likewise.
89597         * sysdeps/sh/sysdep.h: Likewise.
89598         * sysdeps/unix/sparc/sysdep.h: Likewise.
89599         * sysdeps/wordsize-32/divdi3.c: Likewise.
89600         * sysdeps/x86_64/sysdep.h: Likewise.
89602         * argp/Versions: Remove _argp_unlock_xxx.
89604         [BZ #13559]
89605         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
89606         * abilist/libBrokenLocale.abilist: Likewise.
89607         * abilist/libanl.abilist: Likewise.
89608         * abilist/libc.abilist: Likewise.
89609         * abilist/libcrypt.abilist: Likewise.
89610         * abilist/libdl.abilist: Likewise.
89611         * abilist/libm.abilist: Likewise.
89612         * abilist/libnsl.abilist: Likewise.
89613         * abilist/libpthread.abilist: Likewise.
89614         * abilist/libresolv.abilist: Likewise.
89615         * abilist/librt.abilist: Likewise.
89616         * abilist/libthread_db.abilist: Likewise.
89617         * abilist/libutil.abilist: Likewise.
89618         * abilist/libnss_db.abilist: New file.
89620         * scripts/abilist.awk: Add support for indirect functions.
89622         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
89624         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
89626         * shlib-versions: Remove entries for ports architectures.
89628         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
89629         files in ports.
89630         * elf/stackguard-macros.h: Remove support for IA-64.
89631         * elf/tst-auditmod1.c: Likewise.
89632         * sysdeps/generic/ldsodefs.h: Likewise.
89634         * sysdeps/unix/sysv/linux/configure.in: Ports should define
89635         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
89636         configure files.
89638         [BZ #13552]
89639         * configure.in: Remove --enable-omitfp support.
89640         * FAQ.in: Adjust.
89641         * config.make.in: Likewise.
89642         * Makeconfig: Likewise.
89643         * manual/install.texi: Likewise.
89645         In case anyone cares, the IA-64 architecture could move to ports.
89646         * sysdeps/ia64/*: Removed.
89647         * sysdeps/unix/sysv/linux/ia64/*: Removed.
89648         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
89650         [BZ #13555]
89651         * configure.in: Remove entries for unsupported architectures.
89653         [BZ #13533]
89654         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
89655         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
89656         routines.
89657         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
89658         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
89659         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
89660         fall back to using wcrtomb.
89661         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
89662         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
89663         renaming.
89664         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
89665         * wcsmbs/tst-c16c32-1.c: New file.
89667         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
89668         local variable.
89670         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
89672         * elf/tst-unique3.cc: Add explicit declaration of gets.
89673         * elf/tst-unique3lib.cc: Likewise.
89674         * elf/tst-unique3lib2.cc: Likewise.
89675         * elf/tst-unique4.cc: Likewise.
89677         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
89679 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
89681         [BZ #13566]
89682         * assert/assert.h (static_assert): Don't define for C++.
89683         * libio/stdio.h (gets): Do declare for C++ <= C++11.
89684         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
89686 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
89688         * iconv/loop.c (single loop): Fix assertion in storing of
89689         remaining bytes.
89691         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
89693 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
89695         * posix/getconf.c: Update copyright year.
89696         * nss/getent.c: Likewise.
89697         * nss/makedb.c: Likewise.
89698         * iconv/iconvconfig.c: Likewise.
89699         * iconv/iconv_prog.c: Likewise.
89700         * elf/ldconfig.c: Likewise.
89701         * elf/pldd.c: Likewise.
89702         * elf/sotruss.ksh: Likewise.
89703         * catgets/gencat.c: Likewise.
89704         * csu/version.c: Likewise.
89705         * elf/ldd.bash.in: Likewise.
89706         * elf/sprof.c (print_version): Likewise.
89707         * locale/programs/locale.c: Likewise.
89708         * locale/programs/localedef.c: Likewise.
89709         * login/programs/pt_chown.c: Likewise.
89710         * nscd/nscd.c (print_version): Likewise.
89711         * debug/xtrace.sh: Likewise.
89712         * malloc/memusage.sh: Likewise.
89713         * malloc/mtrace.pl: Likewise.
89714         * debug/catchsegv.sh: Likewise.
89716 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
89718         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
89719         pure attribute.
89721 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
89723         [BZ #13533]
89724         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
89725         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
89726         transformations.
89727         * iconv/gconv_int.h: Likewise.
89728         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
89729         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
89730         from libc for GLIBC_2.16.
89731         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
89732         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
89733         * wcsmbs/uchar.h: Really define mbstate_t.
89734         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
89735         * wcsmbs/c16rtomb.c: New file.
89736         * wcsmbs/mbrtoc16.c: New file.
89737         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
89738         for C/POSIX locale.
89739         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
89740         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
89742         * wcsmbs/wchar.h: Add missing __restrict.
89744 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
89746         [BZ #13532]
89747         * time/Makefile (routines): Add timespec_get.
89748         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
89749         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
89750         timespec for ISO C11.
89751         * time/timespec_get.c: New file.
89752         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
89753         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
89755         [BZ #13531]
89756         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
89757         * stdlib/stdlib.h: Declare aligned_alloc.
89758         * Versions.def: Add GLIBC_2.16 for libc.
89759         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
89761         [BZ 13527]
89762         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
89763         ISO C11.
89765         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
89766         code.
89768         [BZ #13528]
89769         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
89771         [BZ #13529]
89772         * assert/assert.h (static_assert): Define.
89774         * version.h: Update for 2.16 development version.
89776         [BZ #13526]
89777         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
89778         _ISOC11_SOURCE.
89780         * version.h (RELEASE): Bump for 2.15 release.
89781         * include/features.h (__GLIBC_MINOR__): Bump to 15.
89783         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
89784         Patch by Marek Polacek <mpolacek@redhat.com>.
89786         * bits/byteswap.h: Protect long long constants with __extension__.
89787         * sysdeps/i386/bits/byteswap.h: Likewise.
89788         * sysdeps/ia64/bits/byteswap.h: Likewise.
89789         * sysdeps/s390/bits/byteswap.h: Likewise.
89790         * sysdeps/x86_64/bits/byteswap.h: Likewise.
89792 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89794         [BZ #13540]
89795         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
89796         destination buffer.
89797         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
89799 2011-12-23  Marek Polacek  <polacek@redhat.com>
89801         * elf/dl-addr.c (determine_info): Add inline keyword.
89802         * elf/tst-auditmod4b.c (check_avx): Likewise.
89803         * elf/tst-auditmod6b.c (check_avx): Likewise.
89804         * elf/tst-auditmod6c.c (check_avx): Likewise.
89805         * elf/tst-auditmod7b.c (check_avx): Likewise.
89807 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
89809         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
89810         !__SSE_MATH__.
89812 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89814         [BZ #13540]
89815         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
89816         processing for last bytes.
89818 2011-08-06  Bruno Haible  <bruno@clisp.org>
89820         [BZ #13061]
89821         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
89822         U+0385, not to U+1FEE.
89824         [BZ #13062]
89825         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
89826         entry for U+00A5 U+0301.
89828 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
89830         [BZ #13166]
89831         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
89832         buffer for the output is too small.
89834         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
89835         optimization.
89837         [BZ #13185]
89838         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
89839         SSE flags if possible.
89841 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89843         [BZ #13540]
89844         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
89845         processing for last bytes.
89847 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
89849         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
89850         (syscall-list-default-options, syscall-list-default-condition)
89851         (syscall-list-includes): Define.
89852         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
89853         list of ABIs and options and #if conditions for each ABI.  Do not
89854         handle common syscalls between ABIs specially.
89855         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
89856         Remove.
89857         (syscall-list-variants, syscall-list-32bit-options)
89858         (syscall-list-32bit-condition, syscall-list-64bit-options)
89859         (syscall-list-64bit-condition): Define.
89860         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
89861         (syscall-list-variants, syscall-list-32bit-options)
89862         (syscall-list-32bit-condition, syscall-list-64bit-options)
89863         (syscall-list-64bit-condition): Define.
89864         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
89865         Remove.
89866         (syscall-list-variants, syscall-list-32bit-options)
89867         (syscall-list-32bit-condition, syscall-list-64bit-options)
89868         (syscall-list-64bit-condition): Define.
89869         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
89870         Remove.
89871         (syscall-list-variants, syscall-list-32bit-options)
89872         (syscall-list-32bit-condition, syscall-list-64bit-options)
89873         (syscall-list-64bit-condition): Define.
89875 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
89877         * locale/iso-639.def: Add brx entry.
89879         [BZ #13328]
89880         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
89881         Proposed by Mariusz_Cukr <marcukr@op.pl>.
89883         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
89884         __feraiseexcept_renamed.
89886 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
89888         [BZ #13538]
89889         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
89890         EPOLLET with unsigned values.
89891         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89892         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89894         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
89895         to large cancellation.
89896         * math/s_cacoshf.c: Likewise.
89897         * math/s_cacoshl.c: Likewise.
89899 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
89901         [BZ #13305]
89902         [BZ #12786]
89903         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
89904         * math/s_cacoshf.c: Likewise.
89905         * math/s_cacoshl.c: Likewise.
89907 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
89909         [BZ #13439]
89910         * iconv/gconv.h: Define __GCONV_SWAP.
89911         * iconvdata/unicode.c: The swap bit must be stored in __flags.
89912         * iconvdata/utf-16.c: Likewise.
89913         * iconvdata/utf-32.c: Likewise.
89915 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
89917         [BZ #13524]
89918         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
89919         numerator after shifting it by one limb.
89921 2011-12-19  Rafael Ăvila de EspĂ­ndola  <rafael.espindola@gmail.com>
89923         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
89924         under [__USE_EXTERN_INLINES].
89926 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
89928         [BZ #13446]
89929         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
89931 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89933         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
89934         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
89935         optimized code.
89936         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
89937         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
89938         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
89939         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
89940         for strncasecmp/strncasecmp_l compilation.
89941         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
89942         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
89944 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
89946         [BZ #13484]
89947         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
89948         of __asm__.
89950 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
89952         [BZ #13506]
89953         * time/tzfile.c (__tzfile_read): Check values from file header.
89955 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
89957         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
89958         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
89959         * powerpc/powerpc32/dl-start.S: Likewise.
89960         * powerpc/powerpc32/elf/start.S: Likewise.
89961         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
89962         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
89963         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
89964         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
89965         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
89966         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
89967         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
89968         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
89969         * powerpc/powerpc32/fpu/s_round.S: Likewise.
89970         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
89971         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
89972         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
89973         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
89974         * powerpc/powerpc32/memset.S: Likewise.
89975         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
89976         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
89977         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
89978         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
89979         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
89980         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
89981         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
89982         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
89983         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
89984         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
89985         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
89986         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89987         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89989 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89991         * math/libm-test.inc: Added more nearbyint tests.
89992         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
89993         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
89994         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
89995         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
89997 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
89999         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
90000         FD_CLOEXEC.
90002 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90004         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
90005         Add wcscpy-ssse3 wcscpy-c.
90006         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
90007         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
90008         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
90009         * sysdeps/x86_64/wcschr.S: New file.
90010         * sysdeps/x86_64/wcsrchr.S: New file.
90011         * string/test-strcmp.c: Remove checking of wcscmp function for
90012         wrong alignments.
90013         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
90014         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
90015         wcsrchr-sse2 wcsrchr-c.
90016         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
90017         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
90018         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
90019         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
90020         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
90021         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
90022         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
90023         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
90024         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
90025         * wcsmbc/wcschr.c (WCSCHR): New macro.
90027 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90029         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
90030         * wcsmbs/test-wcsrchr.c: New file.
90031         * string/test-strrchr.c: Add wcsrchr support.
90032         (WIDE): New macro.
90033         * wcsmbs/test-wcscpy.c: New file.
90034         * string/test-strcpy.c: Add wcscpy support.
90035         (WIDE): New macro.
90037 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
90039         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
90040         the inner loop.
90042 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
90044         [BZ #13472]
90045         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
90047 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
90049         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
90050         Minor optimizations.
90052         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
90053         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
90054         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
90056 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
90058         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
90059         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
90060         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
90061         for gcc to avoid warnings.
90062         * inet/Makefile (tests): Add tst-checks.
90063         * inet/tst-checks.c: New file.
90065         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
90066         warning.
90068         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
90069         __wmemcmp_sse2.
90071         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
90072         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
90074         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
90076 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
90078         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
90079         problem.
90081         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
90083 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
90085         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
90086         conditional on GCC version.
90087         (__arch_compare_and_exchange_val_8_acq)
90088         (__arch_compare_and_exchange_val_16_acq)
90089         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
90090         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
90091         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
90093 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
90095         * sysdeps/sh/backtrace.c: New file.
90097 2011-12-02  Andreas Schwab  <schwab@redhat.com>
90099         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
90100         parenthesis.
90102 2011-12-01  Andreas Schwab  <schwab@redhat.com>
90104         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
90105         falling back to utime.
90107 2011-11-30  Andreas Schwab  <schwab@redhat.com>
90109         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
90110         expectations for float.
90112 2011-11-29  Andreas Schwab  <schwab@redhat.com>
90114         * locale/weight.h (findidx): Add parameter len.
90115         * locale/weightwc.h (findidx): Likewise.
90116         * posix/fnmatch_loop.c (FCT): Adjust caller.
90117         * posix/regcomp.c (build_equiv_class): Likewise.
90118         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
90119         * posix/regexec.c (check_node_accept_bytes): Likewise.
90120         * string/strcoll_l.c (STRCOLL): Likewise.
90121         * string/strxfrm_l.c (STRXFRM): Likewise.
90123 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
90125         * Makefile.in: Remove CVSOPT handling.
90126         * configure.in: Remove use of AC_REVISION.
90127         * iconvdata/Makefile (distribute): No need to filter out CVS.
90128         * scripts/list-sources.sh: Remove CVS, subversion and monotone
90129         handling.
90131 2011-11-16  Andreas Schwab  <schwab@redhat.com>
90133         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
90134         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
90135         [USE_AS_STRNCASECMP_L]: Likewise.
90136         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
90137         NO_TLS_DIRECT_SEG_REFS.
90138         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
90139         Fix argument offsets for non-PIC.
90140         [USE_AS_STRNCASECMP_L]: Likewise.
90141         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
90142         NO_TLS_DIRECT_SEG_REFS.
90144 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
90146         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
90147         O_CLOEXEC.
90148         * locale/loadlocale.c (_nl_load_locale): Likewise.
90150 2011-11-15  Andreas Schwab  <schwab@redhat.com>
90152         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
90153         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
90154         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
90155         (SYSCALL_GETTIME): Set errno on error.
90157         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
90158         count references to noai6ai_cached.
90160 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
90162         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
90164         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
90165         FD_CLOEXEC for /proc/self/maps.
90167         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
90168         FD_CLOEXEC for /proc/meminfo.
90170         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
90171         gai.conf.
90173         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
90174         FD_CLOEXEC for given file.
90176         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
90178         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
90179         FD_CLOEXEC for /etc/hosts.
90180         (_gethtent): Likewise.
90182         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
90184         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
90185         cancellation and set FD_CLOEXEC for /etc/netgroup.
90187         * nss/nss_files/files-key.c (search): Don't allow cancellation when
90188         reading /etc/publickey.
90190         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
90191         allow cancellation when reading /etc/group.
90193         * nss/nss_files/files-alias.c (internal_setent): Don't allow
90194         cancellation.
90195         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
90197         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
90198         when using data file.
90200         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
90202         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
90203         (write_nis_obj): Use "c" and "e" in fopen.
90205         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
90207         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
90209         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
90211         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
90213         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
90214         locale.alias.
90216         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
90218         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
90220         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
90222         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
90223         file parsing and set FD_CLOEXEC.
90225 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
90227         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
90229 2011-11-14  Andreas Schwab  <schwab@redhat.com>
90231         * malloc/arena.c (arena_get2): Don't call reused_arena when
90232         _int_new_arena failed.
90234 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
90236         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
90237         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
90238         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
90239         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
90240         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
90241         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
90242         to compile strcasecmp and strncasecmp.
90243         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
90244         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
90246         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
90248 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
90250         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
90251         locale-defines.sym to gen-as-const-headers.
90252         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
90253         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
90254         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
90255         to compile strcasecmp and strncasecmp.
90256         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
90257         strcasecmp_l and strncasecmp_l.
90258         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
90259         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
90260         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
90261         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
90262         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
90263         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
90264         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
90265         * sysdeps/i386/i686/multiarch/strncase.S: New file.
90266         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
90267         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
90268         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
90270 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
90272         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
90273         result of SYSDEP_GETTIME_CPU to retval.
90274         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
90275         parameter list to macro.  Remove trailing semicolon.  Adjust users.
90277         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
90278         variable.
90280         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
90281         mantissa words.
90282         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
90284         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
90285         from unused variable.
90287         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
90288         DWARF definitions.
90289         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
90290         for assembling.
90292         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
90293         over namespaces.
90295         * sunrpc/rpc_prot.c (rejected): Fix case value.
90297         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
90298         unsigned long long int to avoid warnings in shift.
90300         * posix/regex_internal.c (re_string_reconstruct): Actually use result
90301         of use of trans.
90302         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
90303         variable tmp.
90305         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
90306         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
90307         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
90309         * nis/nis_table.c (nis_list): Use variable of correct type for
90310         result of __follow_path call.
90312 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
90314         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
90315         of math functions ceil, trunc, floor, round, and sqrt, when
90316         avaliable on the platform.
90317         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
90318         name clash.
90319         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
90320         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
90321         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
90323 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
90325         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
90326         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
90328 2011-11-11  Roland McGrath  <roland@hack.frob.com>
90330         * include/unistd.h: Fix __readlink return type.
90331         Reported by Chris Metcalf <cmetcalf@tilera.com>.
90333 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
90335         * stdlib/ucontext.h: Undo last change for makecontext.
90337 2011-11-11  Andreas Schwab  <schwab@redhat.com>
90339         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
90341         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
90342         * setjmp/setjmp.h: Mark functions as non-leaf.
90343         * setjmp/bits/setjmp2.h: Likewise.
90344         * stdlib/ucontext.h: Likewise.
90346 2011-11-10  Andreas Schwab  <schwab@redhat.com>
90348         * malloc/arena.c (_int_new_arena): Don't increment narenas.
90349         (reused_arena): Don't check arena limit.
90350         (arena_get2): Atomically check arena limit.
90352 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
90354         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
90355         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
90357         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
90358         instructions.
90360 2011-11-07  Andreas Schwab  <schwab@redhat.com>
90362         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
90363         handler when locking.
90365         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90366         Fix size of allocated buffer.
90368 2011-11-04  Andreas Schwab  <schwab@redhat.com>
90370         [BZ #10103]
90371         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
90372         declarations for long double functions.
90373         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
90375         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
90377 2011-11-03  Andreas Schwab  <schwab@redhat.com>
90379         * nscd/nscd.c (main): Don't start AVC thread until credentials are
90380         installed.
90382         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
90383         is disabled.
90385 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90387         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
90389 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
90391         * include/alloca.h (stackinfo_alloca_round): Define.
90392         (extend_alloca): Use it.
90393         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
90394         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
90395         here.
90397         * scripts/check-local-headers.sh: Ignore libaudit.h.
90399         * nscd/Makefile (extra-objs): Make recursively expanded.
90401 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
90403         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
90404         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
90406         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
90407         * posix/tst-rfc3484-2.c: Likewise.
90408         * posix/tst-rfc3484-3.c: Likewise.
90410         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
90411         process_vm_writev.
90412         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
90413         process_vm_writev.
90414         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
90415         process_vm_writev from libc using GLIBC_2.15 version.
90417         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
90419 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
90421         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
90422         stack usage.
90424 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
90426         [BZ #13367]
90427         * nss/getent.c (initgroups_keys): Show error message in case no group
90428         names are given.
90430         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
90431         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
90432         __bump_nl_timestamp.
90433         * nscd/connections (nscd_init): When host database is served open
90434         netlink socket and request notification about configuration changes.
90435         (main_loop_poll): Track netlink file descriptor and bump timestamp
90436         in case data becomes available.
90437         (main_loop_epoll): Likewise.
90438         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
90439         (database_pers_head): Add extra_data fileds.
90440         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
90441         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
90442         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
90443         Adjust caller.
90444         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
90445         in6ai data, call __free_in6ai.
90446         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
90447         Add -DHAVE_NETLINK.
90448         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
90449         interface information.  Reuse previous data if netlink timestamp
90450         is not changed.
90451         (__bump_nl_timestamp): New function.
90452         (__free_in6ai): New function.
90454 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
90456         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
90457         close_not_cancel_no_status here.
90458         (__check_pf): Reorganize code a bit to not call close twice if OOM.
90460 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
90462         [BZ #13276]
90463         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
90464         return value.
90466         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
90467         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
90468         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
90470 2011-07-03  Andreas Jaeger  <aj@suse.de>
90472         [BZ #10709]
90473         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
90474         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
90475         * math/libm-test.inc (sin_test): Add test case.
90477 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
90479         [BZ #13337]
90480         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
90481         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90483         * elf/chroot_canon.c (chroot_canon): Cleanups.
90485         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
90487         [BZ #13335]
90488         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
90489         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90491         * string/test-strchr.c: Make usable for strchrnul testing.
90492         * string/test-strchrnul.c: New file.
90493         * string/Makefile (strop-tests): Add strchrnul.
90495         * po/it.po: Update from translation team.
90496         * po/es.po: Likewise.
90498 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
90500         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
90501         the three constants needed as parameters.  Drop the others.
90502         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
90503         __m128i_strloadu_tolower.
90504         Create and initialize variable zero and use it in all the places
90505         where _mm_setzero_si128 was used.
90507         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
90508         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
90509         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
90510         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
90511         anymore.
90512         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
90513         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
90514         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
90515         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
90516         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
90517         __mpranred, __mptan.
90518         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
90519         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
90520         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
90521         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
90522         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
90523         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
90524         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
90525         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
90526         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
90528 2011-10-28  Andreas Schwab  <schwab@redhat.com>
90530         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
90531         redefine if SHARED.
90532         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
90534         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
90535         wide char related routines to wcsmbs subdir.
90537 2011-10-27  Andreas Schwab  <schwab@redhat.com>
90539         [BZ #13344]
90540         * misc/sys/cdefs.h (__THROWNL): Define.
90541         * posix/unistd.h: Use __THREADNL instead of __THREAD
90542         for memory synchronization functions.
90544 2011-10-26  Roland McGrath  <roland@hack.frob.com>
90546         [BZ #13349]
90547         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
90548         doesn't exist.
90549         * manual/stdio.texi (Obstack Streams): Node removed.
90551 2011-10-26  Andreas Schwab  <schwab@redhat.com>
90553         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
90554         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90555         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90557         * math/math_private.h (math_force_eval): Allow non-addressable
90558         arguments.
90559         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
90561 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90563         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
90564         file is not needed.
90566         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
90567         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
90568         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
90569         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
90570         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
90571         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
90572         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
90573         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
90574         Add AVX variants.
90575         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
90576         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
90577         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
90578         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
90579         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
90580         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
90581         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
90582         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
90583         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
90584         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
90585         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
90586         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
90587         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
90588         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
90589         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
90590         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
90591         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
90592         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
90593         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
90595         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
90596         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
90598         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
90599         place.  Use VEX encoding when compiling for AVX.
90601 2011-10-25  Andreas Schwab  <schwab@redhat.com>
90603         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
90604         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
90606         * string/test-strchr.c (do_test): Don't generate NUL bytes.
90608 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90610         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
90611         useless if() expression.
90612         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90613         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
90614         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
90615         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90616         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
90617         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90618         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90619         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90620         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
90621         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90622         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90623         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90624         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
90625         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90626         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
90627         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90628         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90629         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90630         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
90632         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
90634 2011-10-25  Andreas Schwab  <schwab@redhat.com>
90636         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
90637         condition.
90638         * elf/dl-fini.c (_dl_sort_fini): Likewise.
90640 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90642         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
90643         .text section.  Avoid duplicate constants.
90644         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
90645         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90646         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90647         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90648         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90649         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90650         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90651         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90652         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
90653         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
90654         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
90655         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
90656         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
90657         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
90658         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
90659         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
90660         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
90661         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
90662         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
90663         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90664         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
90665         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
90666         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
90667         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
90668         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
90669         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
90670         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
90671         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
90672         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
90673         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
90674         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
90675         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
90676         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
90677         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
90678         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
90679         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
90680         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
90681         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
90682         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
90683         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
90684         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
90685         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
90686         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
90687         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
90688         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
90690 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
90692         * sysdeps/x86_64/dla.h: Move to ...
90693         * sysdeps/x86_64/fpu/dla.h: ...here.
90694         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
90695         situations.  Use __builtin_fma only for gcc 4.6 and up.
90697         * config.make.in: Add have-mfma4 entry.
90698         * configure.in: Substitute libc_cv_cc_fma4.
90699         * math/Makefile (dbl-only-routines): Add sincostab.
90700         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
90701         Use __sincostab not sincos.
90702         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
90703         name is a macro.
90704         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90705         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90706         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90707         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
90708         using __copysign.
90709         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
90710         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
90711         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
90712         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
90713         and __inv.
90714         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
90715         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
90716         __copysign.
90717         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
90718         define aliases when function name is a macro.
90719         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
90720         sysdeps/ieee754/dbl-64/sincos.tbl.
90721         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
90722         fma4-enabled routines.
90723         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
90724         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
90725         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
90726         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
90727         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
90728         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
90729         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
90730         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
90731         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
90732         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
90733         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
90734         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
90735         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
90736         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
90737         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
90738         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
90739         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
90740         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
90741         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
90742         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
90743         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
90744         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
90745         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
90746         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
90747         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
90748         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
90749         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
90750         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
90751         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
90752         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
90754         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
90755         rename.
90756         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90757         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90758         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90759         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90760         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90761         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90762         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90763         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90765 2011-10-24  Andreas Schwab  <schwab@redhat.com>
90767         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
90769 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90771         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
90773         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
90774         prediction.
90775         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
90777         * string/strnlen.c: Don't define STRNLEN, reverse logic.
90778         Remove unused variable magic_bits.
90779         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
90781         * string/strnlen.c: Define and use STRNLEN macro.
90782         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
90783         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
90784         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
90785         * wcsmbs/wcslen.c: Define and use WCSLEN.
90786         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
90787         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
90788         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
90789         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
90790         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
90791         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
90792         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90794 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90796         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90797         strnlen-sse2-no-bsf.
90798         Rename strlen-no-bsf to strlen-sse2-no-bsf.
90799         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
90800         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
90801         Add strnlen support.
90802         (USE_AS_STRNLEN): New macro.
90803         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
90804         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
90805         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
90806         * sysdeps/x86_64/wcslen.S: New file.
90808 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
90810         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
90811         XMM-moves are used for copying on small sizes.
90813 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90815         * wcsmbs/Makefile (strop-tests): Add wcschr.
90816         * wcsmbs/test-wcschr.c: New file.
90817         * string/test-strchr.c: Update.
90818         Add wcschr support.
90819         (WIDE): New macro.
90821 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90823         * wcsmbs/Makefile (strop-tests): Add wcslen.
90824         * wcsmbs/test-wcslen.c: New file.
90825         * string/test-strlen.c: Update.
90826         Add wcslen support.
90827         (WIDE): New macro.
90829 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90831         * po/it.po: Update from translation team.
90833 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90835         * sysdeps/x86_64/wcscmp.S: Update.
90836         Fix wrong comparison semantics.
90837         wcscmp shall use signed comparison not unsigned.
90838         Don't use substraction to avoid overflow bug.
90839         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
90840         * wcsmbc/wcscmp.c: Likewise.
90841         * string/test-strcmp.c: Likewise.
90842         Add new tests to check cases with negative values.
90844 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90846         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
90847         * sysdeps/x86_64/dla.h: ...here.  New file.
90848         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
90849         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90850         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90851         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90852         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90853         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
90854         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90855         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90856         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90858 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
90860         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
90861         __ynl_finite aliases.
90863 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
90865         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
90867         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
90868         define DLA_FMA.
90869         [DLA_FMA] (EMULV): Use DLA_FMA.
90870         [DLA_FMA] (MUL12): Use EMULV.
90871         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
90872         that are not needed.
90873         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90874         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90875         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90876         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90877         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90878         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90879         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90881 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
90883         * math/s_nan.c: Undef __nan.
90884         * math/s_nanf.c: Undef __nanf.
90885         * math/s_nanl.c: Undef __nanl.
90886         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
90887         "math_private.h".
90889 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
90891         * math/s_catan.c: Add branch predictions.
90892         * math/s_catanf.c: Likewise.
90893         * math/s_catanh.c: Likewise.
90894         * math/s_catanhf.c: Likewise.
90895         * math/s_catanhl.c: Likewise.
90896         * math/s_catanl.c: Likewise.
90897         * math/s_cexp.c: Likewise.
90898         * math/s_cexpf.c: Likewise.
90899         * math/s_cexpl.c: Likewise.
90900         * math/s_clog.c: Likewise.
90901         * math/s_clog10.c: Likewise.
90902         * math/s_clog10f.c: Likewise.
90903         * math/s_clog10l.c: Likewise.
90904         * math/s_clogf.c: Likewise.
90905         * math/s_clogl.c: Likewise.
90906         * math/s_csqrt.c: Likewise.
90907         * math/s_csqrtf.c: Likewise.
90908         * math/s_csqrtl.c: Likewise.
90909         * math/s_ctanf.c: Likewise.
90910         * math/s_ctanh.c: Likewise.
90911         * math/s_ctanhf.c: Likewise.
90912         * math/s_ctanhl.c: Likewise.
90913         * math/s_ctanl.c: Likewise.
90915         * math/math_private.h: Define __nan, __nanf, __nanl.
90916         * math/s_cacosh.c: Include <math_private.h>.
90917         * math/s_cacoshl.c: Likewise.
90918         * math/s_casinh.c: Likewise.
90919         * math/s_casinhf.c: Likewise.
90920         * math/s_casinhl.c: Likewise.
90921         * math/s_ccos.c: Rely entire on ccosh.
90922         * math/s_ccosf.c: Rely entire on ccoshf.
90923         * math/s_ccosl.c: Rely entirely on ccoshl.
90924         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
90925         Remove tests for FE_INVALID.
90926         * math/s_ccoshf.c: Likewise.
90927         * math/s_ccoshl.c: Likewise.
90928         * math/s_csin.c: Likewise.
90929         * math/s_csinf.c: Likewise.
90930         * math/s_csinh.c Likewise.
90931         * math/s_csinhf.c: Likewise.
90932         * math/s_csinhl.c: Likewise.
90933         * math/s_csinl.c: Likewise.
90934         * math/s_ctan.c: Likewise.
90935         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
90936         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
90937         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
90939 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
90941         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
90942         compilation problems.
90944         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
90945         __builtin_expect.
90947 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
90949         * sysdeps/i386/configure.in: Test for -mfma4 option.
90950         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
90951         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
90952         COMMON_CPUID_INDEX_80000001.
90953         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
90954         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
90955         use it if FMA3 is not supported.
90956         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
90958         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
90959         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
90961 2011-10-20  Andreas Schwab  <schwab@redhat.com>
90963         [BZ #12892]
90964         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
90965         it would create a cycle with a link time dependency.
90967 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
90969         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
90970         instruction.
90971         * string/Makefile (strop-tests): Add rawmemchr.
90972         * string/test-rawmemchr.c: New file.
90974         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
90975         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
90976         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
90977         when compiling str{,n}casecmp and when AVX is available.  Hook up
90978         new optimized code in initializers.
90980 2011-10-19  Andreas Schwab  <schwab@redhat.com>
90982         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
90983         __feraiseexcept instead of feraiseexcept.
90985 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
90987         * math/math_private.h: Define defaults for libc_fetestexcept and
90988         libc_feupdateenv.
90989         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
90990         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
90991         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
90992         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90993         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
90994         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90995         libc_fetestexcept and libc_feupdateenv.
90997         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
90998         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
90999         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
91000         * sysdeps/x86_64/fpu/math_private.h: Define special version of
91001         libc_feholdexcept_setround.
91003         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
91004         Add s_nearbyint-c and s_nearbyintf-c.
91005         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
91006         nearbyintf inlines.
91007         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
91008         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
91009         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
91010         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
91012         * math/math_private.h: Define defaults for libc_fegetround,
91013         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
91014         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
91015         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
91016         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
91017         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
91018         standard functions.
91019         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91020         Remove comments and hacks for old compiler versions.
91021         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
91022         libc_fegetround, libc_fesetround, libc_feholdexcept, and
91023         libc_feholdexceptl.
91025 2011-10-18  Andreas Schwab  <schwab@redhat.com>
91027         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
91028         (__feraiseexcept_renamed): Add __NTH.
91029         (feraiseexcept): Add __NTH.  Rename local variables to fix
91030         namespace violations.
91032 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
91034         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
91036         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
91038         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
91039         recently added interfaces.
91040         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
91042         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
91043         about macro parameter expansion.
91045         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
91046         __NO_MATH_INLINES is defined.  Cleanups.
91048         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
91049         and __floorf is target has SSE4.1.
91050         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
91051         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
91052         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
91053         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
91055         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
91056         name.
91057         (floorf): Likewise.
91059         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
91061 2011-10-17  Andreas Schwab  <schwab@redhat.com>
91063         * misc/sys/cdefs.h: Fix last change.
91065         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
91066         database lookup.
91068 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
91070         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
91072         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
91073         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
91074         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
91075         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
91076         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
91077         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
91078         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
91079         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
91080         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
91081         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
91082         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
91083         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
91084         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
91085         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
91086         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
91087         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
91088         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
91089         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
91090         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
91091         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
91092         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
91093         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
91095         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
91096         ceil, ceilf, floor, floorf.
91098         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
91099         Perform IRELATIVE relocations last.
91101         * elf/do-rel.h: Add another parameter nrelative, replacing the
91102         local variable with the same name.  Change name of the function
91103         to end in Rel or Rela (uppercase).
91104         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
91105         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
91106         elf_dynamic_do_##reloc function.
91108 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
91110         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
91111         is sufficient, at least on modern CPUs.
91113         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
91115         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
91116         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
91118         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
91119         __expl_finite.
91120         * math/bits/math-finite.h: Add entries for exp.
91121         * math/e_expl.c: Add __*_finite alias.
91122         * sysdeps/i386/fpu/e_exp.S: Likewise.
91123         * sysdeps/i386/fpu/e_expf.S: Likewise.
91124         * sysdeps/i386/fpu/e_expl.c: Likewise.
91125         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
91126         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
91127         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
91128         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
91129         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
91130         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
91131         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
91133         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
91134         is sufficient, at least on modern CPUs.
91136         * ctype/ctype-info.c (__ctype_init): Define.
91137         * include/ctype.h (__ctype_init): Declare.
91138         (__ctype_b_loc): The variable is always initialized.
91139         (__ctype_toupper_loc): Likewise.
91140         (__ctype_tolower_loc): Likewise.
91141         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
91142         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
91144 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
91146         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
91148         * configure.in: Also look in $cxxmachine/include for C++ system
91149         headers.
91151 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91153         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
91154         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
91155         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
91156         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
91157         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
91158         (USE_AS_WMEMCMP): New macro.
91159         Fixing indents.
91160         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
91161         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
91162         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
91163         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
91164         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91165         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
91166         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
91167         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
91168         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
91169         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
91170         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
91171         (USE_AS_WMEMCMP): New macro.
91172         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
91173         * sysdeps/string/test-memcmp.c: Update.
91174         Fix simple_wmemcmp.
91175         Add new tests.
91176         * wcsmbs/wmemcmp.c: Update.
91177         (WMEMCMP): New macro.
91178         Fix overflow bug.
91180 2011-10-12  Andreas Jaeger  <aj@suse.de>
91182         [BZ #13268]
91183         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
91185 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
91187         * libio/iofwide.c (do_length): Avoid warning.
91189         * ctype/ctype.h (__isctype_f): Add missing __THROW.
91191 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
91193         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
91195         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
91196         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
91197         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
91198         * sysdeps/i386/i686/fpu/e_log.S: New file.
91199         * sysdeps/i386/i686/fpu/e_logf.S: New file.
91200         * sysdeps/i386/i686/fpu/e_logl.S: New file.
91202         * ctype/ctype.h: Add support for inlined isXXX functions when
91203         compiling C++ code.
91205 2011-10-14  Andreas Schwab  <schwab@redhat.com>
91207         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91209         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
91211 2011-10-13  Roland McGrath  <roland@hack.frob.com>
91213         [BZ #13291]
91214         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
91216 2011-10-13  Andreas Schwab  <schwab@redhat.com>
91218         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
91219         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
91220         feraiseexcept.
91222         * sysdeps/x86_64/memrchr.S: Check for zero size.
91224         * string/stratcliff.c: Add memrchr tests.
91226 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91228         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91229         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
91230         rawmemchr-sse2 rawmemchr-sse2-bsf.
91231         * sysdeps/i386/i686/multiarch/memchr.S: New file.
91232         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
91233         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
91234         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
91235         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
91236         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
91237         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
91238         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
91239         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
91240         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
91241         * string/memrchr.c (MEMRCHR): New macro.
91243 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
91245         Add integration with gcc's -ffinite-math-only and optimize wrapper
91246         functions in libm.
91247         * Versions.def: Define GLIBC_2.15 version for libm.
91248         * math/Makefile (headers): Add bits/math-finite.h.
91249         * math/bits/math-finite.h: New file.
91250         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
91251         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
91252         * math/e_acoshl.c: Add __*_finite alias.
91253         * math/e_acosl.c: Likewise.
91254         * math/e_asinl.c: Likewise.
91255         * math/e_atan2l.c: Likewise.
91256         * math/e_atanhl.c: Likewise.
91257         * math/e_coshl.c: Likewise.
91258         * math/e_exp10.c: Likewise.
91259         * math/e_exp10f.c: Likewise.
91260         * math/e_exp10l.c: Likewise.
91261         * math/e_exp2l.c: Likewise.
91262         * math/e_fmodl.c: Likewise.
91263         * math/e_gammal_r.c: Likewise.
91264         * math/e_hypotl.c: Likewise.
91265         * math/e_j0l.c: Likewise.
91266         * math/e_j1l.c: Likewise.
91267         * math/e_jnl.c: Likewise.
91268         * math/e_lgammal_r.c: Likewise.
91269         * math/e_log10l.c: Likewise.
91270         * math/e_log2l.c: Likewise.
91271         * math/e_logl.c: Likewise.
91272         * math/e_powl.c: Likewise.
91273         * math/e_sinhl.c: Likewise.
91274         * math/e_sqrtl.c: Likewise.
91275         * math/e_scalb.c: Completely rewritten and optimized.
91276         * math/e_scalbf.c: Likewise.
91277         * math/e_scalbl.c: Likewise.
91278         * math/w_acos.c: Likewise.
91279         * math/w_acosf.c: Likewise.
91280         * math/w_acosl.c: Likewise.
91281         * math/w_acosh.c: Likewise.
91282         * math/w_acoshf.c: Likewise.
91283         * math/w_acoshl.c: Likewise.
91284         * math/w_asin.c: Likewise.
91285         * math/w_asinf.c: Likewise.
91286         * math/w_asinl.c: Likewise.
91287         * math/w_atan2.c: Likewise.
91288         * math/w_atan2f.c: Likewise.
91289         * math/w_atan2l.c: Likewise.
91290         * math/w_atanh.c: Likewise.
91291         * math/w_atanhf.c: Likewise.
91292         * math/w_atanhl.c: Likewise.
91293         * math/w_exp10.c: Likewise.
91294         * math/w_exp10f.c: Likewise.
91295         * math/w_exp10l.c: Likewise.
91296         * math/w_fmod.c: Likewise.
91297         * math/w_fmodf.c: Likewise.
91298         * math/w_fmodl.c: Likewise.
91299         * math/w_j0.c: Likewise.
91300         * math/w_j0f.c: Likewise.
91301         * math/w_j0l.c: Likewise.
91302         * math/w_j1.c: Likewise.
91303         * math/w_j1f.c: Likewise.
91304         * math/w_j1l.c: Likewise.
91305         * math/w_jn.c: Likewise.
91306         * math/w_jnf.c: Likewise.
91307         * math/w_log.c: Likewise.
91308         * math/w_logf.c: Likewise.
91309         * math/w_logl.c: Likewise.
91310         * math/w_log10.c: Likewise.
91311         * math/w_log10f.c: Likewise.
91312         * math/w_log10l.c: Likewise.
91313         * math/w_log2.c: Likewise.
91314         * math/w_log2f.c: Likewise.
91315         * math/w_log2l.c: Likewise.
91316         * math/w_pow.c: Likewise.
91317         * math/w_powf.c: Likewise.
91318         * math/w_powl.c: Likewise.
91319         * math/w_remainder.c: Likewise.
91320         * math/w_remainderf.c: Likewise.
91321         * math/w_remainderl.c: Likewise.
91322         * math/w_scalb.c: Likewise.
91323         * math/w_scalbf.c: Likewise.
91324         * math/w_scalbl.c: Likewise.
91325         * math/w_sqrt.c: Likewise.
91326         * math/w_sqrtf.c: Likewise.
91327         * math/w_sqrtl.c: Likewise.
91328         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
91329         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
91330         used.
91331         * math/math_private.h: Declare __kernel_standard_f.
91332         * math/w_cosh.c: Remove cruft and optimize a bit.
91333         * math/w_coshf.c: Likewise.
91334         * math/w_coshl.c: Likewise.
91335         * math/w_exp2.c: Likewise.
91336         * math/w_exp2f.c: Likewise.
91337         * math/w_exp2l.c: Likewise.
91338         * math/w_hypot.c: Likewise.
91339         * math/w_hypotf.c: Likewise.
91340         * math/w_hypotl.c: Likewise.
91341         * math/w_lgamma.c: Likewise.
91342         * math/w_lgamma_r.c: Likewise.
91343         * math/w_lgammaf.c: Likewise.
91344         * math/w_lgammaf_r.c: Likewise.
91345         * math/w_lgammal.c: Likewise.
91346         * math/w_lgammal_r.c: Likewise.
91347         * math/w_sinh.c: Likewise.
91348         * math/w_sinhf.c: Likewise.
91349         * math/w_sinhl.c: Likewise.
91350         * math/w_tgamma.c: Likewise.
91351         * math/w_tgammaf.c: Likewise.
91352         * math/w_tgammal.c: Likewise.
91353         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
91354         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
91355         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
91356         Minor optimizations.  Pretty printing.  Remove cruft.
91357         * sysdeps/i386/fpu/e_acosf.S: Likewise.
91358         * sysdeps/i386/fpu/e_acosh.S: Likewise.
91359         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
91360         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
91361         * sysdeps/i386/fpu/e_acosl.c: Likewise.
91362         * sysdeps/i386/fpu/e_asin.S: Likewise.
91363         * sysdeps/i386/fpu/e_asinf.S: Likewise.
91364         * sysdeps/i386/fpu/e_atan2.S: Likewise.
91365         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
91366         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
91367         * sysdeps/i386/fpu/e_atanh.S: Likewise.
91368         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
91369         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
91370         * sysdeps/i386/fpu/e_exp10.S: Likewise.
91371         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
91372         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
91373         * sysdeps/i386/fpu/e_exp2.S: Likewise.
91374         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
91375         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
91376         * sysdeps/i386/fpu/e_fmod.S: Likewise.
91377         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
91378         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
91379         * sysdeps/i386/fpu/e_hypot.S: Likewise.
91380         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
91381         * sysdeps/i386/fpu/e_log.S: Likewise.
91382         * sysdeps/i386/fpu/e_log10.S: Likewise.
91383         * sysdeps/i386/fpu/e_log10f.S: Likewise.
91384         * sysdeps/i386/fpu/e_log10l.S: Likewise.
91385         * sysdeps/i386/fpu/e_log2.S: Likewise.
91386         * sysdeps/i386/fpu/e_log2f.S: Likewise.
91387         * sysdeps/i386/fpu/e_log2l.S: Likewise.
91388         * sysdeps/i386/fpu/e_logf.S: Likewise.
91389         * sysdeps/i386/fpu/e_logl.S: Likewise.
91390         * sysdeps/i386/fpu/e_pow.S: Likewise.
91391         * sysdeps/i386/fpu/e_powf.S: Likewise.
91392         * sysdeps/i386/fpu/e_powl.S: Likewise.
91393         * sysdeps/i386/fpu/e_remainder.S: Likewise.
91394         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
91395         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
91396         * sysdeps/i386/fpu/e_scalb.S: Likewise.
91397         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
91398         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
91399         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
91400         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
91401         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
91402         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
91403         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
91404         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91405         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
91406         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91407         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
91408         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
91409         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
91410         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
91411         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
91412         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
91413         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
91414         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91415         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
91416         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
91417         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91418         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
91419         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
91420         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
91421         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91422         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
91423         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
91424         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
91425         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
91426         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
91427         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
91428         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91429         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
91430         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
91431         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
91432         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
91433         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
91434         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91435         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
91436         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
91437         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
91438         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
91439         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
91440         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
91441         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
91442         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
91443         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
91444         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
91445         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
91446         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
91447         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
91448         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
91449         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
91450         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
91451         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
91452         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
91453         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
91454         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
91455         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91456         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
91457         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
91458         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
91459         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
91460         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
91461         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
91462         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
91463         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
91464         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
91465         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
91466         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
91467         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
91468         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
91469         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
91470         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
91471         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
91472         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
91473         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
91474         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
91475         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
91476         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
91477         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
91478         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
91479         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
91480         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
91481         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
91482         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
91483         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
91484         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
91485         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
91486         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
91487         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
91488         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91489         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
91490         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
91491         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
91492         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
91493         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
91494         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
91495         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
91496         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
91497         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
91498         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
91499         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
91500         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
91501         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
91502         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
91503         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
91504         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
91505         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
91506         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
91507         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
91508         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
91509         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
91510         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
91511         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
91512         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
91513         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
91514         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
91515         (__isnanf): Likewise.
91516         (__isinf_ns): Likewise.
91517         (__isinf_nsf): Likewise.
91518         (__finite): Likewise.
91519         (__finitef): Likewise.
91520         (__ieee754_sqrt): Define as macro.
91521         (__ieee754_sqrtf): Define as macro.
91522         (__ieee754_sqrtl): Define as macro.
91523         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
91524         inlined copy.
91525         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
91526         __FINITE_MATH_ONLY__ consistent.
91527         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
91529 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
91531         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
91532         of rawmemchr.
91534         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
91536 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
91538         * po/ja.po: Update from translation team.
91540 2011-10-08  Roland McGrath  <roland@hack.frob.com>
91542         * locale/programs/locarchive.c (prepare_address_space): New function.
91543         (create_archive, enlarge_archive, open_archive): Use it.
91545         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
91546         inside [SHARED], where it is used.
91548         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
91550         * nss/getent.c (netgroup_keys): Remove unused variable.
91551         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
91553 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
91555         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
91556         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
91557         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
91558         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
91559         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
91560         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
91561         * math/Makefile (libm-calls): Add s_isinf_ns.
91562         * math/divtc3.c: Use __isinf_nsl instead of isinf.
91563         * math/multc3.c: Likewise.
91564         * math/s_casin.c: Likewise.
91565         * math/s_casinf.c: Likewise.
91566         * math/s_casinl.c: Likewise.
91567         * math/s_ccos.c: Likewise.
91568         * math/s_ccosf.c: Likewise.
91569         * math/s_ccosl.c: Likewise.
91570         * math/s_ctan.c: Likewise.
91571         * math/s_ctanf.c: Likewise.
91572         * math/s_ctanh.c: Likewise.
91573         * math/s_ctanhf.c: Likewise.
91574         * math/s_ctanhl.c: Likewise.
91575         * math/s_ctanl.c: Likewise.
91576         * math/w_fmod.c: Likewise.
91577         * math/w_fmodf.c: Likewise.
91578         * math/w_fmodl.c: Likewise.
91579         * math/w_remainder.c: Likewise.
91580         * math/w_remainderf.c: Likewise.
91581         * math/w_remainderl.c: Likewise.
91582         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
91583         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
91584         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
91585         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
91586         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
91587         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
91588         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
91589         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
91591         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
91592         of the number.
91593         * stdio-common/printf_fphex.c: Likewise.
91594         * stdio-common/printf_size.c: Likewise.
91596         * math/e_exp10.c: Include math_private.h using <...> not "...".
91597         * math/e_exp10f.c: Likewise.
91598         * math/e_exp10l.c: Likewise.
91599         * math/e_exp2l.c: Likewise.
91600         * math/e_j0l.c: Likewise.
91601         * math/e_j1l.c: Likewise.
91602         * math/e_jnl.c: Likewise.
91603         * math/e_lgammal_r.c: Likewise.
91604         * math/e_rem_pio2l.c: Likewise.
91605         * math/e_scalb.c: Likewise.
91606         * math/e_scalbf.c: Likewise.
91607         * math/e_scalbl.c: Likewise.
91608         * math/k_cosl.c: Likewise.
91609         * math/k_sinl.c: Likewise.
91610         * math/k_tanl.c: Likewise.
91611         * math/s_cacoshf.c: Likewise.
91612         * math/s_catan.c: Likewise.
91613         * math/s_catanf.c: Likewise.
91614         * math/s_catanh.c: Likewise.
91615         * math/s_catanhf.c: Likewise.
91616         * math/s_catanhl.c: Likewise.
91617         * math/s_catanl.c: Likewise.
91618         * math/s_ccosh.c: Likewise.
91619         * math/s_ccoshf.c: Likewise.
91620         * math/s_ccoshl.c: Likewise.
91621         * math/s_cexp.c: Likewise.
91622         * math/s_cexpf.c: Likewise.
91623         * math/s_cexpl.c: Likewise.
91624         * math/s_clog.c: Likewise.
91625         * math/s_clog10.c: Likewise.
91626         * math/s_clog10f.c: Likewise.
91627         * math/s_clog10l.c: Likewise.
91628         * math/s_clogf.c: Likewise.
91629         * math/s_clogl.c: Likewise.
91630         * math/s_csin.c: Likewise.
91631         * math/s_csinf.c: Likewise.
91632         * math/s_csinh.c: Likewise.
91633         * math/s_csinhf.c: Likewise.
91634         * math/s_csinhl.c: Likewise.
91635         * math/s_csinl.c: Likewise.
91636         * math/s_csqrt.c: Likewise.
91637         * math/s_csqrtf.c: Likewise.
91638         * math/s_csqrtl.c: Likewise.
91639         * math/s_ctan.c: Likewise.
91640         * math/s_ctanf.c: Likewise.
91641         * math/s_ctanh.c: Likewise.
91642         * math/s_ctanhf.c: Likewise.
91643         * math/s_ctanhl.c: Likewise.
91644         * math/s_ctanl.c: Likewise.
91645         * math/s_ldexp.c: Likewise.
91646         * math/s_ldexpf.c: Likewise.
91647         * math/s_ldexpl.c: Likewise.
91648         * math/s_significand.c: Likewise.
91649         * math/s_significandf.c: Likewise.
91650         * math/s_significandl.c: Likewise.
91651         * math/w_acos.c: Likewise.
91652         * math/w_acosf.c: Likewise.
91653         * math/w_acosh.c: Likewise.
91654         * math/w_acoshf.c: Likewise.
91655         * math/w_acoshl.c: Likewise.
91656         * math/w_acosl.c: Likewise.
91657         * math/w_asin.c: Likewise.
91658         * math/w_asinf.c: Likewise.
91659         * math/w_asinl.c: Likewise.
91660         * math/w_atan2.c: Likewise.
91661         * math/w_atan2f.c: Likewise.
91662         * math/w_atan2l.c: Likewise.
91663         * math/w_atanh.c: Likewise.
91664         * math/w_atanhf.c: Likewise.
91665         * math/w_atanhl.c: Likewise.
91666         * math/w_cosh.c: Likewise.
91667         * math/w_coshf.c: Likewise.
91668         * math/w_coshl.c: Likewise.
91669         * math/w_dremf.c: Likewise.
91670         * math/w_exp10.c: Likewise.
91671         * math/w_exp10f.c: Likewise.
91672         * math/w_exp10l.c: Likewise.
91673         * math/w_exp2.c: Likewise.
91674         * math/w_exp2f.c: Likewise.
91675         * math/w_fmod.c: Likewise.
91676         * math/w_fmodf.c: Likewise.
91677         * math/w_fmodl.c: Likewise.
91678         * math/w_hypot.c: Likewise.
91679         * math/w_hypotf.c: Likewise.
91680         * math/w_hypotl.c: Likewise.
91681         * math/w_j0.c: Likewise.
91682         * math/w_j0f.c: Likewise.
91683         * math/w_j0l.c: Likewise.
91684         * math/w_j1.c: Likewise.
91685         * math/w_j1f.c: Likewise.
91686         * math/w_j1l.c: Likewise.
91687         * math/w_jn.c: Likewise.
91688         * math/w_jnf.c: Likewise.
91689         * math/w_jnl.c: Likewise.
91690         * math/w_lgamma.c: Likewise.
91691         * math/w_lgamma_r.c: Likewise.
91692         * math/w_lgammaf.c: Likewise.
91693         * math/w_lgammaf_r.c: Likewise.
91694         * math/w_lgammal.c: Likewise.
91695         * math/w_lgammal_r.c: Likewise.
91696         * math/w_log.c: Likewise.
91697         * math/w_log10.c: Likewise.
91698         * math/w_log10f.c: Likewise.
91699         * math/w_log10l.c: Likewise.
91700         * math/w_log2.c: Likewise.
91701         * math/w_log2f.c: Likewise.
91702         * math/w_log2l.c: Likewise.
91703         * math/w_logf.c: Likewise.
91704         * math/w_logl.c: Likewise.
91705         * math/w_pow.c: Likewise.
91706         * math/w_powf.c: Likewise.
91707         * math/w_powl.c: Likewise.
91708         * math/w_remainder.c: Likewise.
91709         * math/w_remainderf.c: Likewise.
91710         * math/w_remainderl.c: Likewise.
91711         * math/w_scalb.c: Likewise.
91712         * math/w_scalbf.c: Likewise.
91713         * math/w_scalbl.c: Likewise.
91714         * math/w_sinh.c: Likewise.
91715         * math/w_sinhf.c: Likewise.
91716         * math/w_sinhl.c: Likewise.
91717         * math/w_sqrt.c: Likewise.
91718         * math/w_sqrtf.c: Likewise.
91719         * math/w_sqrtl.c: Likewise.
91720         * math/w_tgamma.c: Likewise.
91721         * math/w_tgammaf.c: Likewise.
91722         * math/w_tgammal.c: Likewise.
91724         * po/ja.po: Update from translation team.
91726 2011-09-29  Andreas Jaeger  <aj@suse.de>
91728         [BZ #13179]
91729         * sunrpc/netname.c (netname2host): Fix logic.
91731         [BZ #6779]
91732         [BZ #6783]
91733         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
91734         correctly.
91735         * math/w_remainder.c (__remainder): Likewise.
91736         * math/w_remainderf.c (__remainderf): Likewise.
91737         * math/libm-test.inc (remainder_test): Add test cases.
91739 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91741         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
91742         sdiv_qrnnd.
91744 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
91746         * string/test-memcmp.c: Avoid unncessary #defines.
91747         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91749 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91751         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
91752         Use new sse2 version for core i3 - i7 as it's faster
91753         than sse42 version.
91754         (bit_Prefer_PMINUB_for_stringop): New.
91755         * sysdeps/x86_64/rawmemchr.S: Update.
91756         Replace with faster SSE2 version.
91757         * sysdeps/x86_64/memrchr.S: New file.
91758         * sysdeps/x86_64/memchr.S: Update.
91759         Replace with faster SSE2 version.
91761 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
91763         * elf/dl-load.c (lose): Add cast to avoid warning.
91765 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
91767         * po/ca.po: Update from translation team.
91769         * inet/getnetgrent_r.c: Hook up nscd.
91770         * nscd/Makefile (routines): Add nscd_netgroup.
91771         (nscd-modules): Add netgroupcache.
91772         (CFLAGS-netgroupcache.c): Define.
91773         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
91774         (cache_search): Add const to second parameter.
91775         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
91776         INNETGR.
91777         (dbs): Add netgrdb entry.
91778         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
91779         (verify_persistent_db): Handle netgrdb.
91780         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
91781         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
91782         GETFDNETGR.
91783         (netgroup_response_header): Define.
91784         (innetgroup_response_header): Define.
91785         (datahead): Add netgroup_response_header and innetgroup_response_header
91786         elements.
91787         * nscd/nscd.conf: Add entries for netgroup cache.
91788         * nscd/nscd.h (dbtype): Add netgrdb.
91789         (_PATH_NSCD_NETGROUP_DB): Define.
91790         (netgroup_iov_disabled): Declare.
91791         (xmalloc, xcalloc, xrealloc): Move declarations here.
91792         (cache_search): Adjust prototype.
91793         Add netgroup-related prototypes.
91794         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
91795         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
91796         (__nscd_innetgr): Declare.
91797         * nscd/selinux.c (perms): Use access_vector_t as element type and
91798         add netgroup-related initializers.
91799         * nscd/netgroupcache.c: New file.
91800         * nscd/nscd_netgroup.c: New file.
91801         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
91802         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
91803         For four parameters use innetgr.
91804         * nss/nss_files/files-init.c: Add definition and callback for netgr.
91805         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
91806         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
91807         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
91809         * nscd/connections.c (register_traced_file): Don't register file
91810         for disabled databases.
91812 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
91814         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
91816         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
91817         from tree and freeing node.
91819 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
91821         * nss/nsswitch.c (__nss_database_lookup): Handle
91822         nss_parse_service_list out of memory case.
91824 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
91826         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
91827         out of memory case.
91829 2011-10-04  Andreas Schwab  <schwab@redhat.com>
91831         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
91832         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
91833         pass it down.
91834         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
91835         elf_machine_rela, elf_machine_lazy_rel.
91836         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
91837         (ELF_DYNAMIC_DO_REL): Likewise.
91838         (ELF_DYNAMIC_DO_RELA): Likewise.
91839         (ELF_DYNAMIC_RELOCATE): Likewise.
91840         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
91841         to ELF_DYNAMIC_DO_REL.
91842         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
91843         (dl_main): In trace mode always set __RTLD_NOIFUNC.
91844         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
91845         elf_machine_rela.
91846         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
91847         skip_ifunc, don't call ifunc function if non-zero.
91848         (elf_machine_rela): Likewise.
91849         (elf_machine_lazy_rel): Likewise.
91850         (elf_machine_lazy_rela): Likewise.
91851         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
91852         (elf_machine_lazy_rel): Likewise.
91853         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
91854         Likewise.
91855         (elf_machine_lazy_rel): Likewise.
91856         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91857         Likewise.
91858         (elf_machine_lazy_rel): Likewise.
91859         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
91860         (elf_machine_lazy_rel): Likewise.
91861         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
91862         (elf_machine_lazy_rel): Likewise.
91863         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
91864         (elf_machine_lazy_rel): Likewise.
91865         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
91866         (elf_machine_lazy_rel): Likewise.
91867         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
91868         (elf_machine_lazy_rel): Likewise.
91869         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
91870         (elf_machine_lazy_rel): Likewise.
91872 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
91874         * nss/nss_files/files-init.c (_nss_files_init): Use static
91875         initialization for all the *_traced_file variables.
91877 2011-09-28  Andreas Schwab  <schwab@redhat.com>
91879         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91881 2011-09-27  Roland McGrath  <roland@hack.frob.com>
91883         [BZ #13226]
91884         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
91886 2011-09-27  Andreas Schwab  <schwab@redhat.com>
91888         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
91889         Reread the line before reparsing it.
91891 2011-09-26  Andreas Schwab  <schwab@redhat.com>
91893         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
91895 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
91896             Maxim Kuvyrkov  <maxim@codesourcery.com>
91897             Joseph Myers  <joseph@codesourcery.com>
91899         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
91900         if needed for __stack_chk_guard.
91902 2011-09-19  Roland McGrath  <roland@hack.frob.com>
91904         * sysdeps/posix/spawni.c (script_execute): Always define it.
91905         It will be optimized away if unused.
91906         (maybe_script_execute): New function.
91907         (__spawni): Call it.
91909         * Makerules: Don't include tls.make.
91910         (config-tls): Always set to thread.
91911         * tls.make.c: File removed.
91913 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
91915         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
91916         * config.make.in (CPPFLAGS-config): New substituted variable.
91918 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
91920         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
91922         [BZ #13192]
91923         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
91924         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
91926 2011-09-15  Roland McGrath  <roland@hack.frob.com>
91928         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
91929         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
91930         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91931         (CALL_FAIL): Likewise.
91932         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
91933         (CALL_FAIL): Macro removed.
91934         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
91936 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
91938         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
91939         for __FINITE_MATH_ONLY__ == 1.
91941 2011-09-15  Andreas Schwab  <schwab@redhat.com>
91943         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
91944         __ieee754_sqrt instead of sqrt.
91945         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
91946         __ieee754_sqrtf instead of sqrtf.
91947         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
91948         __floorf instead of floorf.
91949         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
91950         __floorf, __truncf instead of floorf, truncf.
91952 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
91954         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
91956         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
91957         __extern_always_inline.
91958         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
91959         32-bit.
91961 2011-09-14  Andreas Schwab  <schwab@redhat.com>
91963         * elf/rtld.c (dl_main): Also relocate in dependency order when
91964         doing symbol dependency testing.
91966 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
91968         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91969         Always define `refsym'.
91971 2011-09-13  Andreas Schwab  <schwab@redhat.com>
91973         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
91974         (__FD_ELT): Renamed from __FDELT.
91975         * misc/bits/select2.h (__FD_ELT): Likewise.
91976         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
91977         __FD_MASK instead of __FDELT, __FDMASK.
91978         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91979         Likewise.
91980         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91981         Likewise.
91983         * elf/Makefile (gen-ldd): Fix pattern.
91985         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
91986         (init_tls): Likewise.
91988 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
91990         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
91992 2011-09-12  Andreas Schwab  <schwab@redhat.com>
91994         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
91995         `struct cmsghdr *' instead of `void *'.
91996         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
91997         Likewise.
91999 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
92001         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
92002         if non-absolute.
92003         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
92004         ldd_rewrite_script.
92006 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
92008         * configure.in: Remove --with-tls option.
92009         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
92010         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
92011         out in case it is missing.
92012         * sysdeps/ia64/elf/configure.in: Likewise.
92013         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
92014         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
92015         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
92016         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
92017         * sysdeps/sh/elf/configure.in: Likewise.
92018         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
92019         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
92020         * sysdeps/x86_64/elf/configure.in: Likewise.
92021         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
92022         * sysdeps/mach/hurd/tls.h: Likewise.
92024         [BZ #13067]
92025         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
92027         [BZ #13090]
92028         * configure.in: Fix use of AC_INIT.
92030         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
92032 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
92034         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
92035         __set_errno.
92036         * malloc/hooks.c: Likewise.
92038         [BZ #11929]
92039         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
92040         variables statically.
92041         (narenas): Initialize.
92042         (list_lock): Initialize.
92043         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
92044         initializtion of main_arena and list_lock.  Small cleanups.
92045         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
92046         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
92047         Add initializers to main_arena and mp_.
92048         (malloc_state): Remove pagesize member.  Change all users to use
92049         GLRO(dl_pagesize).
92051         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
92052         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
92053         is always initialized.
92055         * malloc/malloc.c: Removed unused configurations and dead code.
92056         * malloc/arena.c: Likewise.
92057         * malloc/hooks.c: Likewise.
92058         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
92060         * include/tls.h: Removed.  USE___THREAD must always be defined.
92061         * bits/libc-tsd.h: Don't handle !USE___THREAD.
92062         * elf/dl-libc.c: Likewise.
92063         * elf/dl-tsd.c: Likewise.
92064         * include/errno.h: Likewise.
92065         * include/netdb.h: Likewise.
92066         * include/resolv.h: Likewise.
92067         * inet/herrno-loc.c: Likewise.
92068         * inet/herrno.c: Likewise.
92069         * malloc/arena.c: Likewise.
92070         * malloc/hooks.c: Likewise.
92071         * malloc/malloc.c: Likewise.
92072         * resolv/res-state.c: Likewise.
92073         * resolv/res_libc.c: Likewise.
92074         * sysdeps/i386/dl-machine.h: Likewise.
92075         * sysdeps/ia64/dl-machine.h: Likewise.
92076         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
92077         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
92078         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
92079         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
92080         * sysdeps/sh/dl-machine.h: Likewise.
92081         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
92082         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
92083         * sysdeps/unix/i386/sysdep.S: Likewise.
92084         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
92085         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
92086         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
92087         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
92088         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
92089         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
92090         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
92091         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
92092         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
92093         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
92094         * sysdeps/unix/x86_64/sysdep.S: Likewise.
92095         * sysdeps/x86_64/dl-machine.h: Likewise.
92096         * tls.make.c: Likewise.
92098         * configure.in: Remove --with-__thread option.  Make tests for
92099         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
92100         tls_model attribute fail if no support is available.  Remove
92101         USE_IN_LIBIO.
92102         * Makeconfig: Adjust for dropped configure option.  All features are
92103         now mandatory.
92104         * Makerules: Likewise.
92105         * Versions.def: Likewise.
92106         * argp/argp-fmtstream.c: Likewise.
92107         * argp/argp-fmtstream.h: Likewise.
92108         * argp/argp-help.c: Likewise.
92109         * assert/assert.c: Likewise.
92110         * config.h.in: Likewise.
92111         * config.make.in: Likewise.
92112         * configure: Likewise.
92113         * configure.in: Likewise.
92114         * csu/Versions: Likewise.
92115         * csu/init.c: Likewise.
92116         * elf/tst-audit2.c: Likewise.
92117         * elf/tst-tls10.c: Likewise.
92118         * elf/tst-tls10.h: Likewise.
92119         * elf/tst-tls11.c: Likewise.
92120         * elf/tst-tls12.c: Likewise.
92121         * elf/tst-tls14.c: Likewise.
92122         * elf/tst-tlsmod11.c: Likewise.
92123         * elf/tst-tlsmod12.c: Likewise.
92124         * elf/tst-tlsmod13.c: Likewise.
92125         * elf/tst-tlsmod13a.c: Likewise.
92126         * elf/tst-tlsmod14a.c: Likewise.
92127         * elf/tst-tlsmod15b.c: Likewise.
92128         * elf/tst-tlsmod16a.c: Likewise.
92129         * elf/tst-tlsmod16b.c: Likewise.
92130         * elf/tst-tlsmod7.c: Likewise.
92131         * elf/tst-tlsmod8.c: Likewise.
92132         * elf/tst-tlsmod9.c: Likewise.
92133         * gmon/gmon.c: Likewise.
92134         * grp/fgetgrent_r.c: Likewise.
92135         * grp/putgrent.c: Likewise.
92136         * hurd/fopenport.c: Likewise.
92137         * include/libc-symbols.h: Likewise.
92138         * include/tls.h: Likewise.
92139         * intl/gettextP.h: Likewise.
92140         * intl/loadinfo.h: Likewise.
92141         * locale/global-locale.c: Likewise.
92142         * locale/localeinfo.h: Likewise.
92143         * mach/devstream.c: Likewise.
92144         * malloc/arena.c: Likewise.
92145         * malloc/set-freeres.c: Likewise.
92146         * misc/err.c: Likewise.
92147         * misc/getttyent.c: Likewise.
92148         * misc/mntent_r.c: Likewise.
92149         * posix/getopt.c: Likewise.
92150         * posix/wordexp.c: Likewise.
92151         * pwd/fgetpwent_r.c: Likewise.
92152         * resolv/Versions: Likewise.
92153         * resolv/res_hconf.c: Likewise.
92154         * shadow/fgetspent_r.c: Likewise.
92155         * shadow/putspent.c: Likewise.
92156         * stdio-common/printf_fphex.c: Likewise.
92157         * stdio-common/tmpfile.c: Likewise.
92158         * stdlib/abort.c: Likewise.
92159         * stdlib/fmtmsg.c: Likewise.
92160         * sunrpc/auth_unix.c: Likewise.
92161         * sunrpc/clnt_perr.c: Likewise.
92162         * sunrpc/clnt_tcp.c: Likewise.
92163         * sunrpc/clnt_udp.c: Likewise.
92164         * sunrpc/clnt_unix.c: Likewise.
92165         * sunrpc/openchild.c: Likewise.
92166         * sunrpc/svc_simple.c: Likewise.
92167         * sunrpc/svc_tcp.c: Likewise.
92168         * sunrpc/svc_udp.c: Likewise.
92169         * sunrpc/svc_unix.c: Likewise.
92170         * sunrpc/xdr.c: Likewise.
92171         * sunrpc/xdr_array.c: Likewise.
92172         * sunrpc/xdr_rec.c: Likewise.
92173         * sunrpc/xdr_ref.c: Likewise.
92174         * sunrpc/xdr_stdio.c: Likewise.
92176 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
92178         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
92180 2011-07-03  Andreas Jaeger  <aj@suse.de>
92182         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
92183         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
92184         regenerate with gen-libm-tests.pl.
92186 2010-05-12  Petr Baudis  <pasky@suse.cz>
92188         [BZ #11589]
92189         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
92190         around j0() zero points by switching to j1().
92191         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
92192         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
92193         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
92194         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
92196 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
92198         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
92199         instead of 0.
92200         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
92201         instead of 0.
92202         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
92203         Patch in part by Pavel Roskin <proski@gnu.org>.
92205         [BZ #13138]
92206         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
92207         realloc.
92208         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
92209         Free memory block if necessary.
92211         [BZ #12847]
92212         * libio/genops.c (INTDEF): For string streams the _lock pointer can
92213         be NULL.  Don't lock in this case.
92215 2011-09-09  Roland McGrath  <roland@hack.frob.com>
92217         * elf/elf.h (ELFOSABI_GNU): New macro.
92218         (ELFOSABI_LINUX): Define to that.
92220 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
92222         * string/strncat.c (strncat): Undef the symbol in case it has been
92223         defined in bits/string.h.
92225 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
92227         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
92229         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
92230         link map.
92232 2011-08-17  Andreas Jaeger  <aj@suse.de>
92234         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
92236 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
92237             Ian Lance Taylor  <iant@google.com>
92239         * math/libm-test.inc (lround_test): New testcase.
92240         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
92242 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
92244         * Makefile: Remove support for automatic cvs check-ins.
92245         * Makerules: Likewise.
92246         * config.make.in: Likewise.
92247         * configure.in: Likewise.
92248         * intl/Makefile: Likewise.
92249         * locale/Makefile: Likewise.
92250         * po/Makefile: Likewise.
92251         * posix/Makefile: Likewise.
92252         * sysdeps/gnu/Makefile: Likewise.
92253         * sysdeps/mach/hurd/Makefile: Likewise.
92254         * sysdeps/sparc/sparc32/Makefile: Likewise.
92256         [BZ #13118]
92257         * posix/Makefile (bug-regex32-ENV): Define.
92258         Patch by John Stanley <jpsinthemix@verizon.net>.
92260         * misc/Makefile (headers): Add bits/select2.h.
92261         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
92262         * misc/bits/select2.h: New file.
92263         * include/bits/select2.h: New file.
92264         * debug/Makefile (routines): Add fdelt_chk.
92265         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
92266         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
92267         FD_ISSET.
92268         * debug/fdelt_chk.c: New file.
92270         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
92271         * wcsmbs/test-wmemcmp.c: Likewise.
92272         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
92273         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
92275 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92277         * string/Makefile (strop-tests): Add memcmp.
92278         * string/test-wmemcmp.c: New file.
92279         * string/test-memcmp.c: Add wmemcmp support.
92281 2011-09-08  Roland McGrath  <roland@hack.frob.com>
92283         [BZ #13153]
92284         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
92285         2011-07-19 change.
92287         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
92288         garbage value in a __mach_port_mod_refs call in the cases of the
92289         task-self and thread-self ports.
92291 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92293         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
92295 2011-09-08  Andreas Schwab  <schwab@redhat.com>
92297         * elf/dl-load.c (lose): Check for non-null L.
92299 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
92301         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
92303         * elf/dl-libc.c (dlerror_run): Pass back error code from
92304         dl_catch_error.
92306         [BZ #13123]
92307         * elf/dl-load.c (lose): Free l_origin if it is valid.
92309         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
92310         names.
92311         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
92312         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92313         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92314         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92315         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
92316         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
92318 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
92320         * sysdeps/powerpc/fpu/e_hypot.c: New file.
92321         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
92322         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
92323         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
92324         * sysdeps/powerpc/fpu/k_cosf.c: New file.
92325         * sysdeps/powerpc/fpu/k_sinf.c: New file.
92326         * sysdeps/powerpc/fpu/s_cosf.c: New file.
92327         * sysdeps/powerpc/fpu/s_sinf.c: New file.
92328         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
92329         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
92331 2011-08-15  Alan Modra  <amodra@gmail.com>
92333         [BZ #13092]
92334         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
92335         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
92336         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
92337         ppc_mcount to static-only-routines.
92338         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
92339         __mcount_internal.
92340         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
92341         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
92343 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
92345         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
92346         for finite and infinity parameters.
92348 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
92350         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
92351         and add nop instructions for throughput optimization.
92352         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92354 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
92356         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
92357         aligned copy for power7 with vector-scalar instructions.
92358         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
92360 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
92362         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
92363         AVX check.
92365 2011-09-07  Andreas Schwab  <schwab@redhat.com>
92367         [BZ #13144]
92368         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
92369         last change.
92371 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
92373         * sysdeps/unix/sysv/linux/x86_64/init-first.c
92374         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
92375         syscall wrapper around clock_gettime in __vdso_clock_gettime.
92376         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
92377         clock_gettime.
92379 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
92381         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
92382         Forgot to demangle the pointer.
92384         * sysdeps/i386/sysdep.h: Define atom_text_section.
92385         * sysdeps/x86_64/sysdep.h: Likewise.
92386         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
92387         section with atom_text_section.
92388         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92389         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92390         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
92391         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92392         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
92394         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
92395         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
92396         already be defined.  Change to take two parameters and don't assign
92397         result to variable.  Adjust all users.
92398         Define INTERNAL_GETTIME if not already defined.
92399         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
92400         call.
92401         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
92402         HAVE_CLOCK_GETTIME_VSYSCALL.
92403         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
92405         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
92406         gettimeofday vsyscall, just use time.
92408 2011-09-06  Andreas Schwab  <schwab@redhat.com>
92410         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
92411         <errno.h>.
92413 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
92415         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
92416         syscall on x86-64.
92417         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
92418         syscall.
92419         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
92420         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
92421         syscall if possible.
92423 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92425         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
92426         e_ident.  Don't pass to find_mapsXX.
92427         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
92429 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92431         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92432         strchr-sse2-no-bsf strrchr-sse2-no-bsf
92433         * sysdeps/x86_64/multiarch/strchr.S: Update.
92434         Check bit_slow_BSF bit.
92435         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
92436         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
92437         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
92439 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92441         [BZ #13134]
92442         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
92443         before glibc 2.15.
92444         (tryshell): Define.
92445         (__spawni): Change last parameter to be flag.  Test
92446         SPAWN_XFLAGS_USE_PATH flag to use path or not.
92447         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
92448         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
92449         * posix/spawni.c: Likewise.
92450         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
92451         * posix/spawnp.c: Likewise.  Change normal version to use
92452         SPAWN_XFLAGS_USE_PATH.
92453         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
92454         SPAWN_XFLAGS_TRY_SHELL.
92456         [BZ #13150]
92457         * posix/glob.h: Remove gcc 1.x support.
92459         [BZ #13068]
92460         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
92462 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92464         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92465         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
92466         strrchr-sse2-bsf
92467         * sysdeps/i386/i686/multiarch/strchr.S: New file.
92468         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
92469         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
92470         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
92471         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
92472         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
92474 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92476         * sysdeps/x86_64/wcscmp.S: New file.
92478         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
92479         wcscmp-c wcscmp-sse2
92480         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
92481         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
92482         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
92483         * wcsmbs/wcscmp.c: Allow renaming.
92485 2011-09-05  David S. Miller  <davem@davemloft.net>
92487         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
92488         stack slot, rather than the struct return pointer slot.
92489         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
92490         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
92491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
92492         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
92494 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92496         * po/ja.po: Update from translation team.
92498         [BZ #13144]
92499         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
92500         kernel in 64-bit binaries.
92502 2011-09-01  David S. Miller  <davem@davemloft.net>
92504         * elf/elf.h (HWCAP_SPARC_*): Move to..
92505         * sysdeps/sparc/sysdep.h: this new file and add new values.
92506         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
92507         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
92508         _DL_HWCAP_COUNT to 24.
92509         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
92510         entries.
92511         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
92512         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
92513         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
92514         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
92515         instead of magic constants.
92516         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
92518 2011-08-31  David S. Miller  <davem@davemloft.net>
92520         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
92521         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
92522         Reimplement to do errno handling inline.
92523         (SYSCALL_ERROR_HANDLER): New macro.
92524         (__SYSCALL_STRING): Do not do errno handling in asm.
92525         (__CLONE_SYSCALL_STRING): Delete.
92526         (__INTERNAL_SYSCALL_STRING): Delete.
92527         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
92528         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
92529         (PSEUDO): Reimplement to do errno handling inline.
92530         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
92531         (SYSCALL_ERROR_HANDLER): New macro.
92532         (__SYSCALL_STRING): Do not do errno handling in asm.
92533         (__CLONE_SYSCALL_STRING): Delete.
92534         (__INTERNAL_SYSCALL_STRING): Delete.
92535         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
92536         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
92537         i386.
92538         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
92539         (inline_syscall*): Add 'err' argument.
92540         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
92541         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
92542         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
92543         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
92545         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
92546         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
92548 2011-08-30  Andreas Schwab  <schwab@redhat.com>
92550         * elf/rtld.c (dl_main): Relocate objects in dependency order.
92552 2011-08-29  Jiri Olsa <jolsa@redhat.com>
92554         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
92555         directive.
92557 2011-08-24  David S. Miller  <davem@davemloft.net>
92559         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
92561 2011-08-24  Andreas Schwab  <schwab@redhat.com>
92563         * elf/Makefile: Add rules to build and run unload8 test.
92564         * elf/unload8.c: New file.
92565         * elf/unload8mod1.c: New file.
92566         * elf/unload8mod1x.c: New file.
92567         * elf/unload8mod2.c: New file.
92568         * elf/unload8mod3.c: New file.
92570         * elf/dl-close.c (_dl_close_worker): Reset private search list if
92571         it wasn't used.
92573 2011-08-23  David S. Miller  <davem@davemloft.net>
92575         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
92576         subtract stack bias.
92577         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
92578         %sp not %fp in calculations.
92579         (_JMPBUF_UNWINDS_ADJ): Likewise.
92581         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
92582         (aio_suspend): Call it to force an exception region around the
92583         AIO_MISC_WAIT() invocation.
92585 2011-08-23  Andreas Schwab  <schwab@redhat.com>
92587         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
92588         backslash.
92590 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
92592         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
92593         protection macro.
92594         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
92595         and <dl-machine.h>.
92596         (Elf64_FuncDesc): Remove.
92598 2011-08-22  David S. Miller  <davem@davemloft.net>
92600         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
92601         sigaltstack check, add missing cfi directives.
92602         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
92603         missing cfi directives, and sigaltstack handling.
92605 2011-08-16  Andreas Schwab  <schwab@redhat.com>
92607         [BZ #11724]
92608         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
92609         object is seen twice.
92610         * elf/dl-fini.c (_dl_sort_fini): Likewise.
92612         * elf/Makefile (distribute): Add tst-initorder2.c.
92613         (tests): Add tst-initorder2.
92614         (modules-names): Add tst-initorder2a tst-initorder2b
92615         tst-initorder2c tst-initorder2d.  Add rules to build them.
92616         ($(objpfx)tst-initorder2.out): New rule.
92617         * elf/tst-initorder2.c: New file.
92618         * elf/tst-initorder2.exp: New file.
92620 2011-08-22  Andreas Schwab  <schwab@redhat.com>
92622         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
92624         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
92625         dependencies back to end of function.
92627         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92628         $(elfobjdir)/ld.so.
92630 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
92632         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
92633         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
92634         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
92635         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
92636         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
92637         of __vdso_gettimeofday.
92638         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
92639         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
92640         attribute_hidden.
92641         (_libc_vdso_platform_setup): Remove initialization of
92642         __vdso_gettimeofday and __vdso_time.
92644 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
92646         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
92647         and fgetc_unlocked.
92648         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
92649         getc_unlocked.
92651         * elf/dl-open.c (add_to_global): Report additions to the global scope
92652         for LD_DEBUG=scopes.
92653         (dl_open_worker): Also print scope of newly loaded dependencies.
92654         (_dl_show_scope): Indicate if there is no scope.
92656         [BZ #13114]
92657         * stdio-common/Makefile (tests): Add bug24.
92658         * stdio-common/bug24.c: New file.
92660 2011-08-19  Andreas Jaeger  <aj@suse.de>
92662         [BZ #13114]
92663         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
92664         non-existant file when using close-on-exec mode.
92666 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
92668         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
92669         the very first instruction.
92671         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
92672         the CFI state in the end.
92673         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
92674         inclusion of dl-trampoline.h.
92675         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
92677 2011-08-19  Andreas Schwab  <schwab@redhat.com>
92679         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
92680         expectations for long double.
92682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
92683         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
92685 2011-08-14  David S. Miller  <davem@davemloft.net>
92687         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
92688         artificual limit depends upon the system page size.
92690 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
92692         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
92693         * resolv/Makefile: Define CFLAGS-libresolv.
92695 2011-08-17  Andreas Schwab  <schwab@redhat.com>
92697         * nss/makedb.c (compute_tables): Make variables used in nested
92698         function static.
92700 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
92702         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
92703         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
92704         if buffer was too small.
92706         * elf/pldd.c (main): Attach to all threads in the process.
92707         Rewrite /proc handling to use *at functions.
92709 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
92711         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
92712         specifies first scope to show.
92713         (dl_open_worker): Update callers.  Move printing scope of new
92714         object to before the relocation.
92715         * elf/rtld.c (dl_main): Update _dl_show_scope call.
92716         * sysdeps/generic/ldsodefs.h: Update declaration.
92718         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
92719         string for the scope number.
92721 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
92723         * nscd/servicescache.c (cache_addserv): Make sure written is always
92724         initialized.
92726 2011-08-14  Roland McGrath  <roland@hack.frob.com>
92728         * sysdeps/i386/i486/bits/atomic.h
92729         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
92730         statement expression, so as to suppress "set but not used" warning.
92731         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
92733         * string/strncat.c (STRNCAT): Use prototype definition.
92735         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
92736         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
92737         -Iprograms here.
92738         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
92739         (localedef-modules): Add localedef.
92740         (locale-modules): Add locale.
92742         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
92743         * elf/rtld.c (dl_main): Invert order of assignment in last change,
92744         to avoid a warning.
92746 2011-08-14  David S. Miller  <davem@davemloft.net>
92748         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
92749         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
92751 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
92753         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
92754         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
92755         * elf/rtld.c (dl_main): Set l_name of vDSO.
92756         Call _dl_show_scope when DL_DEBUG_SCOPES.
92757         (process_dl_debug): Recognize scopes flag and also set it for all.
92758         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
92759         Declare _dl_show_scope.
92761         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
92762         (do_dlopen): Pass caller_dlopen to dl_open.
92763         (__libc_dlopen_mode): Initialize caller_dlopen.
92765         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
92766         of libc.  Make tolower call locale-independent.  Optimize a bit by
92767         using isdigit instead of isalnum.
92768         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
92770 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
92772         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
92773         was a dependency or dynamically loaded.
92775 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
92777         * intl/l10nflist.c: Allow architecture-specific pop function.
92778         * sysdeps/x86_64/l10nflist.c: New file.
92780         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
92781         classification.
92783 2011-08-10  Andreas Schwab  <schwab@redhat.com>
92785         * include/dirent.h: Add libc_hidden_proto for scandirat and
92786         scandirat64.  Don't declare __scandirat64.
92787         * dirent/scandirat.c: Add libc_hidden_def.
92788         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
92789         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
92791 2011-08-10  David S. Miller  <davem@davemloft.net>
92793         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
92794         enum.
92795         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92796         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92797         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92799 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
92801         * Versions.def [libc]: Add GLIBC_2.15.
92802         * dirent/Makefile (routines): Add scandirat and scandirat64.
92803         * dirent/Versions [libc]: Export scandirat and scandirat64 for
92804         GLIBC_2.15.
92805         * dirent/dirent.h: Declare scandirat and scandirat64.
92806         * dirent/scandirat.c: New file.
92807         * dirent/scandirat64.c: New file.
92808         * sysdeps/wordsize-64/scandirat.c: New file.
92809         * sysdeps/wordsize-64/scandirat64.c: New file.
92810         * dirent/opendir.c: Define opendirat.
92811         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
92812         using scandirat.
92813         * dirent/scandir64.c: Adjust for scandir.c change.
92814         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
92815         __scandirat64, and __scandir_cancel_handler.
92816         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
92817         additional parameter and use openat instead of open (outside of ld.so).
92818         Add new __opendir as wrapper around __opendirat.
92819         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
92820         here without requiring old scandirat implementation.
92822 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
92824         * dirent/scandir.c (cancel_handler): Renamed to
92825         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
92826         defined.  Adjust users.
92827         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
92828         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
92830 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
92832         * string/test-string.h (IMPL): Use __STRING to expand name and then
92833         stringify it.
92835         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
92836         of cleanups.
92838 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92840         * string/Makefile: Update.
92841         (strop-tests): Append strncat.
92842         * string/test-wcscmp.c: New file.
92843         New comprehensive test for wcscmp.
92844         * string/test-strcmp.c: Update.
92845         (WIDE): New define.
92847 2011-07-22  Andreas Schwab  <schwab@redhat.com>
92849         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
92850         line.
92852 2011-07-26  Andreas Schwab  <schwab@redhat.com>
92854         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
92855         encoding to ACE if AI_IDN.
92857 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
92859         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
92860         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
92862 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92864         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
92865         Fix overflow bug in strncat.
92866         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
92868         * string/test-strncat.c: Update.
92869         Add new tests for checking overflow bugs.
92871 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92873         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92874         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
92875         * sysdeps/i386/i686/multiarch/strcat.S: New file.
92876         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
92877         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
92878         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
92879         * sysdeps/i386/i686/multiarch/strncat.S: New file.
92880         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
92881         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
92883         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
92884         (USE_AS_STRCAT): Define.
92885         Add strcat and strncat support.
92886         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92888 2011-07-25  Andreas Schwab  <schwab@redhat.com>
92890         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
92891         __n bigger than INT_MAX+1.
92892         (__strncmp_g): Likewise.
92894 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
92896         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
92897         * libio/stido.h: Likewise.
92899         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
92900         (AF_NFC): Define.
92901         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
92902         (AF_NFC): Define.
92904         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
92905         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92906         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92907         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
92908         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92910         [BZ #13021]
92911         * scripts/test-installation.pl: Don't expect libnss_test1 to be
92912         installed.
92914         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
92915         typo.
92916         (_dl_x86_64_save_sse): Likewise.
92918 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
92920         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
92921         OSXSAVE.
92922         (_dl_x86_64_save_sse): Likewise.
92924         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
92926         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
92928 2011-07-21  Andreas Schwab  <schwab@redhat.com>
92930         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
92931         change.
92932         (_dl_x86_64_save_sse): Use correct AVX check.
92934 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92936         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
92937         bug in strncpy/strncat.
92938         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
92940 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
92942         * string/tester.c (test_strcat): Add tests for different alignments
92943         of source and destination.
92944         (test_strncat): Likewise.
92946 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
92948         [BZ #12852]
92949         * posix/glob.c (glob): Check passed in values before using them in
92950         expressions to avoid some overflows.
92951         (glob_in_dir): Likewise.
92953         [BZ #13007]
92954         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
92955         check for AVX enablement so that we don't crash with old kernels and
92956         new hardware.
92957         * elf/tst-audit4.c: Add same checks here.
92958         * elf/tst-audit6.c: Likewise.
92960         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
92962 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
92964         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
92966 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
92968         * po/cs.po: Update from translation team.
92969         * po/bg.po: Likewise.
92971 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
92973         * misc/sys/cdefs.h: Add support for const attribute.
92974         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
92975         to gnu_dev_{major,minor,makedev} functions.
92977 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
92979         * intl/dcigettext.c (get_output_charset): Add missing bracket.
92981 2011-07-20  Andreas Schwab  <schwab@redhat.com>
92983         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
92984         strlen results.
92986 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92988         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
92989         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
92990         register in order to avoid conflicts with the soft frame pointer
92991         being held in r11 when necessary.
92992         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
92993         (INTERNAL_VSYSCALL_NCS): Likewise.
92995 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
92997         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
92998         * elf/dl-fini.c (_dl_fini): Adjust caller.
92999         * elf/dl-close.c (_dl_close_worker): Likewise.
93000         * sysdeps/generic/ldsodefs.h: Adjust declaration.
93002 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
93004         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
93005         "aux_cache->nlibs < 0".
93007         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
93008         in the reload-count case.
93010 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
93012         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93013         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
93014         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
93015         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
93016         * sysdeps/x86_64/multiarch/strcat.S: New file.
93017         * sysdeps/x86_64/multiarch/strncat.S: New file.
93018         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
93019         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
93020         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
93021         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
93022         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
93023         (USE_AS_STRCAT): Define.
93024         Add strcat and strncat support.
93025         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
93026         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
93027         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
93028         * string/strncat.c: Update.
93029         (USE_AS_STRNCAT): Define.
93030         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93031         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
93032         and i7.
93033         * sysdeps/x86_64/multiarch/init-arch.h
93034         (bit_Prefer_PMINUB_for_stringop): New.
93035         (index_Prefer_PMINUB_for_stringop): Likewise.
93036         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
93037         bit_Prefer_PMINUB_for_stringop.
93039 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
93041         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
93042         buffer64.
93043         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
93044         of casting of buffer.
93045         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
93046         buffer32 and buffer64.
93047         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
93048         writes instead of casting of buffer.
93049         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
93050         buffer32.
93051         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
93052         casting of buffer.
93054 2011-07-19  Andreas Schwab  <schwab@redhat.com>
93056         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
93058 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
93060         * nscd/nscd.c (termination_handler): Don't do anything for a database
93061         if it has not yet been initialized.
93063 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
93065         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
93067 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
93069         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
93071 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
93073         * po/nl.po: Update from translation team.
93074         * po/sv.po: Likewise.
93076 2011-07-16  Roland McGrath  <roland@hack.frob.com>
93078         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
93079         now disallowed by GCC.
93081         * configure.in (use-default-link): Default to yes if a test -shared
93082         link meets our qualifications.
93083         * configure: Regenerated.
93085         * config.make.in (output-format): New variable.
93086         * configure.in: Check for ld --print-output-format support.
93087         * configure: Regenerated.
93088         * Makerules ($(common-objpfx)format.lds)
93089         [$(output-format) != unknown]: Just use $(output-format),
93090         instead of the linker-script munging.
93092 2011-07-14  Roland McGrath  <roland@hack.frob.com>
93094         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
93095         of $(common-objpfx)shlib.lds.
93096         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
93098         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
93099         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
93101         * configure.in (-z relro check): Adjust test code to add a large
93102         writable data section after it.
93103         * configure: Regenerated.
93105 2011-07-11  Roland McGrath  <roland@hack.frob.com>
93107         * configure.in (-z relro check): Fix test code to make the variable
93108         truly const.
93109         * configure: Regenerated.
93111 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
93113         * nscd/nscd.h (struct traced_file): Define.
93114         (struct database_dyn): Remove inotify_descr, reset_res, and filename
93115         elements.  Add traced_files.
93116         (inotify_fd): Declare.
93117         (register_traced_file): Declare.
93118         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
93119         (inotify_fd): Export.
93120         (resolv_conf_descr): Remove.
93121         (nscd_init): Move inotify descriptor creation to main.
93122         Don't register files for notification here.
93123         (register_traced_file): New function.
93124         (invalidate_cache): Don't use reset_res to determine whether to call
93125         res_init, go through the list of registered files.
93126         (main_loop_poll): The inotify descriptors are now stored in the
93127         structures for the traced files.
93128         (main_loop_epoll): Likewise.
93129         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
93130         to __nss_disable_nscd.
93131         * nscd/cache.c (prune_cache): There is no single inotify descriptor
93132         for a database anymore.  Check the records for all the registered
93133         files instead.
93134         * nss/Makefile (libnss_files-routines): Add files-init.
93135         (libnss_db-routines): Add db-init.
93136         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
93137         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
93138         * nss/nss_db/db-init.c: New file.
93139         * nss/nss_files/files-init.c: New file.
93140         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
93141         __nss_lookup_function.
93142         (__nss_lookup_function): Call nss_load_library.
93143         (nss_load_all_libraries): New function.
93144         (__nss_disable_nscd): Take parameter with callback function for files
93145         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
93146         used for the cached services.
93147         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
93148         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
93149         options for features to all the files in nscd.
93151         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
93153 2011-07-10  Roland McGrath  <roland@hack.frob.com>
93155         * csu/elf-init.c (__libc_csu_init): Comment typo.
93157 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
93159         * po/pl.po: Update from translation team.
93160         * po/ja.po: Likewise.
93161         * po/ru.po: Likewise.
93162         * po/ko.po: Likewise.
93163         * po/fr.po: Likewise.
93165 2011-07-09  Roland McGrath  <roland@hack.frob.com>
93167         * configure.in (.ctors/.dtors header and trailer check):
93168         Use an empirical test on a built program.
93169         * configure: Regenerated.
93171         * configure.in (-z relro check): Use an empirical test on a built DSO.
93172         Detect, but do not require, on ia64.
93173         * configure: Regenerated.
93175         * configure.in (READELF): Find it with AC_CHECK_TOOL.
93176         Update tests that use readelf to use $READELF instead.
93177         * configure: Regenerated.
93179 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
93181         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
93182         if the result is not used.
93184 2011-07-05  Andreas Jaeger  <aj@suse.de>
93186         [BZ #9696]
93187         * stdlib/tst-strtod.c: Add testcase.
93189 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
93191         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
93192         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
93193         The latter has a higher limit.  Take additional parameter to pass to
93194         the new function.
93195         (__pathconf): Pass file to __statfs_link_max.
93196         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
93197         __statfs_link_max.
93198         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
93199         __statfs_link_max.
93201         [BZ #12868]
93202         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
93203         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93204         Handle Lustre.
93205         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
93206         (__statfs_filesize_max): Likewise.
93207         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
93209 2011-07-05  Andreas Jaeger  <aj@suse.de>
93211         * resolv/res_comp.c (dn_skipname): Remove unused variable.
93213 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
93215         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
93216         `status' variable.
93217         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
93218         Likewise.
93220 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
93222         * Makefile (strop-tests): Add strncat.
93223         * string/test-strncat.c: New file.
93225 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
93227         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
93229 2011-06-21  Andreas Jaeger  <aj@suse.de>
93231         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
93232         Copy rule from iconvdata/Makefile.
93234 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
93236         [BZ #12922]
93237         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
93238         but no long options are defined, just return 'W'.
93240 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
93242         [BZ #9696]
93243         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
93245 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
93247         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
93248         netgroups to read.
93249         (innetgr): Likewise.
93251 2011-07-05  Roland McGrath  <roland@hack.frob.com>
93253         * config.make.in (install_root): Default to $(DESTDIR).
93255 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
93257         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
93259 2011-07-02  Roland McGrath  <roland@hack.frob.com>
93261         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
93263         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
93264         containing directory rather than embedding absolute directory names.
93266         * scripts/check-local-headers.sh: Rewritten using awk.
93267         Match by word, not by line.  Print error messages for matches.
93268         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
93270         * Makerules [shlib-lds-flags empty]:
93271         ($(common-objpfx)libc_pic.opts): New target.
93272         ($(common-objpfx)libc_pic.os.clean): New target.
93273         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
93275         * config.make.in (OBJCOPY): New variable.
93276         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
93277         * configure: Regenerated.
93279         * config.make.in (use-default-link): New variable.
93280         * configure.in (use_default_link): Grok --with-default-link to set it.
93281         * configure: Regenerated.
93282         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
93283         (shlib-lds, shlib-lds-flags): Define to empty.
93285         * Makerules (shlib-lds): New variable.
93286         (shlib-lds-flags): New variable.
93287         (build-shlib, build-moduile, build-module-asneeded): Use it.
93288         ($(common-objpfx)libc.so): Use $(shlib-lds).
93289         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
93290         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
93292         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
93293         DT_FLAGS/DT_FLAGS_1 with zero flags.
93295         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
93296         linker script munging.
93298 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
93300         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
93301         as 128-bit value.
93302         * crypt/sha512.c (sha512_process_block): Perform total addition using
93303         128-bit if possible.
93304         (__sha512_finish_ctx): Likewise.
93305         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
93306         as 64-bit value.
93307         * crypt/sha256.c (SWAP64): Define.
93308         (sha256_process_block): Perform total addition using 64-bit if
93309         possible.
93310         (__sha256_finish_ctx): Likewise.
93312 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
93314         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
93315         * nscd/initgrcache.c (addinitgroupsX): Likewise.
93316         * nscd/hstcache.c (cache_addhst): Likewise.
93317         * nscd/grpcache.c (cache_addgr): Likewise.
93318         * nscd/aicache.c (addhstaiX): Likewise.
93319         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
93321 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
93323         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
93324         * nscd/initgrcache.c (addinitgroupsX): Likewise.
93325         * nscd/hstcache.c (cache_addhst): Likewise.
93326         * nscd/grpcache.c (cache_addgr): Likewise.
93327         * nscd/aicache.c (addhstaiX): Likewise.
93329 2011-07-01  Andreas Schwab  <schwab@redhat.com>
93331         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
93332         domain only when needed.
93334 2011-06-30  Andreas Schwab  <schwab@redhat.com>
93336         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
93337         is always restored.
93339 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
93341         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
93342         are re-adding the entry.
93343         * nscd/servicescache.c (cache_addserv): Likewise.
93345 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
93347         * sysdeps/generic/dl-irel.h: fix protection against multiple
93348         inclusions.
93349         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
93351 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
93353         [BZ #12935]
93354         * malloc/memusage.sh: Fix quoting in message.
93355         * debug/xtrace.sh: Likewise.
93357         * configure.in: Remove support for --experimental-malloc option, make
93358         it the default.
93359         * config.make.in: Likewise.
93360         * malloc/Makefile: Likewise.
93362 2011-06-27  Andreas Schwab  <schwab@redhat.com>
93364         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
93365         two-byte characters.
93367 2011-06-27  Roland McGrath  <roland@hack.frob.com>
93369         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
93370         AC_CACHE_CHECK invocation.
93371         * configure: Regenerated.
93373         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
93375 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
93377         [BZ #12350]
93378         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
93379         bit from old_res_options.
93381         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
93383         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
93384         value type for setfct.
93386 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
93388         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93389         __gettimeofday instead of gettimeofday.
93391 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
93393         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
93395 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
93397         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
93399         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
93400         info.
93402 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
93404         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93405         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93406         strcpy-sse2-unaligned strncpy-sse2-unaligned
93407         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
93408         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
93409         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
93410         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
93411         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
93412         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
93413         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
93414         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
93415         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
93416         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
93417         (STRCPY): Support SSE2 and SSSE3 versions.
93419 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
93421         [BZ #12874]
93422         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
93423         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
93424         kernels which artificially limit size of requests.
93426 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
93428         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93429         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93430         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
93431         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
93432         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
93433         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
93434         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
93435         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
93436         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
93437         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
93438         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
93439         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
93440         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
93441         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
93442         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
93443         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93444         Enable unaligned load optimization for Intel Core i3, i5 and i7
93445         processors.
93446         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
93447         Define.
93448         (index_Fast_Unaligned_Load): Define.
93449         (HAS_FAST_UNALIGNED_LOAD): Define.
93451 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
93453         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
93455 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
93457         [BZ #12907]
93458         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
93459         until it is clear that the information is realy needed.
93460         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
93462 2011-06-22  Andreas Schwab  <schwab@redhat.com>
93464         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
93466 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
93468         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93469         /sys/devices/system/cpu/online if it is usable.
93471         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
93472         reading the information from the /proc filesystem to once a second.
93474 2011-06-21  Andreas Jaeger  <aj@suse.de>
93476         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
93477         NULL after inclusion of kernel headers.
93479 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
93481         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
93482         calls to internal_setent.
93484         [BZ #12885]
93485         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
93486         addresses using gethostbyname4_r ignore IPv4 addresses.
93488         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
93489         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
93491         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
93493 2011-06-20  David S. Miller  <davem@davemloft.net>
93495         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
93496         inclusions.
93497         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
93499         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
93500         (elf_irel): Use it.
93501         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
93502         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
93503         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
93504         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
93505         * sysdeps/x86_64/dl-irel.h: Likewise.
93507         * elf/dl-runtime.c: Use elf_ifunc_invoke.
93508         * elf/dl-sym.c: Likewise.
93510 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
93512         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
93513         need to dereference resplen2.
93515 2011-06-14  Andreas Schwab  <schwab@redhat.com>
93517         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
93519 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
93521         * Makeconfig: Define vardbdir and inst_vardbdir.
93522         * nss/Makefile: Add rules to install db-Makefile.
93524         * nss/nss_db/db-XXX.c: Cleanup.
93526         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
93527         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
93528         GLIBC_PRIVATE.
93529         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
93530         * nss/makedb.c: Implement -g option to specify that value strings
93531         are generated and should not be added to table iterated over for
93532         get*ent calls.
93533         * nss/nss_db/db-initgroups.c: New file.
93535         * nss/getent.c: Add support for initgroups lookups through getgrouplist
93536         interface.
93538         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
93539         (internal_getgrouplist): Adjust to name change.
93540         Update use_initgroups_entry if this is not the first call.
93541         * nss/databases.def: Add initgroups entry.
93543         * nss/makedb.c (compute_tables): Check result of multiple hash table
93544         sizes to minimize maximum chain length.
93546 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
93548         * Versions.def: Add entry for libnss_db.
93549         * shlib-versions: Likewise.
93550         * nss/Makefile: Add rules to build libnss_db.
93551         * nss/Versions: Add libnss_db information.  Organize libnss_files
93552         entries better.
93553         * nss/db-Makefile: Add gshadow support.  Change rules for the new
93554         makedb progra.  Some minor improvements to generate smaller files.
93555         * nss/nss_db/nss_db.h: Move NSS database header data structures to
93556         here from...
93557         * nss/makedb.c: ...here.
93558         Improve database format to be smaller and require less memory at
93559         runtime.
93560         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
93561         db anymore.
93562         * nss/nss_db/db-netgrp.c: Likewise.
93563         * nss/nss_db/db-open.c: Likewise.
93564         * nss/nss_files/flies-XXX.x: Adjust comments.
93565         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
93566         * nss/nss_files/files-grp.c: Likewise.
93567         * nss/nss_files/files-hosts.c: Likewise.
93568         * nss/nss_files/files-network.c: Likewise.
93569         * nss/nss_files/files-proto.c: Likewise.
93570         * nss/nss_files/files-pwd.c: Likewise.
93571         * nss/nss_files/files-rpc.c: Likewise.
93572         * nss/nss_files/files-service.c: Likewise.
93573         * nss/nss_files/files-sgrp.c: Likewise.
93574         * nss/nss_files/files-spwd.c: Likewise.
93575         * nss/nss_db/db-alias.c: Removed.
93576         * nss/nss_db/dummy-db.h: Removed.
93578 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
93580         * nss/makedb.c: Rewritten to not use database library.
93581         * nss/Makefile: Update to build new makedb program.
93583 2011-06-14  Andreas Jaeger  <aj@suse.de>
93585         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
93586         memset declaration.
93588 2011-06-10  Andreas Schwab  <schwab@redhat.com>
93590         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
93591         tmpbuf.
93593 2011-06-10  Roland McGrath  <roland@hack.frob.com>
93595         * Makerules (shlib.lds): Fail if the linker script comes out empty.
93596         * elf/Makefile ($(objpfx)ld.so): Likewise.
93598         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
93599         Don't list ld.so twice in dependencies.
93601         * posix/bug-regex31.c: Include <stdlib.h>.
93603         * nscd/hstcache.c (cache_addhst): Remove unused variable.
93605         * nis/nss_compat/compat-spwd.c
93606         (getspent_next_nss_netgr): Remove unused variable.
93607         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
93609         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
93610         nonmembers" output to use the right array.
93612         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
93614         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
93616         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
93617         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
93618         * catgets/gencat.c (read_input_file): Likewise.
93619         * locale/programs/locarchive.c (enlarge_archive): Likewise.
93621         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
93622         variable definition inside #if's controlling its use.
93624         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
93626         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
93628         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
93630         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
93631         unreachable code.
93633         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
93635         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
93636         * configure: Regenerated.
93638         * Makerules: Revert last change.
93639         * elf/Makefile: Likewise.
93641 2011-06-09  Roland McGrath  <roland@hack.frob.com>
93643         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
93644         * elf/Makefile ($(objpfx)librtld.os): Likewise.
93645         (reloc-link): Likewise.
93647 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
93649         * elf/Makefile: Add rules to build pldd.
93650         * elf/pldd.c: New file.
93651         * elf/pldd-xx.c: New file.
93653 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
93655         * version.h: Update for 2.15 development version.
93657 2011-06-07  David S. Miller  <davem@davemloft.net>
93659         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
93660         ifuncs.
93661         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
93662         elf_machine_lazy_rel): Likewise.
93663         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
93664         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
93665         elf_machine_lazy_rel): Likewise.
93666         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
93667         dl_hwcap via passed in argument.
93668         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
93669         Likewise.
93671 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93673         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
93675 2011-06-06  Roland McGrath  <roland@hack.frob.com>
93677         [BZ #12849]
93678         * manual/fdl-1.1.texi: New file, verbatim from:
93679         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
93680         * manual/lgpl-2.1.texi: New file, verbatim from:
93681         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
93682         * manual/Makefile (licenses): New variable, list those new file names.
93683         (texis): Use it.
93684         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
93686         * manual/fdl.texi: File removed.
93687         * manual/lesser.texi: File removed.
93688         * manual/libc.texinfo (Copying, Documentation License):
93689         Use new @include file names, put @appendix directive before @include.
93691 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
93693         [BZ #12841]
93694         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
93695         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
93696         (mq_open): Add __NTH.
93698 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
93700         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93701         Assume Intel Core i3/i5/i7 processor if AVX is available.
93703 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
93705         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
93706         typo.
93708 2011-05-31  Andreas Schwab  <schwab@redhat.com>
93710         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
93711         memory.  Use alloca_account.  Fix memory leak when retrying.
93713 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
93715         * version.h (RELEASE): Bump for 2.14 release.
93716         * include/features.h (__GLIBC_MINOR__): Bump to 14.
93718         * config.make.in (RANLIB): Remove entry.
93720 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
93722         * po/Makefile (po-sed-cmd): Add ksh to extensions.
93723         (libc.pot): Work around missing support for .ksh extension in xgettext.
93725         [BZ #12684]
93726         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
93727         if both request failed.
93728         (send_dg): In case of server errors clear resplen or *resplen2.
93730         [BZ #12454]
93731         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
93732         when there are multiple maps.
93733         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
93734         (_dl_fini): Remove test here.
93736         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
93738 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
93740         [BZ #12350]
93741         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
93742         bit from old_res_options.
93743         (gaih_inet): Likewise.
93745         [BZ #11099]
93746         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
93747         as signed.
93749         * resolv/res_init.c (res_setoptions): Make the code more compact.
93751         [BZ #11558]
93752         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
93753         set RES_USEVC.
93755         [BZ #11634]
93756         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
93758         * malloc/malloc.h: Mark malloc hook variables as deprecated.
93760         [BZ #11781]
93761         * malloc/malloc.h: Declare malloc hook variables as volatile.
93763         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
93764         in last patch.
93766         [BZ #11799]
93767         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
93768         raise in the comment.
93769         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
93770         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
93771         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
93773 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
93775         [BZ #12811]
93776         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
93777         grow the buffers more if it already has to be sufficient.
93778         (build_wcs_upper_buffer): Likewise.
93779         * posix/regexec.c (check_matching): Likewise.
93780         (clean_state_log_if_needed): Likewise.
93781         (extend_buffers): Don't enlarge buffers beyond size of the input
93782         buffer.
93783         Patches mostly by Emil Wojak <emil@wojak.eu>.
93784         * posix/bug-regex32.c: New file.
93785         * posix/Makefile (tests): Add bug-regex32.
93787         * locale/findlocale.c (_nl_find_locale): Return right away if
93788         _nl_explode_name failed.
93789         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
93791         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
93793         * debug/xtrace.sh: Unify messages.
93794         * malloc/memusage.sh: Likewise.
93796         [BZ #12813]
93797         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
93798         time symbol from vDSO.  Substitute with vsyscall if not available.
93799         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
93800         __vdso_time.
93802         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
93803         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
93804         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
93805         Add sendmmsg and internal_sendmmsg.
93806         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
93807         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
93808         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
93810         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
93811         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
93812         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
93814 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
93816         [BZ #12813]
93817         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
93818         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
93819         available.
93820         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
93821         __vdso_getcpu.
93823         [BZ #12814]
93824         * iconvdata/Makefile (tests): Add bug-iconv9.
93825         * iconvdata/bug-iconv9.c: New file.
93827 2011-05-27  Andreas Schwab  <schwab@redhat.com>
93829         [BZ #12814]
93830         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
93832 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
93834         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93835         (struct user_regs_struct): Change intcs field back to cs.
93837 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
93839         * po/ja.po: Update from translation team.
93841 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
93843         [BZ #12795]
93844         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
93845         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
93847 2011-05-20  Andreas Schwab  <schwab@redhat.com>
93849         * stdlib/longlong.h: Update from GCC.
93851 2011-05-23  Andreas Schwab  <schwab@redhat.com>
93853         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
93854         parameter name.
93855         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
93856         Add parameter name.
93857         (__sysconf): Pass it down.
93859 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
93861         [BZ #12671]
93862         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
93863         some situations.
93864         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
93865         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
93866         add in in __libc_use_alloca calls.  Adjust callers.
93867         (glob): Use malloc in some situations.
93869         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
93870         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
93871         pltexit.
93873 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
93875         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
93876         and CLOCK_BOOTTIME_ALARM.
93878         [BZ #12782]
93879         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
93880         is returned.
93882         * string/_strerror.c (__strerror_r): Print negative errors as signed
93883         numbers.
93885         [BZ #12777]
93886         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
93887         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
93888         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
93890         * configure.in: Fix typo in redirection and correct removal of test
93891         files in two cases.
93893         [BZ #12788]
93894         * locale/setlocale.c (new_composite_name): Fix test to check for
93895         identical name of all categories.
93897         [BZ #12792]
93898         * libio/filedoalloc.c (local_isatty): New function.
93899         (_IO_file_doallocate): Use local_isatty.
93900         * stdio-common/perror.c (perror): In case a new stream is used
93901         forward the stream error.
93902         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
93903         error flag.
93905 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
93907         [BZ #11884]
93908         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
93909         alloca.
93910         * include/alloca.h (extend_alloca_account): Define.
93912         [BZ #11857]
93913         * posix/regex.h: Fix comments with documentation of user-accessible
93914         fields after compilation and describe correct free'ing of pattern
93915         after re_compile_pattern.
93916         Patch by Reuben Thomas <rrt@sc3d.org>.
93918 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
93920         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
93921         and -mno-altivec to prevent the compiler from using Altivec and/or
93922         VSX instructions when the corresponding registers are not available.
93924 2011-05-19  Andreas Schwab  <schwab@redhat.com>
93926         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
93928 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
93930         * libio/freopen.c (freopen): Use __dup2, not dup2.
93931         * libio/freopen64.c (freopen64): Likewise.
93933 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
93935         [BZ #12775]
93936         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
93937         * math/Makefile (tests): Add test-powl.
93938         (CFLAGS-test-powl.c): Define.
93939         * math/test-powl.c: New file.
93941 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
93943         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
93945 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
93947         [BZ #11837]
93948         * iconvdata/gb18030.c: Update to GB18020-2005.
93950 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
93952         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
93953         RE_SYNTAX_POSIX_AWK): Update to match recent development.
93954         Patch by Aharon Robbins <arnold@skeeve.com>.
93956         [BZ #11892]
93957         * stdlib/putenv.c (putenv): Don't always create copy of the variable
93958         on the stack.
93960         [BZ #11895]
93961         * misc/pselect.c (__pselect): Handle timeout value errors hidden
93962         through underflows.
93964         [BZ #12766]
93965         * misc/error.c (error_at_line): Ensure file_name and old_file_name
93966         point to strings before performing equality test for error_one_per_line
93967         mode.
93969         [BZ #11697]
93970         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
93972         [BZ #11820]
93973         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93974         (struct user_fpregs_struct): Avoid __uint*_t types.
93976         [BZ #6420]
93977         * malloc/mtrace.c (tr_where): Add additional parameter to point to
93978         symbol info.  Use it instead of calling _dl_addr locally.
93979         (lock_and_info): New function.
93980         (tr_freehook): Call lock_and_info and pass symbol info as additional
93981         parameter to tr_where.
93982         (tr_mallochook): Likewise.
93983         (tr_reallochook): Likewise.
93984         (tr_memalignhook): Likewise.
93986         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
93987         used and couldn't be at all thread-safe.
93989 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
93991         * libio/freopen.c (freopen): Don't close old file descriptor
93992         before the new one is opened.  Instead dup the new file descriptor
93993         to the old one after the new stream is created.
93994         * libio/freopen64.c (freopen64): Likewise.
93995         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
93996         * libio/fileops.c (_IO_new_file_close_it): Handle new
93997         _IO_FLAGS2_NOCLOSE flag.
93998         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
93999         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
94000         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
94001         _IO_FLAGS2_NOCLOSE flag.
94002         * include/unistd.h: Add hidden_proto for dup3.
94003         Define __have_dup3.
94004         * io/dup3.c: Define hidden symbol.
94005         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
94007         [BZ #7101]
94008         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
94009         when an incomplete long option is used.
94010         * posix/tst-getopt_long1.c: New file.
94011         * posix/Makefile (tests): Add tst-getopt_long1.
94013         [BZ #10138]
94014         * scripts/config.guess: Update from autoconf-2.68.
94015         * scripts/config.sub: Likewise.
94017         [BZ #10157]
94018         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
94019         tests into ...
94020         (has_cpuclock): ...this.  New function.
94021         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
94022         macro here based on has_cpuclock code.
94024         [BZ #10149]
94025         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
94026         First byte (not low byte) is now always NUL.
94027         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
94029         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
94030         Use non-cancelable interfaces.
94032         [BZ #9809]
94033         * locale/iso-639.def: Add entry for Sorani.
94035         [BZ #11901]
94036         * include/stdlib.h: Move include protection to the right place.
94037         Define abort_msg_s.  Declare __abort_msg with it.
94038         * stdlib/abort.c (__abort_msg): Adjust type.
94039         * assert/assert.c (__assert_fail_base): New function.  Majority
94040         of code from __assert_fail.  Allocate memory for __abort_msg with
94041         mmap.
94042         (__assert_fail): Now call __assert_fail_base.
94043         * assert/assert-perr.c: Remove bulk of implementation.  Use
94044         __assert_fail_base.
94045         * include/assert.hL Declare __assert_fail_base.
94046         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
94047         mmap.
94048         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
94050 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
94052         [BZ #11952]
94053         [BZ #12453]
94054         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
94055         until all modules are registered in the DTV.
94056         * elf/Makefile: Add rules to build and run tst-tls19.
94057         * elf/tst-tls19.c: New file.
94058         * elf/tst-tls19mod1.c: New file.
94059         * elf/tst-tls19mod2.c: New file.
94060         * elf/tst-tls19mod3.c: New file.
94061         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
94063         [BZ #12083]
94064         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
94065         correctly.
94067         [BZ #12601]
94068         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
94069         two-byte sequence errors.
94070         * iconvdata/Makefile (tests): Add bug-iconv8.
94071         * iconvdata/bug-iconv8.c: New file.
94073         [BZ #12626]
94074         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
94075         buf2 definition.
94077         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
94079         [BZ #12432]
94080         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
94081         (dummy_getcfa): New function.
94082         (init): Get _Unwind_GetCFA address, use dummy if not found.
94083         (backtrace_helper): In recursion check, also check whether CFA changes.
94084         (__backtrace): Completely initialize arg.
94086         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
94087         storing incomplete byte sequence in state object.  Avoid testing for
94088         guaranteed too small input if we know there is enough data available.
94090 2011-05-11  Andreas Schwab  <schwab@redhat.com>
94092         * Makeconfig (+link-pie): Indent.
94093         * Rules (binaries-pie): Define if $(have-fpie) and
94094         $(build-shared).
94095         (binaries-shared): Also filter out $(binaries-pie).
94096         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
94097         * nscd/Makefile (others-pie): Add nscd.
94098         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
94099         ($(objpfx)nscd): Remove command override.
94100         * login/Makefile (others-pie): Add pt_chown.
94101         ($(objpfx)pt_chown): Remove command override.
94102         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
94103         remove command overrides.
94105 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
94107         * libio/tst_putwc.c: Fix error messages.
94109         [BZ #12724]
94110         * libio/fileops.c (_IO_new_file_close_it): Always flush when
94111         currently writing and seek to current position when not.
94112         * libio/Makefile (tests): Add bug-fclose1.
94113         * libio/bug-fclose1.c: New file.
94115 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
94117         [BZ #12511]
94118         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
94119         don't set DF_1_NODELETE here.
94120         (do_lookup_x): When entering new entry test for copy relocation
94121         and if necessary set DF_1_NODELETE flag.
94122         * elf/tst-unique4.cc: New file.
94123         * elf/tst-unique4.h: New file.
94124         * elf/tst-unique4lib.cc: New file.
94125         * elf/Makefile: Add rules to build and run tst-unique4.
94126         Patch by Piotr Bury <pbury@goahead.com>.
94128 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
94130         [BZ #12052]
94131         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
94133         [BZ #12625]
94134         * misc/mntent_r.c (addmntent): Flush the stream after the output
94136         [BZ #12393]
94137         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
94138         (is_trusted_path_normalize): Skip initial colon.  Append slash
94139         to empty buffer.  Duplicate is_trusted_path code but allow
94140         constructed patch to be prefix.
94141         (is_dst): Allow $ORIGIN followed by /.
94142         (_dl_dst_substitute): Correct clearing of check_for_trusted.
94143         Correct testing of result of is_trusted_path_normalize
94144         (decompose_rpath): Fix warning.
94146 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
94148         [BZ #11257]
94149         * grp/initgroups.c (internal_getgrouplist): When we found the service
94150         list through the initgroups entry in nsswitch.conf do not always
94151         continue on a successful lookup.  Don't always use the
94152         __nss_group_database value if it is set.
94153         * nss/nsswitch.conf (initgroups): Change action for successful db
94154         lookup to continue for compatibility.
94156 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
94158         [BZ #11532]
94159         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
94160         and CP774 modules.
94161         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
94162         and CP774 modules.
94163         * iconvdata/tst-tables.sh: Likewise.
94164         * iconvdata/cp770.c: New file.
94165         * iconvdata/cp771.c: New file.
94166         * iconvdata/cp772.c: New file.
94167         * iconvdata/cp773.c: New file.
94168         * iconvdata/cp774.c: New file.
94169         * iconvdata/testdata/CP770: New file.
94170         * iconvdata/testdata/CP770..UTF8: New file.
94171         * iconvdata/testdata/CP771: New file.
94172         * iconvdata/testdata/CP771..UTF8: New file.
94173         * iconvdata/testdata/CP772: New file.
94174         * iconvdata/testdata/CP772..UTF8: New file.
94175         * iconvdata/testdata/CP773: New file.
94176         * iconvdata/testdata/CP773..UTF8: New file.
94177         * iconvdata/testdata/CP774: New file.
94178         * iconvdata/testdata/CP774..UTF8: New file.
94180         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
94181         END CHARMAP line.
94182         * iconvdata/gen-8bit-gap.sh: Likewise.
94183         * iconvdata/gen-8bit.sh: Likewise.
94185         * locale/iso-639.def: Add ary entry.
94187         [BZ #11258]
94188         * locale/C-translit.h.in: Add U20A1 transliteration.
94190         [BZ #12178]
94191         * locale/iso-639.def: Add wae entry.
94192         Patch by Kevin Bortis <bortis@translate-wae.ch>.
94194         [BZ #12545]
94195         * locale/programs/localedef.c (construct_output_path): Use ssize_t
94196         for n.
94198         [BZ #12711]
94199         * locale/C-translit.h.in: Add entry for U20B9.
94200         Patch by pravin.d.s@gmail.com.
94202 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
94204         [BZ #12713]
94205         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
94206         ENAMETOOLONG use generic getcwd.
94207         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
94208         in rtld.  Use *stat64.
94209         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
94210         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
94211         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
94212         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
94213         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
94214         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
94215         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
94216         __fstatat64 macros.
94217         * include/dirent.h: Add libc_hidden_proto for rewinddir.
94218         * dirent/rewinddir.c: Add libc_hidden_def.
94219         * sysdeps/mach/hurd/rewinddir.c: Likewise.
94220         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
94222         * include/dirent.h (__alloc_dir): Add flags parameter.
94223         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
94224         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
94225         __alloc_dir.
94226         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
94227         from fdopendir if O_CLOEXEC is already set.
94229 2011-03-15  Alan Modra  <amodra@gmail.com>
94231         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
94232         l_tls_firstbyte_offset non-zero.  Save padding offset in
94233         l_tls_firstbyte_offset for later use.
94234         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
94235         freeing static tls block.
94237 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
94239         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
94240         where #ifdef was intended.  The intent is to prevent ARG_MAX from
94241         being defined by the kernel headers.
94243 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
94245         [BZ #12734]
94246         * resolv/resolv.h: Define RES_NOTLDQUERY.
94247         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
94248         no-tld-query and set RES_NOTLDQUERY.
94249         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
94250         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
94251         modern BIND to search name as TLD unless forbidden.
94253 2011-05-07  Petr Baudis  <pasky@suse.cz>
94254             Ulrich Drepper  <drepper@gmail.com>
94256         [BZ #12393]
94257         * elf/dl-load.c (fillin_rpath): Move trusted path check...
94258         (is_trusted_path): ...to here.
94259         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
94260         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
94261         using is_trusted_path_normalize() in setuid scripts.
94263 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
94265         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
94266         __BEGIN/__END_DECLS.
94268 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
94270         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
94271         NSS_STATUS_NOTFOUND if no record was found.
94273 2011-05-05  Andreas Schwab  <schwab@redhat.com>
94275         * sunrpc/Makefile (headers): Add rpc/netdb.h.
94276         (headers-not-in-tirpc): Remove rpc/netdb.h
94277         * resolv/netdb.h: Revert last change.
94279 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
94281         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
94282         circular dependency between libgcc.a and libc.a.
94284 2011-05-05  Andreas Schwab  <schwab@redhat.com>
94286         * resolv/netdb.h: Don't include <rpc/netdb.h>.
94287         * nis/Makefile: Don't install rpcsvc/*.
94288         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
94289         instead of <rpc/types.h>.
94290         (MAXHOSTNAMELEN): Define.
94292 2011-05-03  Andreas Schwab  <schwab@redhat.com>
94294         * elf/ldconfig.c (add_dir): Don't crash on empty path.
94296 2011-04-28  Maciej Babinski  <mbabinski@google.com>
94298         [BZ #12714]
94299         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
94300         gethostbyname4_r when IPv6 results are possible.
94302 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
94304         [BZ #12723]
94305         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
94306         _PC_PIPE_BUF handling.
94308 2011-04-30  Bruno Haible  <bruno@clisp.org>
94310         [BZ #12717]
94311         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
94312         * resolv/netdb.h (getnameinfo): Change type of flags parameter
94313         to 'int'.
94314         * inet/getnameinfo.c (getnameinfo): Likewise.
94316 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
94318         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
94319         to groups setting in database lookup.
94320         * nss/nsswitch.conf: Add initgroups entry.
94322 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
94324         [BZ #12685]
94325         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
94326         mode string.
94327         Patch by Eric Blake <eblake@redhat.com>.
94329 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
94331         * sunrpc/Makefile (need-export-routines): Add svc_run.
94332         (routines): Remove svc_run.
94333         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
94334         * sunrpc/clnt_perr.c (clnt_perrno): Export.
94335         * sunrpc/svc_run.c (svc_run): Likewise.
94336         * sunrpc/svc_udp.c (svcudp_create): Likewise.
94338 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
94340         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
94341         problem in reallocation in last patch.
94343 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
94345         * sunrpc/Makefile: Move inclusion of Rules.
94347 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
94349         * nss/nss_files/files-initgroups.c: New file.
94350         * nss/Makefile (libnss_files-routines): Add files-initgroups.
94351         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
94352         _nss_files_initgroups_dyn.
94354 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
94356         * elf/elf.h (R_ARM_IRELATIVE): Define.
94358 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
94360         * po/ru.po: Update from translation team.
94362 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
94364         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
94365         dependencies.
94367 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
94369         [BZ #12653]
94370         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
94371         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
94372         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
94373         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
94374         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
94376 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
94378         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
94379         differing bytes.
94380         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
94381         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
94382         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
94384 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
94386         [BZ #12420]
94387         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
94388         storing it.
94389         * stdlib/bug-getcontext.c: New file.
94390         * stdlib/Makefile: Add rules to build and run bug-getcontext.
94392 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94394         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
94395         instructions into .machine "z9-109".
94396         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
94397         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
94399 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94401         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
94402         between environment variables and auxiliary vector.
94404 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
94406         * Makefile: Add rules to build linkobj/libc.so.
94407         * include/libc-symbols.h: Define libc_hidden_nolink.
94408         * include/rpc/auth.h: Mark functions which are to be hidden.
94409         * include/rpc/auth_des.h: Likewise.
94410         * include/rpc/auth_unix.h: Likewise.
94411         * include/rpc/clnt.h: Likewise.
94412         * include/rpc/des_crypt.h: Likewise.
94413         * include/rpc/key_prot.h: Likewise.
94414         * include/rpc/pmap_clnt.h: Likewise.
94415         * include/rpc/pmap_prot.h: Likewise.
94416         * include/rpc/pmap_rmt.h: Likewise.
94417         * include/rpc/rpc_msg.h: Likewise.
94418         * include/rpc/svc.h: Likewise.
94419         * include/rpc/svc_auth.h: Likewise.
94420         * include/rpc/xdr.h: Likewise.
94421         * nis/Makefile: Link all DSOs against linkobj/libc.so.
94422         * nss/Makefile: Likewise.
94423         * sunrpc/Makefile: Don't install headers.  Build library with normal
94424         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
94425         * sunrpc/auth_des.c: Hide exported symbols by default, export some
94426         for the compat linking library.  Remove use of INTDEF/INTUSE.
94427         * sunrpc/auth_none.c: Likewise.
94428         * sunrpc/auth_unix.c: Likewise.
94429         * sunrpc/authdes_prot.c: Likewise.
94430         * sunrpc/authuxprot.c: Likewise.
94431         * sunrpc/clnt_gen.c: Likewise.
94432         * sunrpc/clnt_perr.c: Likewise.
94433         * sunrpc/clnt_raw.c: Likewise.
94434         * sunrpc/clnt_simp.c: Likewise.
94435         * sunrpc/clnt_tcp.c: Likewise.
94436         * sunrpc/clnt_udp.c: Likewise.
94437         * sunrpc/clnt_unix.c: Likewise.
94438         * sunrpc/des_crypt.c: Likewise.
94439         * sunrpc/des_soft.c: Likewise.
94440         * sunrpc/get_myaddr.c: Likewise.
94441         * sunrpc/key_call.c: Likewise.
94442         * sunrpc/key_prot.c: Likewise.
94443         * sunrpc/netname.c: Likewise.
94444         * sunrpc/pm_getmaps.c: Likewise.
94445         * sunrpc/pm_getport.c: Likewise.
94446         * sunrpc/pmap_clnt.c: Likewise.
94447         * sunrpc/pmap_prot.c: Likewise.
94448         * sunrpc/pmap_prot2.c: Likewise.
94449         * sunrpc/pmap_rmt.c: Likewise.
94450         * sunrpc/publickey.c: Likewise.
94451         * sunrpc/rpc_cmsg.c: Likewise.
94452         * sunrpc/rpc_common.c: Likewise.
94453         * sunrpc/rpc_dtable.c: Likewise.
94454         * sunrpc/rpc_prot.c: Likewise.
94455         * sunrpc/rpc_thread.c: Likewise.
94456         * sunrpc/rtime.c: Likewise.
94457         * sunrpc/svc.c: Likewise.
94458         * sunrpc/svc_auth.c: Likewise.
94459         * sunrpc/svc_authux.c: Likewise.
94460         * sunrpc/svc_raw.c: Likewise.
94461         * sunrpc/svc_run.c: Likewise.
94462         * sunrpc/svc_simple.c: Likewise.
94463         * sunrpc/svc_tcp.c: Likewise.
94464         * sunrpc/svc_udp.c: Likewise.
94465         * sunrpc/svc_unix.c: Likewise.
94466         * sunrpc/svcauth_des.c: Likewise.
94467         * sunrpc/xcrypt.c: Likewise.
94468         * sunrpc/xdr.c: Likewise.
94469         * sunrpc/xdr_array.c: Likewise.
94470         * sunrpc/xdr_float.c: Likewise.
94471         * sunrpc/xdr_intXX_t.c: Likewise.
94472         * sunrpc/xdr_mem.c: Likewise.
94473         * sunrpc/xdr_rec.c: Likewise.
94474         * sunrpc/xdr_ref.c: Likewise.
94475         * sunrpc/xdr_sizeof.c: Likewise.
94476         * sunrpc/xdr_stdio.c: Likewise.
94478 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
94480         [BZ #12650]
94481         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
94482         * sysdeps/ia64/dl-tls.h: Likewise.
94483         * sysdeps/powerpc/dl-tls.h: Likewise.
94484         * sysdeps/s390/dl-tls.h: Likewise.
94485         * sysdeps/sh/dl-tls.h: Likewise.
94486         * sysdeps/sparc/dl-tls.h: Likewise.
94487         * sysdeps/x86_64/dl-tls.h: Likewise.
94488         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
94490 2011-03-14  Andreas Schwab  <schwab@redhat.com>
94492         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
94493         rpath element also skip the following colon.
94494         (expand_dynamic_string_token): Add is_path parameter and pass
94495         down to DL_DST_REQUIRED and _dl_dst_substitute.
94496         (decompose_rpath): Call expand_dynamic_string_token with
94497         non-zero is_path.  Ignore empty rpaths.
94498         (_dl_map_object_from_fd): Call expand_dynamic_string_token
94499         with zero is_path.
94501 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
94503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
94504         Make cancelable.
94506 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
94508         [BZ #12655]
94509         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
94510         Patch by Filipe David Manana <fdmanana@apache.org>.
94512 2011-04-07  Andreas Schwab  <schwab@redhat.com>
94514         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
94515         Maintain aligned stack.
94516         (CHECK_RSP): Remove unused macro.
94518 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
94520         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
94521         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
94523 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
94525         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
94527         * include/features.h: Mention __USE_XOPEN2K8 in comment.
94529 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
94531         [BZ #12518]
94532         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
94533         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
94534         * sysdeps/x86_64/memmove.c: New file.
94535         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
94536         (memcpy): Renamed to ...
94537         (__new_memcpy): This.
94538         (memcpy): Provide GLIBC_2_14 memcpy.
94539         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
94540         (memcpy): Provide GLIBC_2_2_5 memcpy.
94542 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94544         [BZ #12631]
94545         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
94547 2011-03-30  Andreas Schwab  <schwab@redhat.com>
94549         * misc/syncfs.c: New file.
94550         * misc/Makefile (routines): Add syncfs.
94551         * posix/unistd.h: Declare syncfs.
94552         * sysdeps/unix/syscalls.list: Add syncfs.
94554 2011-04-01  Andreas Schwab  <schwab@redhat.com>
94556         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
94557         open_by_handle_at.
94558         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94559         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94560         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94561         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94562         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94563         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
94564         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94566 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94568         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
94569         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94570         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
94571         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94572         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94573         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94574         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94576         * io/Makefile: Compile fallocate.c, fallocate64.c, and
94577         sync_file_range.c with -fexceptions.
94578         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
94579         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
94580         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
94581         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
94582         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
94583         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
94584         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
94585         sync_file_range as cancellation point
94586         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
94587         now a wrapper around __call_sync_file_range with cancellation handling.
94588         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
94589         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
94590         function name to __call_sync_file_range.
94591         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
94592         Add call_sync_file_range.
94594 2011-04-01  Andreas Schwab  <schwab@redhat.com>
94596         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
94597         bits/timex.h.
94599 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94601         * iconv/iconv.h: Fix typo in comment.
94602         * io/fcntl.h: Likewise.
94603         * libio/stdio.h: Likewise.
94604         * posix/spawn.h: Likewise.
94605         * posix/unistd.h: Likewise.
94606         * stdlib/stdlib.h: Likewise.
94607         * time/time.h: Likewise.
94608         * wcsmbs/wchar.h: Likewise.
94610         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
94611         open_by_handle): Add.
94612         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
94613         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
94614         Augment a few comments.
94615         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94616         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94617         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94618         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94619         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94620         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
94621         open_by_handle.
94623         * io/fcntl.h (AT_EMPTY_PATH): Define.
94625 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
94627         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
94628         * sysdeps/unix/sysv/linux/bits/time.h: New file.
94629         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
94630         to...
94631         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
94632         * Versions.def: Add GLIBC_2.14.
94633         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
94634         Export.
94636 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
94638         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
94639         round counter.
94640         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94642 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
94644         [BZ #12597]
94645         * string/test-strncmp.c (do_page_test): New function.
94646         (check2): Likewise.
94647         (test_main): Call check2.
94648         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
94650 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
94652         [BZ #12587]
94653         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
94654         Handle cache information in CPU leaf 4.
94655         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94657 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
94659         [BZ #12583]
94660         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
94661         character representation.
94662         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
94664 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
94666         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
94667         END(__isnan) to END(__isnanf) to match function entry point/label
94668         EALIGN(__isnanf,...).
94670 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
94672         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
94674 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
94676         [BZ #12510]
94677         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
94678         copy from the symbol referenced in the relocation to initialize the
94679         used variable.
94680         Patch by Piotr Bury <pbury@goahead.com>.
94681         * elf/Makefile: Add rules to build and tst-unique3.
94682         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
94683         * elf/tst-unique3.cc: New file.
94684         * elf/tst-unique3.h: New file.
94685         * elf/tst-unique3lib.cc: New file.
94686         * elf/tst-unique3lib2.cc: New file.
94688         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
94690 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
94692         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
94693         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
94694         to _start.
94696 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
94698         * elf/dl-load.c (_dl_map_object): If we are looking for the first
94699         to-be-loaded object along a path to loader is ld.so.
94701 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
94702             Ulrich Drepper  <drepper@gmail.com>
94704         * sysdeps/x86_64/memset.S: After aligning destination, code
94705         branches to different locations depending on the value of
94706         misalignment, when multiarch is enabled. Fix this.
94708 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
94710         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
94711         Set _x86_64_preferred_memory_instruction for AMD processsors.
94712         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94713         Set bit_Prefer_SSE_for_memop for AMD processors.
94715 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
94717         * libio/fmemopen.c (fmemopen): Optimize a bit.
94719 2011-03-03  Andreas Schwab  <schwab@redhat.com>
94721         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
94723 2011-03-03  Roland McGrath  <roland@redhat.com>
94725         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
94727 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
94729         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
94730         __bzero_ultra1 instead of __memset_ultra1.
94732 2011-02-23  Andreas Schwab  <schwab@redhat.com>
94733             Ulrich Drepper  <drepper@gmail.com>
94735         [BZ #12509]
94736         * include/link.h (struct link_map): Add l_orig_initfini.
94737         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
94738         returning unsuccessfully.
94739         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
94740         close of a file loaded at startup, restore the original l_initfini
94741         list.
94742         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
94743         list, store the pointer.
94744         * elf/Makefile ($(objpfx)noload-mem): New rule.
94745         (noload-ENV): Define.
94746         (tests): Add $(objpfx)noload-mem.
94747         * elf/noload.c: Include <memcheck.h>.
94748         (main): Call mtrace.  Close all opened handles.
94750 2011-02-17  Andreas Schwab  <schwab@redhat.com>
94752         [BZ #12454]
94753         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
94754         dependencies are missing.
94756 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94758         Fix __if_freereq crash: Unlike the generic version which uses free,
94759         Hurd needs munmap.
94760         * sysdeps/mach/hurd/ifreq.h: New file.
94762 2011-01-27  Petr Baudis  <pasky@suse.cz>
94763             Ulrich Drepper  <drepper@gmail.com>
94765         [BZ 12445]#
94766         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
94767         to extend_alloca().
94768         * stdio-common/bug23.c: New file.
94769         * stdio-common/Makefile (tests): Add bug23.
94771 2010-09-28  Andreas Schwab  <schwab@redhat.com>
94772             Ulrich Drepper  <drepper@gmail.com>
94774         [BZ #12489]
94775         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
94776         before performing relro protection.  At old place add assertion
94777         to make sure nothing changed.
94779 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
94780             Glauber de Oliveira Costa  <glommer@gmail.com>
94782         * elf/elf.h: Add new ARM TLS relocs.
94784 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
94786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
94787         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
94788         cast from r3.
94789         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
94790         'tests' variable.
94791         * sysdeps/wordsize-64/tst-writev.c: New file.
94793 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
94795         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
94796         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
94797         insns in _dl_start to prevent a TOC reference before relocs are
94798         resolved.
94800 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
94802         [BZ #12469]
94803         * Makeconfig: Remove RANLIB definition.
94804         * Makerules: Don't use RANLIB.
94805         * aclocal.m4: Remove ranlib test.
94806         * configure.in: No need to check for ranlib.
94807         * elf/rtld-Rules: Don't use RANLIB.
94809 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94811         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
94812         protection macro.
94813         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
94814         inclusion protection macro.
94816         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
94817         SIGRTMIN and SIGRTMAX and print information in that case only when
94818         SIGRTMIN is defined.
94820 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
94822         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
94823         arginfo fn returning -1.
94825         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
94826         and thousands string is zero terminated.
94828 2011-02-03  Andreas Schwab  <schwab@redhat.com>
94830         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
94831         sysdeps/unix/sysv/linux/bits/socket.h.
94833 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94835         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
94836         (__CPU_COUNT): Remove old macros.
94837         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
94838         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
94839         (__CPU_ALLOC, __CPU_FREE): Add macros.
94840         (__sched_cpualloc, __sched_cpufree): Add declarations.
94842 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
94844         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
94845         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
94846         * nscd/aicache.c (addhstaiX): Return timeout of added value.
94847         (readdhstai): Return value of addhstaiX call.
94848         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
94849         (addgrbyX): Return value returned by cache_addgr.
94850         (readdgrbyname): Return value returned by addgrbyX.
94851         (readdgrbygid): Likewise.
94852         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
94853         (addpwbyX): Return value returned by cache_addpw.
94854         (readdpwbyname): Return value returned by addhstbyX.
94855         (readdpwbyuid): Likewise.
94856         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
94857         (addservbyX): Return value returned by cache_addserv.
94858         (readdservbyname): Return value returned by addservbyX:
94859         (readdservbyport): Likewise.
94860         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
94861         (addhstbyX): Return value returned by cache_addhst.
94862         (readdhstbyname): Return value returned by addhstbyX.
94863         (readdhstbyaddr): Likewise.
94864         (readdhstbynamev6): Likewise.
94865         (readdhstbyaddrv6): Likewise.
94866         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
94867         (readdinitgroups): Return value returned by addinitgroupsX.
94868         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
94869         (prune_cache): Keep track of timeout value of re-added entries.
94870         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
94871         * nscd/nscd.h: Adjust prototypes of readd* functions.
94873 2011-02-04  Roland McGrath  <roland@redhat.com>
94875         * nis/nis_server.c (nis_servstate): Use the right name for 0.
94876         (nis_stats): Likewise.
94877         * nis/nis_modify.c (nis_modify): Likewise.
94878         * nis/nis_remove.c (nis_remove): Likewise.
94879         * nis/nis_add.c (nis_add): Likewise.
94881         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
94883         * posix/fnmatch_loop.c: Add some consts.
94885         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
94887 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
94889         [BZ #12460]
94890         * config.make.in (config-cflags-novzeroupper): Define.
94891         * configure.in: Substitute libc_cv_cc_novzeroupper.
94892         * elf/Makefile (AVX-CFLAGS): Define.
94893         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
94894         (CFLAGS-tst-auditmod4a.c): Likewise.
94895         (CFLAGS-tst-auditmod4b.c): Likewise.
94896         (CFLAGS-tst-auditmod6b.c): Likewise.
94897         (CFLAGS-tst-auditmod6c.c): Likewise.
94898         (CFLAGS-tst-auditmod7b.c): Likewise.
94899         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
94901 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
94903         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
94904         function to the callback.
94905         Patch partly by Jiri Olsa <jolsa@redhat.com>.
94907 2011-02-02  Andreas Schwab  <schwab@redhat.com>
94909         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
94910         of errno.
94912 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
94914         [BZ #11724]
94915         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
94916         of constructors.
94917         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
94918         of destructors.
94919         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
94921         [BZ #11724]
94922         * elf/Makefile: Add rules to build and run new test.
94923         * elf/tst-initorder.c: New file.
94924         * elf/tst-initorder.exp: New file.
94925         * elf/tst-initordera1.c: New file.
94926         * elf/tst-initordera2.c: New file.
94927         * elf/tst-initordera3.c: New file.
94928         * elf/tst-initordera4.c: New file.
94929         * elf/tst-initorderb1.c: New file.
94930         * elf/tst-initorderb2.c: New file.
94931         * elf/tst-order-a1.c: New file.
94932         * elf/tst-order-a2.c: New file.
94933         * elf/tst-order-a3.c: New file.
94934         * elf/tst-order-a4.c: New file.
94935         * elf/tst-order-b1.c: New file.
94936         * elf/tst-order-b2.c: New file.
94937         * elf/tst-order-main.c: New file.
94938         New test case by George Gensure <werkt0@gmail.com>.
94940 2010-10-01  Andreas Schwab  <schwab@redhat.com>
94942         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
94943         decoding ACE if AI_CANONIDN.
94945 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
94947         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
94949 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
94951         * version.h (RELEASE): Bump for 2.13 release.
94952         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
94954         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
94956         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
94957         MADV_NOHUGEPAGE.
94958         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
94959         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
94960         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
94961         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
94962         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
94963         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
94965         * posix/getconf.c: Update copyright year.
94966         * catgets/gencat.c: Likewise.
94967         * csu/version.c: Likewise.
94968         * debug/catchsegv.sh: Likewise.
94969         * debug/xtrace.sh: Likewise.
94970         * elf/ldconfig.c: Likewise.
94971         * elf/ldd.bash.in: Likewise.
94972         * elf/sprof.c (print_version): Likewise.
94973         * iconv/iconv_prog.c: Likewise.
94974         * iconv/iconvconfig.c: Likewise.
94975         * locale/programs/locale.c: Likewise.
94976         * locale/programs/localedef.c: Likewise.
94977         * malloc/memusage.sh: Likewise.
94978         * malloc/mtrace.pl: Likewise.
94979         * nscd/nscd.c (print_version): Likewise.
94980         * nss/getent.c: Likewise.
94982         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
94983         PF_CAIF, and PF_ALG.
94984         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
94986 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
94988         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
94989         (modules-names): Use them.
94990         (ifunc-test-modules, ifunc-pie-tests): Define.
94991         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
94992         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
94993         (test-extras): Likewise.
94994         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
94995         $(compile-command.c).
94996         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
94997         (all-built-dso): Define.
94998         (check-textrel.out, check-execstack.out): Depend on it.
95000         * configure.in: Don't override --enable-multi-arch.
95002 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
95004         [BZ #6812]
95005         * nscd/hstcache.c (tryagain): Define.
95006         (cache_addhst): Return tryagain not notfound for temporary errors.
95007         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
95008         failed.
95010 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
95012         [BZ #10563]
95013         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
95014         to make the syscall.
95015         * sysdeps/unix/sysv/linux/setgroups.c: New file.
95017         [BZ #12378]
95018         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
95019         and fall back to matching as normal character if the string ends before
95020         the matching ']' is found.  This is what POSIX requires.
95021         * posix/testfnm.c: Adjust test result.
95022         * posix/globtest.sh: Adjust test result.  Add new test.
95023         * posix/tst-fnmatch.input: Likewise.
95024         * posix/tst-fnmatch2.c: Add new test.
95026 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
95028         * elf/Makefile (check-execstack): Revert last change.  Depend on
95029         check-execstack.h.
95030         (check-execstack.h): New target.
95031         (generated): Add check-execstack.h.
95032         * elf/check-execstack.c: Include "check-execstack.h".
95033         (main): Revert last change.
95034         (handle_file): Return zero if GNU_STACK is absent and
95035         DEFAULT_STACK_PERMS doesn't include PF_X.
95037 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
95039         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
95040         in child fails because the descriptor is already closed.
95041         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
95042         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
95043         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
95045         [BZ #12397]
95046         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
95047         syscall.
95049         [BZ #10484]
95050         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
95051         temporary buffer used to handle multi lookups locally.
95052         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
95054 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
95056         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
95057         loader is ld.so.
95059 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
95061         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
95062         alignment for SSE2.
95064 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
95066         [BZ #12394]
95067         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
95068         characters.  When rounding increased number of integer digits recompute
95069         number of groups.
95070         * stdio-common/tst-grouping.c: New file.
95071         * stdio-common/Makefile: Add rules to build and run tst-grouping.
95073 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
95075         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
95076         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
95078         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
95079         void.
95080         * bits/select.h: Likewise.
95082 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
95084         * po/ja.po: Update from translation team.
95086 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
95088         [BZ #11155]
95089         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
95090         implementation just like for lxstat, fxstatat, et al.
95092 2010-12-27  Jim Meyering  <meyering@redhat.com>
95094         [BZ #12348]
95095         * posix/regexec.c (build_trtable): Return failure indication upon
95096         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
95098 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
95100         [BZ #12201]
95101         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
95102         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
95103         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
95104         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
95106         [BZ #12207]
95107         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
95109         [BZ #12204]
95110         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
95111         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
95113 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
95115         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
95116         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
95117         script has SORT_BY_INIT_PRIORITY.
95118         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
95119         NO_CTORS_DTORS_SECTIONS is defined.
95120         * elf/soinit.c: Likewise.
95121         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
95122         NO_CTORS_DTORS_SECTIONS is defined.
95123         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
95124         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
95125         * sysdeps/sh/init-first.c: Likewise.
95126         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
95128 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
95130         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
95131         always use the slow path.
95133 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
95135         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
95136         similar rule which adds the sysdep directories to the header search in
95137         order to pick up the correct platform stackinfo.h.
95138         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
95139         perform test if it is, otherwise return successfully without testing.
95140         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
95141         DEFAULT_STACK_PERMS define in stackinfo.h.
95142         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
95143         defined in stackinfo.h.
95144         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
95145         DEFAULT_STACK_PERMS defined in stackinfo.h.
95146         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
95147         * sysdeps/ia64/stackinfo.h: Likewise.
95148         * sysdeps/s390/stackinfo.h: Likewise.
95149         * sysdeps/sh/stackinfo.h: Likewise.
95150         * sysdeps/sparc/stackinfo.h: Likewise.
95151         * sysdeps/x86_64/stackinfo.h: Likewise.
95152         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
95153         PF_X for powerpc64.  Retain PF_X for powerpc32.
95155 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
95157         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
95158         accurately.
95159         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
95160         GETDENTS_64BIT_ALIGNED.
95162 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
95164         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
95166 2010-12-10  Andreas Schwab  <schwab@redhat.com>
95168         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
95169         _GNU_SOURCE.
95171         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
95172         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
95173         Remove __restrict.
95174         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
95175         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
95177 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
95179         [BZ #11655]
95180         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
95181         are initialized.
95183 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
95185         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
95187 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
95189         * po/it.po: Update from translation team.
95191 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
95193         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
95194         unused codes.
95196 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
95198         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
95200 2010-11-24  Andreas Schwab  <schwab@redhat.com>
95202         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
95203         specially.
95204         (gaih_getanswer_slice): Likewise.
95206 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
95208         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
95210 2010-05-31  Petr Baudis  <pasky@suse.cz>
95212         [BZ #11149]
95213         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
95214         silently even in the chroot mode.
95216 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
95218         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
95219         last patch a bit.  Pretty printing
95221 2010-05-31  Petr Baudis <pasky@suse.cz>
95223         [BZ #10085]
95224         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
95225         initialization of skip_initgroups_dyn.
95227 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
95229         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
95230         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
95232 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
95234         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
95236 2010-11-11  Andreas Schwab  <schwab@redhat.com>
95238         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
95239         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
95240         (tst-fnmatch-ENV): Set MALLOC_TRACE.
95241         ($(objpfx)tst-fnmatch-mem): New rule.
95242         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
95243         * posix/tst-fnmatch.c (main): Call mtrace.
95245 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
95247         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95248         Support Intel processor model 6 and model 0x2c.
95250 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
95252         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
95253           signed comparison.
95255 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
95257         [BZ #12205]
95258         * string/test-strncasecmp.c (check_result): New function.
95259         (do_one_test): Use it.
95260         (check1): New function.
95261         (test_main): Use it.
95262         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
95263         Support strcasecmp and strncasecmp.
95265 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
95267         [BZ #12194]
95268         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
95269         * sysdeps/x86_64/bits/byteswap.h: Likewise.
95271 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
95273         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
95274         IFUNC support.
95275         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95276         memset-x86-64.
95277         * sysdeps/x86_64/multiarch/bzero.S: New file.
95278         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
95279         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
95280         * sysdeps/x86_64/multiarch/memset.S: New file.
95281         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
95282         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95283         Set bit_Prefer_SSE_for_memop for Intel processors.
95284         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
95285         Define.
95286         (index_Prefer_SSE_for_memop): Define.
95287         (HAS_PREFER_SSE_FOR_MEMOP): Define.
95289 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
95291         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
95292         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
95294 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
95296         [BZ #12191]
95297         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95298         (__x86_64_raw_data_cache_size_half): Likewise.
95299         (__x86_64_raw_shared_cache_size): Likewise.
95300         (__x86_64_raw_shared_cache_size_half): Likewise.
95302         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95303         (__x86_64_raw_data_cache_size_half): Likewise.
95304         (__x86_64_raw_shared_cache_size): Likewise.
95305         (__x86_64_raw_shared_cache_size_half): Likewise.
95306         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
95307         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
95308         and __x86_64_raw_shared_cache_size_half.  Round
95309         __x86_64_data_cache_size_half, __x86_64_data_cache_size
95310         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
95311         to multiple of 256 bytes.
95313 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
95315         [BZ #12167]
95316         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
95317         of inacessible symlinks.  Verify result of symlink before returning it.
95318         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
95319         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
95321 2010-10-28  Erich Ritz  <erichritz@gmail.com>
95323         * math/math.h (isinf): Fix typo in comment.
95325 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
95327         * po/da.po: Update from translation team.
95329 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
95331         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
95332         is added to the list.
95334 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
95335             Ulrich Drepper  <drepper@gmail.com>
95337         * elf/dl-object.c (_dl_new_object): Don't append the new object to
95338         the global list here.  Move code to...
95339         (_dl_add_to_namespace_list): ...here.  New function.
95340         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
95341         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
95342         * elf/dl-load.c (lose): Don't remove the element from the list.
95343         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
95344         (_dl_map_object): Likewise.
95346 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
95348         [BZ #12159]
95349         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
95350         into all bytes of SSE register.
95351         Patch by Richard Li <richardpku@gmail.com>.
95353 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
95355         [BZ #12140]
95356         * malloc/malloc.c (_int_free): Fill correct number of bytes when
95357         perturbing.
95359 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
95361         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
95362         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
95363         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
95364         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
95365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
95366         submachine.
95367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
95369 2010-10-22  Andreas Schwab  <schwab@redhat.com>
95371         * include/dlfcn.h (__RTLD_SECURE): Define.
95372         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
95373         mode & __RTLD_SECURE instead.
95374         (open_path): Rename preloaded parameter to secure.
95375         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
95376         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
95377         * elf/dl-deps.c (openaux): Likewise.
95378         * elf/rtld.c (struct map_args): Remove is_preloaded.
95379         (map_doit): Don't use it.
95380         (dl_main): Likewise.
95381         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
95382         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
95384 2010-09-09  Andreas Schwab  <schwab@redhat.com>
95386         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
95387         (sysd-rules-targets): Remove duplicates.
95388         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
95389         rtld-%.$o dependency.
95391 2010-10-18  Andreas Schwab  <schwab@redhat.com>
95393         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
95394         _dl_map_object do it.
95396 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
95398         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
95399         fast fma builtins, define the macros in the C99 standard.
95400         (FP_FAST_FMAF): Likewise.
95401         (FP_FAST_FMAL): Likewise.
95402         * sysdeps/x86_64/bits/mathdef.h: Likewise.
95404         * bits/mathdef.h: Update copyright year.
95405         * sysdeps/powerpc/bits/mathdef.h: Likewise.
95407 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
95409         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
95410         builtins, define the macros in the C99 standard.
95411         (FP_FAST_FMAF): Likewise.
95412         (FP_FAST_FMAL): Likewise.
95413         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
95414         multiply/add.
95415         (FP_FAST_FMAF): Likewise.
95417 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
95419         [BZ #3268]
95420         * math/libm-test.inc (fma_test): Some new testcases.
95421         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
95422         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
95423         y and infinite z.  Do multiplication by C already in long double.
95424         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
95425         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
95426         y and infinite z.  Do bitwise or of inexact bit into u.d.
95427         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
95428         * sysdeps/i386/fpu/s_fmaf.S: Removed.
95429         * sysdeps/i386/fpu/s_fma.S: Removed.
95430         * sysdeps/i386/fpu/s_fmal.S: Removed.
95432 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
95434         [BZ #3268]
95435         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
95436         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
95437         computation is not scheduled after fetestexcept.  Fix value
95438         of minimum denormal long double.
95440 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
95442         [BZ #3268]
95443         * math/libm-test.inc (fma_test): Add some more tests.
95444         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
95445         correctly.
95447 2010-10-15  Andreas Schwab  <schwab@redhat.com>
95449         * scripts/data/localplt-s390-linux-gnu.data: New file.
95450         * scripts/data/localplt-s390x-linux-gnu.data: New file.
95452 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
95454         [BZ #3268]
95455         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
95456         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
95457         instead of dbl-64.
95458         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
95459         inlines.
95460         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
95461         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
95462         if one of x and y is very large and the other is subnormal.
95463         * sysdeps/s390/fpu/s_fmaf.c: New file.
95464         * sysdeps/s390/fpu/s_fma.c: New file.
95465         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
95466         * sysdeps/powerpc/fpu/s_fma.S: New file.
95467         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
95468         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
95469         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
95471 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
95473         [BZ #3268]
95474         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
95475         fma tests.
95476         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
95477         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
95478         * sysdeps/i386/i686/multiarch/s_fma.c: Include
95479         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
95480         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
95481         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
95482         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
95484 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
95486         [BZ #12078]
95487         * posix/regcomp.c (parse_branch): One more memory leak plugged.
95488         * posix/bug-regex31.input: Add test case.
95490 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
95492         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
95493         * posix/bug-regex31.input: New file.
95495         [BZ #12078]
95496         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
95497         (parse_sub_exp): Fix last change, use postorder.
95499         * posix/bug-regex31.c: New file.
95500         * posix/Makefile: Add rules to build and run bug-regex31.
95502         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
95504         [BZ #12078]
95505         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
95507         [BZ #12108]
95508         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
95509         to have entries in sys_siglist.
95511         [BZ #12093]
95512         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
95513         be NULL.
95515 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
95517         [BZ #3268]
95518         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
95519         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
95520         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
95521         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
95522         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
95523         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
95524         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
95525         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
95526         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
95527         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
95528         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
95529         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
95530         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
95531         * math/ftestexcept.c (fetestexcept): Likewise.
95532         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
95533         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
95534         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
95535         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
95536         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
95537         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
95538         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
95540 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
95542         [BZ #12107]
95543         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
95544         newline.
95546 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
95548         * string/bug-strstr1.c: New file.
95549         * string/Makefile: Add rules to build and run bug-strstr1.
95551 2010-10-05  Eric Blake  <eblake@redhat.com>
95553         [BZ #12092]
95554         * string/str-two-way.h (two_way_long_needle): Always clear memory
95555         when skipping input due to the shift table.
95557 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
95559         [BZ #12005]
95560         * malloc/mcheck.c: Handle large requests.
95562         [BZ #12077]
95563         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
95564         for strncmp and strncasecmp.
95565         * string/stratcliff.c: Add tests for strcmp and strncmp.
95566         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
95568 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
95570         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
95571         __set_fpscr.
95573 2010-09-30  Andreas Jaeger  <aj@suse.de>
95575         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
95576         (CGROUP_SUPER_MAGIC): Define.
95577         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95578         Handle btrfs and cgroup file systems.
95579         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
95580         Likewise.
95582 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
95584         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
95585         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
95587 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
95589         [BZ #12067]
95590         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
95591         trying to locate the ELF header.
95593 2010-09-27  Andreas Schwab  <schwab@redhat.com>
95595         [BZ #11611]
95596         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
95597         Mask out sign-bit copies when constructing f_fsid.
95599 2010-09-24  Petr Baudis <pasky@suse.cz>
95601         * debug/stack_chk_fail_local.c: Add missing licence exception.
95602         * debug/warning-nop.c: Likewise.
95604 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
95606         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
95607         implementing getdents64 using getdents syscall, set d_type if
95608         __ASSUME_GETDENTS32_D_TYPE.
95610 2010-09-16  Andreas Schwab  <schwab@redhat.com>
95612         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
95613         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
95615 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
95617         [BZ #12037]
95618         * posix/unistd.h: Undo change of feature selection for ftruncate from
95619         2010-01-11.
95621 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
95623         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
95624         detection.
95626 2010-09-20  Andreas Schwab  <schwab@redhat.com>
95628         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
95629         fanotify_mark.
95630         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95632 2010-09-14  Andreas Schwab  <schwab@redhat.com>
95634         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
95635         variables after CHECK_SP call.
95636         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
95638 2010-09-13  Andreas Schwab  <schwab@redhat.com>
95639             Ulrich Drepper  <drepper@redhat.com>
95641         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
95642         re-relocationg ld.so.
95643         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
95644         _dl_init_paths call.
95645         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
95646         here anymore.
95648 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
95650         * resolv/res_init.c (__res_vinit): Count the default server we added.
95652 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
95653             Ulrich Drepper  <drepper@redhat.com>
95655         [BZ #11968]
95656         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
95657         (____longjmp_chk): Use %ebx for saving value across system call.
95658         Add unwind info.
95660 2010-09-06  Andreas Schwab  <schwab@redhat.com>
95662         * manual/Makefile: Don't mix pattern rules with normal rules.
95664 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
95666         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
95667         operation.
95668         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
95669         * libio/iofopncook.c (_IO_cookie_init): Likewise.
95670         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
95671         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
95672         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
95673         Likewise.
95675 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
95677         [BZ #11979]
95678         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
95679         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
95681 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
95683         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
95684         * sysdeps/x86_64/addmul_1.S: Likewise.
95685         * sysdeps/x86_64/lshift.S: Likewise.
95686         * sysdeps/x86_64/mul_1.S: Likewise.
95687         * sysdeps/x86_64/rshift.S: Likewise.
95688         * sysdeps/x86_64/sub_n.S: Likewise.
95689         * sysdeps/x86_64/submul_1.S: Likewise.
95691 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
95693         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
95694         Define __sched_param instead of SCHED_* and sched_param when
95695         <bits/sched.h> is included with __need_schedparam defined.
95696         * bits/sched.h [__need_schedparam]
95697         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
95698         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
95699         (__defined_schedparam): Define to 1.
95700         (__sched_param): New structure, identical to sched_param.
95701         (__need_schedparam): Undefine.
95703 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
95705         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
95706         (epoll_create1): Declare.
95708         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
95710 2010-08-31  Andreas Schwab  <schwab@redhat.com>
95712         [BZ #7066]
95713         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
95714         shifting retval into place.
95716 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
95718         * nis/rpcsvc/nis.h: Update copyright notice.
95719         * nis/rpcsvc/nis.x: Likewise.
95720         * nis/rpcsvc/nis_callback.h: Likewise.
95721         * nis/rpcsvc/nis_callback.x: Likewise.
95722         * nis/rpcsvc/nis_object.x: Likewise.
95723         * nis/rpcsvc/nis_tags.h: Likewise.
95724         * nis/rpcsvc/yp.h: Likewise.
95725         * nis/rpcsvc/yp.x: Likewise.
95726         * nis/rpcsvc/ypupd.h: Likewise.
95727         * nis/yp_xdr.c: Likewise.
95728         * nis/ypupdate_xdr.c: Likewise.
95730         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
95731         mainly the body of pmap_getport.  Add parameters to specify timeouts.
95732         (pmap_getport): Use __libc_rpc_getport.
95733         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
95734         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
95735         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
95737 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
95739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
95740         fanotify_mark.
95742 2010-08-27  Roland McGrath  <roland@redhat.com>
95744         * sysdeps/i386/i686/multiarch/Makefile
95745         (CFLAGS-varshift.c): New variable.
95747 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
95749         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
95750         * sysdeps/i386/i686/multiarch/varshift.c: New file.
95752         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
95754         * sysdeps/x86_64/strlen.S: Minimal code improvement.
95756 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
95758         * sysdeps/x86_64/strlen.S: Unroll the loop.
95759         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95760         strlen-sse2 strlen-sse2-bsf.
95761         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
95762         __strlen_no_bsf if bit_Slow_BSF is set.
95763         (__strlen_sse42): Removed.
95764         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
95765         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
95767 2010-08-25  Roland McGrath  <roland@redhat.com>
95769         * sysdeps/x86_64/multiarch/varshift.S: File removed.
95770         * sysdeps/x86_64/multiarch/varshift.c: New file.
95771         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
95772         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
95773         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
95774         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
95776 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
95778         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95779         strlen-sse2 strlen-sse2-bsf.
95780         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
95781         __strlen_sse2_bsf if bit_Slow_BSF is unset.
95782         (__strlen_sse2): Removed.
95783         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
95784         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
95785         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
95786         bit_Slow_BSF for Atom.
95787         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
95788         (index_Slow_BSF): Define.
95789         (HAS_SLOW_BSF): Define.
95791 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
95793         [BZ #10851]
95794         * resolv/res_init.c (__res_vinit): When no server address at all
95795         is given default to loopback.
95797 2010-08-24  Roland McGrath  <roland@redhat.com>
95799         * configure.in: Remove config-name.h generation.
95800         * configure: Regenerated.
95801         * config-name.in: File removed.
95802         * scripts/config-uname.sh: New file.
95803         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
95804         ($(objdir)config-name.h): New target.
95806         * sunrpc/rpc_parse.h: Avoid nested comment.
95808 2010-08-24  Richard Henderson  <rth@redhat.com>
95809             Ulrich Drepper  <drepper@redhat.com>
95810             H.J. Lu  <hongjiu.lu@intel.com>
95812         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
95813         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
95814         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
95815         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
95816         _mm_alignr_epi8 with _mm_loadu_si128.
95817         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
95818         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
95819         (__m128i_shift_right): Removed.
95820         * sysdeps/i386/i686/multiarch/varshift.h: New file.
95821         * sysdeps/i386/i686/multiarch/varshift.S: New file.
95822         * sysdeps/x86_64/multiarch/varshift.h: New file.
95823         * sysdeps/x86_64/multiarch/varshift.S: New file.
95825 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
95827         * configure.in: Move assembler checks to before sysdep dir checking.
95829 2010-08-20  Petr Baudis  <pasky@suse.cz>
95831         * LICENSES: Sync the sunrpc license.
95833 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
95835         * sunrpc/auth_des.c: Update copyright notice once again.
95836         * sunrpc/auth_none.c: Likewise.
95837         * sunrpc/auth_unix.c: Likewise.
95838         * sunrpc/authdes_prot.c: Likewise.
95839         * sunrpc/authuxprot.c: Likewise.
95840         * sunrpc/bindrsvprt.c: Likewise.
95841         * sunrpc/clnt_gen.c: Likewise.
95842         * sunrpc/clnt_perr.c: Likewise.
95843         * sunrpc/clnt_raw.c: Likewise.
95844         * sunrpc/clnt_simp.c: Likewise.
95845         * sunrpc/clnt_tcp.c: Likewise.
95846         * sunrpc/clnt_udp.c: Likewise.
95847         * sunrpc/clnt_unix.c: Likewise.
95848         * sunrpc/des_crypt.c: Likewise.
95849         * sunrpc/des_soft.c: Likewise.
95850         * sunrpc/get_myaddr.c: Likewise.
95851         * sunrpc/getrpcport.c: Likewise.
95852         * sunrpc/key_call.c: Likewise.
95853         * sunrpc/key_prot.c: Likewise.
95854         * sunrpc/openchild.c: Likewise.
95855         * sunrpc/pm_getmaps.c: Likewise.
95856         * sunrpc/pm_getport.c: Likewise.
95857         * sunrpc/pmap_clnt.c: Likewise.
95858         * sunrpc/pmap_prot.c: Likewise.
95859         * sunrpc/pmap_prot2.c: Likewise.
95860         * sunrpc/pmap_rmt.c: Likewise.
95861         * sunrpc/rpc/auth.h: Likewise.
95862         * sunrpc/rpc/auth_unix.h: Likewise.
95863         * sunrpc/rpc/clnt.h: Likewise.
95864         * sunrpc/rpc/des_crypt.h: Likewise.
95865         * sunrpc/rpc/key_prot.h: Likewise.
95866         * sunrpc/rpc/netdb.h: Likewise.
95867         * sunrpc/rpc/pmap_clnt.h: Likewise.
95868         * sunrpc/rpc/pmap_prot.h: Likewise.
95869         * sunrpc/rpc/pmap_rmt.h: Likewise.
95870         * sunrpc/rpc/rpc.h: Likewise.
95871         * sunrpc/rpc/rpc_des.h: Likewise.
95872         * sunrpc/rpc/rpc_msg.h: Likewise.
95873         * sunrpc/rpc/svc.h: Likewise.
95874         * sunrpc/rpc/svc_auth.h: Likewise.
95875         * sunrpc/rpc/types.h: Likewise.
95876         * sunrpc/rpc/xdr.h: Likewise.
95877         * sunrpc/rpc_clntout.c: Likewise.
95878         * sunrpc/rpc_cmsg.c: Likewise.
95879         * sunrpc/rpc_common.c: Likewise.
95880         * sunrpc/rpc_cout.c: Likewise.
95881         * sunrpc/rpc_dtable.c: Likewise.
95882         * sunrpc/rpc_hout.c: Likewise.
95883         * sunrpc/rpc_main.c: Likewise.
95884         * sunrpc/rpc_parse.c: Likewise.
95885         * sunrpc/rpc_parse.h: Likewise.
95886         * sunrpc/rpc_prot.c: Likewise.
95887         * sunrpc/rpc_sample.c: Likewise.
95888         * sunrpc/rpc_scan.c: Likewise.
95889         * sunrpc/rpc_scan.h: Likewise.
95890         * sunrpc/rpc_svcout.c: Likewise.
95891         * sunrpc/rpc_tblout.c: Likewise.
95892         * sunrpc/rpc_util.c: Likewise.
95893         * sunrpc/rpc_util.h: Likewise.
95894         * sunrpc/rpcinfo.c: Likewise.
95895         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
95896         * sunrpc/rpcsvc/key_prot.x: Likewise.
95897         * sunrpc/rpcsvc/klm_prot.x: Likewise.
95898         * sunrpc/rpcsvc/mount.x: Likewise.
95899         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
95900         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
95901         * sunrpc/rpcsvc/rex.x: Likewise.
95902         * sunrpc/rpcsvc/rstat.x: Likewise.
95903         * sunrpc/rpcsvc/rusers.x: Likewise.
95904         * sunrpc/rpcsvc/sm_inter.x: Likewise.
95905         * sunrpc/rpcsvc/spray.x: Likewise.
95906         * sunrpc/rpcsvc/yppasswd.x: Likewise.
95907         * sunrpc/rtime.c: Likewise.
95908         * sunrpc/svc.c: Likewise.
95909         * sunrpc/svc_auth.c: Likewise.
95910         * sunrpc/svc_authux.c: Likewise.
95911         * sunrpc/svc_raw.c: Likewise.
95912         * sunrpc/svc_run.c: Likewise.
95913         * sunrpc/svc_simple.c: Likewise.
95914         * sunrpc/svc_tcp.c: Likewise.
95915         * sunrpc/svc_udp.c: Likewise.
95916         * sunrpc/svc_unix.c: Likewise.
95917         * sunrpc/svcauth_des.c: Likewise.
95918         * sunrpc/xcrypt.c: Likewise.
95919         * sunrpc/xdr.c: Likewise.
95920         * sunrpc/xdr_array.c: Likewise.
95921         * sunrpc/xdr_float.c: Likewise.
95922         * sunrpc/xdr_mem.c: Likewise.
95923         * sunrpc/xdr_rec.c: Likewise.
95924         * sunrpc/xdr_ref.c: Likewise.
95925         * sunrpc/xdr_sizeof.c: Likewise.
95926         * sunrpc/xdr_stdio.c: Likewise.
95928         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
95929         handling.
95931 2010-08-19  Andreas Schwab  <schwab@redhat.com>
95933         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
95935 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
95937         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
95938         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
95939         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
95940         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
95941         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
95942         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
95943         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
95944         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
95945         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
95946         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
95947         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
95948         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
95949         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
95950         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
95952 2010-07-26  Anton Blanchard  <anton@samba.org>
95954         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
95955         * malloc/arena.c (heap_trim): Likewise.
95957 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
95959         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
95960         here.  Not...
95961         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
95962         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
95964 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
95966         * sysdeps/i386/elf/Makefile: New file.
95968 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
95970         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
95971         from fanotify_init.
95972         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
95973         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95975 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
95977         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
95978         of strncasecmp_l.
95979         * sysdeps/multiarch/strcmp.S: Likewise.
95981 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
95983         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
95984         strncase_l-nonascii.
95985         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95986         Add strncase_l-ssse3.
95987         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
95988         * sysdeps/x86_64/strcmp.S: Likewise.
95989         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
95990         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
95991         * sysdeps/x86_64/strncase.S: New file.
95992         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
95993         * sysdeps/x86_64/strncase_l.S: New file.
95994         * string/Makefile (strop-tests): Add strncasecmp.
95995         * string/test-strncasecmp.c: New file.
95997         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
95998         warning.
96000         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
96001         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
96003 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
96005         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
96007 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
96009         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
96010         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
96011         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
96013 2010-05-01  Alan Modra  <amodra@gmail.com>
96015         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
96016         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
96017         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
96018         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
96019         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
96020         tidying.  Don't tail-call __sigjmp_save for static lib.
96021         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
96022         save location.
96023         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
96024         (CALL_MCOUNT): Add eh info, and nop after bl.
96025         (TAIL_CALL_SYSCALL_ERROR): New macro.
96026         (PSEUDO_RET): Use it.
96027         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
96028         Correct save location of integer regs and cr.
96029         (_dl_profile_resolve): Correct cr save location.  Delete nops
96030         after bl when SHARED.  Reduce cfi size a little by better
96031         placement of cfi directives.
96032         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
96033         make a stack frame.  Instead use parm save area as a temp.
96034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
96035         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
96036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
96037         Don't make a stack frame for parent, use parm save area.
96038         Increase child stack frame to 112 bytes.  Don't save unused reg,
96039         and adjust reg usage.  Set up cfi on error recovery and
96040         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
96041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
96042         (__makecontext): Add dummy nop after jump to exit.
96043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
96044         Use correct parm save area and cr save, reduce stack frame.
96045         Correct cfi for possible PSEUDO_RET frame setup.
96046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
96047         Branch to local label emitted by PSEUDO_RET rather than
96048         __syscall_error.
96050 2010-08-12  Andreas Schwab  <schwab@redhat.com>
96052         [BZ #11904]
96053         * locale/programs/locale.c (print_assignment): New function.
96054         (show_locale_vars): Use it.
96056 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
96058         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
96059         field.
96060         (struct statfs64): Likewise.
96061         (_STATFS_F_FLAGS): Define.
96062         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
96063         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
96064         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
96065         (ST_VALID): Define locally.
96066         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
96067         __statvfs_getflags, use the provided value.
96068         * sysdeps/unix/sysv/linux/kernel-features.h: Define
96069         __ASSUME_STATFS_F_FLAGS.
96071         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
96073         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
96074         Add sys/fanotify.h.
96075         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
96076         fanotify_mask for GLIBC_2.13.
96077         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
96078         fanotify_init and fanotify_mark.
96079         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
96080         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
96082         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
96083         Add prlimit.
96084         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
96085         prlimit64 for GLIBC_2.13.
96086         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
96087         prlimit64.
96088         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
96089         syscall.
96090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
96091         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
96092         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
96093         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
96094         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
96095         add prlimit alias.
96096         * sysdeps/unix/sysv/linux/prlimit.c: New file.
96098         [BZ #11903]
96099         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
96100         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
96102         * nss/Makefile: Add rules to build and run tst-nss-test1.
96103         * shlib-versions: Add entry for libnss_test1.
96104         * nss/nss_test1.c: New file.
96105         * nss/tst-nss-test1.c: New file.
96107         * nss/nsswitch.c (__nss_database_custom): Define new variable.
96108         (__nss_configure_lookup): Set appropriate entry in
96109         __nss_configure_lookup to true.
96110         * nss/nsswitch.h: Define enum with indeces of databases in
96111         databases and __nss_database_custom arrays.  Declare
96112         __nss_database_custom.
96113         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
96114         to avoid using nscd when custom rules are installed.
96115         * nss/getXXbyYY_r.c: Likewise.
96116         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
96118         * nss/nss_files/files-parse.c: Whitespace fixes.
96120 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
96122         [BZ #11883]
96123         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
96124         * posix/fnmatch_loop.c: Likewise.
96126 2010-07-17  Andi Kleen  <ak@linux.intel.com>
96128         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
96129         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
96130         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
96131         * Versions.def [GLIBC_2.13]: Add.
96133 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
96135         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96136         Also fail if tpwd after pwuid call is NULL.
96138 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
96140         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
96141         when converting to ms.
96143 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
96145         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
96146         EOPNOTSUPP errors with ENOTTY.
96147         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
96148         EOPNOTSUPP errors with ENOTTY.
96150 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
96152         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
96153         Add strcasecmp_l-ssse3.
96154         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
96155         strcasecmp.
96156         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
96157         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
96158         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
96160 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
96162         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
96164         * string/Makefile (strop-tests): Add strcasecmp.
96165         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
96166         strcasecmp_l-nonascii.
96167         (gen-as-const-headers): Add locale-defines.sym.
96168         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
96169         * sysdeps/x86_64/strcasecmp.S: New file.
96170         * sysdeps/x86_64/strcasecmp_l.S: New file.
96171         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
96172         * sysdeps/x86_64/locale-defines.sym: New file.
96173         * string/test-strcasecmp.c: New file.
96175         * string/test-strcasestr.c: Test both ends of the range of characters.
96176         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
96178 2010-07-29  Roland McGrath  <roland@redhat.com>
96180         [BZ #11856]
96181         * manual/locale.texi (Yes-or-No Questions): Fix example code.
96183 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
96185         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
96186         for ld.so.
96188 2010-07-27  Andreas Schwab  <schwab@redhat.com>
96190         * manual/memory.texi (Malloc Tunable Parameters): Document
96191         M_PERTURB.
96193 2010-07-26  Roland McGrath  <roland@redhat.com>
96195         [BZ #11840]
96196         * configure.in (-fgnu89-inline check): Set and substitute
96197         gnu89_inline, not libc_cv_gnu89_inline.
96198         * configure: Regenerated.
96199         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
96201 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
96203         * string/test-strnlen.c: New file.
96204         * string/Makefile (strop-tests): Add strnlen.
96205         * string/tester.c (test_strnlen): Add a few more test cases.
96206         * string/tst-strlen.c: Better error reporting.
96208         * sysdeps/x86_64/strnlen.S: New file.
96210 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
96212         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
96213         lower-latency instructions.
96215 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
96217         * string/test-strcasestr.c: New file.
96218         * string/test-strstr.c: New file.
96219         * string/Makefile (strop-tests): Add strstr and strcasestr.
96220         * string/str-two-way.h: Don't undefine MAX.
96221         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
96223 2010-07-21  Andreas Schwab  <schwab@redhat.com>
96225         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
96226         strcasestr-nonascii.
96227         (CFLAGS-strcasestr-nonascii.c): Define.
96228         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
96229         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
96230         Remove unused attribute.
96232 2010-07-20  Roland McGrath  <roland@redhat.com>
96234         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
96235         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
96236         ld.so.cache was broken.  With it, there is no way to disable dsocaps
96237         like LD_HWCAP_MASK can disable hwcaps.
96239 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
96241         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
96243 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
96245         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
96246         call in strcasestr.
96247         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
96248         __strcasestr_sse42_nonascii.
96249         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
96250         strcasestr-nonascii.c.
96251         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
96253 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
96255         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
96256         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
96257         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
96258         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
96260 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
96262         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
96263         fcntl.
96265 2010-07-06  Andreas Schwab  <schwab@redhat.com>
96267         [BZ #11577]
96268         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
96269         dl_signal_cerror.
96271 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
96273         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
96274         _PC_PIPE_BUF using F_GETPIPE_SZ.
96276 2010-07-05  Roland McGrath  <roland@redhat.com>
96278         * manual/arith.texi (Rounding Functions): Fix rint description
96279         implicit in round description.
96281 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
96283         * elf/Makefile: Fix linking for a few tests to make recent linker
96284         happy.
96286 2010-06-30  Andreas Schwab  <schwab@redhat.com>
96288         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
96289         $(common-objpfx)libc_nonshared.a.
96291 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
96293         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
96294         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
96295         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96296         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96297         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
96298         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
96299         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96300         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
96302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
96303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
96304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
96306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
96308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
96309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
96310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
96311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
96313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
96315         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
96316         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
96317         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
96318         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
96319         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
96320         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
96321         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
96322         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
96323         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
96324         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
96325         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
96326         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
96327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
96328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
96329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
96330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
96331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
96332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
96333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
96334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
96335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
96336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
96337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
96338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
96339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
96340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
96342 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
96344         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
96345         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
96346         * string/memmove.c (memmove): Renamed to ...
96347         (MEMMOVE): ...this.  Default to memmove.
96348         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
96349         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
96350         (END_CHK): Define.
96351         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
96352         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
96353         mempcpy-ssse3-back memmove-ssse3-back.
96354         * sysdeps/x86_64/multiarch/bcopy.S: New file .
96355         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
96356         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
96357         * sysdeps/x86_64/multiarch/memcpy.S: New file.
96358         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
96359         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
96360         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
96361         * sysdeps/x86_64/multiarch/memmove.c: New file.
96362         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
96363         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
96364         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
96365         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
96366         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
96367         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
96368         Define.
96369         (index_Fast_Copy_Backward): Define.
96370         (HAS_ARCH_FEATURE): Define.
96371         (HAS_FAST_REP_STRING): Define.
96372         (HAS_FAST_COPY_BACKWARD): Define.
96374 2010-06-21  Andreas Schwab  <schwab@redhat.com>
96376         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96377         Restore proper fallback handling.
96379 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
96381         [BZ #11701]
96382         * posix/group_member.c (__group_member): Correct checking loop.
96384         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
96385         OOM in getpwuid_r correctly.  Return error number when the caller
96386         should return, otherwise -1.
96387         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
96388         call returning > 0 value.
96389         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
96391 2010-06-07  Andreas Schwab  <schwab@redhat.com>
96393         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
96394         libc_nonshared.a from targets in modules-names.
96396 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
96398         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
96399         requires it.
96401 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
96403         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
96404         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
96405         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
96406         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
96408 2010-06-02  Andreas Schwab  <schwab@redhat.com>
96410         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
96412 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
96414         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
96415         and F_GETPIPE_SZ.
96416         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
96417         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
96418         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
96419         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
96420         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
96421         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
96423 2010-06-14  Roland McGrath  <roland@redhat.com>
96425         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
96427 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
96429         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
96430         __REDIRECT followed by __THROW.
96431         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
96432         * posix/getopt.h (getopt): Likewise.
96434 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
96436         * hurd/lookup-at.c (__file_name_lookup_at): Accept
96437         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
96438         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
96439         in AT_FLAGS.
96440         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
96441         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
96443 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
96445         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
96447 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
96449         [BZ #11640]
96450         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
96451         Properly check family and model.
96453 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
96455         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
96457 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
96459         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
96461 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
96463         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
96464         symbol reference.
96466 2010-05-19  Andreas Schwab  <schwab@redhat.com>
96468         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
96469         symbol reference.
96471 2010-05-21  Andreas Schwab  <schwab@redhat.com>
96473         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
96474         and internal_recvmmsg.
96475         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
96476         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
96477         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
96478         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
96480         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
96481         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
96482         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
96484 2010-05-20  Andreas Schwab  <schwab@redhat.com>
96486         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
96488 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
96490         POWER7 optimizations.
96491         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
96492         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
96494 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
96496         * version.h: Update for 2.13 development version.
96498 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
96500         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
96501         exceptions.  Return 0.
96503 2010-05-07  Roland McGrath  <roland@redhat.com>
96505         * elf/ldconfig.c (main): Add a const.
96507 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
96509         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
96510         (args_options): Add no-idn option.
96511         (ahosts_keys_int): Add idn_flags to ai_flags.
96512         (parse_option): Handle 'i' option to clear idn_flags.
96514         * malloc/malloc.c (_int_free): Possible race in the most recently
96515         added check.  Only act on the data if no current modification
96516         happened.
96518 See ChangeLog.17 for earlier changes.